Phytec reel board

The reel board is an evaluation board based on the Nordic Semiconductor nRF52840 SoC.

It is equipped with an Electrophoretic (electronic ink) Display (EPD), along with temperature, humidity, light, and accelerometer sensors, and Bluetooth connectivity.

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
LED_RED P0_11 LED2
LED_GREEN P0_12 LED3
LED_BLUE P1_09 LED4
LED_YELLOW P0_13 LED1, LED
EPD_BUSY_PIN P0_14
EPD_RESET_PIN P0_15
EPD_DC_PIN P0_16
EPD_CS_PIN P0_17
EPD_SCK_PIN P0_19
EPD_SDO_PIN P0_20
POWER_SUPPLY_PIN P1_00
BUTTON P0_07
UART_TX_PIN P0_06
UART_RX_PIN P0_08
SDA_PIN P0_26
SCL_PIN P0_27
SPI0_SCK_PIN P1_15
SPI0_SDO_PIN P1_13
SPI0_SDI_PIN P1_14

Machine Package Docs

Documentation for the machine package for the reel board

Flashing

MSD Flashing

The reel board comes with a bootloader that allows Mass Storage Device (MSD) flashing. This means you can just copy the compiled .hex file generated by TinyGo onto it, no additional flashing software is needed.

  • Plug your reel board into your computer’s USB port.

  • The reel board will appear to your computer like a USB drive.

  • Build and flash your TinyGo program using tinygo flash like this:

    tinygo flash -target=reelboard [PATH TO YOUR PROGRAM]
    
  • The reel board should restart and begin running your program.

OpenOCD

Programs can also be loaded onto the reelboard using the openocd command line utility program. You must install OpenOCD before you will be able to flash the reelboard with your TinyGo code.

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

Bluetooth support is now available for reelboard. See https://github.com/tinygo-org/bluetooth for more information.