Frequency trim not working on 9S08 with Code Warrior 6.1

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

Frequency trim not working on 9S08 with Code Warrior 6.1

跳至解决方案
1,636 次查看
jmv
Contributor I
I am using Code Warrior 6.1 with a 9S08QE128 target in the DEMOQE development board. I have selected the P&E Multilink/Cyclone Pro connection and am connecting through the USB port.

I have noticed that although I tell it to use a custom trim frequency of 32768kHz, the downloader always states that it is recommends the trim value of $AC, which it then programs into the trim register. This is irrespective of what I set as the custom frequency. I measure the frequency by timing intervals between 1ms interrupts, and this is always about 477 Hz, not 500Hz.

The same setup works correctly with the ColdFire MCF51QE128. I can trim the ICS to give me exactly 500Hz.

Does the downloader in Hiwave not support the frequency trim option with the 9S08 processor? I am guessing it doesn't as it always uses the recommended value $AC for the trim.

This is a nuisance because the baud rate is now out of spec and the SCI interface misses some characters. This doesn't happen with the ColdFire processor.

Is there a way to get a custom frequency trim to work on the 9S08 with my setup?

Thanks
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
528 次查看
fabio
Contributor IV
Hi jmv,

I think this is a known issue of CW 6.1. I related it to Freescale's support and PEmicro's support. This issue was only solved by upgrading to CW6.2.

Best regards,

在原帖中查看解决方案

0 项奖励
回复
1 回复
529 次查看
fabio
Contributor IV
Hi jmv,

I think this is a known issue of CW 6.1. I related it to Freescale's support and PEmicro's support. This issue was only solved by upgrading to CW6.2.

Best regards,
0 项奖励
回复