It works if I comment "protocol_execute_realtime" in the end of the " for (;;)" in protocol.c, but I think its not fair, this will cause another problems.
As I can see, the flag "EXEC_STATUS_REPORT" is set on storeHandleDataIn() in USART IRQHandler when I'm receiving the "?" character and it's processed SO fast as the RX frame isn't arrived completely.
Any idea of why this doesn't happen in the STM32F103 microcontroller, or how can I solve this?
Dear all,
I'm actually migrating the code to a STM32G070 microcontroller, (64MHz), and I'm having issues with TX overlapping the RX message.
I'm sending some comands like $ with no problems:
29/07/2022 14:28:42.91 [TX] - $
29/07/2022 14:28:42.92 [RX] - [HLP:$$ $# $G $I $N $x=val $Nx=line $J=line $SLP $C $X $H ~ ! ? ctrl-x]
ok
But, if using "?", the overlapping causes this:
29/07/2022 14:28:40.01 [TX] - ?
29/07/2022 14:28:40.02 [RX] - ÿŅɵñ5A½Íé0.000,0.000,0.000,0.000,0.000|Bf:35,254|F:0>
It works if I comment "protocol_execute_realtime" in the end of the " for (;;)" in protocol.c, but I think its not fair, this will cause another problems.
As I can see, the flag "EXEC_STATUS_REPORT" is set on storeHandleDataIn() in USART IRQHandler when I'm receiving the "?" character and it's processed SO fast as the RX frame isn't arrived completely.
Any idea of why this doesn't happen in the STM32F103 microcontroller, or how can I solve this?
Thank you a lot!