So I'm using a LAUNCHXL-TMS57004 board and trying to get it to communicate with an external IMU over a serial line. To do this I'm using the SCI_RX and SCI_TX pins on the board and a TTL-RS232 converter to the IMU.
So far I've got it to the point where the Hercules seems to be transmitting perfectly, but I'm having trouble receiving. I don't see anything. The interesting part is if I disconnect the receiving wire from the Hercules and read from that line, it looks exactly like it should. This means the IMU is responding as it should. But, if I reconnect that wire to the SCI_RX pin on the board, that line immediately goes high, and just gets held high constantly.
This means to me that the Hercules is holding that pin high, and this is why it can't see any response data. However, I cannot figure out why this is happening.
I would think that the issue lies in the HALCoGen-generated code, but everything in there looks right, so perhaps we're missing something.
Could someone outline (in a fair amount of detail) every setting that should be set in the HALCoGen project (and in my code, perhaps?) to make sure this pin is not held high, and that I can receive properly on it?
The details of the SCI are: 115,200 bps baud rate, 1 start bit, 1 stop bit, no parity.
That should be all the information needed to solve this problem I believe, but I apologize if I've left anything out.
Thanks in advance.