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?

807件の閲覧回数
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 返信

196件の閲覧回数
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 件の賞賛