SPI continuous SCK function with PCS or General GPIO

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

SPI continuous SCK function with PCS or General GPIO

714 次查看
db16122
Contributor I

We are testing SPI performance on S32G399 platform and we want SPI SCK continuous without interval.

But it seems continuous SPI SCK need to work together with PCS pin for SPI bus. So is it possible to get continuous SCK with general GPIO working as CS? We already use GPIO as CS on SPI bus...

0 项奖励
回复
1 回复

701 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

What we understand is that you would like to implement the SPI protocol using GPIO's and not the module itself (due to the needs of the particular application).

This could be implemented if you follow the timing specifications for the device you want to communicate with (hold time, set-up time, etc...) and is inside the specifications for the platform. If everything is in line with what your device is asking, the device will not know if you are using GPIO's or the SPI module.

There is also the possibility to increase the number of bits to be sent (using the SPI module), but this number seems to be at 32bits MAX. I don't know how many bits you need to send continuously.

Please, let us know if the information helps you or not.

0 项奖励
回复