Search found 2 matches

by learning_mcu
Thu Jun 08, 2023 11:33 am
Forum: ESP-IDF
Topic: Using UART0 and U0TXD U0RXD as regular UART on ESP32-C3
Replies: 4
Views: 5484

Re: Using UART0 and U0TXD U0RXD as regular UART on ESP32-C3

Hi, I am stuck also trying to use UART0 and U0TXD U0RXD as regular UART on ESP32-C3. It is a custom board. Where everything else works fine, connects to network, reads interrupts, and reads I2C line. For RS485 communication, I am using an "Auto direction control by transistor" scheme here. https://i...
by learning_mcu
Wed Jun 07, 2023 9:06 pm
Forum: Hardware
Topic: Auto switching RS485 using SP3485 chip using ESP32C3 on UART0. How to make it work?
Replies: 2
Views: 2085

Auto switching RS485 using SP3485 chip using ESP32C3 on UART0. How to make it work?

I designed a custom board to read an RS485 device using UART0 of the ESP32C3, GPIO 20 for RX, 21 for TX. I have now spent days trying to troublshoot it with no success. So any hints will be really really helpful Here is my code and schematic. Screenshot 2023-06-07 at 03.09.39.png I couldn't manage t...