Hello, I'm currently working with the ESP32-POE-ISO module and facing an issue with UART communication. I've set up the following code to initialize UART:
#include "driver/uart.h"
void app_main() {
uart_config_t uart_config = {
.baud_rate = 115200,
.data_bits = UART_DATA_8_BITS,
.parity = UART_PARITY_DISABLE,
.stop_bits = UART_STOP_BITS_1,
.flow_ctrl = UART_HW_FLOWCTRL_DISABLE,
};
uart_driver_install(UART_NUM_1, 2048, 0, 0, NULL, 0);
uart_param_config(UART_NUM_1, &uart_config);
}
However, I'm not receiving any data on the specified UART pins. Could this be a pin configuration issue, or is there something else I might be missing?
QuoteHowever, I'm not receiving any data on the specified UART pins.
Which exactly are the "specified UART pins"?
Also what do you use to read to the "specified UART pins"?