cancel
Showing results for 
Search instead for 
Did you mean: 

Processor Expert Internal Oscillator Frequency Trim Value Initialization

Processor Expert Internal Oscillator Frequency Trim Value Initialization

0 Kudos

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.