Change LPSPI CCR register

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

Change LPSPI CCR register

443 Views
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

Tags (4)
0 Kudos
Reply
1 Reply

368 Views
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 Kudos
Reply