Processor Expert Internal Oscillator Frequency Trim Value Initialization

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

Processor Expert Internal Oscillator Frequency Trim Value Initialization

1,622 次查看
egoitztoledo
Contributor III

Hello,

According to the problem in post: https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-SCI-baudrate-veriation-when-flashing/m...

I realized that the Processor Expert does not initialize the trim value of the internal oscillator, only gives the option to assign a fixed memory position to allocate the value. When debugging, it seems that the trim values are automatically inserted, but not when flashing, so it has to be done by "hand".

As in PE the frequency value is selectable, I propose to assign the correct values in the code generated by the PE.

I have seen this issue with the MC9S08QG8 micro controller and Codewarrior V11, so the registers affected would be ICSTRM and ICSSC to be included at file CPU.c.

Thank you and regards.

1 回复

1,348 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Thanks for the suggestion.

0 项奖励
回复