RTI is not working in Run/Wait mode (on Stop 3 does work) in 9S08GT32!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RTI is not working in Run/Wait mode (on Stop 3 does work) in 9S08GT32!

3,868 Views
yasha11
Contributor I
I am working with 9S08GT32 controller where part of the time my code goes into Stop 3 mode and part of the time the code is in RUN, Wait mode. I am using internal 1kHz clock generator for RTI interrupts. Normally in Run/Wait modes I am working in FEI ICG mode with Bus Clock of 15.552MHz and upon entrance to Stop3 mode, I am going to SCM ICG mode, lowering clock frequency. After receiving an RTI interrupt and terminating Stop 3 mode, the code is returning back to FEI mode. The RTI interrupt routine clears the RTIF flag (by RTIACK), and the SPMSC2_PPDF flag (by SPMSC2_PPDACK). Anyway after exit from Stop3 the RTI interrupts do stop. (In running mode or wait mode) and resume only upon entrance back to Stop 3 mode. What could be a reason for this phenomenon that RTI is not interrupting in the Run/Wait mode? Additional input is that while in BDM mode (background debug mode) the RTI interrupts do not arrive too. I have to simulate their arrival, through the debugging session.
 
Labels (1)
0 Kudos
Reply
1 Reply

537 Views
yb
Contributor IV
Hi,
I have the same pb in BDM mode, the RTI ISR doesn't arrive.
But without the BDM cable, it's ok.
 
Yvan
0 Kudos
Reply