System Integration Module of MKE1xZ

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

System Integration Module of MKE1xZ

666 Views
nehayadav
Contributor I

Hi,

I am working on NXP MKE1xZ256 board. I am currently writing code to run an application that requires to read core Id, flash size and ram size of mcu. I searched it's reference manual and find out that SIM(System Integration Module) peripheral can provide me this information.

My Query is:

"How to exactly get core id, flash size and ram size of mcu from SIM peripheral ?"

Please Support !NXP Community—New Features, New Functionality, New Platform mke14 mke15 mke15z256vlh7 ke15z kinetis ke1xz #cortexm0#cortex m0#cortex-m0+#cotex m0+#cortex-m0#mke15z##nxp‌ 

0 Kudos
1 Reply

618 Views
sabinesjaime82
Contributor I

I don't know which IDE or SDK you are using however writting a simple code:

You can directly read the SIM_FCFG1 register using a 32 bit variable to know  Program flash size

Read SIM_SDID register using another variable to know RAM size.

And read Unique Identification Registers as the following post suggest

How to read the unique ID for K60? 

Also, take a look at the reference manual, and perform the necesary masks to get the correct values.

You can use MCUXpresso IDE and install a Ke1xz SDK to do a mini project with this porpuse. 

0 Kudos