how to set MC9s08 33khz Internal Clock?

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

how to set MC9s08 33khz Internal Clock?

711 Views
woosuwan
Contributor I

I want set 33kHz Internal clock to use MC9S08 Series.

 

I think if I set ICSC1_CLKS0, ICSC1_IRCLKEN, ICSC1_IREFSTEN. I will get 33kHz Internal Clock But I can't.

 

Could you help me?

Labels (1)
0 Kudos
3 Replies

575 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Woo,

What chip and CW version do you work with?


Have a great day,
Zhang Jun

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

0 Kudos

575 Views
woosuwan
Contributor I

Hi Zhang Jun

Thanks for answer.

This chip is MC9S08SG8. CW is Eclipse based on Code warrior 10.2.

Thaks you ^^

0 Kudos

575 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Woo,

you need trim the internal oscillator frequency from default 31.25k to 33k.

there is good document on how to trim

Yes, OSDA can trim the reference of internal clock source!

it is for Kinetis family but the method is the same for S08 chip,

can it help you?


Have a great day,
Zhang Jun

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