2024-08-05 03:21 AM
My interrupt is able to be triggered when my variable SIZE_OF_ARRAY is 10. However i want to be listening for large amounts of data so i change it to 1000 and my HAL_UART_RxCpltCallback function doesn't get called.
Any idea why this is? I am using STM32U575ZITxQ. I have attached my main file to this post
2024-08-05 06:07 AM
Probably it just hasn't received 1000 characters yet. It won't call the callback until it received the full buffer.
If you want to get a callback after every transmission when the line goes idle, use HAL_UARTEx_ReceiveToIdle instead.