AnsweredAssumed Answered

MKE02Z16VLC4 Uart Interrupts Not Firing

Question asked by Anang Bohra on Aug 24, 2016
Latest reply on Aug 25, 2016 by Alice_Yang

Hi,

I am have some trouble getting the two uarts of the MKE02Z16VLC4 to work properly on my board. Both the uarts are interrupt driven but only one of them works. I am able to send and receive from one uart but not the other.

The problem specifically lies to UART0, which has same configuration as UART1 (9600 8N1 no flow control) but the interrupts wouldn't work at all. I am trying to send a stream of data but I get only one Tx Interrupt (I am using XX_OnTxChar interrupt).

My code also has a PWM interrupt, a timer interrupt, an ADC interrupt and all of them function well except the UART.

 

Can anyone point me to the right direction?

thanks

Outcomes