Skip to main content

Milk-V Duo

Duo series

Revision history

VersionDateChanges from previous version
0.12023/11/24First version
0.22023/12/15Introduction of Duo 256M and Related Products
0.32023/12/27Introduction of Duo S and Related Products

Introduction

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.

The Milk-V Duo 256M is an upgraded version of Duo with a memory boost to 256M, catering to applications demanding larger memory capacities. It features the SG2002 computing series chip, elevating computational power to 1.0TOPS@INT8. It enables seamless switching between RISC-V/ARM architectures and supports simultaneous operation of dual systems. Additionally, it includes an array of rich GPIO interfaces such as SPI, UART, suitable for a wide range of hardware development in edge intelligent monitoring, including IP cameras, smart peephole locks, visual doorbells, and more.

Milk-V Duo S is an upgraded model of Duo, featuring an upgraded SG2000 main controller with a larger 512MB memory and expanded IO capabilities. It integrates wireless capabilities with WI-FI 6/BT 5, and comes equipped with a USB 2.0 HOST interface and a 100Mbps Ethernet port for user convenience. Supporting dual cameras (2x MIPI CSI 2-lane) and MIPI video output (MIPI DSI 4-lane), it allows for versatile applications. The device also supports switching between RISC-V and ARM boot through a switch. With enhanced functionality, Duo S is better suited for a variety of scenarios with more complex project development requirements.

Specification

DuoDuo 256MDuo S
Overview
SoCCVITEK CV1800BSG2002SG2000
RISC-V CPUC906@1Ghz + C906@700MHzC906@1Ghz + C906@700MHzC906@1Ghz + C906@700MHz
Arm CPUN/A1 x Cortex-A53@1GHz1 x Cortex-A53@1GHz
MCU8051@8KB SRAM8051@6KB SRAM8051@6KB SRAM
TPU0.5TOPS@INT81Top@INT80.5Top@INT8
Storage1 x microSD connector or 1x SD NAND on board1 x microSD connector or 1x SD NAND on board1 x microSD connector, 1x eMMC Pad on board
MemorySIP DRAM 64MBSIP DRAM 256MBSIP DRAM 512MB
USB1 x Type-C for power and data, USB Pads available1 x Type-C for power and data, USB Pads available1 x Type-C for power and data or 1x USB 2.0 A Port HOST
CSI1 x 16P FPC connector (MIPI CSI 2-lane)1 x 16P FPC connector (MIPI CSI 2-lane)1x 16P FPC connector (MIPI CSI 2-lane),1x 15P FPC connector (MIPI CSI 2-lane)
Sensor Support4M @ 25fps5M @ 30fps5M @ 30fps
Ethernet100Mbps ethernet with PHY100Mbps ethernet with PHY100Mbps ethernet port(RJ45) onboard
WirelessN/AN/AOptional WIFI6 / BT5.4 onboard
AudioN/AVia GPIO PadsVia GPIO Header
DisplayN/AN/AVia GPIO Header (MIPI DSI 4-lane)
GPIOup to 26 Pins available for general purpose I/O(GPIO)up to 26 Pins available for general purpose I/O(GPIO)Up to 39x GPIO Pin (Via 2x 26Pin GPIO Header)
Power5V/1A5V/1A5V/1A
OS SupportBuildroot, RTOSBuildroot, RTOSBuildroot, RTOS
Size21mm*51mm21mm*51mm43mm x 43mm
OthersN/AN/A1x BOOT swich, 1x Recovery Key, 1x RST Key

Features

Processor

CV1800B (Duo)

  • 1GHz and 700MHz RISC-V C906 processors
  • Integrated CVITEK TPU for smart detection.
  • SIP DRAM 64MB
  • Supports H.264/H.265 video encoding, up to 2880x1620@20fps.
  • Compatible with high-definition CMOS sensors.
  • Programmable frequency output for sensor clock.
  • Comprehensive ISP features for image optimization.
  • Partial OpenCV library support with CV hardware acceleration.
  • 16-bit audio codec with built-in mic input and output functions.
  • Flexible network configurations with 1 Ethernet PHY.

SG2002 (Duo 256M)

  • 1GHz and 700MHz RISC-V C906 processors
  • Optional T-Head C906@1GHz or Cortex-A53@1GHz
  • Integrated 1TOPS@INT8 TPU for smart detection.
  • SIP DRAM 256MB
  • Supports H.264/H.265 video encoding, up to 5M@30fps.
  • Compatible with high-definition CMOS sensors.
  • Support Multiple storage devices via SPI-NOR, SPI-NAND, eMMC5.0, 2 x SDIO3.0 interfaces
  • Comprehensive ISP features for image optimization.
  • Partial OpenCV library support with CV hardware acceleration.
  • 16-bit audio codec with built-in mic input and output functions.
  • 2L MIPI DSI 5M@30fps
  • 4L or 2L+2L MIPI CSI 5M@30fps
  • Flexible network configurations with 1 Ethernet PHY.
  • QFN88

SG2000 (Duo S)

  • 1GHz and 700MHz RISC-V C906 processors
  • Optional T-Head C906@1GHz or Cortex-A53@1GHz
  • Integrated 0.5TOPS@INT8 TPU for smart detection.
  • SIP DRAM 512MB
  • Supports H.264/H.265 video encoding, up to 5M@30fps.
  • Compatible with high-definition CMOS sensors.
  • Support Multiple storage devices via SPI-NOR, SPI-NAND, eMMC5.0, 2 x SDIO3.0 interfaces
  • Comprehensive ISP features for image optimization.
  • Partial OpenCV library support with CV hardware acceleration.
  • 16-bit audio codec with built-in mic input and output functions.
  • 2L MIPI DSI 5M@30fps
  • 4L or 2L+2L MIPI CSI 5M@30fps
  • Flexible network configurations with 1 Ethernet PHY.
  • LFBGA

CSI-2 (MIPI serial camera)

  • Features a 16-pin FPC interface for 2-lane MIPI camera input.
  • Operates I2C, CLK, and RST signals at a 1.8V voltage level.

Ethernet

  • Milk-V Duo includes CV1800B chip with a 100Mbps PHY.
  • PHY is linked to a 5-pin solder pad.
  • External transformer and RJ45 socket are needed for Ethernet use.

USB

  • USB 2.0 compliant, backward compatible with USB 1.1.
  • Supports various speed modes, Host/Device functionality, and transfer protocols.
  • Expandable interfaces via USB Hub (up to 127 devices).
  • Power-saving mode, supports HID devices.
  • Functions as USB slave device with configurable software.
  • USB Type-C for storage media access.

Micro SD

  • SDIO0 is compatible with Secure Digital Memory (SD 3.0) protocol.

GPIO

  • Up to 26 GPIO pins on the MilkV-Duo 40-pin header provide access to internal peripherals such as SDIO, I2C, PWM, SPI, J-TAG, and UART.
  • Up to 3x I2C
  • Up to 5x UART
  • Up to 1x SDIO1
  • Up to 1x SPI
  • Up to 2x ADC
  • Up to 7x PWM
  • Up to 1x RUN
  • Up to 1x JTAG
    pinoutv1.2

Board Specifications

  • Single-sided PCB
  • Dimensions: 51×21mm
  • Thickness: 1mm
  • Type-C port located on the top edge
  • Dual castellated/through-hole pins around the remaining edges
  • Can be used as a surface mount module or in Dual Inline Package (DIP) format
  • 40 main user pins on a 2.54mm (0.1") pitch grid with 1mm holes
  • Compatible with veroboard and breadboard

Quick Start

Image download

How to build image

Hardware Doc

Chip datasheet

Support

For support please post your issue on the Milk-V Community Duo Category.

  • hokamilkv
  • milkrisc-v
  • carbonfix
  • u0076
  • logan-milkv