COP's Timing Source

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

COP's Timing Source

2,437 次查看
Luigi
Contributor III
I was wondering where the COP gets its time base.  It looks like it uses the system clock (maybe BUSCLK?) and has taps at 2^13 and 2^18 for detecting timeout.  So, if my clock system is based on the an external crystal and it somehow quits, the micro will not get a COP reset, right?
 
I came from a project which used a different micro and, with the right amount of noise, it would lock up the oscillator circuit, and the WDT along with it.  Oddly enough, taking the reset pin low would pull it out of its state and restart normally.  I was hoping this processor might be based on an internal RC oscillator or something, but it looks like it is also based on the external crystal, right?
标签 (1)
0 项奖励
回复
3 回复数

858 次查看
peg
Senior Contributor IV
Hi Luigi,
 
You really should mention what MPU you are talking about, preferably in the subject line.
That way everyone is not just guessing.
Some devices offer the choice of an interrupt OR reset on loss of lock of the FLL.
 
 
 
(Keeping the dream alive)
 

Message Edited by peg on 2007-04-3008:38 AM

0 项奖励
回复

858 次查看
bigmac
Specialist III
Hello Luigi,
 
For many devices, there is loss of clock detection that will cause reset should the external crystal fail.  When the COP timer uses the system clock you won't get COP timeout, but a reset should still occur by this other means.
 
Regards,
Mac
 
0 项奖励
回复

858 次查看
tonyp
Senior Contributor II
For some parts, like the QG for example, the COP can be set to use an internal 1KHz clock.  For others, like the GB, COP is based only on the bus (but in this case I think you can use the ICG to reset on loss of lock for certain modes at least, not sure).
0 项奖励
回复