eren-terzioglu opened a new pull request, #10850:
URL: https://github.com/apache/nuttx/pull/10850

   ## Summary
   
   * xtensa/esp32s2: add UART RS485 support
   
   ## Impact
   
   Only ESP32S2
   
   ## Testing
   
   ESP32S2-Saola board with `esp32s2-saola-1:nsh` config with `UART 1` option 
enabled under the `System Type -> ESP32-S2 Peripheral Selection` and `RS-485 on 
UART1` option enabled under the `System Type -> UART Configuration`.
   
   - Transmitter side tested with `echo "test" >> /dev/ttyS1` command(s) using 
nsh and serialblaster example under `Application Configuration -> Examples -> 
Serial Blaster example` using `serialblaster /dev/ttyS1` command with using a 
logic analyzer. [idf uart echo 
rs485](https://github.com/espressif/esp-idf/tree/master/examples/peripherals/uart/uart_echo_rs485)
 example on another chip can be used as well. 
   
   - Recieve side tested with serialrx example under `Application Configuration 
-> Examples -> Serial RX example` with using [idf hello_world 
example](https://github.com/espressif/esp-idf/tree/master/examples/get-started/hello_world)
 on another chip and connected to the esp32s2 (Other chip's TX - GPIO18, Other 
chip's RX to - GPIO17). `serialrx /dev/ttyS1 15` command used to get byte 
count. To check the data please change `Output method` option to `String` under 
the `Application Configuration -> Examples -> Serial RX example`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to