Change LPSPI CCR register

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

Change LPSPI CCR register

1,236 次查看
Jembed
Contributor II

Hello NXP team,

In the reference manual of S32K1 (S32K-RM) there are two contradictory statements about the possibility of changing the CCR register. As highlighted in the images below, first it says that to change this register, the module must be disabled. And elsewhere it says that the module should not be at busy state.

Jembed_0-1702192392406.png

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

      Jembed_0-1702193513130.png

The question is that, is it possible to change the CCR register when the module is enabled but is not busy (it is at idle state)?

Regards,

Jembed

标记 (4)
0 项奖励
回复
1 回复

1,161 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Jembed,

I have requested clarification in this matter and a fix of the discrepancy.

I will update the case as soon as I have more information.

For now, please disable the module whenever you change the register.

If you use the RTD drivers, the module is disabled by the LPSPI driver before it writes to the register.

 

Best regards,

Daniel

0 项奖励
回复