Roobo DDK2C7M1 User manual

ROOBO Smart Audio Dev Kit 2 DDK2C7M1
User Guide

COPYRIGHT © 2019 Beijing ROOBO Technology Co., Ltd.
All rights reserved. No part of this document may be modified, transmitted, transcribed, or
translated into any language in any form or by any means without the written permission of
Beijing ROOBO Technology Co., Ltd.
TRADEMARKS
ROOBO is a trademark of Beijing ROOBO Technology Co., Ltd. All other trademarks and
registered trademarks are property of their respective companies.
DISCLAIMER
Beijing ROOBO Technology Co., Ltd. owns the right to make improvements and/or changes
in this document at any time.
ROOBO provides this product to help accelerate the development of customizable in-home
assistants, in-car assistants, smart speaker, IoT devices, or other voice-enabled devices, but
not for other purposes.
Figures, photos, schematics and other information are included in this document to show
the technical specifications and/or tools instructions. If interested in mass production,
please contact ROOBO to obtain additional documents that require an NDA. ROOBO makes
no representations or warranties with respect to the accuracy or completeness of the
contents presented in this document.

Content
1.Introduction ................................................................................................................3
1.1 In the Box .........................................................................................................3
1.2 Dev Kit2 Specification ......................................................................................4
1.3 Circular 7-Mic Array .........................................................................................5
1.3.1 Mic Array Specs.....................................................................................5
1.3.2 Mic Array Board Sample and layout .....................................................6
1.4 Core Board Sample and Layout........................................................................7
1.5 Audio Data Path ...............................................................................................8
2. Development Environment........................................................................................9
2.1 Install SDK.........................................................................................................9
2.2 Compile environment configuration................................................................9
3. Filesystem operations ..............................................................................................13
4. Program guide..........................................................................................................13
4.1 Mic LEDs program ..........................................................................................13
4.2 Key..................................................................................................................14
4.3 I2C program....................................................................................................15
4.4 GPIO program.................................................................................................15
4.5 Audio operating programming.......................................................................15
5 SDK Multi-media function.........................................................................................16
1.Introduction
This Dev kit 2 (referred to as “DDK2” later in this document) is designed For Microsoft
Speech Services Complete, end-to-end system reference design.
This Circular 7-Mic array Dev Kit is a pre-tuned end-to-end reference design that enables the
commercial device manufacturers to efficiently build high-quality speech enabled devices
using Microsoft Speech Services. Developers can integrate the Microsoft Speech
Services into smart speakers, set-top boxes, and other IoT devices with this kit and leverage
premium Microsoft voice recognition technology. It can also be easily configured into a Star
4-Mic array by disabling 3 mics, for evaluating it as a lower cost device.
With the Microsoft Speech Devices SDK, it enables a range of advanced features such as
- Multi-mic array, beam forming, noise suppression, echo cancellation.
- Customizable Key Word Spotting.
- Integration with the world-class Microsoft Speech Services and Bot Framework, and more.
1.1 In the Box

•1x 6+1 digital microphone array board
•1x mainboards held by acrylic stand
•1x USB Power cable
1.2 Dev Kit2 Specification
Items
Specs
CPU
MTK MT8516AAAA/B Quad core A35 1.3GHz CPU
OS
Linux 4.4
WIFI
802.11b/g/n
Bluetooth
4.0+HS
RAM
DDR3L+NAND Flash, 1Gb(64M x 16) + 1Gb
MIC Array
7 circular array (6+1)
Audio Line out
1 x 3.5mm Line out
Data Interface
1 x Micro USB Interface
Power Interface
1 x Micro USB Interface

UART
1 x UART
I²C
1 x I²C
GPIO
3 x GPIOs
TF Card
Support, up to 32GB(FAT32)
Key
5 x Keys(Reset, Mute, Volume Up, Volume Down,
play/pause)
Power Indicator
Support Power Indicator
Mic Array Indicator
12xRGB LEDs
Work Temperature
-4~131℉(-20~55℃)
Certification
FCC ID
1.3 Circular 7-Mic Array
1.3.1 Mic Array Specs
Items
Performance

Array Type
7 circular array (6+1)
Mic Quantity
7 Analog microphone
Dimension
Mics are placed horizontally and evenly in a circle and
microphone ports face upward
Array Distance
42.5mm
Wakeup Distance
<10m
Listening Range
<5m (Room environment)
Signal to Noise Ratio
65dBA
Sampling Rate
16K
Sensitivity
-38±1 dBV @1kHz ref 1V/Pa
1.3.2 Mic Array Board Sample and layout
Items
Description
Analog MEMS Microphone
Pick up the audio from bottom,Sensitivity:-38dBV
ADC
TDM interface, 24bit ADC
Audio output
Pin pitch 0.5mm, 24 pins, Connected to core board
LED Driver
Driver RGBx12 LED
RGB LED
12xRGB LED

1.4 Core Board Sample and Layout
Items
Description
Antenna Terminal
2.4GHz Wi-Fi antenna terminal
Line out
3.5mm Audio interface
USB Debug Interface
USB 2.0 Device
Audio input
Pin pitch 0.5mm, 24 pins, Connected to mic array board

TF card socket
Insert TF card
AP
MT8516AAAA/B
DDR3L
M15T1G1664A-DEBG2CS,ESMT
NAND Flash
F59L1G81MB,ESMT
Reset key
Press and hold the button for 2 Seconds for reset
Mute key
Key for mute
Volume up key
Key for system volume up
Volume down key
Key for system volume down
Power supply
Micro USB 5V 2A supply(at least 5V 1A)
User interface
Io,uart,i2c,power interface
Notes:
We strongly recommend using high quality speakers for a better experience. If you have
noticed any static noise when the speaker is connected to the dev kit’s AUX interface, please
switch to a higher quality speaker or use the USB port of the computer to power the dev kit.
The static noise generally occurs when an adapter is used to power the dev kit, and the
quality of the speaker is low. If you want recommendations for speakers, please contact us
at rooboddk@roobo.com.
1.5 Audio Data Path
ADC
ADC
AP
Analog Mic1
Analog Mic4
Analog Mic5
Analog Mic7
.
.
.
.
.
.
TDM 16KHz
Codec
Ref Signal Channel

2. Development Environment
2.1 Install SDK
Execute the installation script for the installation.
$ sh oecore-x86_64-aarch64-toolchain-nodistro.0.sh
You can enter the installation path or select the default installation path
/usr/local/oecore-x86_64
Extracting SDK.....................
Setting it up ......done
Indicates that the compile chain was successfully installed.
2.2 Compile environment configuration
Step1- Install the USB driver
To decompress the USB driver package, double-click “DriverInstall.exe” to install it.
After installation, " android_winusb.inf " will be generated in the " C:\Program
Files\MediaTek\SP Driver\drv\Android " path.
Open“android_winusb.inf”,
add information under[MediaTek.NTx86]and [MediaTek.NTamd64] as below:
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D002
Please replace the " VID_18D1&PID_D002" section according to your actual device ID.
Example:
[MediaTek.NTx86]
... ...
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D002
[MediaTek.NTamd64]
... ...
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_D002
After this step, if the device can be connected to the Windows PC but cannot be recognized,
please refer to the following picture to get the Device ID information.

Input the actual Device ID information into the " android_winusb.inf " file.
[MediaTek.NTx86]
... ...
%SingleAdbInterface% = USB_Install, <The ID actually identified>
[MediaTek.NTamd64]
... ...
%SingleAdbInterface% = USB_Install, < The ID actually identified >
Step2-install Python2.7.5
Decompress python2.7.5 installer and install it, add the installation path to the environment
variable after the installation is finished.
When finished, close the current CMD window, reopen a Windows console program, and
enter the following code:
python --version
Verify that version 2.7.5 is currently in use.
Step3-install pySerial
Decompress the pySerial installer and run "setup.bat" to install the pySerial tool to ensure
that no errors are reported during installation.
Step4-install ADB
Table of contents
Other Roobo Microcontroller manuals
Popular Microcontroller manuals by other brands

AMS
AMS AS7261 Demo Kit user guide

Novatek
Novatek NT6861 manual

Espressif Systems
Espressif Systems ESP8266 SDK AT Instruction Set

Nuvoton
Nuvoton ISD61S00 ChipCorder Design guide

STMicrolectronics
STMicrolectronics ST7 Assembler Linker user manual

Texas Instruments
Texas Instruments Chipcon CC2420DK user manual

Texas Instruments
Texas Instruments TMS320F2837 D Series Workshop Guide and Lab Manual

CYPRES
CYPRES CY14NVSRAMKIT-001 user guide

Texas Instruments
Texas Instruments INA-DUAL-2AMP-EVM user guide

Espressif Systems
Espressif Systems ESP8266EX Programming guide

Abov
Abov AC33M8128L user manual

Laird
Laird BL654PA user guide







