Kinetis K10 with 10MHz crystal problem

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

Kinetis K10 with 10MHz crystal problem

跳至解决方案
2,827 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
2,422 次查看
MarkP_
Contributor V

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

~Mark

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,422 次查看
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 项奖励
回复
2,423 次查看
MarkP_
Contributor V

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

~Mark

0 项奖励
回复