User Activity

Hello, I'm new to embedded software and I have 2 questions about UART communication.I've coded UART interrupt and have no problem with the transmit function, but the HAL_UART_Receive_IT(&huart2, rx, 10);only read the first byte I passed to the serial...