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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

48件の閲覧回数
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 件の賞賛
返信
1 返信

15件の閲覧回数
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 件の賞賛
返信