MPC5744P

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

MPC5744P

10,787 次查看
donnerx
Contributor II

we now use S32DS to program SPI interface of SPC5744. MPC5744P PRM shows the reset value of SPI_0.MCR.HALT is "1" . But when I try to debug, after reset of CPU, the HALT bit of Register SPI0.MCR is "0" and cannot set to "1" by software. The MCU has excuted no code before. I upload a picture about this problem, please help me, that's really confusing!

1 回复

10,548 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

the value you see in the register is not correct, because there is no clock for this module after reset. After you enable clock for SPI module, you will see correct values. Please see the figure below.

pastedImage_1.png

Regards,

Martin