Solved
Only receive one byte of string in UART
I am not able to receive the full string in the RDR resgister. eg. If I am transmitting "hello" I am receiving only "h".
How to get a full string? Can anyone please help?
uint8_t Temp;
while( !( USART2->ISR & USART_ISR_RXNE ) ) {
Temp = USART2->RDR;
HAL_GPIO_WritePin(LD2_GPIO_Port, LD2_Pin, GPIO_PIN_RESET);
};
