LC60: RTI is not working in FEI mode at stop3 but it is in FEE?

cancel
Showing results for 
Search instead for 
Did you mean: 

LC60: RTI is not working in FEI mode at stop3 but it is in FEE?

635 Views
BasePointer
Contributor II
Hi,
 
I'm using external 32.768 crystal for RTC functionality. My main routine is actualy using FEE mode. If I want to switch active clock mode from FEE to FEI or SCM before entering stop3, the RTI is also stopping and MCU is not waking in stop3 via RTI. If I leave it on FEE mode, RTI is working also in stop3 mode.
 
But in normal RUN MODE, RTI is always works properly.
Is this a normal behaviour?
 
Thank you,
BP.
Labels (1)
0 Kudos
1 Reply

24 Views
BasePointer
Contributor II
Himm, yes unfortunately it seems normal behaviour.
 
Code:
OSCSTEN: Enable Oscillator in Off Mode — The OSCSTEN bit controls whether or not the oscillator circuit remainsenabled when the ICG enters off mode. This bit has no effect if HGO = 1 and RANGE = 1.0 Oscillator disabled when ICG is in off mode unless ENABLE is high, CLKS = 10, and REFST = 1.1 Oscillator enabled when ICG is in off mode, CLKS = 1X and REFST = 1

 
I set this bit to enable oscillator when ICG is in off mode. But it is only valid when CLKS = 1X that means FEE or FBE :smileysad:
 
10x,
BP.
 
0 Kudos