Problem with registers in MK60FX512VMD15

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

Problem with registers in MK60FX512VMD15

679 次查看
feraro
Contributor IV

Hello.

In most of the registers appear in this way.

Can anybody help me?

pastedImage_1.png

0 项奖励
2 回复数

523 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi

I think you need to enable PIT clock gate control, and FTM clock gate control, then you can see the correct register values.

SIM_SCGC6 |= SIM_SCGC6_PIT_MASK;

Please refer to the reference manual for more details about SIM_SCGC6.

pastedImage_1.png

pastedImage_2.png

Or you can run the demo Freescale\Freescale_MQX_4_2\mqx\examples\hwtimer to check the PIT register value

Regards

Daniel

523 次查看
feraro
Contributor IV

Thank you very much for your help.

regards

0 项奖励