What is your role?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 1:47 AM
void DMA_DoubleBufferModeConfig(DMA_Stream_TypeDef* DMAy_Streamx, uint32_t Memory1BaseAddr,
uint32_t DMA_CurrentMemory)
What is your role?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 5:18 AM
The related source code from ST is generally also commented explaining some of the outline, use and context.
Double buffering in ST's naming relates to using Two distinct memory buffers (address, and size) for DMA data into/out-of, and alternating between the two.
Perhaps like a Ping-Pong concept that walks through memory as it would allow you to change the address of the inactive buffer, whilst the DMA unit deals with the active one.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 2:42 AM
Find out by descrambling the HAL/MX obfuscator by reading the reference manual carefully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 4:08 AM
> What is your role?
I don't understand, try to describe your question in more detail.
This is SPL, not Cube/HAL; but the point is the same: the ultimate information source is the Reference Manual for given STM32.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-07 5:18 AM
The related source code from ST is generally also commented explaining some of the outline, use and context.
Double buffering in ST's naming relates to using Two distinct memory buffers (address, and size) for DMA data into/out-of, and alternating between the two.
Perhaps like a Ping-Pong concept that walks through memory as it would allow you to change the address of the inactive buffer, whilst the DMA unit deals with the active one.
Up vote any posts that you find helpful, it shows what's working..
