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.
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...
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...
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...
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...
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...
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.
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...
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...
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.
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.
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.
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.
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;...
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. ...
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: •...
Need help?
Do you have a question about the DDKC7Q1 and is the answer not in the manual?
Questions and answers