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

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

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

485 次查看
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?

 

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

475 次查看
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 项奖励
回复