You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/02 13:19:42 UTC

[GitHub] [incubator-nuttx] saramonteiro opened a new pull request #3829: xtensa/esp32: Fixes support for UART HW flow control

saramonteiro opened a new pull request #3829:
URL: https://github.com/apache/incubator-nuttx/pull/3829


   ## Summary
   
   Fixes the UART HW flow for ESP32.
   
   ## Impact
   
   - Technical Impact:
      The feature was not not working, now it is.
   
   - Impacted ones:
      Users of UART HW flow control using ESP32.
   
   ## Testing
   
   It was performed manual tests using a Logic Analyzer.
   What was observed?
   - In the input flow control:
   
   By the moment the RX buffer is full **or** transpass the upper SW watermark, RTS line
   is asserted.
   
   ![image](https://user-images.githubusercontent.com/33546913/120486855-cea93c00-c38b-11eb-85d1-310fdef296d0.png)
   
   
   - In the output flow control:
   It was forced a high logic level on ESP32's CTS line, then while it was asserted it was sent 
   some bytes that were supposed to be echoed. These bytes were just echoed after CTS was de-asserted.
   
   ![image](https://user-images.githubusercontent.com/33546913/120486871-d4068680-c38b-11eb-8060-429fa5c23f55.png)
   
   
   Notes:
   This was tested using nsh defconfig on esp32-devkitc.
   The 3 UARTs were tested.
   It was not possible to test the HW flow control change using the TERMIOS interface
   because the termios example is not working on ESP32. This bug was already reported and will be addressed in the future.
   
   
   


-- 
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.

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



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #3829: xtensa/esp32: Fixes support for UART HW flow control

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #3829:
URL: https://github.com/apache/incubator-nuttx/pull/3829


   


-- 
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.

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