MPC5744P

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5744P

1,333件の閲覧回数
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 返信

1,094件の閲覧回数
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