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.
Hi,
I want to implement RS485 communication. Can anyone please point me to example code for reference?
Thanks and Regards,
Suhail.B
Hi Suhail,
If you are using full-duplex communication, I think you can adapt the SCI example code without too much modification to how it fundamentally works.
If you want to use half-duplex you'll need to control the direction of the transmission outside of the SCI module. This can be as easy as just hooking up a GPIO to the transceiver direction control.
Thanks for your reply. Can you please let me know path of the example project where I can find it implemented?
Thanks and regards,
Suhail.B
Hi Suhail,
Please download C2000ware.
The SCI examples are in the following directories, depending on whether you want to use bitfields or driverlib based development (respectively):
\ti\c2000\C2000Ware_3_02_00_00\device_support\f28004x\examples\sci\
\ti\c2000\C2000Ware_3_02_00_00\driverlib\f28004x\examples\sci