MPC5744P

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

MPC5744P

1,331 Views
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 Reply

1,092 Views
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