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.

CCS/MSP430FR5857: sensing square wave voltage on adc pin

Part Number: MSP430FR5857
Other Parts Discussed in Thread: MSP430WARE

Tool/software: Code Composer Studio

Dear Sir,

I am using microcontroller MSP430FR5857 for my application  through which i need to sense the square wave voltage on ADC pin A2. How should I sense as it is square wave and as i have to sense the voltage at on time of square wave . The voltage which is going to adc pin  varied between 0 to 3.3v .The on time voltage is varying between  1.8v  to 3.15v .Please suggest the method or code how to sense on time voltage on ADC pin .

**Attention** This is a public forum