Esp32 serial communication thru rs3232

MaxTTL
Posts: 2
Joined: Tue Sep 24, 2024 10:35 am

Esp32 serial communication thru rs3232

Postby MaxTTL » Tue Feb 04, 2025 5:52 pm

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!
Attachments
Screenshot_20250204_194124_Samsung Notes.jpg
Screenshot_20250204_194124_Samsung Notes.jpg (264.36 KiB) Viewed 1148 times
Screenshot_20250204_194111_Samsung Notes.jpg
Screenshot_20250204_194111_Samsung Notes.jpg (124.88 KiB) Viewed 1148 times

mikemoy
Posts: 639
Joined: Fri Jan 12, 2018 9:10 pm

Re: Esp32 serial communication thru rs3232

Postby mikemoy » Sat Feb 08, 2025 5:56 am

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.

Who is online

Users browsing this forum: No registered users and 132 guests