S12ZVL Watchdog (cop)

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

S12ZVL Watchdog (cop)

897件の閲覧回数
charudattaingal
Contributor IV

Dear team,

 

I want to know the default value of ACLK clock in S12zvl controller .I need to calculate value of cop time out period.while selecting cop clock source is ACLK.

its good to have if i get example of same .

ラベル(1)
0 件の賞賛
返信
1 返信

717件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi,

Nominal value of ACLK is 20kHz.

ACLK frequency is divided by 2 when ACLK is selected as clock source for watchdog:

ACLK.png

So, 10kHz is source clock frequency for COP watchdog.

Minimum timeout (CPMUCOP_CR=0x01, CPMUCLKS _COPOSCSEL1=1) is 2^7*(1/10kHz)=12,8ms

Maximum timeout (CPMUCOP_CR=0x07, CPMUCLKS _COPOSCSEL1=1) is 2^17*(1/10kHz)= 13,1072s

Note: ACLK frequency could be trimmed by modifying CPMUACLKTR register value. Note: After reset a value is automatically loaded again from the Flash memory.


I hope it helps you.


Have a great day,
RadekS


-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信