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.

TMS320F2812 stop generating SCIA RX ISR.

Other Parts Discussed in Thread: TMS320F2812

I have a TMS320F2812 using SCIA to communicate to a PC.  The PC send data every second and the TMS reply correctly for a while (hours) but it suddently stop working because the SCIA RX ISR stopped being called. I have an oscilloscope on the SCIRXDA (pin 157) and data is still coming in. I also have a counter in the ISR and it does also stop incrementing. 

 

Anyone has any clue what is going?

 

Thanks,

Andre

  • Andre,

    Check whether SCI receive interrupt bit in the corresponding PIEIER register is enabled or not at the time when you observe that SCI RX ISR is not getting called.  Check whether corresponding CPU interrupt in IER register and global interrupt mask bit are appropriately enabled at that time.  Also make sure the interrupt is being acknowledged every time the ISR is executed to allow more interrupts.  May be the code is disabling the SCI receive interrupt after receiving some data bytes? 

    Thanks and Regards,

    Vamsi