about uart spitting garbage

Development and discussion of fast charging systems eg Chademo , CCS etc
Post Reply
rrryy39
Posts: 7
Joined: Fri Jul 26, 2024 3:21 pm

about uart spitting garbage

Post by rrryy39 »

Hi everyone I am new here. I recently got the board and everything but when trying to read serial line I got stuck. I purchased a really good serial to usb converter which support baud rate is 921600 (moxa uport 1150) but still got garbage. TX has 3.3v, any tips on debugging this? Thanks in advance.
User avatar
manny
Posts: 116
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 28 times
Been thanked: 84 times

Re: about uart spitting garbage

Post by manny »

What board did you get?

The (moxa uport 1150) is a converter to RS232 depending on the board this is not correct. RS232 has signals with low of -3 to -12V and high signal of 3 to 12V. Most boards use uart that uses signals between 0 and 3.3 or 5V
Citroen Saxo electrique [first drive]
  • Volvo ERAD motor, XC90 inverter/DCDC (custom OI board)
  • PSA battery (50kWh)
  • Foccci and MG ZS charger 6.6kW
  • Zombie VCU
rrryy39
Posts: 7
Joined: Fri Jul 26, 2024 3:21 pm

Re: about uart spitting garbage

Post by rrryy39 »

I ordered the foccci evcc charging board through JLCPCB, and flashed the Clara software into it.
User avatar
manny
Posts: 116
Joined: Sun Jan 23, 2022 4:15 pm
Location: Netherlands
Has thanked: 28 times
Been thanked: 84 times

Re: about uart spitting garbage

Post by manny »

In that case I think your cable will not work.

RS232 and uart are different
RS232_vs_UART.png
The foccci board uses 3v3 instead of 5V
So you need a different usb adaptor. If you google "usb to uart" there are a lot of cheap boards.

Maybe you have a arduino? That can be used as a adaptor as well.
Citroen Saxo electrique [first drive]
  • Volvo ERAD motor, XC90 inverter/DCDC (custom OI board)
  • PSA battery (50kWh)
  • Foccci and MG ZS charger 6.6kW
  • Zombie VCU
Post Reply