Hello Everyone,
As Stellaris/MSP430 doesnot supports RS-485 mode can anybody help us to get the reference code for RS 485 master mode
for Stellaris/MSP430 and also let me know if we use external RS485 driver how easy its implementation??
Thanks in advance...
Regards,
Santosh
Hello Santosh,
A few clarifications about RS-485:
1. RS-485 is an electrical standard. It defines the voltage levels for logic 1 and 0, and cable parameters.
2. Hardware: None of the microcontrollers support RS-485 directly, an external driver must be used. The inbuilt UART peripheral pins can be used for this purpose. additionally, more port pin(s) are required for controlling the direction of the driver.
3. Software: The protocol needs to be defined in order to write appropriale code. For testing RS-485 communication, a master and minimum one slave are necessary. Two slaves are recommended, so that different addresses can be tested. Depending on the data (number of bytes) and cable length, baud rate can be decided.
Hope this helps,
JayantD