SPI continuous SCK function with PCS or General GPIO

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

SPI continuous SCK function with PCS or General GPIO

665 Views
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 Kudos
Reply
1 Reply

652 Views
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 Kudos
Reply