I am working on STM32f103 CB and i am trying to read the RFID tag EM18 using USART1.Whenever the card is waved on the Reader, i will receive a interrupt on USART receive pin PA10. Can anybody tell how to copy the received tag in the uart interrupt handler. I am able to copy only the first byte. i want to copy the entire 12 byte in the UART receive interrupt handler .
Below is my code snippet to read the RFID TAG
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET)
/* Read one byte from the receive data register */
*t = (USART_ReceiveData(USART1) & 0xFF);
//Uart3Timeout = 10000;
Can anybody tell how to implement this