Home
Renesas Demo Kit (RDK) for SH2A-7216
Contents
1. nnne 38 Chapter 1 Preface Cautions 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 Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organizations Copyright 2012 Renesas Electronics America Inc All rights reserved 2012 Renesas Electronics Corporation All rights reserved 2012 Renesas Solutions Corporation All rights reserved 2012 Renesas Electronics Europe All rights reserved Website http www renesas com Glossary ADC Analog to Digital Converter MCU CPU Central Processing Unit NC DAC Digital to Analog Converter PC EMC Electromagnetic compatibility PMOD ESD Electrostatic Discharge RAM 10 Input Output ROM LCD Liquid Crystal Display RDK LED Light Emitting Diode SDRAM Microcontroller Unit No Connection Program Counter Peripheral Module Random Access Memory Read Only Memory Renesas Demonstration Kit Synchronous Dynamic Random Access Memory 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 tar
2. J1Pin MCU Pin RDK Function MCU Port 1 MCU Pin RDK Function MCU Port 1 1 SD CS P142 2 2 ALS IRQ P141 3 3 IR OUTPUT P140 4 4 Unused P120 5 5 PMOD IRQB P47 6 6 PMOD IRQA P46 7 GLED4 P45 8 8 GLED3 44 9 9 GLED2 P43 10 10 GLED1 42 11 11 ORLED P410 12 12 TK TOOLO P40 13 13 RESETn inputto RL78 14 14 32 768KHz XTAL2 P124 15 15 32 768KHz XTAL1 P123 16 16 ZERO X P137 17 17 12MHz XTAL2 P122 18 18 12MHz XTALI P121 19 19 REGC 20 20 Ground 21 21 Ground 22 22 3 3V 23 23 3 3V 24 24 P60 25 25 P61 Table 9 3 J 1 Expansion Header J4Pin MCU Pin RDK Function MCU Port J 4 Pin MCU Pin RDK Function MCU Port 26 26 RLED1 P62 27 27 RLED2 P63 28 28 IR INPUT P31 29 29 RLED3 P64 30 30 RLED4 P65 31 31 RLED5 P66 32 32 RLED6 P67 33 33 WIFI SPI IRQ P77 34 34 SWITCHI P76 35 35 SWITCH3 P75 36 36 SWITCH2 P74 37 37 WIFI WAKE P73 38 38 MOSI P72 39 39 MISO P71 40 40 SCK P70 41 41 SPK SHDNn P06 42 42 AMP SHDNn 05 43 43 Ground 44 44 EINK CS 80 45 45 EINK TP HIGH P81 46 46 PMOD1 CS P82 47 47 PMOD2 CS 83 48 48 APP WIFI CS P84 49 49 APP WIFI PWROFF P85 50 50 EINK CLR P 86 Table 9 4 J 4 Expansion Header 24 J1Pin MCU Pin RDK Function MCU Port J1 Pin M
3. LENESAS D 77 0 gt I Renesas Demonstration Kit RDK for RL78 User s Manual Hardware RENESAS MCU RL78 Family Release 2 0 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 website http www renesas com Disclaimer By using this Renesas Demonstration Kit the user accepts the following terms The is not guaranteed to be error free and the User assumes the entire risk as to the results and performance of the RDK The RDK is provided by Renesas on an as is basis without warranty of any kind whether express or implied including but not limited to the implied warranties of satisfactory quality fitness fora particular purpose title and non infringement of intellectual property rights with regard to the Renesas expressly disclaims all such warranties Renesas or its affiliates shall in no event be liable for any loss of profit loss of data loss of contract loss of business damage to reputation or goodwill any economic loss any reprogramming or recall costs whether the foregoing losses are direct or indirect nor shall Renesas orits affiliates be liab
4. 16 Sen RESISTOR WILL NEED TO 1 2 ADJUSTED FOR VOLTAGE BEING SWITCHED 2 3 8 ZERO X lt lt CON3 MTA100 12 3 8 TRIAC PWM 12 9 000 AN 1 T4 Terminal 2 T2 Terminal N 3 Gate Terminal 4 T2 Terminal Note DO NOT USE LINE VOLTAGE For safety an isolation transformer is required 6 16 FET Q2 Renesas N channel power switching MOSFET part number RQKD609CQDQS 07 with low on resistance Rds ON 78mOHM typ is included on the The MOSFET will switch a load ON OFF connected between header J 5 5 amp 6 and 5 364 The power to the MOSFET is supplied from external source from header 5 1 amp 2 ground or negative to J 5 5 amp 6 positive up to 60V max The MOSFET will switch the load ON or OFF by PWM waveform output from the RL 78 timer channel TRDIOD1 on CPU 68 LED1 will Turn ON when the MOSFET is ON A schottky flywheel diode which matches with the MOSFET ratings 2A at 60V is added to catch flyback currents when using inductive loads such as small motors The below is an example of connection diagram when external motor or lamp is connected to the MOSFET Using PWM can vary the motor speed 6 17 Oscillator Sources All crystals are provided by NDK The RDK supplies the RL78 with an external main system clock crystal unit X1 part number NX3225GA and subsystem clock crystal unit X2 partnumberNX3215SA The TK debugger has a USB clock crystal unit X3 par
5. TV technician for help NOTE It is recommended that wherever possible shielded interface cables are used The product is potentially susceptible to certain EMC phenomena To mitigate against them it is recommended that the following measures be undertaken e The user is advised that mobile phones should not be used within 10m of the product when in use e The user is advised to take ESD precautions when handling the equipment The Renesas Demonstration Kit does not represent an ideal reference design for an end product and does not fulfill the regulatory standards for an end product Table of Contents Miu les slu DE EE E quila asia 1 Chapter 2 PUIDOSB stes POR ERE aren rer een 2 OMADIGCO POWENKSOUDpI sao A KA IA AI DATA ALO PA 5 3 1 1210 PIT ER T T 5 9 2 PowerUp BONO ei eei iiia 5 Chapter 4 Board lee 6 4 1 Component Layoul 6 4 2 Board DIAS 7 Chapter 5 Block nnn n nnns 8 Chapter 6 User Circuitry ra a OE SN EN alia ahnen 10 uke ep e 10 6 2 10 6 9 Enk Display sesiis aa a a ee 11 AMES TIE TE TT rTTE TT TTE TT TTT TT TTT TT 13 6 5 GainSpan WiFi Module U16 AA a 14 6 6 Seri
6. 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 to check for the latest tool updates and manuals 26 10 2 Special function register SFR 256 bytes FFFOOH FFEFFH General purpose register FFEEOH FFEDFH FEFOOH FEEFFH Mirror same data as OE700H to OEEFFH Data flash memory F2000H F1000H FOFFFH FosooH FO7FFH Special function register 2nd SFR 2KB FOOOOH EFFFFH For example 0E789H is mirrored to FE789H Data can therefore be read by MOV IE789H instead of MOV ES 00H and MOV A ES IE789H Reserved 10000H oFFFFH Code flash memory OEFOOH 0 Code flash memory 00000H Table 10 1 Memory Map 27 Chapter 11 Component Placement Table 11 1 Component Placement Front view 28 Chapter 12 Additional Information 12 1 Hardware Partner Information Hardware partners played an integral role in the definition development and deployment of this Without their numerous contributions this project would not have been possible Contributors include Analog Devices supplied the ADXL345 3 Axis Accelerometer SSM2167 microphone preamplifier and ADMP 401 digital microphone as well as the ADT75 temp sensor and ADM3101E RS 232 line dri
7. define the very best in the quality of the user experience That means the clearest image crispest sound and optimum interface size and performance in thousands of consumer medical communications industrial and other applications ANALOG MAK ADIFFERENCE www analog com DEVICES 30 Analog Devices Products Featured the Renesas Demonstration Kit ADXL345 Low Power 3 Axis Digital iMEMS Accelerometer 2 9 40 8 g and 16 g ranges e Ultralow power From 30 to 140 pA in full measurement mode 0 1 in standby mode at VS 2 5 V typ e Supply Voltage 2 0 V to 3 6 V e 10 bit to 13 bit 4mg resolution SPI and digital interfaces e Temp range 40 C to 85 C e 3 mm x 5 mm x 1 mm LGA package ADMP401 Analog Output Omni Directional 5 Microphone SNR 62 dBA e Flat Frequency Response 100 Hz to 15 kHz PSRR 70 dBV e Sensitivity 42 dBV Current Consumption lt 250 e 4 72 mm x 3 76 mm x 1 00 mm SMT package SSM2167 Low Power Microphone Preamp Low shutdown current lt 2 Adjustable compression ratio and noise gate threshold Low noise and distortion 0 2 THD N e 20 kHz bandwidth e Single 3 V operation ADT7420 High Accuracy 16 Bit Digital Temp Sensor e 0 25 C temp accuracy from 20 to 105 C e 2C compatible interface e Supply voltages 2 7 V to 5 5 V e Operating temperature 40 C to 150 C LFCSP package ADM3101 15 kV ESD Prote
8. level shifter IC 74AHCT540 connected to the RL78G14 GPIO bits a LLL Refer to the RDK schematic for specific details on the operation ofthe E Ink Display interface circuitry orto the E Ink website at www eink com for details on the display technology The icon mapping is illustrated in the diagram below and detailed in Table 6 3 eum Ink Display Icon Mapping Icon Description RL78G14 Pin RL78G14 Port 1 Field Background 45 P81 2 Battery 50 P86 3 PWR Indicator 51 P87 4 E Ink Logo 44 P80 5 Clock 74 P147 6 Unused N A N A 7 Sleep Mode Moon 78 P154 8 Stop Hand 79 P153 N A Top Plane 67 P12 12 Table 6 3 E Ink Display Icon Mapping 6 4 LEDS There are seventeen LEDs on the RL78 board The green 5 LED17 and 3V LED16 LEDs are ON automatically when the board is powered There are thirteen user LEDs see table 6 3 that are connected to 10 ports and will light when their corresponding port pin is setlow Table 6 4 below shows the LED functions and for the user LEDs pin references and their corresponding microcontroller port pin connections Circuit Net Name Function Color RL78 LED1 FET PWM User Controlled FET Activity Green P11 pin 68 LED2 TRIAC PWM User Control TRIAC Activity Green 10 pin 69 LED3 RLED1 User Controlled Red 62 pin 26 LED4
9. module Refer to Section 7 for details on the switch function Refer to the GainSpan website www gainspan com for specific details on the function of the module and the datasheet Pin Circuit Net Name RL78 Pin Circuit Net Name RL78 1 Ground 19 Ground 2 WIFI SPI IRQ GPIO28 INTP11 pin 33 20 Switched 3 3V VDDIO 3 N C GP1031 21 WI FI NOTIFY GPIO19 P120 pin 4 4 NIC ADC1 22 WIFI PWMOUT PWMO P151 pin 81 5 WIFI SPI MOSI 5031 pin 56 23 GPIO9 6 WIFI SPI CS P55 pin 59 24 GPIO8 7 WIFI SPI CLK SCK31 pin 58 25 WIFI MODE GPIO26 P56 pin 60 8 WIFI SPI MISO 5131 pin 57 26 WIFI PGM GPIO27 P57 pin 61 9 WIFI WAKE 73 pin 37 27 NIC GPIO3 10 VBAT 28 NIC GPIO2 11 N C ALARM2 29 WIFI RXD UARTO TX RXD3 pin100 12 Power Ctrl DC DC CTRL 30 WIFI TXD UARTO RX TXD3 pin99 13 GPIO21 31 GPIO24 14 MSPI CS EEPROM 32 GPIO25 15 MSPI CLK EEPROM 33 RSTOUTn EXT_RESETn 130 pin 90 16 N C EEPROM 34 1V8 17 MSPI DIN EEPROM 35 WIFIVIN VIN 3V3 18 MSPI DOUT EEPROM 36 Ground 14 Table 6 5 GainSpan Module Connections U16 6 6 Serial EPROM U2 A Renesas serial EPROM is provided for user non volatile storage This part RIEX24512AS AASQA is 512KB and is accessed by the I2C Bus IICAO with the following address
10. with 17 bits I2C Address 1010 A2 Al I2C address x 16 of memory address r R W Read Write 6 7 MicroSD Memory Card Slot J9 A MicroSD memory card slot is provided for file system data storage This is accessed on the SPI bus 5110 using chip select P142 pin 1 on the RL78 6 8 Audio Audio Out Mic Speaker Volume Potentiometer An amplified stereo headphone audio output jack is provided and connected to the timer circuit 002 is used for Right audio channel and comes outon RL78 pin 62 TOOL is used for the Left audio channel and comes outon RL78 pin 63 The headphone amp U7 is an ON Semi NCP 2811 and may be disabled by setting 04 pin 93 low The on board speaker is powered by a SCM2377 U8 audio power amplifier with gain control via P 102 pin 92 and can be disabled by setting 06 pin 41 low An on board Analog Devices Inc ADI Silicon microphone ADMP401 U10 is connected to the ADC channel ANI5 pin 25 using an ADI SSM2167 U9 low voltage Microphone preamplifier that may be disabled by setting 05 pin 42 low 6 9 Serial port U14 J13 The Serial module allows the MCU to communicate to a Host PC through the RS 232 connector 13 using UART1 on the RL78 The serial portis configured in DCE mode allowing direct connection to a PC withouta Null modem The serial module can also be used as a serial debug port Table 6 6 contains details of the specific pin functions and thei
11. CU Pin RDK Function MCU Port 51 51 Unused 87 52 52 APP WIFI IRQ P30 53 53 3 3V 54 54 LIN RXD P50 55 55 LIN TXD P51 56 56 WIFI SPI MOSI P52 57 57 WIFI SPI MISO 53 58 58 WIFI SPI CLK 54 59 59 WIFI SPI CS P55 60 60 WIFI MODE 56 61 61 WIFI PGM P57 62 62 PWMAUD R P17 63 63 PWMAUD L P16 64 64 PMODI SCK P15 65 65 PMODI MISO 14 66 66 PMOD1 MOSI P13 67 67 Unused 12 68 68 FET PWM P11 69 69 TRIAC PWM P10 70 70 GLED6 P101 11 11 9 110 72 72 PMOD PIN10 P111 13 73 LCD RS P 146 14 14 Unused P147 15 15 LINNSLP 100 Table 9 5 J 3 Expansion Header J2Pin MCU Pin RDK Function MCU Port J2Pin MCU Pin RDK Function MCU Port 16 16 APP WIFI GP10 26 P156 71 71 APP WIFI GPIO25 P155 78 78 Unused 154 79 79 Unused P153 80 80 GLED5 P152 81 81 WIFI PWMOUT P151 82 82 VRES P150 83 83 PWMLP IN P27 84 84 AUD R FB P26 85 85 MIC INPUT P25 86 86 Unused P24 87 87 DACAUD R P23 88 88 DACAUD L P22 89 89 Unused P21 90 90 Unused 20 91 91 EXTRST P130 92 92 SPK GAIN P102 93 93 HEADPH SDn P04 94 94 DB9 RXD P03 95 95 DB9 TXD P02 96 96 PWMLP OUT 01 97 97 BL ENA P00 98 98 LCD CS P145 99 99 WIFI TXD P144 100 100 WIFI RXD P143 Table 9 6 J 2 Expansion Header 25 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
12. GLED User Controlled Green 42 pin 10 LED5 RLED2 User Controlled Red 63 27 LED6 GLED2 User Controlled Green P43 pin 9 LED7 RLED3 User Controlled Red 64 29 LED8 GLED3 User Controlled Green 44 pin 8 LED9 RLED4 User Controlled Red 65 pin 30 LED10 GLED4 User Controlled Green 45 pin 7 LED11 RLED5 User Controlled Red P66 pin 31 LED12 GLED5 User Controlled Green P152 pin 80 LED13 RLED6 User Controlled Red P67 pin 32 LED14 GLED6 User Controlled Green P101 pin 70 LED15 User Controlled Orange 41 pin 11 LED16 3 3V Green N A LED17 5V Green N A Table 6 4 LEDs 13 6 5 GainSpan WiFi Module U16 The GainS pan WiFi module utilizes either serial UART or SPI interfaces enabling connection to any embedded design utilizing a 8 16 32 bit microcontroller via simple commands The GS1011M is an ideal solution for organizations with limited or no Wi Fi or RF expertise as it not only dramatically reduces RF design time but also removes the burden of testing and certification allowing customers to focus on their core application product or expertise The module supports data rates up to 11 Mbps is compliant with 802 11b and meets regulatory and Wi Fi Alliance requirements The GainSpan module is connected to a dedicated WiFi only SPI interface and optionally the UART3 of the RL78 Note that dip switch SW5 position 4 controls the power enable disable of the GainS pan WiFi
13. Table 2 Table 2 Symbols for sealing methods estoy 0 NEN IES KORNO AM Adhesive sealing Ceramics M Resin molding Resin P Adhesive sealing Resin polis G Glass sealing Ceramics R Resistance weld sealing Ceramics Metal 5 0 Seam weld sealing Ceramics Metal Au Sn sealing Ceramics Metal w Board Metal Non hermetic x Board Non metal sealing Y Mod Metal 2 Mold Non metal Others B A printed board on which multiple crystal elements were mounted with a nameplate attached to its top surface Detailed symbols for the order of model name registration A to Z When producis designed as lead mount ones have been converted during secondary processing into surface mount ones the product model names given before secondary processing are conventionally used to describe them Example AT 41CD2 AT 41 with a pedestal NIHON DEMPA KOGYO CO LTD 6113 D90920 modielnama 35 NEED PAGE FOR GAINSPAN has been requested 36 RenesasUniversity Alliance Partners Renesas Interactive For educators and The Alliance Partner Program allows gt Gain the technical knowl students Teach with you to connect instantly with hun edge you need Evaluate professional grade tools dreds of qualified design consulting research and learn at Learn MCUs with a and contracting professionals your own pace where modern architecture America Renesas com Aliance you want whe
14. affordable USB 12C SPI and CAN tools for embedded systems engineers The complete line of Total Phase host adapters and protocol analyzers are the development and debugging tools of choice for Fortune 500 companies small businesses and research institutions all over the world For more technical information online demos and ordering information visit www totalphase com Chapter 7 Mode Switch This has an on board module with 4 switches SW5 for controlling TK MUX Select TK MUX Disable and GainS pan WiFi Module Powerr Enable Table 7 1 below shows common settings for SW5 Mode TK MUX Select TK MUX Disable Run ON ON Debug ON OFF Virtual COM OFF OFF Table 7 1 Common Mode Configurations TK MUX Select SW5 1 e ON sets the USB connection 16 for debugging purposes e OFF sets the USB connection J 16 as a virtual communication port TK MUX Disable SW5 2 e ON disables the TK debugger and puts the RL78 in normal operation e OFF enables the TK debugger and puts the RL78 in debug operation SW5 3 is not used GainS pan WiFi Power Enable Disable SW5 4 e ON Enables software control over the GainS pan power e OFF Disables the GainSpan power completely 20 Chapter 8 Programming Methods The RDK is intended for use with IAR and includes an integrated Renesas TK debugger Referto RL78 Family Hardware Manual for details of programming the microcontroller without using these tools The on bo
15. al EPROM U2 nee 15 6 7 MicroSD Memory Card Slot J9 su 15 6 8 Audio Audio Out Mic Speaker Volume 15 6 9 Seral porb tU T4 ELS ria a Se ee E selo ee ee on 15 6 10 3 Axis Accelerometer US ia E 15 6 11 Digital Temp 1 16 6 12 Ambient Light Sensor U4 a ae aan 16 6 13 Potentiometer VAI D 16 6 14 Infrared Emitter 04 8 Detector 119 16 6 15 TRIAC Q3 8 Zero Crossing Detector 16 CSI 17 Os A rr a 18 6519 Reset QircUit 18 6 19 Total Phase Beagle Debug Header 48 18 Chapter Ze Mode WIN SSA M SC E 20 Chapter 8 Programming Methods auspicia REM MIA MEM AA e EU 21 Chapter GSAS ee MH 22 Na oa saa ta 22 9 2 Application Header eee 23 9 3 Expansion Headers 41 14 riti o a Jo a ulel 24 Chapter 10 Code 26 james 26 10 2 Memory Maple ee 27 Chapter 11 Component 28 Chapter 12 Additional Information nennen nnns 29 12 1 Hardware Partner Information accionar 29 12 2 Renesas Contact Information
16. ard TK debugger is pre programmed at the factory and configured for normal operation Should the TK debugger become inoperable it will need to be returned to Renesas for repair Note SW5 must be setto debug mode to program the RL78 Please refer to the Mode Switch chapter for how to configure the for programming 21 Chapter 9 Headers 9 1 PMOD Interfaces Two Digilent PMOD Interface Type 2A expanded SPI connection headers are available on RDK These interfaces utilize separate SPI busses and can be accessed using chip selects 82 pin 46 for PMOD1 and P83 pin 47 for PMOD2 PMOD Interface connections are shown in Table 9 1 PMOD1 PMOD2 Pin Signal Direction Circuit Name RL78 Circuit Name RL78 1 SS Out PMOD1 CS P82 pin 46 PMOD2 CS P83 pin 47 2 MOSI Out PMODI MOSI S020 pin 66 MOSI S021 pin 38 3 MISO In PMOD1 MISO 120 pin 65 MISO 121 pin 39 4 SCK Out PMODI SCK SCK20 pin 64 SCK SCK21 pin 40 5 GND Ground Ground 6 3V3 3V3 7 INT In PMOD IRQA P46 INTP1 pin6 PMOD IRQB P47 INTP2 pin 5 8 RESET INT Out PMOD IRQB P47 INTP2 pin 5 PMOD IRQA P46 INTP1 pin 6 9 N S N S PMOD PIN P110 pin 71 PMOD PIN P110 pin 71 10 N S N S PMOD 10 P111 pin 72 PMOD_PIN10 P111 pin 72 1 GND Ground Ground 12 VCC 3V3 3V3 Table 9 1 PMOD Interfaces 22 9 2 Application Header The application header 14 can be fit
17. cted Single Channel RS 232 Line Driver Receiver e Conforms to EIA TIA 232E and CCITT V 28 Specifications e Data Rate 460 kbps e 0 1 uF charge pump capacitors e Contact discharge 8 kV ap discharge 15 kV ANALOG www analog com DEVICES 31 Color LCDs Chip On Glass COG oS Lo gt Custom and Standard gt Resolution QVGA WVGA gt No PCB light weight low cost gt Backlight LED gt Interface 18 bit TTL RGB gt Touch Panel Resistive capacitive gt Size Diagonal 3 5 7 gt Minimum external components gt Text graphic and segment type gt High resolution duty displays projected capacitive gt RGB orwhite LED backlight gt Daylight readable options Custom LCDs gt Full or semi custom gt Color graphic COG panels gt Ruggedized displays gt System on display gt Tailor made form factor play Device Okaya Technology Graphic LCD ray Graphic LCDs Alpahnumeric Text LCDs gt Wide range of size amp resolutions 7 8 character x 1 line to 40 character x 4 lines gt TAB COG COB ICs gt COB ICs gt Yellow green blue white LED backlights Yellow green blue white LED backlights gt Extended and wide operating temp range gt TAB COB ICs gt 5 ni and full custom options 7 Extended and wide operating temp range gt Touch panels available gt Semi and full custom options gt TN STN ESTN ASTN technology gt TN STN ESTN ASTN technolog
18. ects to an interrupt line for user controls INTP9 P75 pin 35 RESET When pressed the RL78 is reset RESET pin 13 Table 6 1 Switch Functions 6 2 Debug LCD Module A debug LCD module is supplied on the The debug LCD module uses an SPI interface to reduce the pin allocation Software contrast control is also provided The module supplied with the RDK uses 3 3v The display is a 96 x 64 graphics display and uses a white LED backlight The backlightis ON by DEFAULT and can be toggled OFF by setting 00 BL ENA pin 97 LOW Table 6 2 shows the pin allocation and signal names used for the graphics LCD connector Pin Circuit Net Name RL78 Pin Circuit Net Name RL78 1 5V Backlight Positive Anode 2 GND 3 GND 4 GND 5 GND 6 LCD CS 145 pin 98 7 RSTOUTA P130 pin91 8 LCD RS 146 73 9 3 3V 10 3 3V 11 SCK 70 pin 40 12 MOSI 72 pin 38 13 MOSI 72 pin 38 14 MOSI P72 pin 38 15 43 3V 16 3 3 17 43 3 18 3 3V 19 GND 20 Table 6 2 Debug LCD Module Connections J 8 6 3 Display The Ink segmented display is ultra thin rugged and flexible enabling engineers and designers to add high contrast displays to products where power and space limitations have made it impossible to do so before M VU a Ink Display Icons The Ink display is driven by inverting
19. esas Electronics 53 u LCD MODULE 5 m 5 n a me 2 51 8 u m FR umu OFI SW4 GAINSPAN PWR CTRL 5 Res cm 615 OFF GS OFF ON SW m 4 CHEN mio Ru CIN 5v0 PALCONN GND DISPI D 279 C92 i TE EHE RESET 0 9 89 059 0 9 2060600606 Ba ola ios Com LEDIS Sr r1 a gt 4 x plo i an gt E Ant 1 mo C gu E RESO RES Lj nzucu ee ME a m s m m TOTALPHASE aul e ll EN E EaR 008886 MM pi Eo mm 272 PN YRDKRL78G14 Bun Eink APPLICATION a 02 SEIN HEADER Ri2 N mL mu E m e men E MICRO SD u FET SWITCH TRIAC 48V MAX MICROPHONE ANALOG IN IR OUTPUT IR INPUT MADE IN USA Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 shows the CPU board components and their connectivity Figure 5 1 Block Diagram Figure 5 2 shows host PC connection to the board Figure 5 2 RDK Connections Chapter 6 User 6 1 Switches There are four switches located on the board The function of each switch and its connection are shown in Table 6 1 Switch Function RL78 SWITCH 1 Connects to an interrupt line for user controls 10 P76 pin 34 SWITCH 2 Connects to an interrupt line for user controls INTP8 P74 pin 36 SWITCH 3 Conn
20. geted at common applications A setof 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 Target Applications and Features Audio e Stereo audio driver connected to the PWM interface Amplified on board speaker and external audio jack e On board microphone to demonstrate sampling FFT FPU capabilities e Volume Control Potentiometer User Interface e Graphical LCD e Ink Display e User pushbutton switches and a reset switch e On board LEDs Communications e On board WiFi Module from GainSpan e RS 232 Interface e 2 SPI with Debug through the Beagle connector from Total Phase e Application Header to support several external WiFi modules e PMOD connections to support a variety of generic P MOD devices WiFi Bluetooth RF and much more Memory Storage Micro SD card slot 512KB Serial EEPROM 256KB On chip Flash Memory Digital Sensors e 3 Axis Accelerometer e Temperature Sensor Ambient Light Sensor Power Control e FET Circuit for DC output TRIAC Circuit for AC output with Zero Crossing Detector User Code and Application Debugging On board debugger for high quality source code debugging TK interface e User circuit breadboard area Renesas Online The Renesas RDK online experience is complemented by the online Renesas ecosystem Renesas Interactive www R enesas
21. interactive com o Free Online Learning e Renesas Rulz www RenesasRulz com o Online community o Online user forums http www renesasrulz com community demoboards rdkri78914 Online support site for this e University Program www RenesasUniversity com o Support for Professors and Students o Support for University Kits QSKs e Renesas Microcontroller Samples America Customers o Free of charge o Request directly from www America Renesas com samples Develop and submit your sample programs to demonstrate these features to the online community www RenesasR ulz com community renesas_products rl78 Chapter 3 Power Supply 3 1 Requirements This RDK gets its power from the debugger mini USB connection or optionally from a regulated 5V power supply The power jack is a center positive connector using a 2 1 mm barrel An optional alternate power header is located next to the power jack J 5 The PCB is also be loaded with 3 3V 0 08F super cap C72 part number XH414HG Warning The is neither under nor over voltage protected To prevent damage use a 5V REGULATED center positive supply 3 2 Power Up Behavior When the 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 Switch 3 turns the speaker ON The program takes samples from the accelero
22. le for any other direct or indirect special incidental or consequential damages arising out of or in relation to the use of this even if Renesas or its affiliates have been advised of the possibility of such damages Precautions This Renesas Demonstration Kit is only intended for use in a laboratory environment under ambient temperature and humidity conditions A safe separation distance should be used between this and any sensitive equipment Its use outside the laboratory classroom study area or similar such area invalidates conformity with the protection requirements of the Electromagnetic Compatibility Directive and could lead to prosecution The product generates uses and can radiate radio frequency energy and may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment causes harmful interference to radio or television reception which can be determined by turning the equipment off or on you are encouraged to try to correct the interference by one or more of the following measures e Ensure attached cables do not lie across the equipment Reorient the receiving antenna e Increase the distance between the equipment and the receiver Connect the equipment into an outlet on a circuit different from that which the receiver is connected e Power down the equipment when not in use e Consult the dealer or an experienced radio
23. meter and changes the tone frequency and volume of the speaker as the board is tilted left right front and back The name of the factory demo project is RL78Theremin IS THIS STILL ACCURATE Chapter 4 Board Layout 4 1 Component Layout The following diagram shows the top layer component layout Figure 4 1 Board Layout 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 EE gt 5 12 e e e m S 0 gro PMOD2 T PORT a JE us 2 NM lo E E ms POSITIVE s mim s 2 RIO7 mm m rb C55 5 un H msvs R57 mf Leoi MN m ig nce mm ae ux a 9 JN a _ l m ANALOG y 2 muzi me H A DEVICES y E 2 BE nu 22 A sua Z Y S MEET 3 ag ion SWITCH 1 BUB Riig moon g BH 35 m C75 18 power ua CCELEROME MEASUREMENT 75 me 2 Q H p n 66 mm SWITCH 2 69 RIG E 67 n 65 m 63 Mar EEPROM U2 o ni nad e sun m EN 59 mac coo MUN s Lei 2 5 Lm a BE 20 LIIIIIIIIIIIIIIIIIIIIIIII 57 5 pa PIN R5FIO4PJAFB elis e 24 2012 Ren
24. n you RenesasUniversity com want for free Renesasinteractive com ALLIANCE RTNER PA RENESAS ES S X A smorgasbord of support served with every chip America Renesas com Ecosystem 5 2 Think it Build it Post it MyRenesas Renesas Samples gt Customize your data retrieval Get a first hand look at our needs on the Renesas website RenesasRulz products Let us know your You ll receive updates on A forum and community site to needs and we ll get some the products that you re amp ac 7 share technical information ques samples out to you It s that interested in tions and opinions with others who simple America Renesas com MyRenesas use Renesas MCUs and MPUs America Renesas com Samples RenesasRulz com 37 12 2 Renesas Contact Information Fordetails on how to use High performance Embedded Workshop HEW referto 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 Online technical support and information is available at http www renesas com renesas starter kits Technical Contact Details America techsupport rta renesas com Europe tools support eu renesas com Japan csc renesas com General information on Renesas Microcontrollers can be found on the Renesas website at ht
25. r IR LED part TSKS 54005 and infrared detector IR DET part TS OP 98238 are included on RDK ThelR emitter is designed to use the burst capabilities of the RL78 Clock Buzzer Output PCLBUZO and is output on CPU pin 3 The IR detector can be used with either the T103 or INTP4 interfaces on the RL78 to detect IR bursts on CPU pin 28 Note These IR emitter and IR detector are positioned close together on the board The detector will receive the output of the emitter 6 15 TRIAC Q3 amp Zero Crossing Detector U3 A Renesas Triac Part number BCR3AS 12A designed for low power use is included on the RDK The Triac can be turned ON by an 1 0 pin of the CPU to control AC load The Triac connections are to be in series with a low voltage AC source 48VAC RMS Maximum and a load at J 3 between 1 63 as shown in the schematic below It can tum the load ON and OFF but is notintended for dimming or proportional phase control When the RL78 pin 69 is set to HIGH the transistor 06 is turned on which turns on the input of the opto coupler The opto coupler output allows current to 16 flow to the Gate of Q2 Resistor R10 360 ohm limits current to the Triac Gate When the load is turned ON as RL78 Pin 69 is setto HIGH LED2 will turn on at the same time A Zero Crossing detector circuitis available for applications that require switching the TRIAC only during zero crossing events This signal ZERO X is present on INTPO RL78 pin
26. r locations Description Function MCU Pin Connector Pin TxD1 Serial Transmission Pin 95 1142 RxD1 Serial Reception Pin 94 1143 Table 6 6 Serial port pin details 6 10 3 Axis Accelerometer U13 The includes an Analog Devices ADXL345 3 axis accelerometer The partis accessed by the I2C Bus 0 with the following address I2C Address 0x3A 0011101r where R W 6 11 Digital Temp Sensor U11 The RDK includes an ADT75 U11 Digital Temperature Sensor An optional alternate sensor ADT7410 U12 may be utilized The partis accessed by the I2C Bus IICAO with the following address 2 Address 0x90 10010aar where Al AO R Wn 6 12 Ambient Light Sensor U4 The includes Renesas Ambient Light Sensor P art Number 5551 2 1 This partis accessed by the I2C bus ICAO with the following address 2 Address 0x72 0111001r where R Wn 6 13 Potentiometer VR1 A single turn potentiometer is connected to the ADC channel ANI8 pin 82 of the microcontroller This may be used to vary the input analog voltage value to this pin between 3V3A and Ground Note The potentiometer is fitted to offer an easy way of supplying a variable analog input to the controller It does not necessarily reflect the accuracy of the controllers ADC Please see the device manual for details 6 14 Infrared Emitter D4 amp Detector U19 An infrared emitte
27. ted with a WIFI module or other optional IO module These devices be accessed UART2 or the SPI bus CS110 using chip select P73 pin 26 on the RL78 WIFI interrupt requests can be received INTP8 25 on the RL78 As of November 2011 several WiFi modules were available and some units released for RL78 by Gainspan Corp and RedPine Signals were qualified more information at http www gainspan com http www redpinesignals com J17Pin MCU Pin RDK Function MCU Port J17 Pin MCU Pin RDK Function MCU Port 1 5V 2 Ground 3 3 3V 4 Ground 5 65 GPIO P14 6 69 GPIO P10 7 64 GPIO P15 8 68 P11 9 63 GPIO 16 10 67 GPIO P12 1 62 GPIO P17 12 66 GPIO P13 13 79 GPIO 153 14 16 GPIO P137 15 48 APP WIFI CS 84 16 91 RSTOUT P130 inverted by U6 17 49 APP WIFI PWROFF 85 18 78 GPIO P154 19 38 MOSI 72 5021 20 40 SCK P70 SCK21 21 55 LIN TXD P51 TXD0 22 39 MISO 71 5121 23 52 APP WIFI IRQ P30 INTP 3 24 54 LIN RXD P50 RXDO 25 77 APP WIFI GPIO25 P155 26 76 APP WIFI GP10 26 156 Table 9 2 Application Header 23 9 3 Expansion Headers J1 J4 Table 9 3 through Table 9 6 show the controller pin headers and their corresponding microcontroller connections The header pins connect directly to the MCU pin Note that the 1 4 header numbers match the MCU pin numbers
28. tnumber NX3225SA Table 6 7 details the crystals that are fitted on the RL78 Component Function Frequency Crystal X1 Main System Clock X1 12 MHz Crystal X2 Subsystem Clock XT1 32 768 KHz Crystal X3 Debugger USB Clock 16 MHz Table 6 7 Oscillators Resonators 6 18 Reset Circuit The RDK includes a user reset pushbutton switch SW1 which is connected to the internal reset circuit on the RL78 RESET and reset output from the TK Debugger T RESETn There is a peripheral reset control line connected to P130 pin 91 on the RL78 which can be used to reset major peripherals at once This includes the WiFi Beagle Port Application Header and Debug LCD 6 19 Total Phase Beagle Debug Header J8 The Beagle I2C SPI Protocol Analyzer is a non intrusive USB based bus monitor that can capture display and filter I2C and SPI data as it appears on the bus Using both the Data Center Software and Beagle analyzer users can easily view 2C bus traffic up to 4 MHz and SPI bus traffic up to 24 in real time Additional functionality allows engineers to filter data against a wide variety of parameters or instantly search for specific hexadecimal or ASCII data patterns during a live capture The Beagle analyzer is fully supported on Windows Linux and Mac OS X and comes with free software free APIs free technical support and free software firmware upgrades Total Phase manufactures powerful and
29. tp www renesas com 38 Renesas Demonstration Kit RDK for RL78 User s Manual Publication Rev 1 00 Nov 23 2011 Date Published by Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara CA 95050 2554 U S A 2011 Renesas Electronics America All Rights Reserved Mass Market Group Renesas Electronics America Inc 2880 Scott Boulevard Santa Clara 95050 2554 U S A 24 NE SAS Renesas Electronics Corporation
30. ver receiver NDK contributed all 3 crystals for the board Okaya provided the 96 x 64 backlitgraphics LCD Eink provided the ePaper Display TotalPhase provided the connectors to interface to their beagle serial channel debugger And finally Future Designs Inc provided the hardware customization schematic capture PCB design and layout manufacturing and Supply Chain Management services for this RDK For more information or to contact our partners please refer to their websites Analog Devices http www analog com e Eink Display htto www eink com e Future Designs http www teamfdi com GainSpan http www gainspan com e NDK http www ndk com en Okaya http www okaya com Totalphase http www totalphase com 29 Analog Devices The Leader in High Performance Signal Processing Solutions Analog Devices sets the standard for innovation and excellence in signal processing Our compre hensive portfolio of linear mixed signal MEMS and digital processing technologies are backed by leading design tools applications support and systems level expertise These solutions play a fun damental role in converting conditioning and processing real world inputs such as light sound temperature motion and pressure into electrical signals to be used in a wide array of electronic equipment ADI is synonymous with high performance among electronics manufacturers ADI collaborates with each of our customers to
31. y 800 852 0122 www okaya com ledsales okaya com 33 TOTALPHASE Total Phase is an industry leading provider of USB I2C and SPI embedded systems development tools for engineers all over the world Total Phase s mission is to create powerful high quality and affordable solutions for the embedded engineer Cheetah SPI Host Adapter BEAGLE USB 5000 SUPERSPEED 34 Quartz Crystal Units N NDE Model Names of Surface mount SMD Products system for surface mount SMD product model names is as follows Configuration of model names of surface mount products 2222060006 D Symbol for N Symbols for products See Table 1 Table 1 Symbols for products Crystal oscillator T Temperature compensated crystal oscillator TCXO H Oven controlled crystal oscillator OCXO Voltage controlled crystal oscillator VCXO E Simple packaged crystal oscillator SPXO z M Crystal clock oscillator Monalithic filter SAW device The nominal length mm of a product main body in the longitudinal direction is expressed in two digits The third digit is rounded off 56 The nominal length mm of a product main body in the lateral direction is expressed in two digits The third digit is rounded off Examples 6 0 mm x 3 5 mm is expressed as 6035 11 8 mm x 5 5 mm is expressed as 1255 Symbols for constituent materials and sealing methods See
Download Pdf Manuals
Related Search
Related Contents
Newstar LCD/Plasma/LED wall mount Chicago Electric 44829 User's Manual DENVER MT-783 - MANUAL Spanish INSCRIPTIONS ALSH VACANCES AUTOMNE 2012 MODE D`EMPLOI storydisk ultimate GUITAR AMPLIFIERS Manuel d`installation pour xxHFL2829 HQ LAMP O11 N Pyle PAW1 sport watch instrucciones para el usuario de la lavavajillas Copyright © All rights reserved.
Failed to retrieve file