This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART Receiver Interrupt program

Hello Sir,

I am trying to perform an IoT application using esp8266 wifi module. I have interfaced esp8266 with tiva launchpad using UART1 and I used AT commands to configure esp8266 as a server. But I am unable to receive the data in interrupt mode.

I need guidance in performing UART reception in interrupt mode.

Thanks,

Revathi.T

  • Hello Revathi

    Have you configured the IO's of the UART and confirmed that basic polling mode TX and RX is working?

    Regards
    Amit
  • Hi,

    Yes i have verified UART working in polling method. Even now i am using polling method only in my program. I m receiving the data in polling mode. But the preferred mode of data reception is to be the interrupt mode in my case.

    Regards,
    Revathi
  • Hello Revathi

    First of all check if the data is being sent on the wire from the external device to the TI device.

    Then check the UART Status registers to see if the RX FIFO status bits shows that there is data in the RXFIFO.

    If the above two are true, then please share the UART configuration and Interrupt routine.

    If no, then check if the baud rate is correct as seen on the wire and as being configured in the UART configuration

    Regards
    Amit