Kinetis K10 with 10MHz crystal problem

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

Kinetis K10 with 10MHz crystal problem

Jump to solution
1,558 Views
MarkP_
Contributor V

Hi,
changed PE CPU configuration from 50MHz oscillator to 10MHz crystal.
CPU is Kinetis K10, configuration is K60, I think this is compatible.
Software crashes by going to reset (_boot) somewhere in function
__pe_initialize_hardware(), depends on how breakpoints are.

Found in non-PE version in function pll_init() the RAM-code workaround when
changing the CLKDIV1: fcn_ram_call(SIM_CLKDIV1_COPY);
Is this "errata e2448" still an issue with K10?
Does PE-code work correctly with setting:
  SIM_CLKDIV1 = (uint32_t)0x00010000UL; /* Update system prescalers */

Processor Expert Feature version is 1.0.7.b1131-0312

BR,
Mark

Labels (1)
Tags (1)
0 Kudos
1 Solution
1,153 Views
MarkP_
Contributor V

Hi,
changed PE configuration:
Capacitor load: 10pF
Oscillator operating mode: "Low power"
Now works OK (crystal is 10MHz).

~Mark

View solution in original post

0 Kudos
2 Replies
1,153 Views
ProcessorExpert
Senior Contributor III

Hello,

 

could you please post here some simple demonstration project in order to reproduce your problem?

 

best regards
Vojtech Filip
Processor Expert Support Team

0 Kudos
1,154 Views
MarkP_
Contributor V

Hi,
changed PE configuration:
Capacitor load: 10pF
Oscillator operating mode: "Low power"
Now works OK (crystal is 10MHz).

~Mark

0 Kudos