S32K142 LPSPI Modul half-duplex mode with SDK (RTM 3.0.0)

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

S32K142 LPSPI Modul half-duplex mode with SDK (RTM 3.0.0)

259 Views
maximillion
Contributor II

Hi,

I need 3-wire SPI configuration for S32K142 processor and I use S32 Design Studio v2.2

Is the current SDK(RTM 3.0.0) valid for half duplex communication?

Could I use LPSPI component on processor expert for half duplex SPI?

Could you share me sample code or any document about this topic?

 

Labels (1)
Tags (1)
0 Kudos
1 Reply

249 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @maximillion 

The functions implemented at the SDK for LPSPI do not have "native support" for 3-wire. So it required to make some changes to support half duplex mode.

Included on the RTDs comes an example of SPI half duplex transfer. I suggest you take a look at this software supported by S32DS v3.4.

Real-Time Drivers for S32K1

 

B.R.

VaneB

0 Kudos