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.

MSP430F2003: Is it possible to achieve the comparator function?

Part Number: MSP430F2003
Other Parts Discussed in Thread: MSP430F2001, , MSP430F2002
Hi Team,
The customer is using MSP430F2001.
In addition to the addition of USI on MSP430F2003, the difference between the two is the Comparator or the 16-bit Sigma Delta ADC.
 Can the comparator function be achieved with MSP430F2003 to use 16-bit Sigma Delta ADC instead of Comparator?
If yes,  Is there a sample code if possible?

Thanks and Best regards,

 Kuerbis
  • Hello Kuerbis,

    Think of it this way. A Comparator is just a barebones ADC where you don't actually get the voltage value of the signal, you just know when it crosses a threshold. You can do the same thing with an ADC, you just have to read your ADC output and do a comparison in SW.

    Essentially, this example is doing that: https://dev.ti.com/tirex/explore/node?node=AGbPPYFLezPxW6M0GlV0Mw__IOGqZri__LATEST

    Issue is how fast do you need to know your signal crossed said threshold? Comparators are typically much faster than a SDADC. You might be better served using MSP430F2002 which has a SAR ADC12. That should be a more similar response time as the comparator. 

**Attention** This is a public forum