S32K146 LSPI how do configuration without pcs pin

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

S32K146 LSPI how do configuration without pcs pin

926件の閲覧回数
MervynZong
Contributor II

Hello,

 

The chip we use is S32K146, and the SDK we use is RTM4.0.3 version.
And use SPI2 communication with peripherals IC, but the chip select is not choice SPI funciton(PCS),
and used the normally gpio(PTB2) control, now how do I can config the pcs in S32DS platform.
Now the platform configuration panel not have disable SPI PCS function setting.
Pls help check it or bellow the configuration is or correct.

MervynZong_0-1684480276531.png

 

 

BR

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 返信

908件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @MervynZong,

The LPSPI module does not provide an option to disable the PCS, there are only PCS selection bits in the TCR[PCS] register

danielmartynek_0-1684490618183.png

Therefore, the drivers does not support it either.

Nevertheless, the PSC signal from the LPSPI module does not have to be MUXEd to a pin in the PORT module, and a GPIO can be used instead.

It is not recommended to use a GPIO CS along with the driver though, it would be your responsibility to assert and deassert the CS.

 

Best regards,

Daniel 

 



0 件の賞賛
返信