In this post we are going to analyze the Sipeed M1 Dock Suit board, a very powerful RISC-V based board capable of doing image processing.
To read more about the RISC-V architecture, please check its website.
As already mentioned, the Sipeed M1 Dock Suit is a very powerful development board capable of doing image processing (amongst many other features). Nonetheless, it costs less than 20 dollars and already ships with some peripherals onboard. You can check the board in figures 1 and 2 below.
The K210 is powered by a 64 bits dual core CPU, which is fabricated with a process of 28 nm . It runs at 400 MHz and has a RISC-V architecture . Each core has a dedicated FPU (Floating-point unit) .
Additionally, the K210 contains a Neural Network Processor (KPU) , suitable for the development of artificial intelligence applications. You can read more details about the KPU in the device datasheet.
This enables the development of applications in the field of computer vision, such as image classification and face detection . You can watch here a video with a short demo illustrating a face detection application running on a Sipeed M1 board.
The K210 also has an Audio Processing Unit , which enables the development of audio processing applications .
In terms of memory, the K210 has 8 MB of SRAM, split into two parts: 6 MB are for general purpose use and 2 MB are allocated to the KPU .
Besides these main features, the Kendryte K210 offers much more :
- AES and SHA256 algorithm hardware accelerators;
- Fast Fourier Transform (FFT) hardware accelerator;
- 4 UARTs;
- 3 I2C interfaces;
- 4 SPI interfaces;
- 3 I2S interfaces;
- Real Time Clock;
- Field Programmable IO Array with 48 IOs;
- PWM (Pulse Width Modulation) support;
- Digital Video Port (DVP) interface support;
- Direct Memory Access Controller (DMAC);
- 3 Timers (32 bit counters, configurable as up and down).
Note that there’s also a variant of the Sipeed module called M1W, which contains an additional ESP8285 SoC to add WiFi support . You can read the datasheet of the ESP8285 on this link. The development board with this module can be bought here.
One of the big advantages of the Dock Suit board is that it ships with a camera and a LCD, and the PCB already contains connectors for these two devices. So, it means we don’t need to solder anything and we can immediately start exploring the computer vision features the device supports.
The camera included is a OV2640 and the LCD is a generic 2.4 inches model.
Regarding the supported software, the device ships with a port of MicroPython, which means we can start the development without having to worry about flashing it beforehand. You can check the GitHub page of the project here.
This version of MicroPython offers a very simple to use Computer Vision API, as can be seen in the documentation. As shown on this example, we can capture images from the camera and display them in a LCD with only 10 lines of code.
- K210 Datasheet
- Sipeed M1 module specification
- M1 Dock Suit Board schematic
- Kendryte IDE
- Arduino IDE support
- Platform.io support
- Loboris MicroPython K210 implementation
- RISC-V website
- ESP8285 datasheet
Suggested Sipeed M1 Posts
- Hello World with MicroPython
- Displaying an image taken with the camera on the onboard LCD
- Converting an image to grey scale