This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR5994: ADC DMA not triggering after enabling comparator

Part Number: MSP430FR5994
Other Parts Discussed in Thread: BOOSTXL-AUDIO,

Hi,

I am using project based on MSP430FR5994 Audio Record using the BOOSTXL-AUDIO. It is working fine, but when I enable a comparator for a touch screen LCD, the audio record functionality does not work.

The ADC value is changing but the DMA is not firing. 

Is this a hardware bug, it seems they are two independent peripherals?

  • Hi,

    Those peripherals are independently and it should work fine.

    The ADC12IFG flag will trigger the DMA transfer in your application.

    When single-channel conversions are performed, the corresponding ADC12IFG is the trigger. When sequences are used, the ADC12IFG for the last conversion in the sequence is the trigger. A transfer is triggered when the conversion is completed and the ADC12IFG is set. Setting the ADC12IFG with software does not trigger a transfer. All ADC12IFG flags are automatically reset when the associated ADC12MEMx register is accessed by the DMA controller.

    You may check the status of the ADC12IFG as a clue.

    Best regards,

    Cash Hao

**Attention** This is a public forum