This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to handle the receive buffer interrupts?

Hello,

I am using LPC3250 mcu with ARM9 core. I would like to receive interrupts when data comes to the receive buffer. I have enabled the interrupt but now I dont know how to proceed.

What kind of interrupt can come? How can I write an interrupt subroutine?

Thanks for your helps.

  • What receive buffer? The LPC2350 most probably have more than one device that can receive data and generate interrupts.

    The user manual will tell you all you need to know about the different peripherials, and what flags to check when you get an interrupt from one of the peripherials. Then you will know if you have any data received, or got a framing error, overrun, parity error or whatever may be applicable to the specific peripherial device.