This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Pin Numbers on the nRF5340-QKAA

Good morning Nordic,

I am trying to configure the I2C pins for our board (using nRF5340-QKAA SoC) but I cannot find the pin numbers for I2C_SDA and I2C_SCL.

All I could find in OPS_v0.6.1 is a reference to pin labelled

P0.02 -> W1

P0.03 -> AA1

The same for the A2D

P0.28/AIN07 -> AE31

I am looking for actual pin numbers to use in my .dts  or .overlay files.

Is there a document that maps theses labels AA1 etc... to actual pin numbers on the chip.?

Thank you.

Mohamed

Parents Reply
  • But in the .dts file we do not mention which port the pin is on. We just put a number for the pin.

    If I did not misunderstand, you said if the sck is on P0.13 just put sck-pin = <13> in the .dts file.

    Extrapolating this I would then, if sck is on P1.13 just put sck-pin = <13> in the .dts file.

    So, how the Device Tree be able to distinguish between pin 13 on P0 and pin 13 on P1?

    Please clarify your answer.

    Thank you.

    Kind regards

    Mohamed

Children
Related