Custm trim reference Ke04 in debug mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custm trim reference Ke04 in debug mode

937 Views
IlConte
Contributor IV

I use a KE04Z8 processor with Codewarrior for MCU and PEMICRO Multilin Universal programmer.

I need a custm trim reference frequency at 34560 .

If i program directly with pemicro comamnd (CUSTOMTRIMREF 34560) all is OK.

But if i use the codewarrior debug mode dont't work.

I set the custom trim value TrimKe04Debug.jpg

When run in address 0x3FE - 0x3FF there isn't the trim value and hence the clock is wrong !

immagine.png


How can I trim the internal frequency in debug mode ?

Thanks

Stefano

0 Kudos
Reply
1 Reply

919 Views
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Hope you are well.
Unfortunately, the SCTRIM value is not loaded if the device is in debug mode. To load correctly the value from the reserved flash location the device must not be in debug mode.

I apologize for the inconvenience this may cause you. If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 Kudos
Reply