Roobo DDKC7Q1 User Manual

Smart audio dev kit

Advertisement

Quick Links

ROOBO Smart Audio Dev Kit DDKC7Q1
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DDKC7Q1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Roobo DDKC7Q1

  • Page 1 ROOBO Smart Audio Dev Kit DDKC7Q1 User Guide...
  • Page 2 Intelligent Steward Co., Ltd. TRADEMARKS ROOBO is a trademark of Intelligent Steward Co., Ltd. All other trademarks and registered trademarks are property of their respective companies. DISCLAIMER Intelligent Steward Co., Ltd.
  • Page 3: Table Of Contents

    Content 1.Introduction ........................ 4 1.1 In the Box ......................4 1.2 Dev Kit Specification ..................5 1.2 Circular 7-Mic Array ..................6 1.2.1 Mic Array Specs ..................6 1.2.2 Mic Array Board Sample and layout ............. 6 1.3 Core Board Sample and Layout ................ 7 1.4 Audio Data Path ....................
  • Page 4: Introduction

    1.Introduction This Dev kit (referred to as “DDK” 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...
  • Page 5: Dev Kit Specification

    1.2 Dev Kit Specification Items Specs Qualcomm APQ8009 Quad core A7 1.1GHz CPU Adreno304 Android 5.1 WIFI 802.11b/g/n Bluetooth LPDDR3+eMMC, 1GB + 8GB 7 circular array (6+1) MIC Array Audio Line out 1 x 3.5mm Line out Data Interface 1 x Micro USB Interface Power Interface 1 x Micro USB Interface UART...
  • Page 6: Circular 7-Mic Array

    1.2 Circular 7-Mic Array 1.2.1 Mic Array Specs Items Performance 7 circular array (6+1) Array Type 7 digital MEMS microphone (I Mic Quantity Mics are placed horizontally and evenly in a circle and microphone ports face upward Dimension 42.5 Array Distance Wakeup Distance <10m Listening Range...
  • Page 7: Core Board Sample And Layout

    Items Description Digital MEMS Microphone Pick up the audio from bottom,Sensitivity:-26dB I2S interface, 24bit ADC FPGA Used to pack data Audio output Pin pitch 0.5mm, 24 pins, Connected to core board LED Driver Driver RGBx12 LED RGB LED 12xRGB LED 1.3 Core Board Sample and Layout...
  • Page 8 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 APQ8009 Core APQ8009 Core board Reset key Press and hold the button for 2 Seconds for reset Mute key...
  • Page 9: Audio Data Path

    If you want recommendations for speakers, please contact us at rooboddk@roobo.com. 1.4 Audio Data Path 2. Development Environment 2.1 QCOM USB driver installation (e.g. Windows 10) 1. Run setup.exe...
  • Page 10: Dev Kit Set Up

    2. Follow the installation wizard to complete the installation 2.2 Dev Kit Set up Plug in the 5V 2A power adapter with USB, the dev kit should start running automatically.
  • Page 11: Adb Debug Tool

    2.3 ADB Debug tool You can log onto the dev kit’s board, push or pull files by using the adb tool. On Windows 10: (1) After the board is running, in the Windows Device Manager, we can see a USB port: (2) In a Windows cmd window, input command "adb shell", then hit Enter Notes: You’ll need to have the adb tool installed on your computer and make sure the adb...
  • Page 12: Ndk Compile

    3. NDK compile The dev kit’s board is based on the Qualcomm APQ8009 and Android-5.1.1, its abi is armeabi-v7a. Download the NDK from: https://developer.android.google.cn/ndk/downloads/index.html Enter the source code directory Create Android.mk and Application.mk besides source codes a. Application.mk may be like this: APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := armeabi-v7a...
  • Page 13: Rom Upgrade

    NDK_APPLICATION_MK=Application.mk Android NDK: Android-8 is unsupported. Using minimum supported version android-14. [armeabi-v7a] Compile++ thumb: detect <= detect.cpp [armeabi-v7a] Executable : detect [armeabi-v7a] Install : detect => libs/armeabi-v7a/detect The build target file will be under libs/armeabi-v7a/. 4. ROM Upgrade Please download the Firmware from the website: http://dwn.roo.bo/server_upload/ddk/ms_ddk_system_firmware.zip Using fastboot tool to program the partitions of flash.
  • Page 14: Record And Playback

    5. Record and Playback ou can use the roobopri_4mic or roobopri_7mic to capture the mic array pcm data. It can save the pcm data to a Tflash card every one hour. The format of the file name is RB_FileIndexXXX_d_chnX.pcm. XXX is the number which increases one by one each hour, and the X is the mic number in the mic array.
  • Page 15: Program Guide

    7. Program guide 7.1 Mic LEDs program You can use the APIs of librooboled.so to control the LEDs. We also offer a roobo_led demo app to control the 12 LEDs to light according to the red, green and blue one by one. The head file ledapi.h declares the APIs, Which can be downloaded from the website: http://dwn.roo.bo/server_upload/ddk/ledapi.h If need JNI for Android APP, you can encapsulate the interface into JNI with the APIs.
  • Page 16 And the below is fragment of roobo_led source code.  LedDevInit(int dev) Initialize the LED controller. Now DDK has only one LED controller, so the dev is always zero.  int LedTurnOn(int dev, int channel, int lumin, int color, int onoff) Input paramters Dev:the LED controller,the LED controller that you have initialized.
  • Page 17: Uart Program

    7.2 UART program There’s one uart port to offer to developers.You can use this uart port generally.The uart device node is /dev/ttyHSL1. You can refer to the below code to open the uart device, and then write and read.
  • Page 18: Gpio Program

    7.3 GPIO program There’re three gpios in DDK. You can control and config the GPIOs by the device node /dev/roobo_gpio. You can config the io direction as input or output. The three gpio number is 66,67 and 68. There is a struct to config and control the gpio. typedef struct{ int gpio_num;...
  • Page 19: Key

    7.4 KEY There’re four keys in DDK. You can use the Android key methods to get key event.  Power Key: The power key of Android. Short press to shutdown LCD backlight, press and hold more than 2 seconds to reset the DDK. ...
  • Page 20: Note

    2. Set the slave address(7bit address) 3. Read/write Please refer to below demo code. #define I2C_SLAVE 0x0703 STATUS i2c_send(uint8_t *txdata, int txlength) int f_i2c; // I2C file descriptor // Initiate I2C communication if ( (f_i2c = open("/dev/roobo_i2c", O_RDWR)) < 0) return FAIL;...
  • Page 21 this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: •...

Table of Contents