nRF52840-MDK

The nRF52840-MDK is an open-source, micro development kit for IoT applications based on the Nordic Semiconductor nRF52840 SoC chip.

Interfaces

InterfaceHardware SupportedTinyGo Support
GPIOYESYES
UARTYESYES
SPIYESYES
I2CYESYES
ADCYESNot yet
PWMYESNot yet

Machine Package Docs

Documentation for the machine package for the nRF52840-MDK

Flashing

OpenOCD

Programs are loaded onto the nRF52840-MDK board using the openocd command line utility program. You must install OpenOCD before you will be able to flash the nRF52840-MDK board with your TinyGo code.

  • Plug your nRF52840-MDK into your computer’s USB port.
  • Build and flash your TinyGo program using tinygo flash -target=nrf52840-mdk