How to use RTI in STOP3 mode

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use RTI in STOP3 mode

Jump to solution
274 Views
icarus31
Contributor III

Hi,

 

I have project working on the GT16 and designed with CodeWarrio 10.3 and migrated to 10.6.

 

With Device Initialization (why that nice feature disappeared in 10.6?), I can see all the modules used for that microcontroller. The RTI is not used and I clicked on it to be able to configure it:

 

Clock select = Internal oscillator

Prescaler = 1024

Real-Time interrupt = Enabled

 

When doing that, I can see this warning message:

 

Warning: Internal oscilator is used as a clock source - RTI won't be active in run and wait modes! (Clock select)

 

Hey Freescale, there is a typo on the "oscillator" ! ;-)

 

Ok, what I understand from that warning message is the RTI won't be triggered if I am on run or wait mode. Correct?

 

If I execute a stop, the RTI should be working, correct?

 

I compiled and uploaded the code to my chip and got to the point where the STOP3 mode is executed (asm STOP). I expected to see the breakpoint put in the RTI interrupt to be triggered, but nothing happened.

 

 

Any clue why it does not work? What did I forget to configure? Does the warning message could be the cause of my problem?

 

 

Big thanks in advance!

Labels (1)
0 Kudos
1 Solution
77 Views
icarus31
Contributor III

*** UPDATE ***

I took out the Multilink from my board and it worked!

It is by reading some posts that I discovered that some people had that issue also.

Hope that will help you

View solution in original post

0 Kudos
1 Reply
78 Views
icarus31
Contributor III

*** UPDATE ***

I took out the Multilink from my board and it worked!

It is by reading some posts that I discovered that some people had that issue also.

Hope that will help you

View solution in original post

0 Kudos