メインコンテンツにスキップ

Duo

Document Pictures

Milk-V Duo is an ultra-compact embedded development platform based on the CV1800B chip. It can run Linux and RTOS, providing a reliable, low-cost, and high-performance platform for professionals, industrial ODMs, AIoT enthusiasts, DIY hobbyists, and creators.

Introduction of CV1800B

CV1800B is a high-performance, low-power chip for residential consumer surveillance IP cameras, home intelligence and many other products, integrated with H.264/H.265 video compression encoder and ISP; supports digital broad dynamic, 3D noise reduction, defogging, lens distortion correction and other image enhancement and correction algorithms, providing customers with professional-grade video image quality.

The chip integrates self-developed intelligent reference solutions (human detection, area detection, motion detection), built-in DDR and complete peripherals and peripherals, providing a highly integrated and simple solution to support customer product development and mass production.

In addition, it also provides secure boot, secure update, secure encryption, etc., providing users with a series of security solutions from development, mass production, and product application with an 8-bit MCU subsystem integrated into the chip, which can replace the general external MCU to achieve the purpose of saving BOM cost and power consumption.

CV1800B Public Preliminary Datasheet

We have open sourced the Public Preliminary Datasheet of CV1800B to GitHub. please check it out.

Buy the CV1800B Chips

Milk-V is the Authorised Global Distributor of the CV1800B chips. You can buy samples of the CV1800B chip from our distributor online store directly. For volume order, please contact Milk-V Sales Team for the qoutation.

Getting Started

Installing the system

Please refer to the Start Up section.

USB Network Usage

Please refer to the Setup section.

Duo GPIO Pinout

Document Pictures

GPIO pin mapping

GROUPADDRPORTCHIPNUMNAMESTART
gpio0gpio@03020000portagpiochip0480-511XGPIOA480 - XGPIOA[0]
gpio1gpio@03021000portbgpiochip1448-479XGPIOB448 - XGPIOB[0]
gpio2gpio@03022000portcgpiochip2416-447XGPIOC416 - XGPIOC[0]
gpio3gpio@03023000portdgpiochip3384-415
gpio4gpio@05021000portegpiochip4352-383PWR_GPIO352 - PWR_GPIO[0]

GPIO Pinout

JTAGSPISPI NORSDPWMI2CUARTNUMCV1800BNAMEPINPINNAMECV1800BNUMADCSPI NORSPI NAND
JTAG_TDII2C0_SCLUART1/2_TX508XGPIOA[28]GP0
1
40
VBUS(5V)
JTAG_TDOI2C0_SDAUART1/2_RX509XGPIOA[29]GP1
2
39
VSYS(5V)
GND
3
38
GND
SD1_GP1PWM10UART4_TX378PWR_GPIO[26]GP2
4
37
3V3_EN
SD1_GP0PWM11UART4_RX377PWR_GPIO[25]GP3
5
36
3V3(OUT)
SPINOR1_HOLD_XSD1_D2PWM5I2C1_SCLUART2/3_TX371PWR_GPIO[19]GP4
6
35
SPINOR1_WP_XSD1_D1PWM6I2C1_SDAUART2/3_RX372PWR_GPIO[20]GP5
7
34
GND
8
33
GND
SPI2_SCKSPINOR1_SCKSD1_CLKPWM9I2C3_SDA375PWR_GPIO[23]GP6
9
32
GP27XGPIOB[6]454ADC2(1.8V)
SPI2_SDOSPINOR1_MOSISD1_CMDPWM8I2C3_SCL374PWR_GPIO[22]GP7
10
31
GP26XGPIOB[3]451ADC1(1.8V)
SPI2_SDISPINOR1_MISOSD1_D0PMW7I2C1_SDAUART3_RTS373PWR_GPIO[21]GP8
11
30
RUN
SPI2_CS_XSPINOR1_CS_XSD1_D3PWM4I2C1_SCLUART3_CTS370PWR_GPIO[18]GP9
12
29
GP22PWR_GPIO[4]356
GND
13
28
GND
I2C1_SDA425XGPIOC[9]GP10
14
27
GP21XGPIOA[26]506SPINOR_HOLD_XSPINAND_HOLD
I2C1_SCL426XGPIOC[10]GP11
15
26
GP20XGPIOA[27]507SPINOR_WP_XSPINAND_WP
JTAG_TMSPWM4UART0/1_TX496XGPIOA[16]GP12
16
25
GP19XGPIOA[25]505SPINOR_MOSISPINAND_MOSI
JTAG_TCKPWM5UART0/1_RX497XGPIOA[17]GP13
17
24
GP18XGPIOA[22]502SPINOR_SCKSPINAND_SCK
GND
18
23
GND
494XGPIOA[14]GP14
19
22
GP17XGPIOA[24]504SPINOR_CS_XSPINAND_CS
495XGPIOA[15]GP15
20
21
GP16XGPIOA[23]503SPINOR_MISOSPINAND_MISO
 
440XGPIOC[24]
LED

Camera interface

Duo camera uses a 16-pin connector with a distance of 0.5 mm, which can be directly used with the CAM-GC2083 camera head.

Connector FPC Definition

Document Pictures
J1Description
1GND
2MIPI0_DN0
3MIPI0_DP0
4GND
5MIPI0_DN1
6MIPI0_DP1
7GND
8MIPI0_CKN
9MIPI0_CKP
10GND
11SENSOR_RSTN (1.8V)
12SENSOR_CLK (1.8V)
13I2C1_SCL (1.8V)
14I2C1_SDA (1.8V)
15
163V3

Duo User Guide

UART Serial Console

Duo has a reserved UART debug serial port, which can be used to view the system startup log, or to log in to the console after the system starts and execute some terminal commands.

USB-TTL Serial Cable

The serial port level of Duo series is 3.3V.

The pin definitions of common USB to TTL serial cables are as follows:

Document Pictures

Connection

Connect the USB to TTL serial cable as shown below, leaving the red wire unconnected.

Milk-V Duo<--->USB to TTL
TX (pin 16)<--->White wire
RX (pin 17)<--->Green wire
GND (pin 18)<--->Black wire
Document Pictures

The default serial port parameters of Duo are as follows:

baudrate: 115200
data bit: 8
stop bit: 1
parity : none
flow control: none

Hardware Docs

V1.2

V1.1

Others

https://github.com/milkv-duo/duo-files/tree/main/duo/hardware