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.

TMS320F280049C: TMS320F280049C: RS-485 example code

Part Number: TMS320F280049C
Other Parts Discussed in Thread: C2000WARE

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