We found some time the UART interrupt call back function (HAL_UART_RxCpltCallback) will shut down but the IRQ function (UART5_IRQHandler ) still working. Because we have add the counter in call back function and IRQ function 。
We found some time the UART interrupt call back function (HAL_UART_RxCpltCallback) will shut down but the IRQ function (UART5_IRQHandler ) still working. Because we have add the counter in call back function and IRQ function , when the communication shut down, we check the IRQ function’s counter still has increase but call back function ‘s counter has not increase.
So may we have two request to ask?
- Is any STM MCU register flag or function can check the call back function alive and shut down reason? (we already implemented (HAL_UART_ErrorCallback) function but see the error call back function have not called but see the UART RX call back function not work.
- Is it possible come to our office to see the problem in real time ?
