Part Number: LAUNCHXL-F28379D
Hello there,
I am trying to create a simple rs485 communication example with launchxl-f28379d board for that I am using SCI_B module.
I have a SP3485 device (a rs485 driver) that I would like to drive from tx, rx and enable pin of launcxl-f28379d.
I have created two interrupts (one for Tx and one for Rx) and I have configured the TX (GPIO 19), RX (GPIO 18) and Enable (GPIO 32) but I guess problem is the enable pin (I can't see enable pin go high or low on oscilloscope neither do I see any Tx pin data). Looks like its not being properly configured. More importantly I would like to know how to enable and disable this pin for transmitting and receiving data (I know you have to set it high for transmitting and low for receiving if I am not wrong).
Basically, I would appreciate if you guys could provide a small code snippet how this enable pin works or could point me to simple complete example of rs485. Note: I don't really have to use interrupts if there is a simpler way to transmit and receive, please let me know about that too. Find my code snippets attached.









