Home
Renesas Starter Kit for M16C/26A User`s Manual
Contents
1. LCD Application Board Boot mode pins Boot Circuitry Headers Microcontroller Microcontroller Pin _ RESn Headers RESET pin D type latch BOOT amp BOOTn signals IRQ pin Debug Header Option IRQ Sih ADC Input IRQ pin Serial Connector Option sw2 sw3 BOOT RES CY O DD FA LI I KA J Potentiometer TEMES LEDs User 4 LEDS Power Green 1Green 1Orange 2Red Boot Orange y Figure 5 1 Block Diagram Figure 5 2 is representative of the connections required to the RSK USB Cable E8 emulator i User Interface Cable Pint p A MCU gt e O O e o o o cru Boara Figure 5 2 RSK Connections Chapter 6 User Circuitry 6 1 Switches There are four switches located on the RSK The function of each switch and its connection are shown in Table 6 1 Switch Function Microcontroller RES When pressed the RSK microcontroller is reset RESn Pin7 SW1 BOOT Connects to an IRQ input for user controls INTO Pin14 The switch is also used in conjunction with the RES switch to place Port8 pin 3 the device in BOOT mode when not using the E8 debugger SW2 Connects to an IRQ line for user controls INT1 Pin17 Port 8 pin 4 SW3 Connects to the ADC trigger
2. CH o ello olla le ES ES Gool us B T RIE ONO mi O Lolo lu 931 ZEER 5 dE Elsie E EEKIE 3 Ra De uo OJ CI am J4 1 al ES S C3 b5H Boot Les LEDJ R29 LEDA R28 LEDI F27 LEDOJ R26 HOWER R30 R32 0 98 an C4 Roa TR4 e Deeg Si do Ea EB De Ee SEEEEEEEES Sr e Si SW3 y D y DL e Figure 11 1 Component Placement C12 R21 ES Chapter 12 Additional Information For details on how to use High performance Embedded Workshop HEW refer to the HEW manual available on the CD or from the web Site For information about the M16C 26A series microcontrollers refer to the M16C 26 Series Hardware Manual For information about the M16C 26A assembly language refer to the M16C 60 M16C 20 M16C 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 eu renesas com Japan csc renesas com General information on Renesas Microcontrollers can be found on the Renesas website at http www renesas com 20 Renesas Starter Kit for M16C 26A User s Manual Publication Date Rev 2 00 05 09 2006 Published by Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bo
3. AVSS AVSS R13 R14 R16 Power Supply Connects J 5 to Board VCC J5 disconnected from R18 Board VCC Option Link Settings Reference Function Fitted Alternative Removed Related To R17 Microcontroller Supply to Microcontroller Fit Low ohm resistor to R18 R19 R20 Power Supply measure current R18 Power Supply Connects Board_VCC to Board VCC disconnected from R16 R17 R19 board voltage line board voltage line R20 R19 Power Supply Connects CON_5V external CON DN disconnected form R17 R18 R20 External 5V 5V to Board_VCC Board VCC R20 Power Supply Connects CON 3V3 external CON_3V3 disconnected from R17 R18 R19 External 3V 3 3 3V to Board VCC Board_VCC R21 User I O Power Connects Board_VCC to Board VCC disconnected Supply SW2 3 and LEDO 3 from SW2 3 and LEDO 3 R50 RS232 Seria Disables R5232 Serial Enables RS232 Serial R34 R35 Transceiver Transceiver R51 RS232 Seria Connect TX1 to RS232 Serial Only E8 connected R52 R50 port E8 remains connected R52 RS232 Seria Connect RX1 to RS232 Serial Only E8 connected R51 R50 port E8 remains connected R53 E8 Enables E8 E8 disabled R59 Application Connects IIC SDA to P7_0 Disconnects IIC SDA from R60 Board Interface PTO R60 Application Connects TMRO to P7 0 Disconnects TMRO from P7 0 R59 Board Interface R61 Application Connects IIC SCLtoP7 1 Disconnects IIC SCL from R62 Board Interface Pl R6
4. Boot mode The boot mode settings for this RSK are shown in Table 7 1 Boot Mode pin settings below CNVSS RP Pl 6 LSI State after Reset P8 5 End 1 0 1 Boot Mode Table 7 1 Boot Mode pin settings The software supplied with this RSK supports Boot mode using an E8 and HEW only However hardware exists to enter boot mode manually do not connect the E8 in this case Press and hold the SW1 BOOT The mode pins above are held in their boot states while reset is 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 E8 is connected nor the board is placed in bootmode as above the P1 6 pin and RP P8 5 pins are pulled high by 100k resistors and the CNVSS is pulled low by a 100k resistor When an E8 is used these three pins are controlled by the E8 7 2 Single chip mode As CNVSS is being pulled down by a 100k resistor this RSK will always boot in Single Chip mode when the E8 is not connected and the boot switch is not depressed Refer to M16C 26A Group Hardware Manual for details of Single chip mode CNVSS RP PL 6 LSI State after Reset P8 5 End 0 1 1 Single Chip Mode Table 7 2 Single Chip Mode pin settings Chapter 8 Programming Methods The board is intended for use with HEW and the supplied E8 debugger Refer to M16C 26A Group Hardware Manual for details of programming the mi
5. R_VREF 46 11 R AVCC 47 12 10 35 48 Table 9 4 J 4 9 2 Application Headers Table 9 5 and Table 9 6 below show the standard application header connections JA1 Pin Header Name RSK Signal Device Pin Header Name RSK Signal Device Name Pin Name Pin 1 Regulated Supply 1 CON DN 2 Regulated Supply 1 GROUND 3 Regulated Supply 2 CON 3V3 4 Regulated Supply 2 GROUND 5 Analogue Supply CON AVCC 47 6 Analogue Supply CON_AVSS 44 7 Analogue Reference CON_VREF 46 8 ADTRG ADTRG 36 9 ADCO ADO 45 10 ADC1 AD1 43 11 ADC2 AD2 42 12 ADC3 AD3 41 13 DACH NC 14 DACI1 NC 15 IOPort0 10_0 3 16 10 Port1 10_1 2 17 lOPort2 IO 2 1 18 IOPort3 lo 3 48 19 10Port4 IO A 40 20 IOPort5 10_5 39 21 IOPort8 IO 6 38 22 IOPort7 lO 7 37 23 IRQ3 IRQ3 34 24 NC NC 25 PC Bus IIC SDA 25 26 PC Bus IIC_SCL 24 Table 9 5 J Al Standard Generic Header JA2 Pin Header Name RSK Signal Device Pin Header Name RSK Signal Device Name Pin Name Pin 1 Reset RESn 1 2 External Clock Input CON XIN 10 3 Interrupt RP_E8A 12 4 Regulated Supply 1 GND 5 SPARE NC 6 Serial Port SClaTX 30 1 Interrupt IRQO 14 8 Serial Port SClaRX 31 9 Interrupt IRQ1 13 10 Serial Port SClaCk 32 11 Motor up down MO UD 15 12 Serial Port Handshake CTSRTS 33 13 Motor control MO_Up 17 14 Motor control MO_Un 16 15 Motor control MO Vp 23 16 Motor control MO Vn 22 17 Motor con
6. 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 Technology Europe Limited Trademarks All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Copyright Renesas Technology Europe Ltd 2006 All rights reserved Website htto www eu renesas com Glossary CPU Central Processing Unit RTE Renesas Technology Europe Ltd HEW High performance Embedded Workshop RSO Renesas Solutions Organisation LED Light Emitting Diode RSK Renesas Starter Kit PC Program Counter Chapter 2 Purpose This RSK is 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 RSK board contains all the circuitry required for microcontroller operation Chapter 3 Power Supply 3 1 Requirements This RSK operates from a 3V to 5V power supply A diode provides reverse polarity protection only if a current limiting power supply is used All RSK boards are supplied with an E8 debugger This product is able to power the RSK board with up to 300mA When the RSK is connected to another system then that system should supply power to the RSK All RSK boards
7. have an optional centre positive supply connector using a 2 1mm barrel power jack Warning The RSK is neither under nor over voltage protected Use a centre positive supply for this board 3 2 Power Up Behaviour When the RSK is purchased the RSK board has the Release 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 RS232 Serial LCD Display Power Power LED Microcontroller Pin Headers J1 to J4 E8 Header User LED 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 14 00mm WW 2 26 2 2 o o 3 80 00mm Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 is representative ofthe CPU board components and their connectivity Power Jack Option
8. input Option link allows connection to IRQ line The option is a pair of OR links ma Port 1 pin 5 OR INT3 Pin34 Port 1 pin 7 Table 6 1 Switch Functions R efer to schematic for detailed connectivity information 6 2 LEDs There are six LEDs on the RSK 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 As Colour Microcontroller Port Pin function Microcontroller Pin shown on silkscreen Number LEDO Green Port 10 4 40 LED1 Orange Port 10 5 39 LED2 Red Port 10 6 38 LED3 Red Port 10 7 37 Table 6 2 LED Port 6 3 Potentiometer A single turn potentiometer is connected to AN2 4 P 9 3 of the microcontroller This may be used to vary the input analogue voltage value to this pin between AVCC and Ground 6 4 Serial port The microcontroller programming serial port 1 is connected to the E8 connector This serial port can optionally be connected to the RS232 transceiver as well by fitting zero Ohm option resistors and fitting the D connector In addition the RS232 transceiver should be enabled The connections to be moved are listed in the table 6 3 Description Functi
9. 2 Application Connects TRIGatoP7 1 Disconnects TRIGa from R61 Board Interface P7_1 R63 Application Connects TRISTn to P10_4 Disconnects TRISTn from R64 Board Interface P10 4 R64 Application Connects IO 4 to P10 4 Disconnects IO 4 from P10 4 R63 Board Interface R65 Potentiometer Connects AD POTto P9 3 P9 3 connected to IO 3 only P9 3 connected to lO 3 R66 LCD Connects LCD D4to P6 0 P6 0 connected to CTSRTS R67 R68 R69 P6 0 connected to CTSRTS only R70 R71 R67 LCD Connects LCD_D5 to P6_1 P6_1 connected to SClaCK R66 R68 R69 P6_1 connected to SClaCK only R70 R71 R68 LCD Connects LCD_D6 to P6 2 P6 2 connected to SClaRX R66 R67 R69 P6 1 connected to SClaRX only R70 R71 Option Link Settings Reference Function Fitted Alternative Removed Related To R69 LCD Connects LCD D7to P6 3 P6 3 connected to SClaTX R66 R67 R68 P6_3 connected to SClaTX only R70 R71 R70 LCD Connects LCD RS to P9 0 P9 0 connected to IO 0 only R66 R67 R68 P9 0 connected to lO 0 R69 R71 R71 LCD Connects LCD Eto P9 1 P9 1 connected to IO 1 only R66 R67 R68 P9 1 connected to lO 1 R69 R70 Table 6 5 Option Links 6 7 Oscillator Sources A crystal oscillator or ceramic resonator is fitted on the RSK and used to supply the main clock input to the Renesas microcontroller A crystal oscillator is fitted on the RSK and used to supply the sub clock input Table 6 6 Oscillators Reson
10. REG10J0040 0200 Everywhere you imagine yy 2 ENESAS Renesas Starter Kit RSKM16C26A User s Manual RENESAS SINGLE CHIP MICROCOMPUTER M16C FAMILY M16C Tiny SERIES Rev 2 00 Renesas Technology Europe Ltd Revision date 05 09 2006 www renesas com Table of Contents Chapter I Preface ees leede E ee e e deer 1 Chapter 2 PUTOS E sa A E A II SAE NTO INA NN DR A 2 Ghapter3 PowerSUDply a A A ELO ALA AIL LAA RO 3 3 el e EE 3 3 2 Power Up BehaVlOU caia Na rn ael dedi arra pol Sla a aao 3 Ghapter 4 Board Layout sss sa A OA NLL AL AJ 4 4 1 ee luet 4 4 2 Board O ANO 5 Ghapter 5 Block Diagram a e do 6 Ghapter6 USeFGIICUIV ss A Ae A NA NIN Mo de ee ee eh KAO H E Be H RE 7 63 POtentO Metroid is 7 6 4 Serial Te 8 6 5 LED Y oTo U AE TTETE TTT TTTTET TET TTT E TT 8 0 67 OpUOMBINKS3 eziras EE 9 Ee UE ele le 11 6 8 Reset Gir CU ic Eeer geg ANA E EA IN de ae VI dsd 11 Ghaplef 7 Modes cti A A AA A NN E 12 en TT 12 Le2 MaS cap Md ome prr o ru e a E uo Oo I te NO EEE 12 Chapter 8 Programming Methods AI IIIA II KIIIII 13 Ghaptet E E 14 9 1 Microcontroller Headers oeeie a a a cnn cnn cnn cnn errar EO 14 9 2 Applicalomn ele EE 15 Chapter 10 Code Development 17 VOR OI ATON NE A NN EN INK A E a a oA hate te ta 17 10 2 Mode ee en GEET 17 EC E eelere 17 104 Memory Ee DEE 18 Ghapter 11 Component Place dior ata 19 Chapter 12 Additional Information 20 Chapter 1 Preface Cautions This document may be wholly or partially
11. X1 or X2 to Disconnects X1 or X2 from R2 R3 R4 Microcontroller Microcontroller R2 Oscillator Main Connects X1 or X2 to Disconnects X1 or X2 from R1 R3 R4 Microcontroller Microcontroller R3 Oscillator Main Connects external clock to Disconnects external clock R1 R2 R4 Microcontroller from Microcontroller R4 Oscillator Main Connects external clock to Disconnects external clock Rl R2 R3 Microcontroller from Microcontroller R5 Oscillator Sub Connects X3 to Disconnects X3 from R6 R7 R8 Microcontroller Microcontroller R6 Oscillator Sub Connects X3 to Disconnects X3 from R5 R7 R8 Microcontroller Microcontroller R7 Oscillator Sub Connects external subclock to Disconnects external R5 R6 R8 Microcontroller subclock from Microcontroller R8 Oscillator Sub Connects external subclock to Disconnects external R5 R6 R7 Microcontroller subclock from Microcontroller R10 A D Converter Connects Board_VCC to Disconnects Board_AVCC from R11 R12 R13 AVCC AVCC R14 R15 R11 A D Converter Connects CON_AVCC to Disconnects CON_VCC from R10 R12 R13 AVCC AVCC R14 R15 R12 A D Converter Connects Board_VCC to Disconnects Board_VREF from R10 R11 R13 VREF VREF R14 R15 R13 A D Converter Connects CON_VREF to Disonnects CON_VCC from R10 R11 R12 VREF VREF R14 R15 R14 A D Converter Connects GND to AVSS Disconnects GND to AVSS R10 R11 R12 R13 R15 R15 A D Converter Connects CON_AVSS to Disonnects CON_AVSS from R10 R11 R12
12. ators details the oscillators that are fitted and alternative footprints provided on this RSK Component Crystal X1 Fitted 10 MHz HC 49U package Resonator X2 NotFitted 10 MHz e g Murata CSTCE10M0G55 Subclock X3 Fitted 32 768kHz 90SMX package Table 6 6 Oscillators Resonators 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 User Boot Mode and User 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 RSK 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 pins 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 reset circuit on the user s board meets all the reset timing requirements 11 Chapter 7 Modes The RSK supports Boot mode and Single chip mode Details of programming the FLASH memory is described in the M16C 26A Group Hardware Manual 7 1
13. crocontroller without using these tools 9 1 Microcontroller Headers Table 9 1 to Table 9 4 show the microcontroller pin headers and their corresponding microcontroller connections The header pins connect Chapter 9 Headers directly to the microcontroller pins Marked pins are subject to option links J1 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 102 1 2 OT 2 3 10 07 3 4 CNVSS E8C 4 5 XCIN 5 6 XCOUT 6 7 RESn 7 8 CON_XOUT 8 9 GND 9 10 CON XIN 10 11 UC_VCC 11 12 RP E8A 12 Table 9 1 J 1 J2 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 IRQ1 13 2 IRQO 14 3 MO UD 15 4 MO_Un 16 5 MO Up 17 6 TRIGb 18 7 TMR1 19 8 MO Wn 20 9 MO Wp 21 10 MO Vn 22 11 MO Vp 23 12 IIC SCLITRIGa 24 Table 9 2 J 2 J3 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 IIC_SDA TMRO 25 2 E8 TTX 26 3 E8 TRX 27 4 SCLK_E8D 28 5 E8 BUSY 29 6 SClaTX 30 7 SClaRX 31 8 SClaCK 32 9 CTSRTS 33 10 IRQ3 34 11 P16 E8B 35 12 ADTRG 36 Table 9 3 J 3 J4 Pin Circuit Net Name Device Pin Circuit Net Name Device Pin Pin 1 107 37 2 IO 6 38 3 10 5 39 4 TRISTn 10_4 40 5 AD3 41 6 AD2 42 7 AD 43 8 R_AVSS 44 9 ADO 45 10
14. on Fit for RS232 Remove for RS232 TxD1 Programming Serial Port R51 RxD1 Programming Serial Port R52 SHDNn RS232 Transceiver R50 Hardware Shutdown Table 6 3 Serial Port settings A Secondary serial port is connected to the application headers 6 5 LCD Module A LCD module is supplied to be connected to the connector J 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 J 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 RSK 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 DLCDRS 3 5 R W Wired to Write only 6 DLCDE 2 7 No Connection 8 No Connection 9 No Connection 10 No Connection 11 DLCD4 33 12 DLCD5 32 13 DLCD6 31 14 DLCD7 30 Table 6 4 LCD Module Connections 6 6 Option Links Table 6 5 below describes the function of the zero ohm option links contained on this RSK board Option Link Settings Reference Function Fitted Alternative Removed Related To R1 Oscillator Main Connects
15. trol MO Wp 21 18 Motor control MO_Wn 20 19 Timer Output TMRO 25 20 Timer Output TMR1 19 21 Timer Input TRIGa 24 22 Timer Input TRIGb 18 23 Interrupt P16 ERR 35 24 Tristate Control TRISTn 40 25 SPARE XCOUT 6 26 SPARE XCIN 5 Table 9 6 J A2 Standard Generic Header Chapter 10 Code Development 10 1 Overview Note For all code debugging using Renesas software tools the RSK board must be connected to a PC USB port via an E8 An E8 is supplied with the RSK product 10 2 Mode Support HEW connects to the Microcontroller and programs it via the E8 Mode supportis handled transparently to the user 10 3 Breakpoint Support HEW 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 10 4 Memory Map H 00000 H 00400 H 00BFF HOFOOO H 10000 H F0000 H FFFFF SFR Internal RAM Reserved area Internal ROM data area Reserved area Internal ROM program area Program RAM E8 Work RAM Program ROM E8 Work ROM Unused Vectors Figure 10 1 Memory Map H 00400 H 00B00 H 00BFF H F0000 H FFOOO H FF7FF H FFEOO H FFFFF Chapter 11 Component Placement JAI EEN 7 lt ER EEEEEE RE III CEO Oe e Oe oe Oc Oe Cy oo o Jol m
16. urne End Buckinghamshire SL8 5FH United Kingdom 2006 Renesas Technology Europe and Renesas Solutions Corp All Rights Reserved Renesas Starter Kit for M16C 26A User s Manual LENESAS Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom
Download Pdf Manuals
Related Search
Related Contents
Ranhuradora de Tubos Combinado user manual LifeWise 63-609 User's Manual Harbor Freight Tools 65207 User's Manual Pequeño. Fácil de usar. Operación confiable. Protección accesible. PTOS 4.5.1 User`s Guide 1 - Fujioh Kitchen Ventilation Canada Owner`s Manual Copyright © All rights reserved.
Failed to retrieve file