Can the MC9S08SG8 output the clock?

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

Can the MC9S08SG8 output the clock?

1,375 次查看
Abner
Contributor I

Does anyone can tell me how to output the clock from the internal clock source of MC9S08SG8 ?

Which register should i use? I want know the detils.

标记 (1)
0 项奖励
回复
3 回复数

1,354 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

The SG family does not have a clock out pin, if you want to get the 32KHz from the internal clock this is not possible, but you can use the internal FLL and the TPM module to get a PWM signal on one of the TPM channels, I  do not remember if this possible to have 32KHz using the TPM, please check the following code, this is for the SH, the SH has the same modules than the SG

 

0 项奖励
回复

1,347 次查看
Abner
Contributor I

Thanks for your reply!

In another way,I want to know can i output a signal like the follow picture on MC9S08SG8 PTA1 pin. 捕获.JPG

0 项奖励
回复

1,337 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

You only can have a PWM signal (square signal), not a clock signal (sine signal)

 

Have a good day

0 项奖励
回复