Synaptics AudioSmart User manual

Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS 511-000838-01 Rev A
2November 7, 2017 8:17 pm Synaptics Incorporated. All Rights Reserved
Synaptics Confidential. Internal Use Only.
Synaptics Confidential. Disclosed Only Under NDA - Limited Distribution.
S ti C fid ti l Di l d O l U d NDA
Revision History
Document No. Release Date Change Description
511-000838-01 Rev A 11/07/17 Conversion to Synaptics template
005UGR01 09/19/17 Updated:
Step 2 in “Writing Raspian OS to microSD Card” on page 6.
005UGR00 05/03/17 Initial release
Downloaded from Arrow.com.Downloaded from Arrow.com.

CX20924 User Guide Table of Contents
Synaptics Confidential
11/07/17 511-000838-01 3
Table of Contents
Revision History ...........................................................................................................................................................2
Scope.............................................................................................................................................................................1
Target Audience ............................................................................................................................................................1
References ....................................................................................................................................................................1
Definitions, Acronyms, and Abbreviations.................................................................................................................1
Overview........................................................................................................................................................................2
CX20924 EVK ................................................................................................................................................................3
Microphone/LED Module..............................................................................................................................................4
Step-by-Step Setup Summary .....................................................................................................................................5
Writing Raspbian OS to the microSD Card ................................................................................................................6
Connecting the EVK and Microphone/LED Module to the RPi 2..............................................................................7
AVS Setup....................................................................................................................................................................10
Building and Installing the Linux Kernel ..................................................................................................................14
Running LED Server, Node.js Service, Sample App, Wake Word Engine, and Recording Agent.......................18
Terminal Window 1 ............................................................................................................................................................ 19
Terminal Window 2 ............................................................................................................................................................ 19
Terminal Window 3 ............................................................................................................................................................ 19
Terminal Window 4 ............................................................................................................................................................ 19
Terminal Window 5 ............................................................................................................................................................ 20
AVS Setup: Amazon Account Login ................................................................................................................................ 20
Verifying the Setup .....................................................................................................................................................23
Installing the Cypress Siena USB-to-I2C Device Driver..........................................................................................24
Flashing New Firmware..............................................................................................................................................26
Trademarks..................................................................................................................................................................28
Notice...........................................................................................................................................................................28
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

CX20924 User Guide List of Figures
Synaptics Confidential
11/07/17 511-000838-01 4
List of Figures
Figure 1: Development Kit Components...........................................................................................................................................2
Figure 2: CX20924 EVK: Connections, Interfaces, and Devices......................................................................................................3
Figure 3: Microphone/LED Module: Four Digital Microphone Locations........................................................................................... 4
Figure 4: Connecting Cable Assembly to RPi GPIO Pins.................................................................................................................7
Figure 5: Connecting Output of 4-Mic Processed Signal.................................................................................................................. 8
Figure 6: Connecting Powered Speakers to the LINEOUT Port....................................................................................................... 8
Figure 7: Connecting 5V Power Supply to J1 Connector on the EVK .............................................................................................. 9
Figure 8: DS20924 Mounted on Speaker ......................................................................................................................................... 9
Figure 9: Alexa Voice Service User Interface ................................................................................................................................. 20
Figure 10: Example FCP Folder ..................................................................................................................................................... 26
Figure 11: Build Folder Contents .................................................................................................................................................... 27
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide Scope
Synaptics Confidential
11/07/17 511-000838-01 1
Scope
This documentation provides step-by-step instructions on setting up the Synaptics AudioSmart™ 4-Mic
Development Kit for Amazon AVS. The document covers how to make the necessary hardware
connections, install the driver, flash the firmware (only when needed), configure the Raspberry Pi2 (RPi 2),
and set up the Amazon Alexa Voice Service (AVS).
Note: Only use the RPi 2 with this configuration. Do not use the Raspberry Pi 3 (RPi 3).
Target Audience
This document is intended for manufacturers and developers for creating Smart Home device prototypes
that utilize the Synaptics AudioSmart 4-Mic Development Kit and the RPi 2 (not provided with the kit)
to offer an ideal Voice Control experience via Amazon's Alexa Voice Service.
References
Definitions, Acronyms, and Abbreviations
Subject Description Location
I2CI
2C Specification http://www.nxp.com/documents/user_manual/UM10204.pdf
ACPI Advanced Configuration and
Power Interface
http://www.acpi.info/DOWNLOADS/ACPIspec50.pdf
RPi 2 An open source code single-
board computer
https://www.raspberrypi.org/products/raspberry-pi-2-model-b/
ALSA The Advanced Linux Sound
Architecture (ALSA) provides
audio and MIDI functionality
to the Linux operating
system.
http://www.alsa-project.org/main/index.php/Main_Page
ASoC ALSA system on Chip for I2S
codecs
http://www.alsa-project.org/main/index.php/ASoC
RPi 2 Kernel building https://www.raspberrypi.org/documentation/linux/kernel/
building.md
Name of Document Description
AVS Alexa Voice Service
DSDT Differentiated System Description Table
GPIO General-Purpose Input/Output
I2CInter-Integrated Circuit
RPi 2 Raspberry Pi 2
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide Overview
Synaptics Confidential
11/07/17 511-000838-01 2
Overview
The Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS contains the following:
•CX20924 EVK
•Microphone/LED module (positioned on top of the CX20924 when shipped)
•USB cable
•Cable assembly (colored wires)
•+5V power supply
Note:
•Micro SD card of at least 16GB is required.
•Powered speakers, RPi 2, and micro SD card are all mandatory for the set up but are NOT
included in the Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS.
Proper speaker selection will enhance overall performance. Download External Loudspeaker Guidelines
and Recommendation for Smart Speaker Applications (008DGR0x) document for additional info.
Figure 1: Development Kit Components
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide CX20924 EVK
Synaptics Confidential
11/07/17 511-000838-01 3
CX20924 EVK
Figure 2: CX20924 EVK: Connections, Interfaces, and Devices
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide Microphone/LED Module
Synaptics Confidential
11/07/17 511-000838-01 4
Microphone/LED Module
Figure 3: Microphone/LED Module: Four Digital Microphone Locations
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide Step-by-Step Setup Summary
Synaptics Confidential
11/07/17 511-000838-01 5
Step-by-Step Setup Summary
1. Write a Raspbian Image to the micro SD. Load the current Raspbian OS using Linux kernel version
4.4. See "Writing Raspbian OS to the microSD Card" on page 6.
2. Connections between the CX20924 EVK and the Microphone / LED module are already established.
To set up the hardware connection between these two boards and the RPi 2 (not provided with the kit)
refer to "Connecting the EVK and Microphone/LED Module to the RPi 2" on page 7.
3. Set up the AVS. See "AVS Setup" on page 10.
4. Build and install the Linux kernel. See "Building and Installing the Linux Kernel" on page 14.
5. Once the hardware and software setup is complete, refer to the following to run the 4-mic setup:
"Running LED Server, Node.js Service, Sample App, Wake Word Engine, and Recording Agent" on
page 18.
6. Refer to the following to connect to an Amazon account: "AVS Setup: Amazon Account Login" on page
20.
7. Verify the setup. See "Verifying the Setup" on page 23.
8. Conduct Cypress Siena USB-to-I2C device driver installation if required. This step is optional. See:
"Installing the Cypress Siena USB-to-I2C Device Driver" on page 24.
9. Flashing New Firmware. This step is optional. Upgrade the firmware for the CX20924 device. Note that
the CX20924 evaluation board is pre-flashed with the firmware required so this step is only necessary
if an updated CX20924 firmware is provided. See "Flashing New Firmware" on page 26.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.

User Guide Writing Raspbian OS to the microSD Card
Synaptics Confidential
11/07/17 511-000838-01 6
Writing Raspbian OS to the microSD Card
1. Format the SD card. This can be done by going to the 'Computer' folder and right clicking on the SD
card. Click Format… to display the format options. When reformatting, confirm that the File system is
FAT32 or FAT, as shown below.
2. Download the Raspbian Jessie OS. The zip file is located at the following link:
http://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/
3. Unzip and write the downloaded image to the SD card using Win32DiskImager. This tool can be found
at the following link: https://sourceforge.net/projects/win32diskimager/
4. Run the Win32DiskImager to write the image to the SD card.
–Browse to the subdirectory icon and select the image file.
–Select the device drive in the Device drop down menu to write the Raspbian OS.
–Click Write to write the image to the SD card.
5. After the image has finished writing, insert the microSD card into the RPi 2.
Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.Downloaded from Arrow.com.
Other manuals for AudioSmart
1
Table of contents
Other Synaptics 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







