Part Number: TMDS64EVM
Dear TI support team,
Looking at the BCDMA sample code (udma_memcpy_interrupt_am64x-evm_a53ss0-0_nortos_gcc-aarch64:udma_memcpy_interrupt.c ), DMA is started using the following steps.
////
Drivers_udmaConfigUdma0BlkCopyOpen()
UdmaChPrms_init
Udma_chOpen
UdmaChTxPrms_init
Udma_chConfigTx
UdmaChRxPrms_init
Udma_chConfigRx
UdmaEventPrms_init
Udma_eventRegister
Udma_chEnable
App_udmaInitBuf
App_udmaTrpdInit
Udma_ringQueueRaw --> DMA start transfer !
////
Then, a DMA transfer end interrupt occurs.
Next, I would like to start BCDMA by changing srcBuf and destBuf.
Which API should I call?
I thought that if I called App_udmaTrpdInit and Udma_ringQueueRaw as shown below, DMA would start, but it doesn't.
////
App_udmaInitBuf
App_udmaTrpdInit
Udma_ringQueueRaw --> DMA start transfer!
SemaphoreP_pend(&gUdmaTestDoneSem, SystemP_WAIT_FOREVER); // --> wait transfer end interrupt.
App_udmaInitBuf <-- add code
App_udmaTrpdInit <-- add code
Udma_ringQueueRaw <-- add code
(Buf DMA is NOT started !)
////
I would like to know as soon as possible how I can start a second DMA.
Could you please teach me?
Best reagrds,
Kiyomasa Imaizumi
