DMA MEM2MEM Code generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-02 12:54 AM
Hello,
I am transferring bytes from SRAM to GPIOA ODR . really confused after seeing the code generated by cubemx.
here is a snapshot (SRAM is src and GPIOA is dst )
Why ''MemInc'' is disabled ? perhaps it treats Dst memory address as ''MemInc'' ?
Please help to clarify
#stm32-f4-discovery #stm32- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-02 3:11 AM
In MEM2MEM mode, 'peripheral' means source, 'memory' means destination.
However, I doubt you want MEM2MEM mode. How do you trigger the DMA?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-02 4:22 AM
Hello ,
Thanks for the reply , i trigger the DMA using HAL_DMA_Start() function .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-02 5:24 AM
And you don't mind that the data will be output at the maximum possible rate?
JW
