This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: Question about BCDMA UART example.

Part Number: AM6442

Hi,

I am using AM6442 SoC and mcu_plus_sdk_am64x_08_06_00_43 with No-RTOS.

I am developing a UART DMA interrupt application using the example given here https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1215616/questions-about-dmss-bcdma-pktdma-and-pdma/4597533?tisearch=e2e-sitesearch&keymatch=uart_rx_dma%2525252520bcdma%2525252520example#4597533 

In the given example, when the number of data read over UART reaches 128 bytes, the data is transferred to the gUartDestBufPing buffer with the help of BCDMA and an interrupt is occured.
I want to reach the data received so far even if 128 bytes of data is not received, but I could not find where the data was buffered without creating a BCDMA transfer interrupt.
In the applications I made in other SoCs before, the incoming data was written to the target buffer that I determined with the help of DMA and when reached the desired size, an interrupt was occured. But here the data is not brought to the gUartDestBufPing buffer that I set before the interrupt.
I think the SDK is creating a temporary buffer in the background.


Where is the data stored before the interrupt occurs and is brought into the gUartDestBufPing buffer?
How can I access the data so far?

Thank you,

B. Karli