ESP32 UART1 not sending data?

dyutimoybiswas
Posts: 3
Joined: Sat Jul 29, 2023 7:12 am

ESP32 UART1 not sending data?

Postby dyutimoybiswas » Sat Jul 29, 2023 7:26 am

I am interfacing my ESP32 Pico with Tiva C launchpad using UART. Even though I can read data sent from Tiva C, I am unable to read the data, sent from ESP32 (receive queue is empty). Please help me understand if there's something wrong with my configuration. Attached code for ESP32.

Baud rate - 115200 bps, data bits - 8, stop bit - 1, parity - None
TX - IO9 (ESP), with RX - PB0 (Tiva)
RX - IO10 (ESP), with TX - PB1 (Tiva)
UART peripheral - UART1 (ESP and Tiva)
Attachments
status_indicator.h
(343 Bytes) Downloaded 105 times
status_indicator.c
(1.58 KiB) Downloaded 104 times
main.c
(887 Bytes) Downloaded 112 times

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 UART1 not sending data?

Postby ESP_Sprite » Sun Jul 30, 2023 9:45 am

Suggest you connect a LA or scope to the lines, to see which of the two CPUs is the culprit.

dyutimoybiswas
Posts: 3
Joined: Sat Jul 29, 2023 7:12 am

Re: ESP32 UART1 not sending data?

Postby dyutimoybiswas » Mon Jul 31, 2023 3:41 am

Tried an echo test by interfacing ESP32 with FTDI chip, was able to run successfully. Seems it's an issue with the Tiva C board. ESP32 is working fine.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 83 guests