Renesas M16C/26A manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Renesas M16C/26A. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoRenesas M16C/26A vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Renesas M16C/26A você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Renesas M16C/26A, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Renesas M16C/26A deve conte:
- dados técnicos do dispositivo Renesas M16C/26A
- nome do fabricante e ano de fabricação do dispositivo Renesas M16C/26A
- instruções de utilização, regulação e manutenção do dispositivo Renesas M16C/26A
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Renesas M16C/26A não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Renesas M16C/26A e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Renesas na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Renesas M16C/26A, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Renesas M16C/26A, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Renesas M16C/26A. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    REG10J0040-0300 Renesas Starter Ki t for M16C/26A User’s Manual RENESAS 16-BIT SINGLE- CHIP MICROCOMPUTER M16C FAMILY / M16C/Tiny SERIES Rev .3.00 Renesas T echnolog y Europe Ltd . Revision date: Aug.31,2007 www .renesas. com[...]

  • Página 2

    Table of Contents Chapter 1. Preface .................................................................................................................................................. 1 Chapter 2. Purpose ............................................................................................................................... .................[...]

  • Página 3

    Chapter 1. Preface Cautions This document may be, wholly or partially, subject to change witho ut notice. All rights reserved. Duplication of this document, either in whole or part is prohibited without the written permission of Rene sas Technology Europe Limited. Trademarks All brand or product names used in this manual are trademarks or registere[...]

  • Página 4

    Chapter 2. Purpose This Renesas Starter Kit 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 Renesas Starter Kit[...]

  • Página 5

    Chap ter 3. Pow er 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. Th is product is able to power the Renesas Starter Kit board w ith up to 300mA. Wh[...]

  • Página 6

    Chapter 4. Board Layo ut 4.1. Component Layout The following diagram shows the top layer component layout of the board. Figure 4-1: Board Layout 4[...]

  • Página 7

    4.2. Board Dimensions The following diagram gives the board dim ensions and connector p ositions. All through hole connect ors are on a common 0.1” grid for easy interfacing. JA2 JA1 MCU 14.00mm 45.00mm 27.0 0mm 50.8 0mm 80.0 0mm 85.0 0mm Figure 4-2 : Board D imensions 5[...]

  • Página 8

    Chapter 5. Block Diagram Figure 5-1 is representative of the CPU board components and their connectivity. Boo t mode pins BOOT Circui try D-type Latch RESET pi n RES SW1 BOOT SW2 SW3 Switche s IRQ pins POWER: Gr een BOOT: Orange LEDs User LE D x4 1Green , 1Or ange , 2Red I/O ADC In put Potenti ometer Application Board Interface Micr oc ontr olle r [...]

  • Página 9

    Chapter 6. User Ci rcuit ry 6.1. Switches There are four switches located on the Renesas Starter Kit. T he function of each switch and its conn ection are shown in Table 6 -1. Switc h Function Microcontroller RES When pressed, the board microcontroller is reset. RESET Pin 7 SW1/BOOT* Connects to an IRQ input for user controls. The switch is also us[...]

  • Página 10

    6.3. Potentiometer A single turn potentiometer is connected to AN2.4 (P9.3) of t he micr ocontroller. This may be used to vary the input analog volt age value to this pin between AVCC and Ground. 6.4. Serial port The microcontroller programming serial port 1 is connected to t he E8a connector. This serial port can optionally be connected t o the R [...]

  • Página 11

    6.6.Option Links T able 6-5 below describes the fu nction of the option links asso ciat ed with Power configuration. The default configuration is in dicated by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R16 Power Supply Connects J5 to Board_VCC J5 disconnected from Board_VCC R18 R17 MCU Power Supply S[...]

  • Página 12

    T able 6-6 below describes the function of the option links asso ciated with Clock configuration. The default configuration is in dicated by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R1 Oscillator (Main clock) Connects X1 (or X 2) to MCU Connects external clock to MCU R2, R3, R4 R2 Oscillator (Main c[...]

  • Página 13

    T able 6-8 below describes the fu nction of the option links asso ciated with Analog configuration. The default configuration is i ndicate d by BOLD text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R10 ADC Connects Board_VCC to AVCC Disconnects Board_VCC from AVCC R11, R12, R13, R14,R15 R11 ADC Connects CON_AVCC[...]

  • Página 14

    T able 6-10 below describes the function of the option links asso ciat ed with other options. The def ault configuration is indicat ed b y BOL D text. Option Link Settings Reference Function Fitted Alternative (Removed) Related To R53 E8a Enables E8a Do not fit the option resistor R56 SW1 Connects SW1 to MCU port P8_3 Disconnected R57 SW3 (ADTRG in[...]

  • Página 15

    6.7.Oscillator Sources A crystal oscillator or ceramic resonator is fitted on the Renes as Starter Kit and used to supply the main clock input to the R enesas microcontroller . A crystal oscillator is fitted on the R enesas Starter Kit and used to suppl y the sub clock input. T able 6-1 1: Oscillators / Resonators details the oscillators t hat are [...]

  • Página 16

    Chapter 7. Modes The Renesas Starter Kit supports 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/ P8_5 P1_6 LSI Stat e after Res et End High Lo[...]

  • Página 17

    Chapter 8. Progra mming Method s 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 t he microcontroller without using these tools. 15[...]

  • Página 18

    Chapter 9. Headers 9.1. Microcontroller Headers Table 9-1 to Table 9-4 show the microcontroller pin headers and their corresponding microcontro ller connections. The header pin s 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 IO_2 1 2 IO_1[...]

  • Página 19

    J4 Pin Circuit Net Name Device Pin Pin Circuit Net Name Device Pin 1 IO_7 37 2 IO_6 38 3 IO_5 39 4 TRISTn/IO_4* 40 5 AD3 41 6 AD2 42 7 AD1 43 8 R_AVSS 44 9 AD0 45 10 R_VREF 46 11 R_AVCC 47 12 IO_3* 48 Table 9-4: J4 9.2. Application Headers Table 9-5 and Table 9-6 below show t he standard application header connections. JA1 Pin Header Name Circuit N[...]

  • Página 20

    JA2 Pin Header Name Circuit Net Name Device Pin Pin Header Name Circuit Net Name Device Pin 1 Reset RESn 7 2 External Clock Input CON_XIN* 10 3 Interrupt RP_E8A 12 4 Regulated Supply 1 GND - 5 WDT overflow NC - 6 Serial Port SCIaTX* 30 7 Interrupt IRQ0* 14 8 Serial Port SCIaRX* 31 9 Interrupt IRQ1* 13 10 Serial Port SCIaCK* 32 11 Motor up/down MO_U[...]

  • Página 21

    Chapter 10. Cod e Development 10.1. Overview Note: For all code debugging usi ng Renesas software tool s, the R enesas Starter Kit board must be connected to a Personal Comput er 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 Microcontro ller and pr[...]

  • Página 22

    10.4. Memory Map Figure 10-1: Memory Map 20[...]

  • Página 23

    Chapter 11. Compo nent Placem ent Figure 11-1: Component P lacement 21[...]

  • Página 24

    Chapter 12. Additional Information For details on how to use High-performance E mbedded Workshop, refer to the High-performance Embedded Workshop manual available on the CD or from the web site. For information about the M16C/26A series microcontrollers refer to the M16C/26A Group Hardware Manual. For information about the M16C/26A assembly languag[...]

  • Página 25

    Renesas Starter Kit f or M16C/26 A User's Manu al Publicat ion Date Rev.3.00 Aug. 31,200 7 Pu bli shed by : Renesas T echnolog y Europe Ltd . Duke’s Meadow , Millb oard Road, Bour ne En d Buck inghams hire SL8 5FH, United Ki ngdom ©2007 Renesas T echnology Europ e and Renesas Sol utions Corp. an d Renesas T ec hnology Corp. All Right s Rese[...]

  • Página 26

    Renesas Star ter Kit for M16C/26A User's Manual Renesas T e chnology Europe Ltd. Duke’s Meadow , Millb oard Road, Bour ne En d Buck inghams hire SL8 5FH, United Ki ngdom[...]