Porting M4 code to M0+

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

Porting M4 code to M0+

417 Views
DustyStew
Contributor V

I've got some code working on a K20 MCU. Now I am going over to a KL05. I am editing the low level code from the K20 and using ifdefs so I can switch MCUs by changing one define. I am isolating all the register-level code into one .C module so that the rest of the higher level code is MCU independent.

BTW I don't want to use PE.  I've got my own libraries I want to build on top of this generic Kinetis library.

So I'm looking for a register-level comparison between the K and the L MCUs. Can anyone direct me to a source for this information? How peripherals vary between MCU variants. etc

TIA

Tom

Labels (2)
0 Kudos
1 Reply

276 Views
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi Tom,

Kinetis L series is using  different platform with Kinetis K series, there also with modules difference.

We don't have the register leave comparation table, while I attached K20 50MHz product modules feature comparation with KL series product slide for your reference.

Wish it helps.

B.R.

Ma Hui

0 Kudos