ESP Wrover KIT UART problem,Rx not working

radoslav.iliev
Posts: 2
Joined: Mon Feb 10, 2020 9:54 am

ESP Wrover KIT UART problem,Rx not working

Postby radoslav.iliev » Thu Apr 02, 2020 8:34 am

Hello everyone,
I use the sample code from the uart_echo example, exactly:

Code: Select all

#define ECHO_TEST_TXD  (GPIO_NUM_1)
#define ECHO_TEST_RXD  (GPIO_NUM_3)
#define ECHO_TEST_RTS  (UART_PIN_NO_CHANGE)
#define ECHO_TEST_CTS  (UART_PIN_NO_CHANGE)

#define BUF_SIZE (256)
#define RESP_SIZE (128)

void 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_0, BUF_SIZE * 2, 0, 0, NULL, 0);

	uart_param_config(UART_NUM_0, &uart_config);

	uart_set_pin(UART_NUM_0, ECHO_TEST_TXD, ECHO_TEST_RXD, ECHO_TEST_RTS, ECHO_TEST_CTS);
}
That works without problems on Pico KIT, but not on the Wrover. From the Wrover I only can read the logs, but not to write.

I am using IDF-v3.3 on Visual GDB. It installed the drivers automatically. The interesting thing is that I see only one COM port from it, which works for uploading via JTAG, debugging also works.

Thank you in advance.

Who is online

Users browsing this forum: Bing [Bot] and 117 guests