Part Number: AM13E23019
Other Parts Discussed in Thread: SYSCONFIG
Hello there


on further evaluation i found that DMACTL registor is not updating as expected, I have to reset DMA Channel before DMA initialisation by calling api
int main()
{
Device_Init();
DL_DMA_resetChannel(APP_DMACH_0_DMA_INST, APP_DMACH_0_CHANNEL_ID);
SYSCFG_DL_init();
/* DMA initialization and settings */
DL_DMA_setSrcAddr(APP_DMACH_0_DMA_INST, APP_DMACH_0_CHANNEL_ID, (uint32_t)tcf_txbuffer);
DL_DMA_setDestAddr(APP_DMACH_0_DMA_INST, APP_DMACH_0_CHANNEL_ID, (uint32_t)rxbuffer);
DL_DMA_setTransferSize(APP_DMACH_0_DMA_INST, APP_DMACH_0_CHANNEL_ID, MML_TX_BUFFER_SIZE_TCF);
DL_DMA_enableChannel(APP_DMACH_0_DMA_INST, APP_DMACH_0_CHANNEL_ID);
// Further code
}
Is it expected to reset channel before DMA initilisation ?
what is reason for DMACTL not updating ?



