Renesas RX671 Manual
Hide thumbs Also See for RX671:
Table of Contents

Advertisement

Quick Links

RX671 Group
Voice Recognition, Touch and Cloud Solution Using Renesas Starter Kit+ for
RX671
Introduction
The Renesas Starter Kit+ for RX671 is the best kit for developing IoT applications equipped with Voice
recognition, Capacitive Touch Interface.
This application note shows an HMI solution that realizes voice recognition, touch function, and LCD by
PMOD-LCD module using the Renesas Starter Kit+ for RX671. And also introduces an Amazon Web
Services (hereinafter referred to as AWS) cloud solution using the PMOD-Wi-Fi module (sold separately).
An executable file (trial version) that can be downloaded and experienced on the Renesas Starter Kit+ for
RX671 is attached to this application note. There are two trial versions, AmiVoice® version and Voice
Trigger version.
The trial versions of AmiVoice® and Voice Trigger can run for only 5 minutes after a
reset. Please reset every 5 minutes.
If you would like to obtain the sample source code, please contact Renesas dealer or Renesas sales
representative.
The demo software described in this application note is configured using the following libraries.
Voice recognition 1: Voice recognition middleware AmiVoice®, hereinafter referred to as "AmiVoice®".
Voice recognition 2: Voice recognition middleware Voice Trigger, hereinafter referred to as "Voice
Trigger".
Noise reduction: "Zoom Voice Software", hereinafter referred to as "Zoom Voice".
OS: Amazon FreeRTOS (202012.00), hereinafter referred to as "FreeRTOS".
Target Device
RX671 Group
Operation Check Tool
Renesas Starter Kit+ for RX671
R01AN6010EJ0100 Rev.1.00
Aug.31.21
Application Note
Page 1 of 31

Advertisement

Table of Contents
loading

Summary of Contents for Renesas RX671

  • Page 1 Voice Recognition, Touch and Cloud Solution Using Renesas Starter Kit+ for RX671 Introduction The Renesas Starter Kit+ for RX671 is the best kit for developing IoT applications equipped with Voice recognition, Capacitive Touch Interface. This application note shows an HMI solution that realizes voice recognition, touch function, and LCD by PMOD-LCD module using the Renesas Starter Kit+ for RX671.
  • Page 2: Table Of Contents

    Setting for Certification (Cloud version only) ..................12 Starting the Demo for Standalone Version ................16 Renesas Starter Kit+ for RX671 Power On to Voice Command Standby Screen ........ 16 Selecting the Language Mode of Renesas Starter Kit+ for RX671 ............17 4.2.1...
  • Page 3 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 Operating Procedure of the shadow ...................... 23 Data Confirmation by AWS ........................25 Confirmed Conditions of the Operation .................. 26 Confirmed Conditions of the Operation ....................26 Software ..........................
  • Page 4: Overview Of The System

    1.2.1 Voice and Touch Interface (Standalone Version) This demo works with the Renesas Starter Kit+ for RX671 and an LCD module. You can operate the remote control by voice or touch. You can also check the CPU resource usage. No Wi-Fi module is required as it does not connect to the cloud.
  • Page 5: Hardware Preparation

    In the cloud version, all of Table 2.1 Hardware List (1) to (6) are used. In the cloud version, it is necessary to modify the Renesas Starter Kit+ for RX671. Please refer to "2.2 About Renesas Starter Kit Board Modification (cloud version only)" for the modification method.
  • Page 6: About Renesas Starter Kit Board Modification (Cloud Version Only)

    2.2 About Renesas Starter Kit Board Modification (cloud version only) In the cloud version, it is necessary to modify the Renesas Starter Kit+ for RX671 board to connect the Wi-Fi module to PMOD2. The Wi-Fi module cannot be connected to PMOD2 in the initial state at the time of product shipment.
  • Page 7: Board Modification Points

    IO0_CS0_IN PMOD2.1 IO0_CS0_INT0 Note: The table above is from Renesas Starter Kit + for RX671 User's Manual Table 6 21: PMOD2 Option Link (1). Blue letters indicate the initial state at the time of shipment. R01AN6010EJ0100 Rev.1.00 Page 7 of 31...
  • Page 8: Mounting Locations

    The mounting locations of each component are shown below. Figure 2-1 List of Mounting Locations (1/2) Figure 2-2 List of Mounting Locations (2/2) Note: The figure above is from Renesas Starter Kit+ for RX671 User's Manual 3.3 Parts Layout R01AN6010EJ0100 Rev.1.00 Page 8 of 31...
  • Page 9: Board Connection

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 2.3 Board Connection Shows the connection form of the board. Figure 2-3 is a photo of the board connection when using the cloud version. Blue indicates connections and components used for both the standalone and cloud versions, and yellow indicates connections and components used only for the cloud version.
  • Page 10: Software Preparation

    Voice Trigger 3.2 Programming the Selected Programs to RX671 Write the mot file via E2 emulator Lite using the Renesas Flash Programmer (hereinafter referred to as RFP). The RFP version is V3.08.03. In the RFP, select File ➡ New Project Figure 3-1 Create a New Project Select RX67x for the microcontroller.
  • Page 11 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 demo program name Figure 3-4 Starting the Programming When the Authentication Code confirmation screen appears, just click OK. Figure 3-5 Certification Code Registration If OK is displayed, programming is complete.
  • Page 12: Preparation Of Aws (Cloud Version Only)

    1. Put Renesas Starter Kit+ for RX671 in certification information setting mode. By resetting (power on) the Renesas Starter Kit+ for RX671 while pressing SW1, you will be in the mode to set new certification information. When the certification information setting mode is entered, the following character string is displayed in Tera Term and the status is waiting for command input.
  • Page 13 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 3. Enter the password of the access point to connect to. Enter “codeflash write wifipass <Wi-Fi PASSWORD>” and press the enter key to set the Wi-Fi password information.
  • Page 14 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 7. Enter the thing name. Enter “codedataflash write aws iotthingname <iot_thing_name>” and press enter to set the thing name information. <iot_thing_name> describes the name of the thing created in "4.1 AWS Preparation".
  • Page 15 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 This demo program operates with the code flash memory operating mode as dual mode. As shown in the figure, the certification information setting data are stored in the bank area that is not the execution side of the code flash.
  • Page 16: Starting The Demo For Standalone Version

    4.1 Renesas Starter Kit+ for RX671 Power on to Voice Command Standby Screen When the power of the Renesas Starter Kit+ for RX671 is turned on, the RX logo mark and the features of the RX671 are displayed on the LCD panel for about 2 seconds. When the display ends, the demo program starts and the screen changes to the voice command standby screen.
  • Page 17: Selecting The Language Mode Of Renesas Starter Kit+ For Rx671

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 4.2 Selecting the Language Mode of Renesas Starter Kit+ for RX671 You can switch the recognized language by pressing SW3. Each time you press SW3, Japanese and English alternate.
  • Page 18: Possible Functions On The Standby Screen After The Board Is Turned On

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 4.3 Possible Functions on the Standby Screen After the Board is Turned On After recognizing the voice command "Power on", the air conditioner mode demo will start.
  • Page 19: Switching Between Heating And Cooling

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 4.4.2 Switching Between Heating and Cooling You can switch between heating mode and cooling mode only by voice command. Speaking "Heating mode" will switch to heating mode and speaking "Air conditioning mode" will switch to cooling mode.
  • Page 20: Parameter Setting Function Of Voice Recognition Engine

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 4.5 Parameter Setting Function of Voice Recognition Engine You can switch the parameters of the voice recognition engine during the demo. 4.5.1 Types of Parameters that can be Set The parameters that can be set with the parameter setting function and the explanation of the parameters are as follows.
  • Page 21: How To Start Parameter Setting Screen

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 4.5.2 How to Start Parameter Setting Screen Press and hold button 2 on the touch panel (for about 3 seconds) to display the parameter setting screen.
  • Page 22: Starting The Demo For Cloud Version

    RX671 board. Keep pressing the switch for about 1 second after turning on the power. When you turn on the power of the Renesas Starter Kit+ for RX671 board while pressing SW1, the demo will start in the certification information setting mode as described in "3.4 Setting for Certification (Cloud version only)".
  • Page 23: Device Properties

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 5.3 Device Properties The table below lists the device properties used by the demo. Table 5-1 Device Properties Property Status Operation “LCDControl” “LCD_ON” Power on the PMOD-LCD “LCD_OFF”...
  • Page 24 Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 Figure 5-4 Publish to Topic 4. Click Publish and confirm that the PMOD-LCD module connected to the Renesas Starter Kit+ for RX671 is in A/C mode (displayed in blue) and the set temperature is 25°C.
  • Page 25: Data Confirmation By Aws

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 5.5 Data Confirmation by AWS Here is how to check the data uploaded to AWS. Go to AWS Services → All Services → IoT → IoT Core and go to Things.
  • Page 26: Confirmed Conditions Of The Operation

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 6. Confirmed Conditions of the Operation 6.1 Confirmed Conditions of the Operation The sample code of this application has been confirmed to work under the conditions shown in Table...
  • Page 27 RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 6.2 Memory Size The ROM size used in this sample code is shown in Table 6.2, and the RAM size is shown in Table 6.3. (At optimization level 2) Table 6.2 ROM Size...
  • Page 28: Software

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 7. Software 7.1 Software Hierarchy Figure 7-1 shows the DEMO software hierarchy of this application note. AWS & Authentication & Wi-Fi Voice recognition LCD control other...
  • Page 29: Reference Documents

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 8. Reference Documents User’s Manual: Hardware RX671 Group User’s Manual: Hardware R01UH0899EJ0100 (Get the latest version from the Renesas Electronics website.) User’s Manual: Renesas Starter Kit+...
  • Page 30: Notice For Board Modification

    Modifications require the removal of multiple chip resistors. In this chapter, if you want to avoid modifying the board of Renesas Starter Kit+ for RX671 as much as possible, we will show you how to operate this demo by connecting several aerial wires and removing one chip resistor.
  • Page 31: Revision History

    RX671 Group Voice recognition, Touch and Cloud solution using Renesas Starter Kit+ for RX671 Revision History Description Rev. Date Page Summary 1.00 2021/8/31 First edition issued R01AN6010EJ0100 Rev.1.00 Page 31 of 31 Aug.31.21...
  • Page 32 Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 33 Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.

Table of Contents