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.

EVM430-I2040S: UART Communication using Raspberry PI 3b

Part Number: EVM430-I2040S
Other Parts Discussed in Thread: MAX232

Team,

I am using EVM430i2040 which has dedicated serial port which operates @9600 bps, No parity, 8 data bit, 1 stop bit. Using the TI software application, i could able to see all the values are measured and displayed in application GUI. So i created a Raspberry pi 3b based UART Interface using which i tried to communicate with EVM but i am not able read any values. I am trying to use J6 connectors in EVM for UART connectivity with Raspberry pi.

Trasmit data:

First Frame = 0x68,0x99,0x99,0x99,0x99,0x99,0x99,0x68,0x53,0x02,0x61,0x00,0xEC,0x16 = End Frame

Could someone help me ? If you have any sample source or reference where i can get help.

  • What software are you using on the RPi? Did you open the correct serial port? Have you checked with a scope to make sure the data is on the line?
  • Keith,

    I have written a "C" based source on Raspberry PI for Serial Communication. And also validated the correct serial port using loop back method. Transmitted same data by crossed the RX and TX wires.

    One more question, I am using J6 connector which is internally connected to Max232 for RS 232 communication. I am looping jumper wires from J6 connector to Raspberry PI UART lines. Does it affect the data transmit?

    Also I will try today to test the same with scope.

  • Is the Rpi expecting RS-232 (which uses -12 V signals) or 3/5 V serial? You might have blown the Rpi.
  • Rpi UART is just 3.3V, I could able to transmit and receive data when i use loopback, Its working fine. Do you have any sample code for Transmitting and Receive data via UART using basic C?
  • If your EVM is using RS-232 it CANNOT be connected to the 3.3 V serial line of the Rpi. You have probably damaged your Pi.
  • Thanks for the Info. So i have to connect EVM UART directly to the UART terminals of Rpi. Hopefully this will resolve the issue. I will let you know once debugged it.

**Attention** This is a public forum