The microcontroller I have chosen has only one channel QSPI, query.?

Thread Starter

pinkyponky

Joined Nov 28, 2019
351
Hi all,

The microcontroller which I have chosen, it has only one channel of Quad Serial Peripheral Interface (QSPI) meaning it contains one pin of MISO, one pin of MOSI, one pin of Clock and one pin of Chip Select. Usually, MISO, MOSI and Clock pins we can used for single Master and Multi slaves, but we need to select the different Chip Select for each Slave devices. In this case, since I have only one chip select for the QSPI interface.

So,
1) Am I allow to choose the chip select of SPI interface pins as a QSPI chip select to communicate for multi devices through QSPI interface?.
OR
2) Am I allow to select the GPIO pins as a chip select to communicate for multi devices through QSPI interface?.
 
Last edited by a moderator:

Irving

Joined Jan 30, 2016
3,895
If you don't have the option of specifying the CS pin then the usual solution to this is to use an external 1:4 demultiplexer with CS as the input and 2 GPIO ports to select the channel. One half of a 74HC155 is commonly used.


Which MCU are you using?
 
Top