karim zbiba

MC9S08SL8CTL  Inernal Bus Clock? / Trim?

Discussion created by karim zbiba on Nov 4, 2010
Latest reply on Nov 8, 2010 by bigmac

I needs to trim the internal reference clock in order to generate exactly 20MHz Frequency. (and not greater than 20Mhz)

The problem: I become three frequency 20026178Hz , 19921875Hz and 19818652Hz after every Reset.

 

My internal Oscillator frequency is 390625 kHz.

The Trim Control at the Code Warior connection Manager is 39062,50 Hz

 

The 9S08SL8CTL Internal Reference Clock has a accuracy of up to +/- 0.2%, so the Internal ferequency schould be max 20020000Hz and min 19980000Hz ???

 

are there some other configuration?

what can I do to become a frequency equal and not greater than 20Mhz? 

Outcomes