CodeWarrior and Trim Value Calculation for the MC68HC908KX8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

CodeWarrior and Trim Value Calculation for the MC68HC908KX8

跳至解决方案
4,447 次查看
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,294 次查看
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,295 次查看
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,294 次查看
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,294 次查看
peg
Senior Contributor IV

Hi Brian,

Take a look at AN2498, AN2312 and AN2496.

Regards Peg