hi all,
I need to develop an application, in which i have to take the input from a system via serial port & then convert this value to Digital. Can anyone tell me how this can be done.
Sid
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.
Sid: There are many examples in the MSP430 code examples to showcase the capability of converting an analog signal into a digital value.
However, your comment about "input from a system via serial port & then convert this value to digital" doesn't make sense to me, or at least how I interpret the term "serial port".
A serial port is generally viewed as an interface that is digital which allows one to transmit digital data (ie. your value that you want).
The code examples for the MSP430x2xx devices are in SLAC151. http://www.ti.com/lit/zip/slac151
What kind of serial interface do you need? A UART, SPI, I2C?
Hi,
The UART protocol is digital already, you should be able to plug and play with a code example for USCI channel A0 in UART mode (provided your device has the USCI). It should only be noted that the input voltage levels are valid per the spec in the datasheet.
sam22 said:
I have to take the input from load cell, so i guess it will be via the breadboard on the Exp's board. After that i have to convert it into digital using ADC. How can this be done.
There are example included that work with the on-chip ADC on the MSP430x2xx. I would also recommend refering to the MSP430x2xx Family User's Guide to understand the mechanics of the ADC and how to relate the code examples.
**Attention** This is a public forum