Question
STM32 UART Rx with unknown length
hi i have a problem with my uart program the thing is i have to determine the buffer size of the rx i'll call it rx_buff now i have multiple reception well different messages sizes some times 50bytes some times 2bytes but the problem is that when sending the 2 bytes the call back doesnt trigger until the full 50bytes are full until the rx_buff is full meaning i have to send the 2bytes message 25 times to get a callback is there a way to receive unknown messages with different length ?
using the stm32H750
thanks in advance
