Sipeed MAix Bit

The Sipeed MAix Bit is a low-cost development board featuring the Kendryte K210 RISC-V (RV64GC) chip.

Interfaces

Interface Hardware Supported TinyGo Support
GPIO YES YES
UART YES YES
SPI YES YES
I2C YES YES
ADC NO NO
PWM YES Not yet

Machine Package Docs

Documentation for the machine package for the Sipeed MAix Bit

Flashing

Kflash.py

Programs are loaded onto the MAix Bit using the kflash.py command line utility program. You must install this program before you will be able to flash the MAix Bit board with your TinyGo code.

The latest version of the kflash.py can be installed using pip3 install kflash.

  • Plug your MAix Bit into your computer’s USB port.
  • Build and flash your TinyGo program using tinygo flash -target=maixbit [PATH TO YOUR PROGRAM]

Troubleshooting

You may get the following error when flashing the MAix Bit:

error: unable to locate a serial port

To resolve this, just specify the MAix Bit’s serial port when flashing using tinygo flash -target=maixbit -port=[MAIXBIT PORT] [PATH TO YOUR PROGRAM].