on twrK20d72m project I want to change the microcontroller to be K20DN512VLK10 instead of K20DX256VLL7. what I need to do in order to use the same project just to change the microcontroller ?

cancel
Showing results for 
Search instead for 
Did you mean: 

on twrK20d72m project I want to change the microcontroller to be K20DN512VLK10 instead of K20DX256VLL7. what I need to do in order to use the same project just to change the microcontroller ?

282 Views
ronenaharoni
Contributor I

I'm using K20 TWR for my development how ever our project has different K20 MCU , we have K20DN512VLK10 instead of K20DX256VLL7 which run on the TWR EVK , ( there are some changes between the 2 MCU ).

what action do I need to take in order to use the example project twr20d72m to run the K20DN512VLK10 instead of K20DX256VLL7 ?

0 Kudos
3 Replies

183 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi,

K20DN512VLK10 belongs to Kinetis 100MHz product platform, as Mark mentioned, there with some difference.

I would recommend customer to refer Kinetis 100MHz product example project from below link:

KINETIS512_V2_SC  : Kinetis 100MHz Rev 2 Example Projects.

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=TWR-K60D100M&fpsp=1&tab=Design_Tools_...

Customer also could consider to use Processor Expert tool, which provides components with logic driver for all Kinetis product.

There will add flexibility for project project migrate from different Kinetis platform.

More detailed info, please check below link:

Processor Expert Software and Embedded Compon|Freescale


Wish it helps.
best regards
Ma Hui

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

183 Views
mjbcswitzerland
Specialist V

Hi

Specifically to rev.-2 devices [K20DN512-100, if it is rev. 2].

- Rev. 1 has a mode control register whereas Rev.2 has system mode controller and reset control module

Consequences are that very low power mode control is slightly different and determining the cause of the last reset requires different code

- Rev. 1 has RNGB and Rev. 2 has RNGA (random number generator module is of a different type and so needs different code)

- Some port MUX capabilities may be expanded in Rev. 2 parts

There may be more but these needed to be considered in the uTasker project to achieve compaibility beween rev. 1 and rev. 2 silicon.

Regards

Mark

0 Kudos

183 Views
mjbcswitzerland
Specialist V

Hi

Here are a few differences between the K20DX256-72 and the K20DN512-100:

72MHz max - 100MHz max. (obviously)

No memory protection unit - has memory protection unit

1 CAN - 2 CAN interfaces

FS-USB is bus master 3 - FS USB is bus master 4

Various port mux options are different between the two parts.

Therefore there are not a great deal of modifications needed between the two.

I run the uTasker project on various K20 parts (from 50MHz to 120MHz F parts) and the 50MHz one has the most differences. Apart from the quite minor differences noted above the code is otherwise compatible.

Regards

Mark

0 Kudos