Remora DMA Code in other Builds?

More
01 Sep 2025 21:15 #334241 by CNC4Life
Remora DMA Code in other Builds? was created by CNC4Life
@scotta

Does Remora DMA code exist in other builds other than EC500 specific version OS5/OS6 ?

If not what are your thoughts on what would need to be done for porting the EC500 code to an F4 series target?

Thanks
Adam

Please Log in or Create an account to join the conversation.

More
02 Sep 2025 13:47 - 02 Sep 2025 13:51 #334270 by CNC4Life
Replied by CNC4Life on topic Remora DMA Code in other Builds?
I'm running Flexi-HAL and it doesn't support DMA and wanted to know what the best route to take to get there. I need 250KHz for my CNC. It uses a STM32F446RE.
Last edit: 02 Sep 2025 13:51 by CNC4Life.

Please Log in or Create an account to join the conversation.

More
02 Sep 2025 21:55 - 02 Sep 2025 21:57 #334299 by royka
Replied by royka on topic Remora DMA Code in other Builds?
I'm not a developer, but I'd say to use the code for the stm32f4x and use some AI magic to make a DMA stepgen.
Last edit: 02 Sep 2025 21:57 by royka.

Please Log in or Create an account to join the conversation.

  • scotta
  • scotta's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
04 Sep 2025 20:40 #334439 by scotta
Replied by scotta on topic Remora DMA Code in other Builds?
I did have a version for the F4 in development, but it turned out the F4's are not fast enough to do the step calculations to fill the DMA buffer. The STMs don't have a GPIO toggle bit like the RT1052 so the full step pattern had to be filled into the buffer, not just the rising and falling edges.

Please Log in or Create an account to join the conversation.

More
04 Sep 2025 22:39 #334449 by royka
Replied by royka on topic Remora DMA Code in other Builds?
@scotta Following chatgpt it could work by only do ARR/CCR-updates via DMA-burst and the rest with timers. Does that make sense?

Please Log in or Create an account to join the conversation.

Time to create page: 0.338 seconds
Powered by Kunena Forum