maxikrie commented on issue #11877:
URL: https://github.com/apache/nuttx/issues/11877#issuecomment-1988330586
@acassis Thanks a lot!
--
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
maxikrie closed issue #11877: STM32H7 (& STM32F4): UART write issue
URL: https://github.com/apache/nuttx/issues/11877
--
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
acassis commented on issue #11877:
URL: https://github.com/apache/nuttx/issues/11877#issuecomment-1988306785
@maxikrie I think these differences between ESP32 and STM32 could happen
because the former has internal HW FIFO and the later doesn't.
More info about O_NONBLOCK please read
maxikrie commented on issue #11877:
URL: https://github.com/apache/nuttx/issues/11877#issuecomment-1987368423
@acassis Thanks for the hint! It lead me to the solution.
The issue in my example was the `O_NONBLOCK` flag. I guess immediate
`close(fd);` causes the bytes not to be
acassis commented on issue #11877:
URL: https://github.com/apache/nuttx/issues/11877#issuecomment-1986987674
@maxikrie I used zmodem running on STM32F4Discovery and it worked, so the
TX/RX is working. BTW, are you using DMA? Could be related to same issue they
are discussing in the mailing