S32K 3line SPI

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

S32K 3line SPI

跳至解决方案
2,523 次查看
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?

标记 (2)
0 项奖励
回复
1 解答
2,486 次查看
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 项奖励
回复
3 回复数
2,487 次查看
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 项奖励
回复
2,430 次查看
ChenPeng3
Contributor II
 
0 项奖励
回复
2,470 次查看
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 项奖励
回复
%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%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AS32K%203%E7%BA%BFSPI%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%3CLINGO-SUB%20id%3D%22lingo-sub-1851878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AS32K%203%E7%BA%BFSPI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1851878%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F226116%22%20target%3D%22_blank%22%3E%40ChenPeng3%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESDK%20%E4%B8%AD%E4%B8%BA%20LPSPI%20%E5%AE%9E%E7%8E%B0%E7%9A%84%E5%8A%9F%E8%83%BD%E5%AF%B9%203%20%E7%BA%BF%E6%B2%A1%E6%9C%89%E2%80%9C%E6%9C%AC%E6%9C%BA%E6%94%AF%E6%8C%81%E2%80%9D%E3%80%82%E5%9B%A0%E6%AD%A4%E9%9C%80%E8%A6%81%E8%BF%9B%E8%A1%8C%E4%B8%80%E4%BA%9B%E6%94%B9%E5%8F%98%E6%9D%A5%E6%94%AF%E6%8C%81%E5%8D%8A%E5%8F%8C%E5%B7%A5%E6%A8%A1%E5%BC%8F%E3%80%82%E5%8F%A6%E5%A4%96%EF%BC%8C%E8%AF%B7%E6%A3%80%E6%9F%A5%E4%BB%A5%E4%B8%8B%E7%BA%BF%E7%A8%8B%E3%80%82%E5%AE%83%E5%8C%85%E5%90%AB%E4%B8%8E%E8%AF%A5%E4%B8%BB%E9%A2%98%E7%9B%B8%E5%85%B3%E7%9A%84%E5%8F%AF%E8%83%BD%E6%9C%89%E7%94%A8%E7%9A%84%E4%BF%A1%E6%81%AF%E3%80%82%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K-3-Wire-SPI-Drivers%2Ftd-p%2F1342666%22%20target%3D%22_blank%22%3ES32K%203%E7%BA%BFSPI%E9%A9%B1%E5%8A%A8%E5%99%A8%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E5%A4%96%EF%BC%8C%E8%BF%98%E6%8F%90%E4%BE%9B%E4%BA%86%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fswlicensing%2Fsso%2FdownloadSoftware.sp%3Fcatid%3DSW32K1-RTD44-D%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3ES32K1%20%E5%AE%9E%E6%97%B6%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%3C%2FA%3E%E4%B8%AD%E7%9A%84%20SPI%20%E5%8D%8A%E5%8F%8C%E5%B7%A5%E4%BC%A0%E8%BE%93%E7%A4%BA%E4%BE%8B%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EB.R.%3C%2FP%3E%0A%3CP%3EVaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1852085%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AS32K%203%E7%BA%BFSPI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1852085%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E5%9B%9E%E5%A4%8D%EF%BC%8CRTM%204.01%E9%9C%80%E8%A6%81%E4%BF%AE%E6%94%B9%E5%BA%95%E5%B1%82%E9%A9%B1%E5%8A%A8%E5%BA%93%E6%89%8D%E8%83%BD%E5%AE%9E%E7%8E%B0%E8%AF%A5%E5%8A%9F%E8%83%BD%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22ChenPeng3_0-1713849363550.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ChenPeng3_0-1713849363550.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F275130iD88C2408201FA7CA%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22ChenPeng3_0-1713849363550.png%22%20alt%3D%22ChenPeng3_0-1713849363550.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E