Renesas M16C/20 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
27
28
29
30
31
32

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/20. 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/20 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/20 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/20, 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/20 deve conte:
- dados técnicos do dispositivo Renesas M16C/20
- nome do fabricante e ano de fabricação do dispositivo Renesas M16C/20
- instruções de utilização, regulação e manutenção do dispositivo Renesas M16C/20
- 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/20 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/20 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/20, 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/20, 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/20. 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

    RENE S A S 1 6 -BIT S IN G LE- C HIP MI C R OCO MP U TE R M1 6C F AMIL Y / M1 6C/ 2 0 S ERIE S M16C/26 Group 16 Rev. 0.90 Revision date: December. 28, 2003 Usage Notes Reference Book www.renesas.com Before using this material, please visit our website to confirm that this is the most current document available. REJ09B0130-0090Z For the most current[...]

  • Página 2

    Keep safety first in your circuit designs! Notes regarding these materials • Renesas T echnology Corporation puts the maximum effort into making semiconductor prod- ucts better and more reliable, but there is always the possibility that trouble may occur with them. T rouble with semiconductors may lead to personal injury , fire or property damage[...]

  • Página 3

    Preface The “Usage Notes Reference Book” is a compilation of usage notes from the Hardware Manual as well as technical news related to this product.[...]

  • Página 4

    A-1 Table of contents 1. Usage Precaution .......................................................................................... 1 1.1 Precautions for Power Control .................................................................................... 1 1.2 Precautions for Protect ..................................................................[...]

  • Página 5

    A-2 1.10 Precautions for Flash Memory V ersion .................................................................. 22 1.10.1 Precautions for Functions to Inhibit Rewriting Flash Memory Rewrite ...................................... 22 1.10.2 Precautions for Stop mode ...................................................................................[...]

  • Página 6

    M16C/26 Group Rev.0.90 2003.12.28 page 1 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1. Usage Precaution 1.1 Precautions for Power Control ____________ 1. When exiting stop mode by hardware reset, set RESET pin to “ L ” until a main clock oscillation is stabilized. 2. Inse[...]

  • Página 7

    M16C/26 Group Rev.0.90 2003.12.28 page 2 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.2 Precautions for Protect Set the PRC2 bit to “ 1 ” (write enabled) and then write to any address, and the PRC2 bit will be cleared to “ 0 ” (write protected). The registers protecte[...]

  • Página 8

    M16C/26 Group Rev.0.90 2003.12.28 page 3 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.3 Precautions for Interrupts 1.3 Precautions for Interrupts 1.3.1 Reading address 00000 16 Do not read the address 00000 16 in a program. When a maskable interrupt request is accepted, the C[...]

  • Página 9

    M16C/26 Group Rev.0.90 2003.12.28 page 4 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.3 Precautions for Interrupts ______ 1.3.5 INT Interrupt 1. Either an “ L ” level of at least t W ( INH ) or an “ H ” level of at least t W ( INL ) width is necessary for the signal _[...]

  • Página 10

    M16C/26 Group Rev.0.90 2003.12.28 page 5 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.3 Precautions for Interrupts 1.3.6 Rewrite the Interrupt Control Register (1) The interrupt control register for any interrupt should be modified in places where no requests for that interru[...]

  • Página 11

    M16C/26 Group Rev.0.90 2003.12.28 page 6 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.3.7 Watchdog Timer Interrupt Initialize the watchdog timer after the watchdog timer interrupt occurs. 1.3 Precautions for Interrupts[...]

  • Página 12

    M16C/26 Group Rev.0.90 2003.12.28 page 7 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.4 Precautions for DMAC 1.4.1 Write to DMAE Bit in DMiCON Register When both of the conditions below are met, follow the steps below. Conditions • The DMAE bit is set to “ 1 ” again whi[...]

  • Página 13

    M16C/26 Group Rev.0.90 2003.12.28 page 8 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5 Precautions for Timers 1.5.1 Timer A 1.5.1.1 Timer A (Timer Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TAiMR (i = 0 to 4) regist[...]

  • Página 14

    M16C/26 Group Rev.0.90 2003.12.28 page 9 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5.1.2 Timer A (Event Counter Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TAiMR (i = 0 to 4) register, the TAi register, the UDF reg[...]

  • Página 15

    M16C/26 Group Rev.0.90 2003.12.28 page 10 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5.1.3 Timer A (One-shot Timer Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TAiMR (i = 0 to 4) register, the TAi register, the ONSF [...]

  • Página 16

    M16C/26 Group Rev.0.90 2003.12.28 page 11 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5.1.4 Timer A (Pulse Width Modulation Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TAiMR (i = 0 to 4) register, the TAi register, t[...]

  • Página 17

    M16C/26 Group Rev.0.90 2003.12.28 page 12 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5.2 Timer B 1.5.2.1 Timer B (Timer Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TBiMR (i = 0 to 2) register and TBi register before[...]

  • Página 18

    M16C/26 Group Rev.0.90 2003.12.28 page 13 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5.2.2 Timer B (Event Counter Mode) 1. The timer remains idle after reset. Set the mode, count source, counter value, etc. using the TBiMR (i = 0 to 2) register and TBi register before setti[...]

  • Página 19

    M16C/26 Group Rev.0.90 2003.12.28 page 14 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.5 Precautions for Timers 1.5.2.3 Timer B (Pulse Period/pulse Width Measurement Mode) 1. The timer remains idle after reset. Set the mode, count source, etc. using the TBiMR (i = 0 to 2) reg[...]

  • Página 20

    M16C/26 Group Rev.0.90 2003.12.28 page 15 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.6 Precautions for Serial I/O (Clock-synchronous Serial I/O) 1.6 Precautions for Serial I/O (Clock-synchronous Serial I/O) 1.6.1 Transmission/reception _______ ________ 1. With an external c[...]

  • Página 21

    M16C/26 Group Rev.0.90 2003.12.28 page 16 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.6.2 Transmission When an external clock is selected, the conditions must be met while if the UiC0 register ’ s CKPOL bit = “ 0 ” (transmit data output at the falling edge and the rece[...]

  • Página 22

    M16C/26 Group Rev.0.90 2003.12.28 page 17 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.6.3 Reception 1. In operating the clock-synchronous serial I/O, operating a transmitter generates a shift clock. Fix set- tings for transmission even when using the device only for receptio[...]

  • Página 23

    M16C/26 Group Rev.0.90 2003.12.28 page 18 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.7 Precautions for Serial I/O (UART Mode) 1.7 Precautions for Serial I/O (UART Mode) 1.7.1 Special Mode 2 _______ _____ If a low-level signal is applied to the P8 5 /NMI/SD pin when the TB2S[...]

  • Página 24

    M16C/26 Group Rev.0.90 2003.12.28 page 19 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.8 Precautions for A-D Converter 1.8 Precautions for A-D Converter 1. Set ADCON0 (except bit 6), ADCON1 and ADCON2 registers when A-D conversion is stopped (before a trigger occurs). 2. When[...]

  • Página 25

    M16C/26 Group Rev.0.90 2003.12.28 page 20 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.8 Precautions for A-D Converter 8. If the CPU reads the ADi register (i = 0 to 7) at the same time the conversion result is stored in the ADi register after completion of A-D conversion, an[...]

  • Página 26

    M16C/26 Group Rev.0.90 2003.12.28 page 21 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.9 Precautions for Programmable I/O Ports 1.9 Precautions for Programmable I/O Ports _______ _____ 1. If a low-level signal is applied to the P8 5 /NMI/SD pin when the TB2SC register IVPCR1 [...]

  • Página 27

    M16C/26 Group Rev.0.90 2003.12.28 page 22 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.10 Precautions for Flash Memory Version 1.10 Precautions for Flash Memory Version 1.10.1 Precautions for Functions to Inhibit Rewriting Flash Memory Rewrite ID codes are stored in addresses[...]

  • Página 28

    M16C/26 Group Rev.0.90 2003.12.28 page 23 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.10 Precautions for Flash Memory Version 1.10.7 Operation speed Before entering CPU rewrite mode (EW0 or EW1 mode), select 10 MHz or less for CPU clock using the CM0 register ’ s CM06 bit [...]

  • Página 29

    M16C/26 Group Rev.0.90 2003.12.28 page 24 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 1.10 Precautions for Flash Memory Version 1.10.12 DMA transfer In EW1 mode, make sure that no DMA transfers will occur while the FMR0 register ’ s FMR00 bit = 0 (during the auto program or [...]

  • Página 30

    M16C/26 Group Rev.0.90 2003.12.28 page 25 of 28 Under development Preliminary specification Specifications in this manual are tentative and subject to change. 2. Differences Made Depending on Manufactured Time 2.1 RESET Input Ensure that pin RESET must hold valid-low state during powering-up. When using a reset IC, use a CMOS type IC. When using an[...]

  • Página 31

    RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER USAGE NOTES REFERENCE BOOK M16C/26 Group Rev.0.90 Editioned by Committee of editing of RENESAS Semiconductor Usage Notes Reference Book This book, or parts thereof, may not be reproduced in any form without permission of Renesas Technology Corporation. Copyright © 2003. Renesas Technology Corporation, All r[...]

  • Página 32

    M16C/26 Group Usage Notes Reference Book 2- 6 -2, Ote-machi, Chiyoda-ku, Tokyo, 1 00-0004, Japan[...]