Renesas M16C UART2 with Interrupts

Thread Starter

washer

Joined Nov 25, 2009
10
Hi all, I am new to the forum and was recommended here by Firestorm as a good place to look for help.



I am using a Renesas M16C (on a QSK62P Plus) along with a Pololu USB-serial breakout board to talk back and forth from my laptop to the board.



I modified the code initializing UART0 and got polling communication to work both ways, but am still having some trouble with the interrupts. I have again changed every reference I can find in my code from UART0 to UART2, but I don't think the interrupts are triggering. Are the UART0TransmitInterrupt and UART0ReceiveInterrupt triggered only when UART0 finishes transmitting a character or a character enters the UART0 receiver? Is there a UART2 interrupt, and how do I use it? Again, all I changed (along with the init file and other references to u0) was UART0TransmitInterrupt to UART2TransmitInterrupt, etc. for a shot in the dark.

I can try to attach my demo code if that would help.



I just found this forum and am still looking around, sorry if something similar has already been posted.

Thanks for the help!
Dreier
 
Top