Can the MC9S08SG8 output the clock?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can the MC9S08SG8 output the clock?

1,008 Views
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.

Tags (1)
0 Kudos
Reply
3 Replies

987 Views
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 Kudos
Reply

980 Views
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 Kudos
Reply

970 Views
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 Kudos
Reply