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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,144 次查看
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.
标签 (1)
0 项奖励
回复
1 回复

533 次查看
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 项奖励
回复