How to read Internal Registers of KL25Z Freedom

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

How to read Internal Registers of KL25Z Freedom

1,089 Views
nidhinvarghese
Contributor I

How can the Internal Registers of Freedom KL25Z be read ?

My aim is to read the MCG and SIM internal registers and print the value through a putty terminal on PC screen. Through which the internal status of Controller is understood.

Labels (1)
0 Kudos
Reply
1 Reply

841 Views
mjbcswitzerland
Specialist V

Hi

Load the binary at
http://www.utasker.com/kinetis/FRDM-KL25Z.html

Then you can read all internal registers out over the UART.

Just find the register address and size - eg. SIM block is at 0x40047000
"md 4004700 l 100" (in the I/O menu) will print out 100 long word contents from the start of the block.

If you need the code to do it just get it from the uTasker project.

Regards

Mark
Kinetis for professionals: http://www.utasker.com/kinetis.html

0 Kudos
Reply