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 2022/11/08 09:49:18 UTC
[GitHub] [incubator-nuttx] SrivamsiMalladi commented on issue #7549: UART Break detection - ESP32
SrivamsiMalladi commented on issue #7549:
URL: https://github.com/apache/incubator-nuttx/issues/7549#issuecomment-1306926344
@acassis Yea I have a specific protocol followed in my bus that has break in the start of every frame of data. I did a work around by checking if no bytes were received in the last x ms/us, then just assume that it is a break byte and it worked in my case.
Also, I do not read the 0x00 from UART when I receive a break byte. So is the break detected internally and already handled somewhere in the Serial Device Driver? How do I check it?
With the interrupts, I did not understand how to use interrupts with UART which I think is due to the lack of documentation!?
The [documentation for Timer Driver](https://nuttx.apache.org/docs/latest/components/drivers/character/timer.html) is really good. Something of that sort for [Serial Device Driver](https://nuttx.apache.org/docs/latest/components/drivers/character/serial.html) would be great.
Please let me know if I am missing something? Like should I go through the general implementation of Serial drivers on Linux and the same thing could be used for NuttX? Sorry for asking (simple?) questions. I am just used to embedded software programming and learning RTOSs lately. I do not have experience with Linux or its drivers.
--
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-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org