← index #6497PR #5041
Related · medium · value 0.235
QUERY · ISSUE

Pinout for the nrf52840 USB dongle

openby JPFrancoiaopened 2020-09-29updated 2025-10-03
port-nrf

Hello,

I'm trying to understand how the pins of the nrf52840 are mapped/numbered in the board definition.

Looking at the pins.csv file, I see pins going as high as P47:

https://github.com/micropython/micropython/blob/0fd0eb00aa5b9d311046d48d73a8cfabb30d7dd6/ports/nrf/boards/pca10059/pins.csv#L28

But there isn't such a pin on the board. Here is the pinout of the board (from the doc):

screen-2020-09-29-22-41-39

I wasn't able to find out what numbering scheme was used to number the pins. It makes it hard to know to which physical pin a pin Pin object is tied (in Micropython).

Could someone help me on this please? Maybe I'm missing something. @glennrub maybe (I think you built the file)?

CANDIDATE · PULL REQUEST

ports/nrf: Add Particle Xenon board (NRF52840)

closedby jimmoopened 2019-08-23updated 2019-09-05

This was the most readily available NRF52840 board I could find for BLE testing.

A few of other minor fixes for the NRF port included:

  • add support for deploying with the Black Magic Probe, which is well suited for the Xenon as it has the exact same 0.05" pitch 10-pin SWD connector
  • make make deploy target (consistent with other ports)
  • fix pin mapping generated by make-pins.py

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied