2024-10-18 07: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
2024-12-03 04: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.