Hi, I find I'm confused about the BSPs that are generated from the BSP cloning tool.
I'm using various flavors of K60, MQX 4.1.1.
I vaguely recall there was something about silicon versions that made it non-obvious which BSP to use for a given tower system, and this had a significant effect on the code used for the clock init code, ie if you used the obvious one it didn't work, so you had to use a non-obvious one.
I've also noticed that the CPU target in a BSP is different from what the chip label says, which I think is part of the above recollection.
Can someone please confirm the following BSPs and CPU targets are correct for the following configurations?
I'm mostly concerned that I'm using the right BSP for my custom boards.
PCB/Hardware | CPU name on chip | Clone tool board name | config.h CPU identification | Cloned CPU target for BSP | Cloned CPU target for examples |
---|---|---|---|---|---|
TWR-K60N512 | PK60N512VMD100 | twrk60n512 | PSP_CPU_MK60DN512Z | Cortex-M4 | MK60DN512Zxxx10 |
TWR-K60F120M | MK60FN1M0VLQ12 | twrk60f120m | PSP_CPU_MK60DF120M | Cortex-M4 | MK60FN1M0xxx12 |
Custom V1 | MK60DN512ZCAB10R | twrk60n512 -- ??? | PSP_CPU_MK60DN512Z | MK60DN512Zxxx10 | MK60DN512Zxxx10 |
Custom V2 | MK60DN512LVQ10 | twrk60d100m -- ??? | PSP_CPU_MK60D100M | MK60DN512xxx10 | MK60DN512xxx10 |
Why is the Z target used for PK60N512VMD100 tower chip? I understand Z is initial silicon, but this is not printed on the chip on the tower PCB.
Why does the BSP merely target the core (Cortex-M4), but the examples target the specific CPU (MK60DN512Zxxx10) ?
Short version posted here:
Thanks
In fact Z isn’t "real" initial silicon. TWR-K60N512 is assembled by first silicon (part number without Z and D/F, maskset 0M33Z). Z was later added to part number for distinguish between Rev 1.x and Rev 2.x Kinetis 100MHz chips during renaming. New Kinetis 100MHz chips names contains “D” or “F” in part number for specify core type:
D means ARM Cortex-M4+DSP
F means ARM Cortex-M4+DSP+FPU
So, Z means initial silicon only for already renamed Kinetis MCUs (with D/F in part number).
I would like to recommend our application note AN4445 Kinetis 100 MHz Rev 1.x to Rev 2.x Migration Guide for more details:
http://www.freescale.com/files/32bit/doc/app_note/AN4445.pdf
Simplest exact identification is trough maskset:
xM33Z and xN30D refers to twrk60n512
xN22D refers to twrk60d100m
Have a great day,
RadekS
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks again. Yes I noticed the chip on the tower didn't confirm to the later naming convention so that's why I was confused. The mask set number matches.
Sent from my Windows Phone