S32K312 LPSPI Slave mode

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

S32K312 LPSPI Slave mode

43 Views
joshua9264
Contributor II

joshua9264_0-1787132569429.pngjoshua9264_0-1787132569429.png

working:slave mode、4 lines

(B) is right or (C) is right?

 

 

0 Kudos
Reply
1 Reply

14 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @joshua9264 

Both configurations are valid.

By default, the LPSPI interface operates according to Option B, where:

  • SIN as the input data line, connected to the master's output.
  • SOUT as the output data line, connected to the master's input.

However, it is also possible to swap the data pin directions so that SOUT is used as the input data line and SIN is used as the output data line, which corresponds to Option C. To achieve this configuration, you need to set the CFGR1[PINCFG] field accordingly.

 

BR, VaneB

0 Kudos
Reply