RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Version 1.0 April ’10 Redpine Signals, Inc. 2107 N. First Street, #680 San Jose, CA 95131. Tel: (408) 748-3385 Fax: (408) 705-2019 Email: info@redpinesignals.com Website: www.redpinesignals.com Redpine Signals, Inc.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Overview The Wi-Fi I/O Companion Card for the R8C/25 has Redpine Signals’ Connectio-n™ module, RS9110-N-11-22, mounted. It is a complete IEEE 802.11bgn based wireless device server that directly provides a wireless interface to any equipment with a serial or SPI interface for data transfer.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Table of Contents 1: Introduction ......................................................................... 5 1.1: Scope ....................................................................................... 6 1.2: Limitations............................................................................... 6 2: System Overview .................................................................
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Table of Figures Figure 1: Connect-io-n (RS9110-N-11-22) Software Architecture ................ 7 Figure 2: Test setup for TCP/IP Evaluation ................................................ 10 Figure 3: R8C/25 Board with Wi-Fi Companion Card and LCD module mounted.....................................................................................................
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 1: Introduction This User Guide takes the user through the process of setting up the demo of the RS-R8C25-2200 Wi-Fi Starter Kit.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 i. Applications – this folder contains the Demo application. The application has been explained in this document. ii. R8C25_SW_App – this folder contains the application software for the R8C/25 for the demo. It has sample source code on how to program the Companion Card using the API Library b. Lib – this folder contains the API Library files c.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 2: System Overview The following diagram depicts the software architecture of the Connect-ion 1 module, RS9110-N-11-22, used in the Ultra Low Power Wi-Fi Starter Kit for Renesas Electronics’ MCUs. Renesas Host Controller (HOST) Application UART/SPI Driver UART/SPI UART/SPI Host Abstraction Layer SLIP Wireless Control Block Station Managment Entity TCP/IP WPA/WPA-2 802.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 As shown in the figure above, the Connect-io-n module is integrated with the Host using either UART or SPI interfaces 2 . The transmission and reception of the data to/from the Host depends on the interface used to connect the module as briefed below. UART mode: The Host transmits/receives raw data using UART interface when Connectio-n is configured for UART mode.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 3: Getting Started The system requirements for this demo are as follows: 1. RS-R8C25-2200 Wi-Fi Starter Kit 2. Laptop with Windows™ 2000/XP/Vista WLAN interface enabled JRE 1.6.0 installed – you might require administrator privileges to install this if it’s not already installed. 3.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Laptop/PC (Peer) R8C/25 + WiFi I/O Companion Card Access Point Figure 2: Test setup for TCP/IP Evaluation 3.3.1: Evaluation Procedure The demo can be executed in two ways – auto connect and manual modes. The auto connect mode involves just mounting the Wi-Fi Companion Card on the R8C/25 Board and powering it on.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 RS9110-N-11-22 Module R8C/25 MCU Board Wi-Fi Companion Card LCD Display Module JA1 Header of the R8C/25 MCU Board Figure 3: R8C/25 Board with Wi-Fi Companion Card and LCD module mounted 3.3.1.1: Auto Connect Mode 1. Power on the R8C/25 Board. The Power LED glows first. Next, the Companion Card boots up and connects to an Open Access Point with the strongest signal strength.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Power LED LED 0 LED 1 LED 2 App LED Figure 4: R8C/25 MCU Board and the LEDs 2. If the connection to the Access Point is successful, connect the Laptop to the same Access Point over WLAN or using an Ethernet cable. 3. Double-click on the R8CGUI.jar file present in the Software>Demo->Applications folder. A window opens, as shown here.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Figure 5: Demo Application 4. Clicking on the positions of LED 0, LED 1 and LED 2 on the Demo Application on the Laptop toggles the corresponding LEDs on the MCU Board. 5. Clicking on the “Disconnect” button on the Demo Application disconnects the socket-level communications between the Application and the MCU. This is signalled by the App LED not glowing.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Figure 6: Navigate to the RSR8C252200DEMO Workspace 3. The High Performance Embedded Workshop (HEW) starts. Click “Yes” if a dialog box is shown. The display looks like the image below: Redpine Signals, Inc.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Figure 7: HEW Workspace 4. On the left hand panel, double-click on the network_config.h file. This file contains the configuration parameters for the network connection over WLAN. Redpine Signals, Inc.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Figure 8: Contents of the network_config.h file 5. Modify this file to change the value assigned to “AUTO_CONNECT_OPEN_AP” as “DISABLE”. Next, enter the appropriate values for SSID, PSK, DHCP, IP_ADDRESS, SUBNET_MASK and GATEWAY_ADDRESS, according to the settings in the Access Point to which you want to connect. 6. Click File->Save All and then click on Build->Build All.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 1 2 3 Figure 9: Debug Settings 7. Click on the file with file under “Download Modules” and then click on Modify. In the dialog box that opens, click on browse and navigate to the Software->Demo->R8C25_App_SW>RSR8C252200DEMO-> RSR8C252200DEMO->release folder and select the “RSR8C252200DEMO.x30” file. Click the Select and OK buttons to close all dialog boxes. 8. Click Debug->Connect.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 You have successfully modified the configuration parameters of the Starter Kit to connect to the Access Point of your choice. Please refer to the documentation included in the CD for more details on the usage of the Kit with an Access Point and also on how to write your own applications using the API Library provided as part of the Kit. 3.3.1.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 the Starter Kit to connect to it by double-clicking on any of the other SSIDs. The following screen appears. Figure 11: Wireless Reconfiguration 4. Enter the details of the Access Point to which you want to Starter Kit to connect, including the SSID, Pre-Shared Key, DHCP (Enable/Disable), Device IP Address, Laptop/PC IP Address and the Gateway Address. 5.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 4: Components on the Companion Card and their Usage The Wi-Fi I/O Companion Card has switches to enable the user to configure it for different scenarios. The figure below shows the various components.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 5: Contact and Support Information For online technical support and information, please visit www.redpinesignals.com/Wi-Fi-Kit-R8 Technical Support: support.renesas.kits@redpinesignals.com Sales: sales@redpinesignals.com Redpine Signals, Inc.
RS-R8C25-2200 – Ultra Low Power Wi-Fi Starter Kit for R8C/25 User Guide for Wi-Fi I/O Companion Card with R8C/25 Document History: Rev. Ver. No. Date Changes 1. 1.0 April 2010 Initial version ***** Redpine Signals, Inc.