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.
Dear all,
I have a 2.5 mV signal and I want to swap two LEDs depending on the polarity of the signal. I am currently using Ch4 and Ch5 of MSP430G2553 and then compare which pin is getting higher voltage and then glow the led. but can i use the comparator of the SD function ?
Analog input signals for MSP430G2553 have to be within the range of Vcc and Vss.
Sounds like your "2.5 mV signal" can be either +2.5 mV or -2.5 mV relative to a certain "Ground". You may be able to connect that certain "Ground" to some voltage between Vcc and Vss. You can then use the analog comparator of G2553 to compare that signal with that certain "Ground".
OK...so you mean I should use the CA module of MSP. About the signal i can say that it is a simple 2.5 mv signal, where one wire is at ground potential, the other is at 2.5 mv. however, when swapping occurs, the ground wire becomes 2.5 mv wire.
CA is the Comparator_A+ module.
The comparator can detect whether one signal is higher or lower than another, but both must always be within the common-mode voltage range (see the datasheet).
**Attention** This is a public forum