Home
R0K5211B4S000BE User Manual
Contents
1. Ro Rog Ro7 R49 R46 CZ R4 R RI LFS CI xl Cu Oo fle Ha Lo ua abs Sr Ba DO Ec Oo CO leon LS St Oy jos Jey oy poo ca Ce Or Ce joe pa Lu 07 3 LIZ T Ra S Be co jm a ejej SI ANG La ome a ogy e Sl tes 0 EE ra Wo A oo I Al ua E E REO o fE C4 Ra 05 a RI RQ SWB y SW2 SWI BOOT Figure 11 1 Component Placement Chapter 12 Additional Information For details on how to use High performance Embedded Workshop refer to the High performance Embedded Workshop manual available on the CD or from the web site For information about the R8C 1B group microcontrollers refer to the R8C 1B Group Hardware Manual For information about the R8C 1B assembly language refer to the R8C Tiny Series Software Programming 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 euf renesas com Japan cs
2. Table 6 1 Switch Functions R efer to schematic for detailed connectivity information 6 2 LEDs There are six LEDs on the Renesas Starter Kit board The green POWER LED lights when the board is powered The orange BOOT LED indicates the device is in BOOT mode when lit The four user LEDs are connected to an IO port and will light when their corresponding port pin is set low Table 6 2 below shows the LED pin references and their corresponding microcontroller port pin connections LED Reference Colour Microcontroller Port Pin function Microcontroller Pin As shown on silkscreen Number LEDO Green Port 1 4 13 LED1 Orange Port 1 5 12 LED2 Red Port 1 6 11 LED3 Red Port 1 7 10 Table 6 2 LED Port 6 3 Potentiometer A single turn potentiometer is connected to AN8 P 1 0 of the microcontroller This may be used to vary the input analog voltage value to this pin between VREF and Ground 6 4 Serial port The microcontroller programming serial port 1 is connected to the RS232 transceiver This serial port can optionally be connected to the RS232 transceiver as well by fitting option resistors The connections to be fitted are listed in the table 6 3 Description Function Fit for RS232 TxD1 Programming Serial Port R62 RxD1 Programming Serial Port R63 Table 6 3 Serial Port settings A Secondary serial port is connected to the application headers
3. Code Development ceccccceeeeeeeeeeeeneeceeeeeceaeeesaaeeeeaeeseeeeeeeaeeteneeseneees 10 1 OVA A A lA 10 25 Mode SUPPOT li did 10 3 Breakpoint SupPOlt oococccccncccononiconocnnonccccnnnnnnnnnnnnn cnn nn nr nn nnnnnn nc cnn rca nn na nann cnn 104 Memory M pasonin scents A A E E Chapter 11 Component PlaceMent oocccncccnnccconocanonoccnoncncnnna non nn nano cc non c cnn nn nnnnnccnnncnnns Chapter 12 Additional Information oooncccnninnnnncnnnnccnnnccnnonnna nara nano conan nara nnn rca Chapter 1 Preface Cautions This document may be wholly or partially subject to change without notice All rights reserved Duplication of this document either in whole or part is prohibited without the written permission of Renesas Solutions Corp Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Copyright Renesas Solutions Corp 2007 All rights reserved Renesas Technology Europe Ltd 2007 All rights reserved Renesas Technology Corp 2007 All rights reserved Website http www eu renesas com Europe http www america renesas com America Glossary ADC Analog Digital Converter IRQ Interrupt ReQuest CPU Central Processing Unit LCD Liquid Crystal Display DAC Digital Analog Converter LED Light Emitting Diode E8a E8a On chip debugger module LSI Large Scale Integration HEW High performance Embedded Workshop MCU Microco
4. This is shared with the SW1 6 5 LCD Module A LCD module is supplied to be connected to the connector 8 This should be fitted so that the LCD module lies over J 1 Care should be taken to ensure the pins are inserted correctly into 8 The LCD module uses a 4 bit interface to reduce the pin allocation No contrast control is provided this is set by a resistor on the supplied display module The module supplied with the Renesas Starter Kit only supports 5V operation Table 6 4 shows the pin allocation and signal names used on this connector J8 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 Ground 2 5V Only 3 No Connection 4 LCD_RS 20 5 R W Wired to Write only 6 LCD_E 1 7 No Connection 8 No Connection 9 No Connection 10 No Connection 11 LCD_D4 13 12 LCD_D5 12 13 LCD_D6 11 14 LCD_D7 10 Table 6 4 LCD Module Connections 6 6 Option Links Table 6 5 below describes the function of the option links associated with Power configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R8 Power Supply Connects J 5 to Board_VCC J5 disconnected from R13 Board_VCC R10 MCU Power Supply Supply to MCU Fit Low ohm resistor to R11 R12 R13 measure current R11 Power Supply Connects CON_5V external CON_5V disconnected from R10 R12
5. R13 External 5V 5V to Board_VCC Board VCC R12 Power Supply Connects CON_3V3 external CON_3V disconnected from R10 R11 R13 External 3 3V 3 3V to Board_VCC Board_VCC R13 Power Supply Connects Board_VCC to Board_VCC disconnected from R8 R10 R11 R12 board voltage line board voltage line R14 R15 User I O Power Supply Connects Board_VCC to Board_VCC disconnected from SW2 SW3 and LEDO 3 SW2 SW3 and LEDO 3 Table 6 5 Power Configuration Links Table 6 6 below describes the function of the option links associated with Clock configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R1 Oscillator Connects X1 to MCU Connects external clock to R2 R3 R4 MCU R2 Oscillator Connects X1 to MCU Connects external clock to R1 R3 R4 MCU R3 Oscillator Connects external clock to Connects X1 to MCU R1 R2 R4 R54 MCU or use input port R55 R4 Oscillator Connects external clock to Connects X1 to MCU R1 R2 R3 MUC R54 Clock P ort Select Connects CON_XIN1 CON_XIN1 disconnected from R3 R55 external clock to CON_XIN CON_XIN R55 Clock Port Select Connects CON_XIN2 input CON_XIN2 disconnected from R3 R54 port to CON_XIN CON_XIN Table 6 6 Clock Configuration Links Table 6 7 below describes the function of the option links associated with Serial configuration The defau
6. pin settings 13 Chapter 8 Programming Methods The board is intended for use with High performance Embedded Workshop and the supplied E8a debugger Refer to R8C 1B Group Hardware Manual for details of programming the microcontroller without using these tools 14 9 1 Microcontroller Headers Table 9 1 and Table 9 2 show the microcontroller pin headers and their corresponding microcontroller connections The header pins Chapter 9 Headers connect directly to the microcontroller pins Marked pins are subject to option links J1 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 LCD_E IIC_SCL 1 2 TMRO 2 3 RESn 3 4 CON_XOUT E 5 VSS 5 6 CON_XIN 6 7 UC_VCC 7 8 MODE_E8B 8 9 IRQO 9 10 TRIGb 10 Table 9 1 J 1 J2 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 SClaCK 11 2 SClaR X IRQ1 12 3 SClaTX 13 4 AD3 10_3 14 5 AD2 10_2 15 6 P4 2 VREF 16 7 AD1 10_1 17 8 ADO IO_0 18 9 TRIGH IRQ2 19 10 TMR1 IIC_SDA 20 Table 9 2 J 2 9 2 Application Headers Table 9 3 and Table 9 4 below show the standard application header connections Table 9 4 J A2 Standard Generic Header 16 JA1 Pin Header Name Circuit Net Device Pin Header Name Circuit Net Devic
7. REJ10J1303 0200 Everywhere you imagine w E NIE SAS Renesas Starter Kit for R8C 1B User s Manual RENESAS 16 BIT SINGLE CHIP MICROCOMPUTER M16C FAMILY R8C Tiny SERIES Rev 2 00 Renesas Solutions Corp Revision date Aug 31 2007 www renesas com Table of Contents Chapter Vs Prefa Ce aa E aa iaa Ghapter 2 PUrpOS niini AAA AR Chapter 3 Power Supply ae eaaa a e aaae aa ahaaa eaaa cnn crac cnc cnn Bid REQUIFEMOENTS ii ai 3 2 Power Up Behaviour s iieiea aee NAT i R nn AECE senses caeeeeeaeeeeeeeeseeeesaeeseeeseeeeess 4il Component Layos 4 2 Board Dimesi nS errekai iaee ar aaa ae e a are aaaea Chapter 5 Block DiagraM oococccinnccconccoconcccnonnnononannnnccnnncncnnn cnn nora nr arrancan Chapter 6 User Circuitry arinireki SO 0 2 LEDS aid ett a di bbdd 6 3 Potemtlom eter sers an e ti iras Dit cola 6 4 Serial port iii Ii 6 52 LCD Module ici iria 6 6 Option LinkS iii ee 6 7 Oscillator SOUrCES ooooncccconicononononcccnonccnnnnnnononn nano c cnn rra 6 8 Reset Circuits si iain vein hindi tt eet Ghapter 1 Modes scada eth mitt tet ati eit elie ahh tiie Pade BOO MO ci A Te MIGQISICHIP SIMON ia Aaaa Chapter 8 Programming Methods oocccncccnniconoccnnncccconcncnonananann nano con ncn nan nnn nana cccnncnnns Ghapter 9 Head iisti eae ena taaa aa a aaan a a aaraa Aa aE AES 9 1 Microcontroller Headers oooooconocccconnoccconnnoccccnnnonccnnn noc cnn nn rc cnn rca 9 2 Application Headers ee aan AER EEA EREE AEREE Chapter 10
8. c renesas com General information on Renesas Microcontrollers can be found on the Renesas website at http www renesas com 20 Renesas Starter Kit for R8C 1B User s Manual Publication Date Rev 2 00 Aug 31 2007 Published by Renesas Solutions Corp 4 1 6 Miyahara Yodogawa ku Osaka City 532 0003 Japan 2007 Renesas Solutions Corp Renesas Technology Europe Ltd and Renesas Technology Corp All Rights Reserved Renesas Starter Kit for R8C 1B User s Manual ENESAS Renesas Solutions Corp 4 1 6 Miyahara Yodogawa ku Osaka City 532 0003 Japan
9. e or stand alone code from the example tutorial code pre programmed into the Renesas microcontroller On powering up the board the user LEDs will start to flash After 200 flashes or after pressing a switch the LEDs will flash at a rate controlled by the potentiometer Chapter 4 Board Layout 4 1 Component Layout The following diagram shows the top layer component layout of the board Application Board Interface Reset Switch Debug LCD RS232 Serial Power Power LED Microcontroller Pin Headers J1 J2 E8a Header User LEDs Boot LED User Boot Switch User Switches Application Board Interface Potentiometer Figure 4 1 Board Layout 4 2 Board Dimensions The following diagram gives the board dimensions and connector positions All through hole connectors are on a common 0 1 grid for easy interfacing 45 00mm A A A 14 00mm N 2 31 3 Slo 3 El 3 3 3 v v y 27 00mm j gt 50 80mm 4 gt 80 00mm 4 gt 85 00mm Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 is representative of the CPU board components and their connectivity Power Jack Option a ep eS ADC Input YO pal j i SwW3 SWw2 Swi RES BOOT Switches eee Te
10. e Name Pin Name Pin 1 Regulated Supply 1 CON_5V 2 Regulated Supply 1 Ground 3 Regulated Supply 2 CON 3V3 4 Regulated Supply 2 Ground 5 Analogue Supply NC 6 Analogue Supply NC 7 Analogue Reference CON_VREF 16 8 ADTRG NC 9 ADCO ADO 18 10 ADC1 AD1 17 11 ADC2 AD2 15 12 ADC3 AD3 14 13 DACO NC 14 DACI NC 15 IOPort0 10_0 18 16 10 Portl 10_1 17 17 1OPor2 10_2 15 18 10Por3 10_3 14 19 IOPort4 NC 20 lO Port NC 21 OPort NC 22 lOPort7 NC 23 IRQ3 NC 24 12C Bus 3rd pin NC 25 PC Bus IIC_SDA 20 26 1PC Bus IIC_SCL 1 Table 9 3 J Al Standard Generic Header JA2 Pin Header Name Circuit Net Device Pin Header Name Circuit Net Device Name Pin Name Pin 1 Reset RESn 3 2 External Clock Input CON_XIN1 6 3 Interrupt NC 4 Regulated Supply 1 Ground 5 SPARE NC 6 Serial Port SClaTX 13 7 Interrupt IRQO 9 8 Serial Port SClaR X 12 9 Interrupt IRQ1 12 10 Serial Port SClaCK 11 11 Motor up down NC 12 Serial Port Handshake NC 13 Motor control NC 14 Motor control NC 15 Motor control NC 16 Motor control NC 17 Motor control NC 18 Motor control NC 19 Timer Output TMRO 2 20 Timer Output TMR1 20 21 Timer Input TRIGa 10 22 Timer Input TRIG b 19 23 Interrupt IRQ2 19 24 Tristate Control NC 25 SPARE CON_XIN2 6 26 SPARE CON_XOUT 4 Chapter 10 Code Development 10 1 Overview Note For all code debugging using Renesas software tools the Renesas Starter Kit board must be connected to a Personal Com
11. eae a opt ESA i T Tea l i l NNNN LCD Display i i Potentiometer Data x4 User LED x4 POWER Green Control x2 4Green 1Orange 2Red i l LEDs BOOT Orange Figure 5 1 Block Diagram Figure 5 2 is representative of the connections required to the Renesas Starter Kit USB Cable Personal Computer E8a emulator Ed User Interface a J CPU Board o o Figure 5 2 Renesas Starter Kit Connections ad BOOT i Application Board Boot mode pin Circuitry Interface Microcontroller Pin l RESET pin D type 3 Headers Latch i Microcontroller ESa w l l Q l IRQ pins Q l Serial Connector Option l 5 al S A a Chapter 6 User Circuitry 6 1 Switches There are four switches located on the Renesas Starter Kit The function of each switch and its connection are shown in Table 6 1 Switch Function Microcontroller RES When pressed the Renesas Starter Kit microcontroller is reset RESSET Pin3 SW1 BOOT Connects to an IRQ input for user controls INTO Pin9 The switch is also used in conjunction with the RES switch to place Port4 pin 5 the device in BOOT mode when not using the E8a debugger SW2 Connects to an IRQ Interrupt input line for user controls INT3 Pin19 Port 3 pin 3 SW3 Connects to a Key In Interrupt input line for user controls KIL Pin17 Port 1 pin 1
12. lt configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R30 RS232 Serial Disables RS232 Serial Enables RS232 Serial R62 R63 Transceiver Transceiver R62 Programming Serial Connects R 232 port to Disconnected Port Programming Serial Port R63 Programming Serial Connects RS232 Port to Disconnected Port Programming Serial Port Table 6 7 Serial Configuration Links Table 6 8 below describes the function of the option links associated with Analog configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R5 ADC Connects CON_VREF CON_VREF disconnected from R14 reference voltage to MCU MCU R14 ADC Connects CON_VREF to CON_VREF disconnected from R5 Board_VCC Board_VCC R60 ADC Connects AD_POT to MCU Disconnects AD_POT from R38 R39 port P1_O AN8 MCU port P1_0 AN8 Table 6 8 Analog Configurati on Links Table 6 9 below describes the function of the option links associated with microcontroller pin function select configuration The default configuration is indicated by BOLD text Option Link Settings Reference Function Fitted Alternative Removed Related To R38 CU Pin Function Select Connects ADO to MCU port Disconnec
13. n Fitted Alternative Removed Related To R32 E8a Enables E8a Do not connect option resistor R61 SW1 Connects SW1 to MCU port Disconnected P45 Table 6 10 Other Option Links 6 7 Oscillator Sources A crystal oscillator is fitted on the Renesas Starter Kit and used to supply the main clock input to the Renesas microcontroller Table 6 11 details the oscillator that is fitted and alternative footprints provided on this Renesas Starter Kit Component Crystal X1 Fitted 20 MHz HC 49U package Table 6 11 Oscillator 6 8 Reset Circuit The CPU Board includes a simple latch circuit that links the mode selection and reset circuit This provides an easy method for swapping the device between Boot Mode and Single Chip Mode This circuit is not required on customers boards as it is intended for providing easy evaluation of the operating modes of the device on the Renesas Starter Kit Please refer to the hardware manual for more information on the requirements of the reset circuit The Reset circuit operates by latching the state of the boot switch on pressing the reset button This control is subsequently used to modify the mode pin states as required The MODE pin should change state only while the reset signal is active to avoid possible device damage The reset is held in the active state for a fixed period by a pair of resistors and a capacitor Please check the reset requirements carefully to ensure the
14. ntroller Chapter 2 Purpose This Renesas Starter Kitis an evaluation tool for Renesas microcontrollers Features include Renesas Microcontroller Programming User Code Debugging User Circuitry such as Switches LEDs and potentiometer s User or Example Application Sample peripheral device initialisation code The Renesas Starter Kit board contains all the circuitry required for microcontroller operation NOTE This manual describes the technical details of the Renesas Starter Kit for R8C 1B hardware The Quick Start Guide and Tutorial Manual provide details of the software installation and debugging environment Chapter 3 Power Supply 3 1 Requirements This Renesas Starter Kit operates from a 3V to 5V power supply A diode provides reverse polarity protection only if a current limiting power supply is used All Renesas Starter Kit boards are supplied with an E8a debugger This product is able to power the Renesas Starter Kit board with up to 300mA When the Renesas Starter Kit is connected to another system then that system should supply power to the Renesas Starter Kit All Renesas Starter Kit boards have an optional centre positive supply connector using a 2 1mm barrel power jack Warning The Renesas Starter Kit is neither under nor over voltage protected Use a centre positive supply for this board 3 2 Power Up Behaviour When the Renesas Starter Kit is purchased the Renesas Starter Kit board has the Releas
15. puter USB port via an E8a An E8a is supplied with the Renesas Starter Kit product 10 2 Mode Support High performance Embedded Workshop connects to the Microcontroller and programs it via the E8a Mode support is handled transparently to the user 10 3 Breakpoint Support High performance Embedded Workshop supports breakpoints on the user code both in RAM and ROM Double clicking in the breakpoint column in the code sets the breakpoint Breakpoints will remain unless they are double clicked to remove them 17 10 4 Memory Map 00000h SFR 002FFh 00400h 00400h Internal RAM User RAM 007FFh 007FFh 02400h 02400h Internal ROM Emulator Firmware Data Flash If in data area 02BFFh 02BFFh Note Emulator Firmware area selected via Reserved area High performance Embedded Workshop 0C000h 0C000h OFFDCh Emulator Firmware r If in program area OFFE4h OC800h a Internal ROM Emulator Vector Program ROM User ROM Sa aes la r OFFF4h 4 Arenas OFFFEh Fixed Vector Tables FP OFFFFh OFFFFh OFEFEh Figure 10 1 Memory Map 18 Chapter 11 Component Placement Rob Jg lt 1 C16 Rol F50 RG ROIS JZ ROG R7 R gt US 511 Ho fa ld al 319 2
16. reset circuit on the user s board meets all the reset timing requirements Chapter 7 Modes The Renesas Starter Kit supports Boot mode and Single Chip mode Details of programming the FLASH memory is described in the R8C 1B Group Hardware Manual 7 1 Boot mode The boot mode settings for this Renesas Starter Kit are shown in Table 7 1 Boot Mode pin settings below MODE LSI State after Reset End Low Boot Mode Table 7 1 Boot Mode pin settings The software supplied with this Renesas Starter Kit supports Boot mode using an E8a and High performance Embedded Workshop only However hardware exists to enter boot mode manually do not connect the E8a in this case Press and hold the SW1 BOOT The MODE pin is held in its boot state while resetis pressed and released Release the boot button The BOOT LED will be illuminated to indicate that the microcontroller is in boot mode When neither the E8a is connected nor the board is placed in boot mode as above the MODE pin is pulled high by a 4 7k resistor When an E8a is used the MODE pin is controlled by the E8a 7 2 Single chip mode Because the MODE pin is pulled high this Renesas Starter Kit will always bootin Single Chip mode when the E8a is not connected and the boot switch is not depressed Refer to R8C 1B Group Hardware Manual for details of Single chip mode MODE LSI State after Reset End High Single Chip Mode Table 7 2 Single Chip Mode
17. ted R39 R60 P10 R39 CU Pin Function Select Connects 10_0 to MCU port Disconnected R38 R60 P10 R40 CU Pin Function Select Connects AD1 to MCU port Disconnected R41 P11 R41 CU Pin Function Select Connects IO_1 to MCU port Disconnected R40 P11 R42 CU Pin Function Select Connects AD2 to MCU port Disconnected R43 P12 R43 CU Pin Function Select Connects 1O_2 to MCU port Disconnected R42 P12 R44 CU Pin Function Select Connects AD3 to MCU port Disconnected R45 P13 R45 CU Pin Function Select Connects 10_3 to MCU port Disconnected R44 P13 R46 CU Pin Function Select Connects SClaRX to MCU Disconnected R47 portP1_5 R47 CU Pin Function Select Connects IRQ1 to MCU port Disconnected R46 P15 R48 CU Pin Function Select Connects TRIGb to MCU port Disconnected R49 P3 3 R49 CU Pin Function Select Connects IRQ2 to MCU port Disconnected R48 P33 R50 CU Pin Function Select Connects IIC_SDA to MCU port Disconnected R51 P3 4 R51 CU Pin Function Select Connects TMR1 to MCU port Disconnected R50 P34 R52 CU Pin Function Select Connects IIC_SCL to MCU port Disconnected R53 P35 R53 CU Pin Function Select Connects LCD_E to MCU port Disconnected R52 P3_5 Table 6 9 MCU Pin Function Select Configuration Links 11 Table 6 10 below describes the function of the option links associated with other options The default configuration is indicated by BOLD text Option Link Settings Reference Functio
Download Pdf Manuals
Related Search
Related Contents
FT EPOTEK INJECTION Neutralizador de ácidos para aceites frigoríficos minerales stérilisateur CODE GENERATOR (MODEL A) USER MANUAL AOC 203P Computer Monitor User Manual CKSTYM1012 TARIFICADOR MT-SP Manual MANUEL D`UTILISATION Lenovo ThinkVision T2254p Copyright © All rights reserved.
Failed to retrieve file