GPDMA with linked list for big buffers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-18 7:54 AM
Hello !
I'm using STM32U5A5 on my custom board.
i would like to configure a very big buffer to store lots of ADC samples (60sec circular audio buffer)
i check the GPDMA is limited to 64kB
I tryed a small test using the linked list to do a small test using 2 nodes related to 2 64kB chunk of data.
It seems it works fine, but is there a way to know at the half or complete callback which buffer is full ?
or which list node is related ?
thank for help
- Labels:
-
ADC
-
DMA
-
STM32U5 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-12-03 4:28 AM
Hello Rickou73,
Try to configure pNodeConfig.TransferEventMode to DMA_TCEM_EACH_LL_ITEM_TRANSFER for each node configuration. This will generate a GPDMA_CHx_TC interrupt whenever a node completes its transfer.
BRs,
Oussema.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-01-29 8:17 PM
Sorry Rickou73, I'm not much help with your issue, but was wondering if you had any tricks to getting the GPDMA transfer to write the data into RAM. I've been struggling with it and can get ADC samples but they don't seem to get copied to the buffer location.
