nRF54L15 DK I2C and SPI Pins

Hi,

I recently started working with the nRF54L15DK and nRF Connect SDK 2.9.1. I'm trying to use I2C21 and SPI00, but I noticed that certain pins on the development kit always result in input and output errors for I2C, and SPI isn't working either. I wanted to know if there are specific pins designated for I2C and SPI, or if any GPIO pins can be used. Please help me resolve this issue.

Regards,
Theja.

Parents
  • Hello Theja,

    I must admit that this information is a bit scattered. The Pin Assignments tables are quite helpful in this case:

    https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html#ariaid-title4 

    Search that page for SPIM00, and you will see your options. As for the I2C21, you can see from this table that the SCL pin needs to be a clock pin. The clock pins are marked with an "x" in the second column of the "pin assignments" table.

    Note that TWI (two wire interface) = I2C. You didn't specify wheter you are using TWIM or TWIS, so I'll assume TWIM (but you can look up the same information for TWIS).

    Here is a description of what pins you can use for TWIM21. Basically, any pins on P1, but if you need to use the higher speeds for TWI, then you can use the "dedicated pins on P2". I will look up tomorrow what pins these are. It is not clear to me, but perhaps they are the same as the SPIM21 pins. I will get back to you with this.

    In the meantime, are there any particular needs with your SPIM/TWIM? What frequency/speed do you need? And are there any port or pins that you need to use?

    Best regards,

    Edvin

  • Hi,

    The above pin assignments are related to the nRF54L15DK. If we design a custom board with nRF54L15 SOC, can we use any pins, or are we required to use the same pins as assigned on the DK?

    Regards,
    Theja

  • Hi,

     

    The former answer lists and links the pins that can be used, regardless of it being a DK or a custom board.

     

    Kind regards,

    Håkon

Reply Children
No Data
Related