Other Parts Discussed in Thread: SYSCONFIG
Hello,
When I try to write GPIO via DMA, after official init SYSCONFIG_WEAK void SYSCFG_DL_DMA_init() I have also:
DL_GPIO_enableDMAAccess(GPIOA, DL_GPIO_PIN_3);
DL_DMA_setSrcAddr(DMA, DMA_CH0_CHAN_ID, (uint32_t)&gPA3_CLR);
DL_DMA_setDestAddr(DMA, DMA_CH0_CHAN_ID, (uint32_t)&GPIOA->DOUTCLR31_0);
In advanced it has been confirmed that DMA0 work correctly for data transfer by replaced src/dest address with pre-set fixed addr. to fixed addr. at least the DMA trigger happened and static src data(0x12345678) been transfered to dest(printout to check) successfully, just not sure the DMA 'repeat single' setting correct or not cause static data used to verify the data transfer, maybe it just transfer for only once. should i use fill data extend mode or block to block mode, or any other more missed please help.
Thanks