Home

Renesas M16C/26A User's Manual

image

Contents

1. 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 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 analog voltage value to this pin between AVCC and Ground 6 4 Serial port The microcontroller programming serial port 1 is connected to the E8a connector This serial portcan optionally be connected to the RS232 transceiver as well by fitting zero Ohm option resistors and fitting the D connector In addition the RS 232 transceiver should be enabled The connections to be moved are listed in the table 6 3 pesos Fanaon Fees 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 1 Ca
2. text Reference Option Link Settings Alternative Removed Related To R1 Oscillator Connects X1 or X2 to MCU Connects external clock to MCU R2 R3 R4 Main clock R2 Oscillator Connects X1 or X2 to MCU Connects external clock to MCU R1 R3 R4 Main clock R3 Oscillator Connects external clock to MCU Connects X1 or X2 to MCU R1 R2 R4 Main clock 7 Oscillator Connects external clock to MCU Connects XI or X2 to MCU R1 R2 R3 EN kom A PA Oscillator Connects X3 to MCU Connects external sub clock to R6 R7 R8 tone i i Oscillator Connects X3 to MCU Connects external sub clock to R5 R7 R8 tome i i AN R Oscillator Connects external sub clock to Connects X3 to MCU R5 RO R8 a E Oscillator Connects external sub clock to Connects X3 to MCU R5 R6 R7 GEN E PP Table 6 6 Clock Configuration Links Table 6 7 below describes the function of the option links associated with Serial configuration The default configuration Is indicated by BOLD text Option Link Settings RS232 Serial Disables RS232 Serial Enables RS232 Serial R51 R52 Transceiver Transceiver Programming Serial Connect programming serial Only E8a connected Port port RX1 to RS 232 Serial port E8a remains connected R51 Programming Serial Connect programming serial Only E8a connected Port port TX1 to RS232 Serial port E8a remains connected NN Table 6 7 Serial Configuration Links 10 Table 6 8 below describes the function of t
3. NS owe CS eem CIS kanan je ENN CON XIN IRQ1 Bo wwo hb ww EAN mo FE pw a Ww Ja a a ic _SCLITRIGa Table 9 2 J 2 Circuit Net Name badia Circuit Net Name 7 em a jem a e sued e fee Cd E Ea Co DE e CTSRTS P16 E8B IRQ3 ECO E Table 9 3 J 3 16 Device Pin 37 39 1 3 45 41 ENN EN e ne o e jo Table 9 4 J 4 9 2 Application Headers Table 9 5 and Table 9 6 below show the standard application header connections Header Name Circuit Net Device Name Pin 5 Analogue Supply CON AVCC 7 Analogue Reference CON VREF IRQ3 10 ADCI ADI 1 3 UJ 00 21 IOPort8 UU e W N n VI Table 9 5 J Al Standard Generic Header 17 Header Name Circuit Net Device Header Name Circuit Net Device Name Pin Name Pin T CET esa CN ZS e e EE CES SO EP SN sc E z s e ficour fe e eme ene Table 9 6 J A2 Standard Generic Header 18 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 Computer 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 supp
4. REG10J0040 0300 Everywhere you imagine g 2 ENESAS Renesas Starter Kit for M16C 26A User s Manual RENESAS 16 BIT SINGLE CHIP MICROCOMPUTER M16C FAMILY M16C Tiny SERIES Rev 3 00 Renesas Technology Europe Ltd Revision date Aug 31 2007 www renesas com Table of Contents Chapter To Prela o e e UE o a So a a lai 1 Chapter 2 PUN ek TI ETT TTT TTT TL 2 OhAplEELO POWEFOUDDIV sv ns allea 3 3 Regiire mensa TTERTE TTTERErTTTETRRR TF 3 3 2 Power Up Behaviour 3a ia kapab dilata cid 3 Chapier4 Board FAVO sasa a A la acd tah a eee kuo a E alias 4 4 COMPONEN CU CO 4 4 2 Board DIMENSION Srta A 5 Chapter 5 Block Diagram i iaia 6 Chapiere UsercirciuiV tate oie ee TETTE TTT E 7 Os OWIES ica vd ia 7 TT oct 0 cc O 7 6 3 POIERMONIEIE siria laine ERI RITO a RAI a TALE IAT 8 64 Serial poll re e a a a a a 8 Bo SOMO du MM ITERE edi 8 AKO elo KITE TMmyw o o W ohh h oojf 9 6 1 OSCIIIAlOF SOUC S hanee ko EER nI a EE a SEE ea 13 O Os MESEE A o ads l lilla ille 13 Onapler TAMOS re TTT TTT TT TTTTTTTTTTTTT TT ETTL 14 PA BOO IMO PTT 14 Tes glel sejg AA oe E OE aeea RA oaa Ai 14 Chapter 8 Programming Methods ssss ccssssssssccssssssssccsssussscessnnnnsssernsnnsstcresnnatssernennarssrrrnnnnrii 15 GhapleroFeadels usu a e a o ed
5. e N TJ ao ka oe ali 16 9 t Microcontroller leaders sss sn e o AN dea 16 9 2 Application Headers s sssssssc cssssssssscsssssstsssrssunssssnrqnunsstenrnnnnssssnrnnnntsrsnrqnasssrenrsnssnss 17 Chapter 10 Code Development a a a a a o ee ka vak la da i 19 ozo I I Wallace 19 10 2 MOUS SUDDO FF 19 10 3 Breakpolt SUPPONI RL TTT TTT La 19 104 Memo Mapa A AA OEA AA oi 20 Chapter Tiy ComponentF laceme tucan a a ia 21 Ghapter 12 Additional Ito RMAION li 22 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 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 2007 All rights reserved Renesas Solutions Corp 2007 All rights reserved Renesas Technology Corp 2007 All rights reserved Website htto www eu renesas com Europe htto www renesas com Global Glossary ADC Analog Digital Converter IRQ Interrupt ReQuest CPU Central Processing Unit LED Light Emitting Diode DAC Digital Analog Converter LSI Large Scale Integration E 8a E8a On chip debugger module MCU Microcontroller HEW High performance Embedded Wo
6. ease 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 to J4 E a Header User LEDs Boot LED User Boot Switch Application Board Interface User Switches 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 wwo0 s gt de wuies ya A A 14 00mm CO mM S o o 3 JE 3 3 w w y 27 00mm lt 4 50 80mm b 80 00mm 4 85 00mm Figure 4 2 Board Dimensions Chapter 5 Block Diagram Figure 5 1 is representative of the CPU board components and their connectivity a i e e a ina a i Microcontroller Pin Headers Power Jack Option Application Board Interface RESET pin E8a IRQ pins aa ADC Input I O I I l D type i Latch M
7. he option links associated with Analog configuration The default configuration is indicated by BOLD text Option Link Settings R10 ADC Connects Board VCC to Disconnects Board VCC from R11 R12 R13 R11 ADC Connects CON AVCC to Disconnects CON AVCC R10 R12 R13 R12 ADC Connects Board VCC to Disconnects Board VCC from R10 R11 R13 R13 ADC Connects CON VREF to Disonnects CON VREF from R10 R11 R12 R14 ADC Connects Ground to AVSS Disconnects Ground from AVSS R10 R11 R12 EE R15 ADC Connects CON_AVSS to Disonnects CON_AVSS from R10 R11 R12 Potentiometer Connects AD_POT to MCU Disconnected port P9 3 P9 3 connected to lO 3 Table 6 8 Analog Configuration 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 R59 MCU Pin Function Connects IIC SDA to MCU Disconnected port P7_0 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 cr D gt lt cr Option Link Settings Reference Fitted Alternative Removed Related To R53 E8a Enables E8a Do not fit the option resistor R56 SW1 Connects SW1 to MCU port Disconnected NN R57 SW3 Connects SW3 to MCU port Disconnected R58 ADTRG input P1 5 ADTRG pi
8. icrocontroller atc l l l I BOOT Circuitry r j _ _ I I I I I sw3 sw2 SWI RES BOOT I Switches m m k ahj Z Tamo INNNN N r Potentiometer Data x4 User LED x4 POWER Green Control x2 1Green 1Orange 2Red N LEDs BOOT Orange Figure 5 1 Block Diagram Figure 5 2 is representative of the connections required to the Renesas Starter Kit USB Cable E8a emulator User Interface Cable Ld o o o CPU Board Figure 5 2 Renesas Starter Kit Connections fn n i n n n ie n sjeubis ULOOf amp 8 LOO 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 1 Faction Mierocontroler When pressed the board microcontroller is reset RESET Pin 7 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 E8a debugger SW2 Connects to an IRQ input for user controls INT1 Pin17 Port 8 pin 4 Connects to the ADC trigger input Option link allows connection to ADTRG Pin 36 Port 1 pin 5 OR INT3 Pin34 Port 1 pin 7 IRQ input The option is a pair of OR links Table 6 1 Switch Functions Refer to
9. n UNN R58 SW3 Connects SW3 to MCU port Disconnected IRQ input P1 7 IRQ pin LCD Connects LCD D4 to MCU port P6 0 P6 0 connected to CTSRTS R67 LCD Connects LCD D5 to MCU portP6 1 P6 1 connected to SClaCK R68 LCD Connects LCD_D6 to MCU port P6_2 P6_1 connected to SClaRX LCD Connects LCD_D7 to MCU port P6 3 P6 3 connected to SClaTX R70 LCD Connects LCD RS to MCU port P9 0 P9 O connected to lO 0 R71 LCD Connects LCD E to MCU port P9 1 P9 1 connected to lO 1 R67 R68 R69 R70 R71 Disconnected R66 R68 R69 R70 R71 Disconnected Disconnected R66 R67 R69 R70 R71 R66 R67 R68 R70 R71 Disconnected R66 R67 R68 R69 R71 Disconnected R66 R67 R68 R69 R70 Disconnected Table 6 10 Other Option Links 12 6 7 Oscillator Sources A crystal oscillator or ceramic resonator is fitted on the Renesas Starter Kit and used to supply the main clock input to the Renesas microcontroller A crystal oscillator is fitted on the Renesas Starter Kit and used to supply the sub clock input Table 6 11 Oscillators Resonators details the oscillators that are fitted and alternative footprints provided on this Renesas Starter Kit Maln clock X X 1 10 MHz HC 49U package Main clock X2 10 MHz e g Murata CSTCE10M0G 55 Sub clock X3 32 768kHz 90SMX package Table 6 11 Oscillators Resonators 6 8 Reset Circuit The CPU Board includes a simple latch circuit that links the m
10. ode 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 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 13 Chapter 7 Modes The Renesas Starter Kitsupports Boot mode and Single chip mode Details of programming the FLASH memory is described in the M16C 26A 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 CNVSS RP hai LSI State after Reset End P8 5 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 man
11. orts 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 19 10 4 Memory Map 00000h 00400h Internal RAM OOBFFh OF000h Internal ROM Data space OFFFFh Reserved area 0F0000h Internal ROM Program space OFFFFFh 00400h User RAM OOB80h Emulator Work RAM QOBFFh OF000h User ROM User ROM Emoto rm OFF7FFh EEG Special Page Vector Tables Fixed Vector Tables OFFFFh 0F0000h OFF000h OFFFFFh Figure 10 1 Memory Map 20 OFFFDCh OFFFDCh OFFFE4h Emulator Vector OFFFEFh TA A Emulator Vector OFFFF7h a PA Emulator Vector OFEFFFh ES AJ con LO J Chapter 11 Component Placement JA 34d J lt IE CA LA ES IE Ce EE e Oe 0 Oe Ce EL Jo CIS lll ao lele 5 ERE R36 R33 Jb Ro l BER aE E zo Jd R34 EE MERE la R44 EE E EIE A 8 JAZ ows DWZ owl Figure 11 1 Component Placement 21 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 aboutthe M16C 26A series microcontrollers refer to the M16C 26A Group Hardware Manual For information abo
12. re 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 Circuit Net Name la Circuit Net Name Device 2 5V Only Table 6 4 LCD Module Connections Nu CTER E E p 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 Alternative Removed Related To R18 Function Fitted y Power Supply Connects J 5 to Board_VCC J 5 disconnected from Ee MCU Power Supply Supply to MCU FitLow ohm resistor to measure R18 R19 R20 ee ee Power Supply Connects Board VCC to Board VCC disconnected from R16 R17 R19 R20 pest eme fn Power Supply Connects CON 3V3 external CON 3V3 disconnected from R17 R18 R19 User I O Power Connects Board VCC to Board VCC disconnected Table 6 5 Power Configuration Links R19 Power Supply Connects CON 5V external CON_5V disconnected from R17 R18 R20 External 5V 5V to Board VCC Board VCC Table 6 6 below describes the function of the option links associated with Clock configuration The default configuration is indicated by BOLD
13. rkshop Chapter 2 Purpose This Renesas Starter Kitis an evaluation tool for Renesas microcontrollers Features include e Renesas Microcontroller Programming e User Code Debugging e User Circuitry such as Switches LEDs and potentiometer s e User or Example Application e 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 M16C 26A 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 Rel
14. ually do not connect the E8a 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 E8a is connected nor the board is placed in boot mode 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 E8a is used these three pins are controlled by the E8a 7 2 Single chip mode As CNVSS is being pulled down by a 100k resistor this Renesas Starter Kit will always boot in Single chip mode when the E8a 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 A LSI State after Reset End P8 5 Table 7 2 Single chip Mode pin settings 14 Chapter 8 Programming Methods The board is intended for use with High performance Embedded Workshop and the supplied E8a debugger Refer to M16C 26A Group Hardware Manual for details of programming the microcontroller without using these tools 15 Chapter 9 Headers 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 directly to the microcontroller pins Marked pins are subject to option links Circuit Net Name 2 lo 1 E
15. utthe 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 techsupportrta renesas com Europe tools support eu renesas com J apan csc renesas com General information on Renesas Microcontrollers can be found on the Renesas website at http Www renesas com 22 Renesas Starter Kit for M16C 26A User s Manual Publication Date Rev 3 00 Aug 31 2007 Published by Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom 2007 Renesas Technology Europe and Renesas Solutions Corp and Renesas Technology Corp All Rights Reserved Renesas Starter Kit for M16C 26A User s Manual stENESAS Renesas Technology Europe Ltd Duke s Meadow Millboard Road Bourne End Buckinghamshire SL8 5FH United Kingdom

Download Pdf Manuals

image

Related Search

Related Contents

DHT−110シリーズ 製品説明書 - DIGI-TEK  平成27年度徳島県水防計画【資料】.  Manuel d`utilisation    Symantec™ ServiceDesk 7.5 Release Notes  Tripp Lite SMART1050SLT User's Manual  Impex Apex TC-2210 User's Manual    Phone - produktinfo.conrad.com  Interfaz de audio 888|24 I/O Guía de instalación  

Copyright © All rights reserved.
Failed to retrieve file