Synaptics AudioSmart User manual

Synaptics AudioSmart® 2-Mic Development Kit for
Amazon AVS
PN:
511-000841-01 Rev C

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 2
Contents
1. Introduction ...................................................................................................................................................... 5
1.1. Target Audience .................................................................................................................................... 5
1.2. References ............................................................................................................................................ 5
1.3. Definitions, Acronyms, and Abbreviations........................................................................................... 5
2. Overview ........................................................................................................................................................... 6
2.1. CX20921 Evaluation Board.................................................................................................................. 7
2.2. Pin Definition......................................................................................................................................... 8
3. Using the Development Kit.............................................................................................................................. 9
3.1. Hardware Setup .................................................................................................................................... 9
3.1.1. Connecting the Evaluation Board to the RPi3 ...................................................................... 9
3.2. Software Setup ................................................................................................................................... 12
3.2.1. Writing Raspbian OS to the MicroSD Card.......................................................................... 12
3.3. Install, Configure, and Build the SDK ................................................................................................ 13
3.4. Running the Setup .............................................................................................................................. 17
3.5. Verifying the Setup.............................................................................................................................. 19
4. Installing the Cypress Siena USB-to-I2C Device Driver ................................................................................. 20
4.1. Flashing New Firmware ...................................................................................................................... 22
5. Troubleshooting.............................................................................................................................................. 24
6. Revision History.............................................................................................................................................. 25

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 3
List of Figures
Figure 1. Development Kit Components .................................................................................................................... 6
Figure 2. CX20921 Evaluation Board: Connections, Interfaces and Devices.......................................................... 7
Figure 3. RPi3 pinout................................................................................................................................................... 8
Figure 4. CX20921 evaluation board setup with RPi3 board and Mic board (with 2-mic attached)...................... 9
Figure 5. Connections for CX20921 evaluation board and Mic board (with 2-mic attached) .............................. 10
Figure 6. Connections for RPi3 .................................................................................................................................11
Figure 7. Example fcp folder .....................................................................................................................................22
Figure 8. Build folder contents .................................................................................................................................22

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 4
List of Tables
Table 1. References .................................................................................................................................................... 5
Table 2. Definitions...................................................................................................................................................... 5
Table 3. CX20921 to RPi3 connections ...................................................................................................................11

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 5
1. Introduction
This document provides step-by-step introductions on setting up the Synaptics AudioSmart®2-Mic
Development Kit for Amazon™ AVS. This document describes how to make the necessary hardware
connections, install the driver, flash the firmware (only when needed), set up the Amazon Alexa™ Voice Service
(AVS), and switch between the keyword detection (voice trigger) modes.
1.1. Target Audience
This document is intended for manufacturers and developers for creating Smart Home device prototypes that
use the Synaptics AudioSmart 2-Mic Development Kit and the Raspberry Pi 3 (RPi3) (not provided with the kit)
to offer an ideal Voice Control experience via Amazon’s Alexa Voice Service.
1.2. References
Table 1. References
Name Description Location
I2C I2C Specification http://www.nxp.com/documents/user_manual/UM10204.pdf
ACPI Advance Configuration and Power Interface http://www.acpi.info/DOWNLOADS/ACPIspec50.pdf
RPi3 An open source code single-board
computer
https://www.raspberrypi.org/products/raspberry-pi-3-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
Sensory Wake word engine plug-in for Raspberry Pi https://github.com/Sensory/Alexa-rpi
1.3. Definitions, Acronyms, and Abbreviations
Table 2. Definitions
Term Definition
AVS Alexa Voice Service
DSDT Differentiated System Description Table
GPIO General-Purpose Input/Output
I2C Inter-Integrated Circuit
RPi3 Raspberry Pi 3

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 6
2. Overview
The Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS contains the following:
•CX20921 evaluation board, pre-flashed with firmware for the CX20921 device.
•Microphone module with two omnidirectional mics
•Stereo 3.5 mm male-to-male audio cable
•Micro-USB cable
•Type A to Type B USB cable
•Cable assembly (colored wires)
•+5V power supply for CX20921 evaluation board
Note:
•Micro SD card of at least 8 GB is required
•Powered speakers, RPi3 board, and micro SD card are all mandatory for the set up but are NOT included
in the Synaptics AudioSmart 2-mic Development Kit.
•Proper speaker protection will enhance overall performance. See External Loudspeaker Guidelines
and Recommendations for Smart Speaker Applications (PN: 507-000837-01) document for additional
information.
Figure 1
.
Development Kit Components

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 7
2.1. CX20921 Evaluation Board
Figure 2
.
CX20921 Evaluation Board: Connections, Interfaces and Devices

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 9
3. Using the Development Kit
3.1. Hardware Setup
Connect the CX20921 evaluation board and the RPi3 (not provided with the kits).
3.1.1. Connecting the Evaluation Board to the RPi3
Make the following hardware connections between the CX20921 evaluation board and the RPi3 (not provided
with the kit), as shown in Figure 4 and Figure 5.
Figure 4
.
CX20921 evaluation board setup with RPi3 board and Mic board (with 2-mic attached)

Synaptics AudioSmart 2-Mic Development Kit for Amazon AVS PN: 511-000841-01 Rev C
Copyright © 2019 Synaptics Incorporated. All Rights Reserved. 10
Figure 5
.
Connections for CX20921 evaluation board and Mic board (with 2-mic attached)
1. Connect the 3.5 mm audio jack on the RPi3 (J7) to LINEIN on the CX20921 evaluation board (J25).
2. Connect audio jack (J3) (Line Out labeled as HP) on the CX20921 evaluation board to a powered
speaker.
3. Connect the microphone module to the CX20921 evaluation board (J19).
a. Spacing between the left MIC and right MIC should be set to 55 mm with the preloaded
configuration (see Figure 4).
b. Software tool (FCP Essential) will be provided for mic distance adjustment between 30 mm –
120 mm.
4. Connect the audio path from micro USB (J1) to USB port on RPi3.
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







