Does HAL_UARTEx_ReceiveToIdle_IT deliver in chunks?
If I call HAL_UARTEx_ReceiveToIdle_IT to receive 512 bytes, will it wait till all 512 bytes are received before calling HAL_UARTEx_RxEventCallback or could it possibly call it several times, delivering fragments of the whole packet?
I'm asking because I see it getting called with smaller Sizes... and as far as I can see on my oscilloscope, there is no glitching in the stream being sent from the other device. No gaps or dropouts. There are some long sequences of 0x00 but they all have valid start and stop bits.
If the defined behaviour is to call the callback only on IDLE or when the full specified size has been received, then I'll need to look elsewhere for the issue. I'm just trying to get some clarity on what this method could do.
