In this post we are going to analyze the Sipeed M1 Dock Suit board, a powerful RISC-V based board capable of doing image processing.
As already mentioned, the Sipeed M1 Dock Suit is a very powerful development board capable of doing image processing. Nonetheless, it costs less than 20 $ and already ships with some peripherals. You can check the board in figures 1 and 2.
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 .
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 feature, the 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 support
- Digital Video Port (DVP) interface support
- Direct Memory Access Controller (DMAC)
- 3 Timers (32 bit counters, configurable as up and down)
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