How to read Internal Registers of KL25Z Freedom

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to read Internal Registers of KL25Z Freedom

1,089 次查看
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.

标签 (1)
0 项奖励
回复
1 回复

841 次查看
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 项奖励
回复