S12ZVM, clocks slow after STOP mode and wakeup via LIN

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12ZVM, clocks slow after STOP mode and wakeup via LIN

704件の閲覧回数
timothyschnobel
Contributor I

I'm trying to get stop mode working with the s12zvm. We are waking via the LIN bus. The design uses the internal clock. I'm able to sleep and wake, but when I wake my clocks are running extremely slow (seems like 12.5MHz down to something like 18KHz). I've tried reinitializing the CPMU subsystem and waiting for CPMUIFLG_LOCK, but my clocks are still slow. What am I missing? Since all the clocks are killed by STOP, is there a reinitialization sequence I'm supposed to go through after waking up via LIN? Thanks

タグ(3)
0 件の賞賛
1 返信

435件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,
There is no reinitialization sequence.
PLLSEL is set automatically, when it enters Stop mode.
Out of Stop mode, it runs on PLLCLK (PEI mode) and tries to lock. (Figure 8-42, RM)

So, it hangs waiting for CPMUIFLG_LOCK?
What is the bus clock frequency before Stop mode?
Can you share the PLL configuration code?

Regards,
Daniel

0 件の賞賛