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
Bluetooth YES YES

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]

Notes

As of TinyGo v0.18.0, it is not writable on Windows.

If you are using Windows, please do the following to flash.

tinygo build -o pca10059-blinky1.hex -target=pca10059 examples/blinky1
nrfutil pkg generate --hw-version 52 --sd-req 0x0 --application pca10059-blinky1.hex --application-version 1 pca10059-blinky1.zip
nrfutil dfu usb-serial -pkg pca10059-blinky1.zip -p COM33 -b 115200