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

Interrupt based External UART

Hi,
Can anyone of you help me out on how to write interrupt based external UART driver. I've its polling based counterpart ready and working.

Vipin

Parents
  • Do you have a free external interrupt line available? If so, attach the relevant signal from your UART to this line and put your send/recv handler code in an ISR that is located at the external interrupt vector.

    Not too much different from the internal UART ISR in theory except you'll need to query different registers to determine the cause of the interrupt.

    - Mark

Reply
  • Do you have a free external interrupt line available? If so, attach the relevant signal from your UART to this line and put your send/recv handler code in an ISR that is located at the external interrupt vector.

    Not too much different from the internal UART ISR in theory except you'll need to query different registers to determine the cause of the interrupt.

    - Mark

Children
No data