Advertisement

Quick Links

ROOBO Smart Audio Dev Kit DDKL4Q1
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Roobo DDKL4Q1

  • Page 1 ROOBO Smart Audio Dev Kit DDKL4Q1 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 Linear 4-Mic/ 2-Mic Array ................6 1.2.1 Mic Array Specs ..................6 1.2.2 Mic Array Board Sample and layout ............. 7 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. The Linear 4-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 MIC Array Linear 4-MIC/2-MIC 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: Linear 4-Mic/ 2-Mic Array

    1.2 Linear 4-Mic/ 2-Mic Array 1.2.1 Mic Array Specs Items Performance Array Type Linear 4-Mic/ Linear 2-Mic Mic Quantity 4 /2digital MEMS microphone( I2S) Mics are placed horizontally, evenly in a line and Dimension microphone ports face upward. Array Distance 40mm Wakeup Distance <10m...
  • Page 7: Mic Array Board Sample And Layout

    1.2.2 Mic Array 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 1.3 Core Board Sample and Layout...
  • Page 8: Audio Data Path

    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.4 Audio Data Path...
  • Page 9: Development Environment

    2. Development Environment 2.1 QCOM USB driver installation (e.g. Windows 10) 1. Run setup.exe 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 10: 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 11: 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 12: 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 13: 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 14: Program Guide

    7. Program guide 7.1 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 15: Gpio Program

    7.2 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 16: Key

    7.3 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 17: 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 18 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