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.

F28335 can't interrupt after a few minutes

Hi, everyone: When started, all interrupts such as SCI, SPI, ePWM etc can be entered, however, after about 30 minutes (it's a radom time and maybe vary) continous running, no interrupt occurs. Did anybody also across this problem? It has puzzled me for a long time. Thx~
  • nwpu09 said:
    Hi, everyone: When started, all interrupts such as SCI, SPI, ePWM etc can enter, however, after about 30 minutes (it's a radom time and may vary) continous running, no interrupt occur. Did anybody also across this problem? It has puzzled me for a long time. Thx~

    Some places to look -

    • If you halt the processor after interrupts have stopped, what state is it in? 
    • Is the CPU still executing within your code or has it gone into the weeds? 
    • Is it possible the stack has overflowed?
    • Are interrupts flagged in the IFR register and enabled in the IER register? 
    • Is the interrupt mask INTM set or cleared?
    • Are the PIE interrupts setup correctly?
  • OK,thank you very much. I'm using a XPC to record all my data which are sent through the SPI. 1. When halted, the program may stop at a radom place in the for(;;){} circle; 2. The CPU is still executing because I can also receive data from SPI; 3. I am not sure on this question, but whether overflowed or not can affect the interupt? And how can I make sure on the overflow? 4,5,6. Yes, IER register is enabled and both INTM and PIE are setup correctly. After all, if these registers are on a wrong state no interrupt will occur at the begining. This problem is really tough :(