Page 1 of 1

UART configuration from uart event example

Posted: Fri Sep 01, 2017 3:15 pm
by LoewMed
Hi everybody,

I would like to have some clarification concerning the use of UART event example.

I read most part of the topic concerning UART and I have some trouble for running the uart event example,

as I define UART_NUM_2 concerning the port and the
uart_set_pin(EX_UART_NUM,17,16,UART_PIN_NO_CHANGE,UART_PIN_NO_CHANGE)
but it is not working so I tried an other configuration
UART_NUM_1
uart_set_pin(EX_UART_NUM,10,9,UART_PIN_NO_CHANGE,UART_PIN_NO_CHANGE)

and this configuration is not working neither ...

I read also that the pin 17,16 are not working with WROOM 32 breakout (the one I am using) and pins 10,9 are used by SPI flash so should not be used for uart.

I also tried an other configuration with "random" pins and it was not working neither.

So my question is : does someone has some example running over wroom 32 breakout with UART or some guru explanation why the example is not working over my board ?

btw I am using a USB/UART converter with HTerm to display the pin output

Thank you and have a nice week end