S32K 3line SPI

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

S32K 3line SPI

Jump to solution
2,497 Views
ChenPeng3
Contributor II

hi:

   I use the S32K144,RTM4.01 IDES32DS3.5,but the SDK library without a three-wire SPI Demo, can you provide a three-wire SPi demo?

Tags (2)
0 Kudos
Reply
1 Solution
2,460 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @ChenPeng3 

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. Also, check the following thread. It has information related to the topic that might be useful. 

S32K 3-Wire SPI Drivers

Additionally, included with the Real-Time Drivers for S32K1 examples of SPI half duplex transfer are provided.

 

B.R.

VaneB

View solution in original post

0 Kudos
Reply
3 Replies
2,461 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @ChenPeng3 

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. Also, check the following thread. It has information related to the topic that might be useful. 

S32K 3-Wire SPI Drivers

Additionally, included with the Real-Time Drivers for S32K1 examples of SPI half duplex transfer are provided.

 

B.R.

VaneB

0 Kudos
Reply
2,404 Views
ChenPeng3
Contributor II
 
0 Kudos
Reply
2,444 Views
ChenPeng3
Contributor II

hi@VaneB 

             Thanks for the reply, RTM 4.01 needs to modify the underlying driver library to implement this feature.

ChenPeng3_0-1713849363550.png

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1851646%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3ES32K%203line%20SPI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1851646%22%20slang%3D%22zh-CN%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BI%20use%20the%20S32K144%EF%BC%8CRTM4.01%20IDES32DS3.5%EF%BC%8Cbut%20the%20SDK%20library%20without%20a%20three-wire%20SPI%20Demo%2C%20can%20you%20provide%20a%20three-wire%20SPi%20demo%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1856093%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K%203line%20SPI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1856093%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3C%2FLINGO-BODY%3E