Page 1
All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corp. without notice. Please review the latest information published by Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
Page 2
Renesas or its affiliates be liable for any other direct or indirect special, incidental or consequential damages arising out of or in relation to the use of this RDK, even if Renesas or its affiliates have been advised of the possibility of such damages.
This document may be, wholly or partially, subject to change without notice. All rights reserved. The RDK design, documentation, and demo software are intended to improve understanding and time-to-market for RL78-based designs. Duplication of the design, documentation, and demonstration software is encouraged.
Chapter 2. Purpose This RDK is an evaluation and demonstration tool for Renesas RL78 low-power microcontrollers. The goal is to provide the user with a powerful debug and demonstration platform targeted at common applications. A set of human/machine interfaces are tightly integrated with the features of the RL78 and the software demonstration programs providing the user with an accessible platform to rapidly evaluate and customize.
Page 7
Digital Sensors • 3 – Axis Accelerometer • Temperature Sensor • Ambient Light Sensor Power Control • FET Circuit for DC output • TRIAC Circuit for AC output User Code and Application Debugging • On-board debugger for high-quality source code debugging (TK interface) •...
Page 8
Renesas Online The Renesas RDK online experience is complemented by the online Renesas ecosystem. • Renesas Interactive: www.RenesasInteractive.com o Free Online Learning • Renesas Rulz: www.RenesasRulz.com o Online community o Online user forums http://www.renesasrulz.com/community/demoboards/rdkrl78g13 - Online support site for this RDK •...
3.2. Power–Up Behavior When the RDK is purchased it has the Theremin Demo pre-programmed into the Renesas microcontroller. The code exercises the user LCD, Speaker and Accelerometer on the RDK. The LCD powers up with X and Y axis lines on the LCD.
4.2. Board Dimensions The following diagram gives the board dimensions (5.1”x5.1”) and connector locations. All through hole connectors are on a common 0.1” grid for easy interfacing. Figure 4-2: Board Dimensions...
SWITCH 3 Connects to an interrupt line for user controls. INTP2, P51 (pin 34) RESET When pressed, the RL78 is reset. /RESET , (pin 6) Table 6-1: Switch Functions 6.2.Debug LCD Module A debug LCD module is supplied on the RDK. The debug LCD module uses an SPI interface to reduce the pin allocation.
Table 6-3: LEDs 6.4. Serial EPROM A Renesas serial EPROM is provided for user non-volatile storage. This part, R1EX24512ASAAS0A, is 512KB and is accessed by the I2C Bus (IICA0) with the following address with 17 bits: I2C Address: 0xA0 (1010aaxr)
The Serial module allows the MCU to communicate to a Host PC through the RS-232 connector, J14, using UART0 on the RL78. The serial port is configured in DCE mode allowing direct connection to a PC without a Null modem. The serial module can also be used as a serial debug port.
RDK. The IR emitter is designed to use the burst capabilities of the RL78 Clock/Buzzer Output (PCLBUZ0) and is output on CPU pin 64. The IR detector can be used with either the TI03 or INTP4 interfaces on the RL78 to detect IR bursts on CPU pin 21.
J2-3&4. The power to the MOSFET is supplied from external source from header J2-1&2 (ground or negative) to J2-5&6 (positive, up to 60V max). The MOSFET will switch the load ON or OFF by PWM waveform output from the RL78 timer channel TO05 on CPU pin 31.
6.15. Reset Circuit The RDK includes a user reset pushbutton switch which is connected to the internal reset circuit on the RX62N (RES#) and reset input on the Segger J-Link Debugger (TRESin). The RX62N (RES#) can also be reset by the debugger (TRESout).
• OFF sets the USB connection (J16) as a virtual communication port. TK MUX Disable (SW5.2) • ON disables the TK debugger and puts the RL78 in normal operation. • OFF enables the TK debugger and puts the RL78 in debug operation.
Should the TK debugger become inoperable – it will need to be returned to Renesas for repair. Note: SW5 must be set to debug mode to program the RL78. Please refer to the Mode Switch chapter for how to configure the RDK for programming.
The application header J6 can be fitted with a WIFI module. These devices can be accessed UART2 or the SPI bus (CSI10) using chip select P73 (pin 26) on the RL78. WIFI interrupt requests can be received on INTP8 (pin 25) on the RL78.
9.3. Expansion Headers Table 9-2 and Table 9-3 show the controller pin headers and their corresponding microcontroller connections. The header pins connect directly to the MCU pin. Note that the J17/J18 header numbers match the MCU pin numbers. J17 Pin MCU Pin RDK Function (MCU Port) J17 Pin...
Page 24
J18 Pin MCU Pin RDK Function (MCU Port) J18 Pin MCU Pin RDK Function (MCU Port) Infrared Output (P140) Ambient Light Sensor INT (P141) PMOD PIN10 (P00) Audio Generator PWM (P01) SPI Bus MOSI (P02) SPI Bus MISO (P03) SPI Bus SCK (P04) Peripheral Reset (P130) Not Used (P20) Not Used (P21)
Chapter 10.Code Development 10.1. Overview Note: For all code debugging using RL78 IAR software tools, the CPU board must be connected to a PC USB port via the on-board TK interface and debugger. Due to the continuous process of improvements undertaken by Renesas and IAR, the user is recommended to review the information provided on the Renesas website at http://www.renesas.com/RL78...
Chapter 12. Additional Information 12.1. Hardware Partner Information Hardware partners played an integral role in the definition, development, and deployment of this RDK. Without their numerous contributions, this project would not have been possible. Contributors include National Semiconductor for their LM4808 and LM4889 audio amplifiers. Analog Devices supplied the ADXL345 3-Axis Accelerometer, SSM2167 microphone preamplifier and ADMP401 digital microphone as well as the ADT7420 temp sensor and ADM3101E RS-232 line driver / receiver.
For details on how to use High-performance Embedded Workshop (HEW), refer to the HEW manual available on the web site. For information about the RL78 series microcontrollers refer to the RL78 Family hardware manual. For information about the RL78 assembly language, refer to the RL78 Family Software Manual.
Need help?
Do you have a question about the RL78 and is the answer not in the manual?
Questions and answers