Instruction/ maintenance manual of the product M16C/20 Renesas
Go to page of 32
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.
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.
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.
A-1 Table of contents 1. Usage Precaution .......................................................................................... 1 1.1 Precautions for Power Control ..................................................................................
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 .
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
M16C/26 Group Usage Notes Reference Book 2- 6 -2, Ote-machi, Chiyoda-ku, Tokyo, 1 00-0004, Japan.
An important point after buying a device Renesas M16C/20 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Renesas M16C/20 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Renesas M16C/20 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Renesas M16C/20 you will learn all the available features of the product, as well as information on its operation. The information that you get Renesas M16C/20 will certainly help you make a decision on the purchase.
If you already are a holder of Renesas M16C/20, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Renesas M16C/20.
However, one of the most important roles played by the user manual is to help in solving problems with Renesas M16C/20. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Renesas M16C/20 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center