UART Debugging Deep Sleep

kilobyte_ch
Posts: 12
Joined: Wed Apr 19, 2017 2:17 pm

UART Debugging Deep Sleep

Postby kilobyte_ch » Thu Aug 31, 2017 3:01 pm

Hello,

I have an CP2102 connected to the TX and RX of the ESP32. Whilst deep sleeping I turn the CP2102 off (No 5V, internal 3.3V regulator thus dead too). The ESP32 still "feeds" the CP2102 through the TX Line of the ESP32. How can I turn off the Debugging UART Peripherie?

I already tried to uart_driver_delete on all 3 UART peripheries.

Kilobyte

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

Re: UART Debugging Deep Sleep

Postby ESP_Sprite » Fri Sep 01, 2017 1:51 am

You should be able to use gpio_output_disable on the GPIO to make it a GPIO input.

kilobyte_ch
Posts: 12
Joined: Wed Apr 19, 2017 2:17 pm

Re: UART Debugging Deep Sleep

Postby kilobyte_ch » Fri Sep 01, 2017 10:49 am

Works, thanks!

david@mandy
Posts: 8
Joined: Tue May 22, 2018 4:59 am

Re: UART Debugging Deep Sleep

Postby david@mandy » Thu Aug 30, 2018 10:07 am

Is ur problem solved??
I also facing same problem with esp32......

Who is online

Users browsing this forum: markkuk and 338 guests