CodeWarrior and Trim Value Calculation for the MC68HC908KX8

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior and Trim Value Calculation for the MC68HC908KX8

ソリューションへジャンプ
4,439件の閲覧回数
bespenschied
Contributor III
Is there a method of calculating the Trim Value for the 908KX8 cpu internal clock in CodeWarrior or the true-time simulator/debugger? I have been using an external Oscillator and am now ready to try the internal timer. I keep seing references in these forums for this calculation using the P&E tools but I have not been able to find any specifics. I am using a simple MON08 interface I built to interface my target to CodeWarrior.
 
bcde
 
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,286件の閲覧回数
peg
Senior Contributor IV

Hi Brian,

AFAIK there is no direct support for auto clock trimming in CW (hiwave) even though there is an option to do the trim under advanced options.

It seems to depend entirely on your interface.

If you are using a P&E USB multilink or cyclone etc it will get the P&E part of the software to do the trim for you.

So to summarise AFAIK the only time you get auto cal in CW is with S08's using P&E BDM interface. (Maybe Softec as well???).

If anyone knows something different please pipe in as I would like to know as well.

So you are stuck with manual calibration and then being annoyed by CW's insistance on erasing before flashing and zapping your NV trim.

BR Peg

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,287件の閲覧回数
peg
Senior Contributor IV

Hi Brian,

AFAIK there is no direct support for auto clock trimming in CW (hiwave) even though there is an option to do the trim under advanced options.

It seems to depend entirely on your interface.

If you are using a P&E USB multilink or cyclone etc it will get the P&E part of the software to do the trim for you.

So to summarise AFAIK the only time you get auto cal in CW is with S08's using P&E BDM interface. (Maybe Softec as well???).

If anyone knows something different please pipe in as I would like to know as well.

So you are stuck with manual calibration and then being annoyed by CW's insistance on erasing before flashing and zapping your NV trim.

BR Peg

 

0 件の賞賛
返信
1,286件の閲覧回数
bespenschied
Contributor III

Thanks peg!

I only have an interface I made so I guess I will get busy on learning how to do it manually.  It is worth it if I can save the cost of a digital oscillator or crystal.

bcde

 

0 件の賞賛
返信
1,286件の閲覧回数
peg
Senior Contributor IV

Hi Brian,

Take a look at AN2498, AN2312 and AN2496.

Regards Peg