2017-10-17 09:03 AM
I tested three devices all day long today.
All devices are connected to the USART, but the incoming interrupt does not work at all.
A program that connects the Lo Ra modules, GPS modules, and wifi modules to USART 1 and outputs the data sent to USART 2.
However, the Rx Interrupt does not work at all.
Attach the project file.
Note: this post was migrated and contained many threaded conversations, some content may be missing.2017-10-19 08:44 PM
Great, so your basically seeing exactly what i told you would happen!
Only thing you didn't say, is where it ended up when it didn't interrupt.
Which is in the error handler, if you added one... did you? what was the error?
2017-10-20 11:13 PM
At 9600 bps, sometimes rx interrupt stops.
Sometimes it stops in a few minutes or stops in a matter of hours.
However, the scope can still confirm that the data is still transferred.
The problem remains unsolved.
2017-10-20 11:19 PM
At 9600 bps, sometimes rx interrupt stops. Sometimes it stops in a few minutes or stops in a matter of hours.
However, the scope can still confirm that the data is still transferred.
The problem remains unsolved.
2017-10-21 09:45 AM
>>
The problem remains unsolved.
I'm not sure what the expectations are here, you might have to code things differently and more defensively against errors or timeouts. Coding assistance for HAL projects is limited.
Attached is a test supporting 115200 baud on the USART2 (VCP) and 9600 on the USART1 (GPS), please try this and report experience. There is some buffering, but no flow control.
________________ Attachments : NUCLEO53-F446RE-USART1_2_FORWARD_001.hex.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyLn&d=%2Fa%2F0X0000000b6P%2Fw.B8DB1tIV3_tlpl8RJhak87sGV1_aJ0IzZup19tBMc&asPdf=false2018-06-19 07:33 AM
Dear Sohaeng:
I also have the same problem with using Nucleo UART6 without interrupt.
have you solve the problem? if so , how do you solve?
thanks
roseanne
2018-06-19 09:49 AM
,
,
But not the same board right?
https://community.st.com/0D50X00009XkWIoSAN
,2018-06-19 11:04 AM
Dear Clive:
same board. I have both uart and timer interrupt problems.
the reset problem has been found only on my PC connecting to the nucleo board,
if the nucleo is connected to other PC, there is no problem.
thanks
rose