Remora DMA Code in other Builds?

More
1 year 2 months ago #334241 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
1 year 1 month ago - 1 year 1 month ago #334270 by CNC4Life
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: 1 year 1 month ago by CNC4Life.

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

More
1 year 1 month ago - 1 year 1 month ago #334299 by royka
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: 1 year 1 month ago by royka.

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

More
1 year 1 month ago #334439 by scotta
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
1 year 1 month ago #334449 by royka
@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.307 seconds
Powered by Kunena Forum