Renesas M16C/20 manuel d'utilisation

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

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Renesas M16C/20. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Renesas M16C/20 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Renesas M16C/20 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation Renesas M16C/20 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Renesas M16C/20
- nom du fabricant et année de fabrication Renesas M16C/20
- instructions d'utilisation, de réglage et d’entretien de l'équipement Renesas M16C/20
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Renesas M16C/20 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Renesas M16C/20 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Renesas en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Renesas M16C/20, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Renesas M16C/20, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Renesas M16C/20. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 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[...]

  • Page 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[...]

  • Page 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.[...]

  • Page 4

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

  • Page 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 ...................................................................................[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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 _[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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 [...]

  • Page 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 [...]

  • Page 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[...]

  • Page 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[...]

  • Page 32

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