How to find Kinetis Processor ID information

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find Kinetis Processor ID information

677 Views
myke_predko
Senior Contributor III

Gentlebeings,

I would have thought this is a simple question to find the answer to, but I can't in the datasheet/RM or the MQX documentation. 

I'm looking for a way to determine within my software what is the processor executing.  Ideally, I would like to get down to processor family (ie K20, K22) and Flash size. 

Is there a register in the Kinetis and (ideally) an MQX API that provides this information? 

I'm asking because I'm looking at a follow on products to the Jade Robot https://www.mimetics.ca and I would like some sure fire way of ensuring that different products (which will use different processors) can be identified. 

This question is also being asked in the Kinetis forum. 

Thanx,

myke

Tags (4)
0 Kudos
2 Replies

125 Views
myke_predko
Senior Contributor III

I just wanted to say that I have gotten some answers (and unexpected results) in the Kinetis forum: https://community.freescale.com/thread/336964

myke

0 Kudos

125 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Myke

You can check the MQX API _mqx_get_cpu_type  (mqx\source\kernel\mqx.c)


Have a great day,
Daniel

0 Kudos