ADCHS DMA does not work after LPC4370 remaps the base address?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADCHS DMA does not work after LPC4370 remaps the base address?

47 Views
xieweiming
Contributor I
After copying the code from ROM to RAM (from 0x14000000 to 0x10000000) and remapping the base address (0x10000000), the DMA of ADCHS cannot trigger interrupts properly.(When compiling my project, the base address is set to 0)
I tested that the FIFO interrupt of ADCHS can be triggered, indicating that the mapping of the interrupt vector is correct, but the DMA interrupt cannot be triggered properly.
If I remap to 0x14000000 or 0x80000000 again, DMA will work properly.
Requesting help, why?
Help me, I've been spending weeks on this issue.
Thank you.
0 Kudos
Reply
1 Reply

14 Views
xieweiming
Contributor I
I have made some new discoveries after debugging.
The inability to trigger DMA interrupt is due to ADCHS descriptor not sampling properly. When the base address mapping is performed, it cannot function properly when MATCH-VALUE>0. I don't know the reason.
0 Kudos
Reply