UART RX not working on B-L072Z-LRWAN1 #1217
Replies: 6 comments
-
I meet this questions yesterday , I have solved it , let me tell you . In uart-board.c with line 220 . The name of func is UartMcuGetChar . Modify it to what I show to you. Here are the code. |
Beta Was this translation helpful? Give feedback.
-
Can we close this issue ? |
Beta Was this translation helpful? Give feedback.
-
@mluis1 I still can't receive on the UART... |
Beta Was this translation helpful? Give feedback.
-
Hi @josesimoes did you resolved the problem? |
Beta Was this translation helpful? Give feedback.
-
Hi @kevenmalter the suggestion above seems to work. Shouldn't it be ported to the respective code file? |
Beta Was this translation helpful? Give feedback.
-
If you don't mind we decided to move this issue to the Discussion tab as we are not able to reproduce this issue using the provided examples. |
Beta Was this translation helpful? Give feedback.
-
Hi,
The UART RX is not working only the 1st char is received.
Suspect this is because of the way the UART interrupt is being handled...
The repeated call to
HAL_UART_Receive_IT
insideHAL_UART_RxCpltCallback
is doomed to fail because of the way the ST UART HAL code works. There are various entries about this on ST forums and Stackoverflow too.Can this be reworked to implement a workaround for those shortcomings? Or maybe switching to DMA...
Beta Was this translation helpful? Give feedback.
All reactions