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 a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones Renesas M16C/20. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica Renesas M16C/20 o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual Renesas M16C/20 se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales Renesas M16C/20, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones Renesas M16C/20 debe contener:
- información acerca de las especificaciones técnicas del dispositivo Renesas M16C/20
- nombre de fabricante y año de fabricación del dispositivo Renesas M16C/20
- condiciones de uso, configuración y mantenimiento del dispositivo Renesas M16C/20
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de Renesas M16C/20 no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de Renesas M16C/20 y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico Renesas en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de Renesas M16C/20, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo Renesas M16C/20, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual Renesas M16C/20. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

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