DSPI communication

cancel
Showing results for 
Search instead for 
Did you mean: 

DSPI communication

133 Views
Contributor II

SPI communication, the pin DSPIPCS0/1/2/5  are used out.

Can i use the another common GPIO to select the CS for SPI communication ?

pastedImage_1.png

Tags (1)
0 Kudos
2 Replies

36 Views
Specialist I

Yes, this is possible. But it prevents you using all of the advanced features of the QSPI. Using its own chip-selects you can load the QSPI RAM with up to 16 transfers to different chips and let it run all of them automatically. To use a GPIO instead of a chip select the driver has to program one transfer only in the QSPI RAM, and then assert and deassert the chip select around that transfer.

If you're not using these features and don't need the efficiency, CPU offloading and speed, then it doesn't matter.

It might be better to swap spare GPIOs with any of the QSPI Chip Selects that are being used as GPIOs.

Also, if you can free up one chip-select, to have two QSPI CS pins, then you can use an external address decoder to generate three chip-selects. Or three pins to generate seven chip-selects.

Tom

0 Kudos

36 Views
NXP TechSupport
NXP TechSupport

Hi,

Yes, customer can use the GPIO pin to emulate SPI chip select signal.

Please make sure during SPI communication, the SPI chip select should be active. Thanks.


Have a great day,
Mike

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos