Nordic Semiconductor PCA10059

The Nordic Semiconductor PCA10059 is a single-board development kit for wireless applications based on the Nordic Semiconductor nRF52840 SoC.

Interfaces

Interface Hardware Supported TinyGo Support
GPIO YES YES
UART YES YES
SPI YES YES
I2C YES YES
ADC YES YES
PWM YES YES
USBDevice YES YES
Bluetooth YES YES

Pins

Pin Hardware pin Alternative names
LED1 P0_06 LED
LED2 P0_08
LED3 P1_09
LED4 P0_12
BUTTON1 P1_06 BUTTON
ADC1 P0_02
ADC2 P0_04
ADC3 P0_29
ADC4 P0_31

Machine Package Docs

Documentation for the machine package for the PCA10059

Flashing

There are two options to flash the PCA10059 board.

nrfutil

Programs can be loaded onto the PCA10059 board using the nrfutil command line utility program.

Install the nrfutil Command-Line Tools: NordicSemiconductor/pc-nrfutil

Once you have installed nrfutil correctly, you will be able to flash the PCA10059 board with your TinyGo code.

  • Plug your PCA10059 into your computer’s USB port.
  • Press SW2 to go to bootloader.
  • Build and flash your TinyGo program using tinygo flash -target=pca10059 [PATH TO YOUR PROGRAM]