2. DMA interrupt disable DMA and enable compare function. 3. Rest 12 channel trigger by PDB, and generally no data need be transferred. 4. Delayed PDB interrupt(after the 16th trigger to ADC) re-enable DMA and disable compare, and unlock the PDB's lock with ADC's COCO. I found this...
DmaClaSrcSelRegs.DMACHSRCSEL1.bit.CH1 = DMA_ADCDINT1; and the DMA would take care of clearing the interrupt on the ADC. I have confirmed this "stuck int flag" is the cause of the issue by hacking the software to clear the ADC flag while wai...
2. DMA interrupt disable DMA and enable compare function. 3. Rest 12 channel trigger by PDB, and generally no data need be transferred. 4. Delayed PDB interrupt(after the 16th trigger to ADC) re-enable DMA and disable compare, and unlock the PDB's lock with ADC's ...