7" Display Serial RX on PIN38 does not work

"Hello, I am using pin 38 to read serial communication. Often it works for a few bytes, then pin 38 goes low. It remains low even though I send 3.3V 20mA to it. After a reset, it sometimes works again. I have tested with both hardware serial1 and software serial."

Comments

  • Hello @SM0PYH ,
    To assist you better, please provide the following information :) :
    1.Is this the product you are using?

    2.Which TX pin are you using? Is it functioning correctly? The RX pin is set to pin 38, but there is no Serial1.begin(115200, SERIAL_8N1, 38, -1); initialization.

    3.Are there any other peripherals connected that might be interfering?

    4.Is the UART port on the board not being used? There should be a dedicated UART port—have you tried using it?

    5.You can also disable the USB function on pin 38 by modifying the sdkconfig file.
    Locate the sdkconfig file in the following directory:
    Arduino15/packages/esp32/hardware/esp32//sdkconfig
    Manually edit the sdkconfig settings:
    Disable USB-JTAG:
    CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=n
    Disable USB-OTG:
    CONFIG_USB_OTG_SUPPORTED=n

Sign In or Register to comment.