Actual bus frequency of MC9SDT256B?

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

Actual bus frequency of MC9SDT256B?

1,129 Views
louiswang
Contributor I

I have two sets of MC9SDT256B based systems. oscillator freq. 4.0Mz. so bus frequency should be 2.0Mz with PLL clock "disabled". After I build up a project with codewarrior. Codewarrior waywardly

sets the internal bus clock 8.0Hz. If I set up my timers literally according to the real value. i.e. I need

PWM frequency 45Hz. I setup PMW frequency in codewarrior 45Hz.I would get 11.0+Hz. Also, my pulse

width measurement also shows the reading pulse width is 4 times as the real ones.  This seems not quite right although I can justify manually. Please check the attached screen shot of the setup.

What mistakes could I make?

Any response would be really appreciated

 

codewarset.jpg

 

Message Edited by t.dowe on 2009-09-04 03:12 PM
Labels (1)
0 Kudos
1 Reply

201 Views
ProcessorExpert
Senior Contributor III

Hello,
 
Could you please verify that value in "Clock frequency [MHz]" property in the CPU bean corresponds to the value of the oscillator on your board?

 

Please find attached screen shot of CPU bean setting.

 

best regards
Vojtech Filip
Processor Expert Support Team

 

 

CPU_bean.JPG

Message Edited by t.dowe on 2009-09-04 03:13 PM
0 Kudos