TWR-K40D100M with PK MPU instead of MK MPU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TWR-K40D100M with PK MPU instead of MK MPU

641件の閲覧回数
ilias
Contributor I

Dear all,

I am new to freescale products. I am currently working in TWR-K40D100M DEVELOPMENT BOARD. According to the site, the tower should feature the Kinetis low-power MK40DX256VMD10 MCU. However the board I 've received features the PK40DX256VMD10.

I am trying to run a HelloWorld example that I have downloaded from the site for the twr-k4d100m. Just to mention that the examples are also refered to twrk60d100.

The project is built without any errors or modifications except that i change the processor to: Freescale MK40DX256xxx10.

I am using IAR and what i can see that program stacks at a while loop in systeminit():

/* Check the value returned from pll_init() to make sure there wasn't an error */

       if (mcg_clk_hz < 0x100)

         while(1);

I know that PK series is a very old silicon version (Prototype only and not fully qualified). Could it be a reason for not running this example or is something else that i am missing?

There are 10 types of people. Those who understand the binary system of numbers and those who don't.
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

483件の閲覧回数
santiago_gonzal
NXP Employee
NXP Employee

Hello,

It's probably something else, related with the clock configuration. The PK devices are going to work exactly in the same way as the MK devices.

You should check the PLL configuration, what crystall is the pll_init assuming and if you have that Crystal connected to the MCU or not. Have a look at other posts asking about PLL config in Kinetis K60.

Regards,

Santiago

0 件の賞賛
返信