PCS software control by using S32DS SDK of S32K144

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PCS software control by using S32DS SDK of S32K144

ソリューションへジャンプ
875件の閲覧回数
ldj979
Contributor III
Dear NXP Community.

There is a problem while using the S32DS's LPSPI SDK of the S32K144 chip.

I am controlling SPI Mode3 communication using the LPSPI_DRV_MasterTransferBlocking module, but the PCS pin is automatically selected.

I want to control SPI ENABLE and SPI DISABLE through software through PCS pin control. Is there a separate module in S32DS SDK that can control PCS pins through software instead of automatic control?
タグ(3)
0 件の賞賛
1 解決策
867件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @ldj979,

Why do you need to control the PCS with the SW, what is the use case?

Because the LPSPI_PCS is automatic but configurable.

If it really needs to be done by SW, you can select the GPIO function on the pin instead of LPSPI_PCS in the PORT module. 

 

Regards,

Daniel

 

元の投稿で解決策を見る

2 返答(返信)
868件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @ldj979,

Why do you need to control the PCS with the SW, what is the use case?

Because the LPSPI_PCS is automatic but configurable.

If it really needs to be done by SW, you can select the GPIO function on the pin instead of LPSPI_PCS in the PORT module. 

 

Regards,

Daniel

 

857件の閲覧回数
ldj979
Contributor III

I implemented it separately in software as you advised, thank you