Page 1 of 1

Esp32 serial communication thru rs3232

Posted: Tue Feb 04, 2025 5:52 pm
by MaxTTL
Hello all,
I am trying to validate the Serial communication of my pcb. To do so, I am using the second uart chanel for this communication, going to Max 3233 supplied with 3.3V. After the max ic a db9 connector is used on the pcb.
Using a cable rs232 to usb I am connecting my pcb to the PC.
I have originally programed the esp32 to print out via serial comunication a simple text, that I expect to see on my pcb terminal ( I tried with mobaexterm, uart assistant etc).

The problem is that these terminals are seeing the board, but there is no messages printed out on my PC.
I tried ot change the speed of transferring bits but does not help.

I am attaching the schematics also.
Anyone with idea why does not work?
I am sure the cable is working. I tried to swap rx and TX of esp32, also no changes.

Thanks!

Re: Esp32 serial communication thru rs3232

Posted: Sat Feb 08, 2025 5:56 am
by mikemoy
Can you set both GPIO 16 & 17 as inputs. then use a couple jumper wires from GPIO 1 & GPIO3 to 16 & 17.

Basically pair up TXD0/RXD0 with U2TXD/U2RXD, to prove the connections. Then whatever you send out through the default terminal pins will come out on your DB-9 connector.