S08QG External Oscillator Connection?

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

S08QG External Oscillator Connection?

1,291 次查看
DSbob
Contributor III
New project, internal clock was fine for my previous first with project with the part, and I am at the pin assignment and product functionality part of the next.  I may want to time an event with more precision than the internal clock.  With an external crystal taking up two pins, I have none left for the timing function or have to give up some other function.  Can I just use one of those oscillator modules?  EXTAL seem right for the connection but I have not yet located a clear cut statement in the data sheet to that effect.  Cost is not much of an issue.
标签 (1)
0 项奖励
回复
1 回复

753 次查看
tonyp
Senior Contributor II

Yes, you can.

 

EREFS in ICSC2 decides whether the oscillator or an external clock is used.   In the latter case, the XTAL pin is freed for I/O use.  Use EREFS=0 (reset default) for external clock.   But you must also set IREFS=0 in ICSC1 to switch from internal to external clock.

0 项奖励
回复