31
Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek Semiconductor Corp. No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan Tel.: +886-3-578-0211. Fax: +886-3-577-6047 www.realtek.com.tw

Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

Ameba RTL8195AM+ALC5680

Smart Voice 2-Mic Development Kit

User Guide for Baidu DuerOS

Ver1.0

Realtek Semiconductor Corp.

No. 2, Innovation Road II, Hsinchu Science Park, Hsinchu 300, Taiwan

Tel.: +886-3-578-0211. Fax: +886-3-577-6047

www.realtek.com.tw

Page 2: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

i

Ver1.0

COPYRIGHT

© 2017 Realtek Semiconductor Corp. All rights reserved. No part of this document may be reproduced,

transmitted, transcribed, stored in a retrieval system, or translated into any language in any form or by any

means without the written permission of Realtek Semiconductor Corp.

DISCLAIMER

Realtek provides this document “as is”, without warranty of any kind, neither expressed nor implied,

including, but not limited to, the particular purpose. Realtek may make improvements and/or changes in

this document or in the product described in this document at any time. This document could include

technical inaccuracies or typographical errors.

TRADEMARKS

Realtek is a trademark of Realtek Semiconductor Corporation. Other names mentioned in this document

are trademarks/registered trademarks of their respective owners.

USING THIS DOCUMENT

This document is intended for the hardware and software engineer’s general information.

Though every effort has been made to ensure that this document is current and accurate, more information

may have become available subsequent to the production of this guide. In that event, please contact your

Realtek representative for additional information that may help in the development process.

Page 3: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

ii

Ver1.0

TABLE OF CONTENT 1. Overview ................................................................................................................................................ 5 2. ALC5680 Evaluation Board .................................................................................................................. 5

2.1. Board Information ..................................................................................................................... 5 2.2. Hardware Description ................................................................................................................ 6

2.2.1. Power ............................................................................................................................. 6 2.2.2. Control ........................................................................................................................... 6 2.2.3. Audio interface .............................................................................................................. 6 2.2.4. Reset .............................................................................................................................. 6 2.2.5. Microphone .................................................................................................................... 6 2.2.6. Speaker .......................................................................................................................... 7 2.2.7. SPI flash ......................................................................................................................... 7

2.3. Pin Out ....................................................................................................................................... 7 2.4. Setup and Connect to Realtek Ameba DEV .............................................................................. 8 2.5. Reference Schematics ................................................................................................................ 9

3. Ameba Evalution Board ...................................................................................................................... 11 3.1. System requirements ................................................................................................................ 11 3.2. Hardware block diagram .......................................................................................................... 11 3.3. Pin out reference ...................................................................................................................... 12 3.4. Antenna hardware setup .......................................................................................................... 13 3.5. Peripherals support .................................................................................................................. 13

3.5.1. Pin function table setup ............................................................................................... 14 3.5.2. Peripheral Descriptions ................................................................................................ 14

3.6. Hardware configuration ........................................................................................................... 15 3.6.1. CMSIS-DAP ................................................................................................................ 15 3.6.2. J-Link/JTAG ................................................................................................................ 16 3.6.3. DAP mode ................................................................................................................... 17

4. Ameba Software Environment Setup .................................................................................................. 19 4.1. Introduction .............................................................................................................................. 19 4.2. How to get IAR ........................................................................................................................ 19 4.3. Debugger Setting ..................................................................................................................... 19 4.4. Debugger Setting ..................................................................................................................... 19

4.4.1. CMSIS-DAP ................................................................................................................ 19 4.4.2. J-Link/JTAG ................................................................................................................ 20

4.5. How to build and download code ............................................................................................ 22 4.6. How to use sample code .......................................................................................................... 24

5. ALC5680 Firmware upgrade by Ameba ............................................................................................. 25 5.1. Environment Setup .................................................................................................................. 25 5.2. Generate the ALC5680 DSP bin file ....................................................................................... 26 5.3. Open the TFTP server .............................................................................................................. 26 5.4. Upgrade ALC5680 DSP firmware ........................................................................................... 27

5.4.1. Program Ameba f/w ..................................................................................................... 27 5.4.2. Connect Ameba to AP ................................................................................................. 27 5.4.3. Upgrade ALC5680 DSP f/w through TFTP ................................................................ 28

5.5. Verify the voice trigger and lineout function .......................................................................... 29 6. Patch DuerOS to Ameba SDK ............................................................................................................. 29

6.1. Download Ameba SDK ........................................................................................................... 29 6.2. Download DuerOS Patch ......................................................................................................... 30 6.3. Patch DuerOS to SDK ............................................................................................................. 30

Page 4: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

iii

Ver1.0

Figures

Figure 1 ALC5680 EVK TOP view and board information.......................................................................... 5 Figure 2 ALC5680 EVK BOTTOM view ..................................................................................................... 6 Figure 3 ALC5680 EVK pinout .................................................................................................................... 7 Figure 4 ALC5680 EVK setup with Ameba EVK and MIC board ............................................................... 8 Figure 5 ALC5680 EVK setup with Powered Speakers ................................................................................ 8 Figure 6 ALC5680 EVK reference schematics ........................................................................................... 10

Page 5: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

4

Ver1.0

REVISION HISTORY

Revision Release Date Summary

1.0 2017/6/30 Ver1.0 release

Page 6: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

5

Ver1.0

1. Overview

This document describes the features of the ALC5680 evaluation board, including board information,

hardware description, pin out, connections with Realtek Ameba RTL8195 Arduino Wireless Board,

schematics and firmware upgrade flow. This ALC5680 evaluation board is designed to interface with

Realtek Ameba RTL8195 Arduino Wireless Board and shipped with Realtek Ameba RTL8195 Arduino

Wireless Board as one package for easily building the prototypes of voice-enpowered IoT application.

2. ALC5680 Evaluation Board

2.1. Board Information

ALC5680

Microphone module with two mics

Stereo Line out

SPI Flash

LED indicated by Wake Word – 小度小度

Figure 1 ALC5680 EVK TOP view and board information

Page 7: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

6

Ver1.0

Figure 2 ALC5680 EVK BOTTOM view

2.2. Hardware Description

2.2.1. Power

ALC5680 evaluation board is powered by Realtek Ameba RTL8195 Arduino Wireless Board by J22.

2.2.2. Control

The ALC5680 is controlled by Ameba via I2C interface at J21.

2.2.3. Audio interface

The audio interface between ALC5680 and Ameba is I2S at J21.

2.2.4. Reset

SW1 at ALC5680 evaluation board is used to hardware reset ALC5680 and also signal Ameba by J19.

2.2.5. Microphone

Microphone module is connected to ALC5680 evaluation board via JM3.

Page 8: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

7

Ver1.0

2.2.6. Speaker

A powered Speaker connected to ALC5680 evaluation board via PH1.

2.2.7. SPI flash

4M byte (32M bit) SPI flash is on board and firmware upgrade is supported.

2.3. Pin Out

Figure 3 ALC5680 EVK pinout

Page 9: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

8

Ver1.0

2.4. Setup and Connect to Realtek Ameba DEV

Figure 4 ALC5680 EVK setup with Ameba EVK and MIC board

Figure 5 ALC5680 EVK setup with Powered Speakers

Connect to

Powered Speakers

Connect to

+5V Power Supply by USB cable

Page 10: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

9

Ver1.0

2.5. Reference Schematics

Page 11: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

10

Ver1.0

Figure 6 ALC5680 EVK reference schematics

Page 12: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

11

Ver1.0

3. Ameba Evalution Board

3.1. System requirements

Windows PC (XP, Vista, 7)

USB type A to Micro-B USB cable x 1

RS-232 to UART board(debug) x 1, JTAG cable x1 (option)

3.2. Hardware block diagram

IC: RTL8195AM

Module HDK version: HDK-AM95A03_1V0

DEV HDK version: RTL-AMEBA_DEV01_1v1

DAP update

Mode button

DAP reset

button

NFC Antenna

Wi-Fi PCB

Antenna

Wi-Fi external

ANT connector

Ameba

reset button

USB

Host

DAP+DC

+serial port DC 5V

J22

J20

J21

J19

RTL8195AM

DAP

J-TAG

UART

Page 13: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

12

Ver1.0

3.3. Pin out reference

Page 14: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

13

Ver1.0

R

20

6

R20

7

R20

8

3.4. Antenna hardware setup

3.5. Peripherals support

Debug UART: GPIOB_[0..1]

JTAG: GPIOE_[0..4]

I-PEX/U.FL connector: R206

External antenna: R207

PCB antenna: R208

Page 15: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

14

Ver1.0

3.5.1. Pin function table setup

Multiple functions are supported by group setup.

For example: GPIOA_6(Rx), GPIOA_7(Tx), GPIOA_3(RTS) and GPIOA_5(CTS)

are used if UART0 function. GPIOA_3(RTS) and GPIOA_5(CTS) can not be

used as other functions.

For example: GPIOC_0, GPIOC_1, GPIOC_2, GPIOC_2, GPIOC_3 are used if

PWM is occupied. GPIOC_1(PWM1) and GPIOC_2(PWM2) can not be used as

other functions.

NOTE1: PH = Pull-High, HI = High-impedance

NOTE2: GPIOA_1 needs external Circuit to do the pull high control; others’ pull control

can be done by register setting (including GPIOA_1’s PD).

3.5.2. Peripheral Descriptions

Baud rate

UART

UART_LOG 38400 Hz

UART0 4 MHz

UART2 4 MHz

Clock rate

SPI

SPI0_Master 20.8 MHz

SPI0_Slave_TRx 4.1 MHz

SPI1_Master 41.6 MHz

SPI1_Slave_TRx --

JTAG

Debug console

I2S

PWM

SDIO

UART

UART

I2C

SPI

SPI

Page 16: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

15

Ver1.0

3.6. Hardware configuration

3.6.1. CMSIS-DAP

RTL-AMEBA_DEV01 supports CMSIS-DAP debugger. It requires installing “serial to

USB driver”at first. Serial to USB driver can be found in

tools\serial_to_usb\mbedWinSerial_16466.

Connect board to the PC with micro-USB cable.

Clock rate

I2C

Standard mode 0~100 kb/s

Fast mode <400 kb/s

High-speed mode <3.4Mb/s

Page 17: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

16

Ver1.0

3.6.2. J-Link/JTAG

Weld JTAG and log UART connectors to HDK board and connect with pitch 2.54mm

2x5pins connector. It is recommended to weld the connector on the bottom side. Users

can connect extension boards from top side.

Dupont Line or 2.54mm 2x5 pins connector.

Power On(Disable DAP mode)

Holding TGT_NRESET button (J24, red-circled) then press Pdn button (J13, blur-circled).

JTAG

UART

5V DC

Page 18: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

17

Ver1.0

Release the button after power on.

3.6.3. DAP mode

In DAP mode, the DAP firmware can be updated.

Holding TGT_NRESET button (J24, red-circled) then press nRESET button (J17,

blur-circled). Then the DAP mode window will show up.

J2

4

J1

7 J1

3

Page 19: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

18

Ver1.0

DAP window will show up when entering DAP mode.

J2

4

J1

7 J1

3

Page 20: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

19

Ver1.0

4. Ameba Software Environment Setup

4.1. Introduction

This chapter illustrates how to build Realtek low power Wi-Fi software under IAR SDK

environment.

4.2. How to get IAR

IAR provides an IDE environment for code building, downloading, and debugging. Please

check “IAR Embedded Workbench” on http://www.iar.com/, and trail version is available.

It requires IAR version greater than v7.20 which supports CMSIS-DAP.

4.3. Debugger Setting

This board supports both CMSIS-DAP debugger and J-Link.

4.4. Debugger Setting

This board supports both CMSIS-DAP debugger and J-Link.

4.4.1. CMSIS-DAP

Ameba Device Board 2V0 supports CMSIS-DAP debugger. It requires installing “serial to

USB driver” at first. Serial to USB driver can be found in

tools\serial_to_usb\mbedWinSerial_16466.

Connect board to the PC with micro-USB cable.

After installation, connect the board to PC, and then there should be mbed Serial Port

shown in Device Manager.

Page 21: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

20

Ver1.0

4.4.2. J-Link/JTAG

The board is configured as CMSIS-DAP mode. To use J-Link debugger, please follow the

next procedures.

Hardware Configuration

Weld JTAG and log UART connectors to HDK board and connect with pitch 2.54mm

2x5pins connector. It is recommended to weld the connector on the bottom side.

p.s. J-Link is supported on RTL-AMEBA_DEV_3V0

2.54mm 2x5pins connector (or use Dupont Line)

IAR Setting

Page 22: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

21

Ver1.0

Change setting of IAR project from CMSIS-DAP to J-Link/J-Trace in

ProjectOptionsDebuggerSetupDriver, and Selecting OK to finish and enjoy

JTAG debugging.

Power On

Please not that for some J-Link debugger, it may require disabling CMSIS-DAP.

There are two kinds of method to disable CMSIS-DAP function. One is holding button

(red-circled) then plugging power to disable CMSIS-DAP function. Release the button

after power on. The other is holding button (red-circled) and then press button

(yellow-circled) to disable CMSIS-DAP function. If CMSIS-DAP function is disabled

successfully, LEDs (D4 and D5) will not be shined.

Page 23: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

22

Ver1.0

Note: To reset main chip, it is recommended to press Reset button (green-circled) instead

of re-plugged in the power cable.

4.5. How to build and download code

Step 1: Open IAR Workbench

Step 2: To open project, click File Open Workspace

Step 3: Select Project.eww in project\project_name_xxxx\EWARM-RELEASE

Step 4: To build project, click Project Rebuild All

Page 24: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

23

Ver1.0

Step 5: To download code, Click Project Download Download active application.

After firmware download, click reset button to reboot the system

Page 25: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

24

Ver1.0

How to debug

Set Break point. To debug or trace code step by step, click Project Download and

Debug.

4.6. How to use sample code

There are several peripheral example code under folder “project\project_name_xxxx\

example_sources \”, you can copy & paste the example’s “inc” and “src” to project folder.

Ex. To use i2c example code, you can copy “src” and “inc” from

“project\project_name_xxxx\example_sources\i2c\”.

Page 26: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

25

Ver1.0

5. ALC5680 Firmware upgrade by Ameba

5.1. Environment Setup

To make sure that the network is connection for each other. Please follow steps to confirm it.

Connect PC to AP: either Ethernet or Wi-Fi connecting is ok.

Connect Ameba+DSP to AP using AT commands.

ATW0=SSID

ATW1=password

ATWC

ATW? to show IP information:

PC can ping Ameba

Page 27: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

26

Ver1.0

Ameba can ping PC

5.2. Generate the ALC5680 DSP bin file

Put the DSP dat file in DSP_fw_combine_one_tool folder.

Change your file name into All_in_one.dat.

Run alc_fw_upgrade.bat in the same path.

Generate alc_fw_upgrade.bin

The binary data will add 12 bytes in file. Please see the below picture.

5.3. Open the TFTP server

Execute TFTP

Browse the alc_fw_upgrade.bin (file name cannot be changed)

Reminding to turn off firewall of PC or allow the TFTP tool running.

Page 28: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

27

Ver1.0

5.4. Upgrade ALC5680 DSP firmware

5.4.1. Program Ameba f/w

Enable the flag and modify the relative parameter.

1. Enable the example flag in platform_opt.h as below

2. Modify the TFTP server IP in example_alc_fw_dsp_upgrade.c

3. We will check whether the DSP firmware is in the flash, if the firmware exists, it will not be

updated. If you want to force upgrade the firmware then set the follow defines flag. (You

need to disable the flag when you finish the DSP upgrade or it will force upgrade

again) .We recommends that you can add a button or use at command to replace the force

upgrade.

4. After compiler is finish, we burn the file into ameba flash.

5.4.2. Connect Ameba to AP

Network Connection:

AN0025 Realtek at command can be reference.

#ATW0=SSID

#ATW1=passphrase

#ATWC

Page 29: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

28

Ver1.0

#ATW? to show IP information:

5.4.3. Upgrade ALC5680 DSP f/w through TFTP

If we connect to the AP router the upgrade procedure will start.

Erasing the flash firstly. It will take several seconds.

Upgrading DSP f/w:

Checking CRC:

Page 30: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

29

Ver1.0

Process done:

5.5. Verify the voice trigger and lineout function

Run the i2s_alc5680_voice_recognition peripheral example to verify the function.

Please notice that the AM8711 don’t have led response action, the led control pin is for AM8195.

1) Say the Wake word, you will see the led flashing and print the voice IRQ log.

2) If you want to hear the voice from line out, you need to plug the earphone or speaker to phone jack.

6. Patch DuerOS to Ameba SDK

6.1. Download Ameba SDK

You can download the newest ameba SDK sdk-ameba-v4.0a_without_NDA.zip from the following URL:

Page 31: Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development … ALC… · 04-07-2017  · Ameba RTL8195AM+ALC5680 Smart Voice 2-Mic Development Kit User Guide for Baidu DuerOS Ver1.0 Realtek

30

Ver1.0

https://www.amebaiot.com.cn/ameba-sdk-download/

6.2. Download DuerOS Patch

You can download the DuerOS patch 4.0a_patch_dueros(v01).zip from the following URL:

https://www.amebaiot.com.cn/ameba-sdk-faq/

6.3. Patch DuerOS to SDK

Unzip sdk-ameba-v4.0a_without_NDA.zip and 4.0a_patch_dueros(v01).zip, and copy all the files under

the 4.0a_patch_dueros(v01) directory to the sdk-ameba-v4.0a_without_NDA directory.

Open the IAR project, sdk-ameba-v4.0a_without_NDA\project\realtek_ameba1_va0_example\

EWARM-RELEASE\Project.eww, then build and download the image to Ameba1 as described in

Chapter 4.

Detailed description, you can refer to the document UM0150 Realtek Ameba dueros user guide.cn.pdf of

the 4.0a_patch_dueros(v01) directory.