cancel
Showing results for 
Search instead for 
Did you mean: 

GPDMA with linked list for big buffers

Rickou73
Associate II

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

 

1 REPLY 1
OOUAD
ST Employee

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.