circuitpython/ports/nrf/boards/sparkfun_nrf52840_mini
Neradoc 4d05bb26bf change board.ID to board.board_id 2021-08-26 23:11:55 +02:00
..
README.md Fix up end of file and trailing whitespace. 2020-06-03 10:56:35 +01:00
board.c run code formatting script 2021-03-15 19:27:36 +05:30
mpconfigboard.h wip 2019-12-05 22:45:53 -05:00
mpconfigboard.mk remove unnecessary board configuration and address feedback 2020-10-11 22:42:59 -07:00
pins.c change board.ID to board.board_id 2021-08-26 23:11:55 +02:00

README.md

SparkFun Pro nRF52840 Mini Breakout

The SparkFun Pro nRF52840 Mini small breakout board for Raytac's MDBT50Q-P1M module, which features an nRF52840. It breaks out as many pins as it can in an Arduino Pro Mini footprint. Also included on the board are a qwiic (I2C) connector, LiPo battery charger, and on/off switch.

Note: the SparkFun Pro nRF52840 Mini Breakout does not include a QSPI external flash. Any Python code will need to be stored on the internal flash filesystem.

CircuitPython Pin Defs

CircuitPython pin definitions try to follow those of the Arduino Pro Mini, which the footprint is based on.

This can be somewhat confusing, especially around the analog pins. Here's a quick pin-map:

Board pin labelDigital Pin ReferenceAdditional Pin CapabilitiesPin/Port Reference
17D1TXP0_17
15D0RXP0_15
8SDAP0_08
11SCLP0_11
19D3P0_19
20D4P0_20
21D5P0_21
22D6P0_22
23D7P0_23
9D8P0_09
10D9P0_10
2D10A0P0_02
3D11MOSI, A1P0_03
31D12MISO, A7P0_31
30D13SCK, A6P0_31
29A5P0_29
28A4P0_28
5A3P0_05
4A2P0_04

If a pin isn't defined as D0, D1, etc., standard port/pin references should work -- e.g. P0_17 is pin 17, P0_02 is pin 2, etc.

Bootloader Notes

The nRF52840 Mini ships with a slightly modified (i.e pin defs and USB defs) version of the Adafruit nRF52 bootloader, which supports UF2 and CDC bootloading.

Hardware Reference

The nRF52840 Mini hardware layout is open source: