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: Usage of eCOMP and ADC on same pin simultaneously

Part Number: MSP430FR2153


Hi,

I could see that pin P1.1 supports both ADC input and analog comparator input as well. I want to use the same input pin for ADC and eCOMP module simultaneously. The input should go to both modules simultaneously. From the sample code of ADC and comparator module configuration I could see that the register that configures this input pin PxSEL1 & PxSEL0 have same values for ADC & COMP.

So is there any way we could provide this input to both modules simultaneously ?

Regards,

Sai  

  • Hello,

    I will be looking into this over the next few business days. I'll update you at latest by Wednesday May 10th.

    Thank you,

    Susan

  • Hello,

    From my tests, you should be able to provide an input from P1.1 to both ADC and eCOMP.

    I tested this by combining the adc12_01 example with the eCOMP_01 example, and then looking at the input compared with two separate outputs (one output went high when A1 > 0.5*AVcc, and the other output compared eCOMP input to the internal VREF).

    I hope this helps,

    Susan

**Attention** This is a public forum