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.

MSP430FR2153: ADC window comparator mode issue.

Part Number: MSP430FR2153

Team,

One of our customers is using MSP430FR2153 device. They want to use window comparator mode for only one channel. But when they configured it, all the channels are are going through the window comparator mode and generating interrupts. How do we configure the ADC to only use one channel for this mode?

Also, while using "repeat sequence of channel" mode in ADC, do we have any way to know to which channel is the result associated with ? Does every channel of the ADC have its own result register as in C2000 devices here also ?

Please help !

Regards,

Sai.

  • In the FR2 series ADC there is only one MCTL/MEM pair; there's no way to enable the comparator for only a subset of channels. It might be said that there's no way to disable it at all -- it always operates, but you can ignore the results (IFGs). The ADC12_B in the FR59 series has separate MCTL/MEM registers, and the comparator can be enabled per-channel.

    With CONSEQ=3, the ADCINCH field reflects the current channel to be converted;  by the time you see it in the ISR (conversion complete) it has been decremented (cyclically) for the next conversion. 

**Attention** This is a public forum