Synaptics AudioSmart Manual

4-mic development kit for amazon avs
Hide thumbs Also See for AudioSmart:

Advertisement

Quick Links

Synaptics AudioSmart 4-Mic Development Kit
for Amazon AVS
511-000838-01 Rev A
Arrow.com.
Downloaded from

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Synaptics AudioSmart

  • Page 1 Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS 511-000838-01 Rev A Arrow.com. Downloaded from...
  • Page 2: Revision History

    Step 2 in “Writing Raspian OS to microSD Card” on page 6. 005UGR00 05/03/17 Initial release November 7, 2017 8:17 pm Synaptics Incorporated. All Rights Reserved Synaptics Confidential. Internal Use Only. Synaptics Confidential. Disclosed Only Under NDA - Limited Distribution. Arrow.com.
  • Page 3: Table Of Contents

    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 Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 4 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 Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 5: Scope

    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.
  • Page 6: Overview

    User Guide Overview 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: •...
  • Page 7: Cx20924 Evk

    User Guide CX20924 EVK CX20924 EVK Figure 2: CX20924 EVK: Connections, Interfaces, and Devices Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 8: Microphone/Led Module

    User Guide Microphone/LED Module Microphone/LED Module Figure 3: Microphone/LED Module: Four Digital Microphone Locations Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 9: Step-By-Step Setup Summary

    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. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 10: Writing Raspbian Os To The Microsd Card

    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. After the image has finished writing, insert the microSD card into the RPi 2. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 11: Connecting The Evk And Microphone/Led Module To The Rpi 2

    RPi microSD card slot. Connect the cable assembly to the GPIO pins on the RPi 2. Align the sticker labeled '1' with physical pin 1 on the RPi. Figure 4: Connecting Cable Assembly to RPi GPIO Pins Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 12: Figure 5: Connecting Output Of 4-Mic Processed Signal

    Connect the powered speakers to the LINEOUT port. Connect the 3.5mm jack from the powered speakers to J8 (labeled LINEOUT) on the CX20924 EVK. Figure 6: Connecting Powered Speakers to the LINEOUT Port Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com.
  • Page 13: Figure 7: Connecting 5V Power Supply To J1 Connector On The Evk

    Connecting 5V Power Supply to J1 Connector on the EVK The unit should be mounted on top of the speakers, separated by a cushioned material such as putty or foam, to minimize vibrations from the speaker. Figure 8: DS20924 Mounted on Speaker Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 14: Avs Setup

    Save the file. Then give the necessary file permissions and run the process with the following command: cd alexa-avs-sample-app chmod +x automated_install.sh . automated_install.sh After the installer is started, several screens will display. Follow the screen instructions shown below to download the AVS sample app. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 15 Type y and press Enter. The following screen enables you to validate your Amazon developer status. Type y and press Enter. The following screen enables you to set up your RPi 2 credentials, enter your ProductID, ClientID, and ClientSecret. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 16 Type 1, 2, or 3 depending on your language and locale, and press Enter. The following screen enables you to select the method of audio output you are using. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 17 S interface is used. Thus, the HDMI audio output selection has no impact. Type y and press Enter. The following screen enables you to enable Alexa Wake Word Detection. This starts the installation process. The installer should take approximately one hour to complete. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 18: Building And Installing The Linux Kernel

    [Advanced Linux Sound Architecture] => [ALSA for SoC audio support]. Check the following two boxes: – [Support for Smart Speaker Pi add on soundcard (USB)] – [Support for Smart Speaker Pi add on soundcard (I2S)] Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com.
  • Page 19 User Guide Building and Installing the Linux Kernel The following screens provide references: Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from...
  • Page 20 18 for running the 4-mic setup. To verify that the driver is installed, open a terminal on the RPi 2 and send the following command: $ aplay -l The following device should display: Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 21 User Guide Building and Installing the Linux Kernel Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from...
  • Page 22: Running Led Server, Node.js Service, Sample App, Wake Word Engine, And Recording Agent

    Running LED Server, Node.js Service, Sample App, Wake Word Engine, and Recording Agent Once the installation is complete, you are ready to try out the Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS. On the home directory, run the startup.sh script to open all necessary windows at once.
  • Page 23: Terminal Window 1

    This project supports two versions of Sensory's TrulyHandsFree wake word engine. The `-e` option is used to select the low-power embedded wake word engine running on the Synaptics development kit or the high-performance wake word engine running on the RPi 2.
  • Page 24: Terminal Window 5

    You now have a working hands-free AVS prototype. AVS Setup: Amazon Account Login An Amazon account will need to be connected to use the Synaptics AudioSmart 4-Mic Development Kit for Amazon AVS. A monitor, keyboard, and mouse is required for this procedure.
  • Page 25 User Guide AVS Setup: Amazon Account Login If a warning page appears, click Advanced and then click Proceed to Localhost (unsafe). The following shows representative screens. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
  • Page 26 The URL will go to a page to sign in using an Amazon account. Login with your Amazon account credentials. The next page should display the message 'device tokens ready' as shown below. The web browser can now be closed. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 27: Verifying The Setup

    Say Alexa and three LEDs will point in the direction of the talker. • When the command is being processed, blue LEDs will flash around the board. • While the response is played out, the LEDs on the device will brighten and dim. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 28: Installing The Cypress Siena Usb-To-I2C Device Driver

    C communication between your laptop and the CX20924 evaluation board can be downloaded from: http://www.conexant.com/avs-support/Conexant_Siena_Driver.rar Filename: Conexant_Siena_Driver.rar Extract the Conexant_Siena_Driver.rar file onto your laptop. Run the Setup.exe file included in the Conexant_Siena_Driver folder as shown below: Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com.
  • Page 29 When the following message appears. Click Yes. In the Device Manager, you should shortly see Conexant Siena USB Driver appear under Universal Serial Bus Controllers. The Cypress Siena device is now ready to use. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com.
  • Page 30: Flashing New Firmware

    Siena USB-to-I2C Device Driver" on page 24. The FW release package is stored in a folder named fcp. This folder contains a number of subfolders as shown below. Figure 10: Example FCP Folder Synaptics Confidential 11/07/17 511-000838-01 Arrow.com. Arrow.com. Arrow.com.
  • Page 31: Figure 11: Build Folder Contents

    Once the successful PASS message appears, close the window and cycle power on the board by unplugging and plugging back the power on the CX20924 evaluation board. The CX20924 device is ready to be used with the new updated FW. Synaptics Confidential 11/07/17 511-000838-01 Arrow.com.
  • Page 32: Trademarks

    Incorporated or its affiliates in the United States and/or other countries. Use of the materials may require a license of intellectual property from a third party or from Synaptics. This document conveys no express or implied licenses to any intellectual property rights belonging to Synaptics or any other party.

Table of Contents