Question: Can QSPI and SPIM be used simultaneously?

Hi,

I am using nRF Connect SDK v2.8.0 and nRF54L15-DK.

I am about to design custom hardware and have a question.


For Matter, I am trying to use the following pins for QSPI (SPIM00) to connect to an external Flash:

P2.00 (SPIM DCX)
P2.01 (SPIM SCK)
P2.02 (SPIM SDO)
P2.03 (QSPI D2)
P2.04 (SPIM SDI)
P2.05 (SPIM CS)


Additionally, I am considering using a single SPI (SPIM20) to connect to an external MCU with the following pins:

P2.06 (SPIM SCK)
P2.08 (SPIM SDO)
P2.09 (SPIM SDI)
P2.10 (SPIM CS)

Given this pin assignment, is it possible to use both the external Flash and the external MCU connections simultaneously?

Best regards.

  • Hello,

    Yes, it is possible. 

    These pins are for external flash.

    External memory

    And the pins you selected for external MCU also looks ok according to pin assignments of nR54L15. None of the pins are collide to one another. 

    But it is also mentioned here in this section of cross-power domain notes

    ''Selected pins of P2 can be used for some serial interfaces in the peripheral domain — SPIM, SPIS, and UARTE. This is not the most power-efficient way of connecting these serial interfaces but adds flexibility when designing a circuit board. When setting up the peripheral's PSEL register for cross-domain connections, it must be connected only to the corresponding function listed in the pin assignments table. For example, the peripheral's PSEL.MOSI register must use the P2 MOSI pin from the pin assignment table. The pin assignments table shows which pins can be configured for cross power-domain connections.''

    So, you have to consider these issues also.

    NB: You can look at the memory requirements of Matter here Matter hardware and memory requirements.

    Thanks,

    BR

    Kazi

Related