2018-08-19 09:54 PM
I have to receive a string in stm32f030 from USART using LL library through the interrupt.
2018-08-20 08:36 PM
No I didn't Initialize DMA circular buffer in the cube
2018-08-20 09:31 PM
void receive_usart1()
{
if(LL_USART_IsActiveFlag_RXNE(USART1) && LL_USART_IsEnabledIT_RXNE(USART1))
{
uint8_t rxdata =LL_USART_ReceiveData8(USART1);
}LL_USART_TransmitData8(USART1,rxdata);
}
This only transmit what it gets at that instant but lost the data if some delay is applied.
I need to store the data in string to process it further.