Datasheet
Table Of Contents
- Notes regarding these materials
- General Precautions in the Handling of MPU/MCU Products
- How to Use This Manual
- Table of Contents- Quick Reference by Address B-
- 1. Overview
- 2. Central Processing Unit (CPU) - 2.1 Data Registers (R0, R1, R2 and R3)
- 2.2 Address Registers (A0 and A1)
- 2.3 Frame Base Register (FB)
- 2.4 Interrupt Table Register (INTB)
- 2.5 Program Counter (PC)
- 2.6 User Stack Pointer (USP) and Interrupt Stack Pointer (ISP)
- 2.7 Static Base Register (SB)
- 2.8 Flag Register (FLG) - 2.8.1 Carry Flag (C Flag)
- 2.8.2 Debug Flag (D Flag)
- 2.8.3 Zero Flag (Z Flag)
- 2.8.4 Sign Flag (S Flag)
- 2.8.5 Register Bank Select Flag (B Flag)
- 2.8.6 Overflow Flag (O Flag)
- 2.8.7 Interrupt Enable Flag (I Flag)
- 2.8.8 Stack Pointer Select Flag (U Flag)
- 2.8.9 Processor Interrupt Priority Level (IPL)
- 2.8.10 Reserved Area
 
 
- 3. Memory
- 4. Special Function Registers (SFRs)
- 5. Reset
- 6. Processor Mode
- 7. Clock Generation Circuit
- 8. Protection
- 9. Interrupt
- 10. Watchdog Timer
- 11. DMAC
- 12. Timer
- 13. Serial I/O
- 14. A/D Converter
- 15. CRC Calculation Circuit
- 16. Programmable I/O Ports - 16.1 Port Pi Direction Register (PDi Register, i = 1, 6 to 10)
- 16.2 Port Pi Register (Pi Register, i = 1, 6 to 10)
- 16.3 Pull-up Control Register 0 to Pull-up Control Register 2 (PUR0 to PUR2 Registers)
- 16.4 Port Control Register
- 16.5 Pin Assignment Control register (PACR)
- 16.6 Digital Debounce function
 
- 17. Flash Memory Version - 17.1 Flash Memory Performance
- 17.2 Memory Map
- 17.3 Functions To Prevent Flash Memory from Rewriting
- 17.4 CPU Rewrite Mode
- 17.5 Register Description
- 17.6 Precautions in CPU Rewrite Mode - 17.6.1 Operation Speed
- 17.6.2 Prohibited Instructions
- 17.6.3 Interrupts
- 17.6.4 How to Access
- 17.6.5 Writing in the User ROM Space
- 17.6.6 DMA Transfer
- 17.6.7 Writing Command and Data
- 17.6.8 Wait Mode
- 17.6.9 Stop Mode
- 17.6.10 Low Power Consumption Mode and On-chip Oscillator-Low Power Consumption Mode
 
- 17.7 Software Commands
- 17.8 Status Register
- 17.9 Standard Serial I/O Mode
- 17.10 Parallel I/O Mode
 
- 18. Electrical Characteristics
- 19. Usage Notes - 19.1 SFR
- 19.2 PLL Frequency Synthesizer
- 19.3 Power Control
- 19.4 Protect
- 19.5 Interrupts
- 19.6 DMAC
- 19.7 Timer
- 19.8 Serial I/O
- 19.9 A/D Converter
- 19.10 Programmable I/O Ports
- 19.11 Electric Characteristic Differences Between Mask ROM
- 19.12 Mask ROM Version
- 19.13 Flash Memory Version - 19.13.1 Functions to Inhibit Rewriting Flash Memory
- 19.13.2 Stop mode
- 19.13.3 Wait mode
- 19.13.4 Low power dissipation mode, on-chip oscillator low power dissipation mode
- 19.13.5 Writing command and data
- 19.13.6 Program Command
- 19.13.7 Operation speed
- 19.13.8 Instructions prohibited in EW0 Mode
- 19.13.9 Interrupts
- 19.13.10 How to access
- 19.13.11 Writing in the user ROM area
- 19.13.12 DMA transfer
- 19.13.13 Regarding Programming/Erasure Times and Execution Time
- 19.13.14 Definition of Programming/Erasure Times
- 19.13.15 Flash Memory Version Electrical Characteristics 10,000 E/W cycle product
- 19.13.16 Boot Mode
 
- 19.14 Noise
- 19.15 Instruction for a Device Use
 
- Appendix 1. Package Dimensions
- Appendix 2. Functional Difference
 
- Register Index
- REVISION HISTORY

1. This document is provided for reference purposes only so that Renesas customers may select the appropriate 
 Renesas products for their use. Renesas neither makes warranties or representations with respect to the 
 accuracy or completeness of the information contained in this document nor grants any license to any 
 intellectual property rights or any other rights of Renesas or any third party with respect to the information in 
 this document. 
2. Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising 
 out of the use of any information in this document, including, but not limited to, product data, diagrams, charts, 
 programs, algorithms, and application circuit examples.
3. You should not use the products or the technology described in this document for the purpose of military 
 applications such as the development of weapons of mass destruction or for the purpose of any other military 
 use. When exporting the products or technology described herein, you should follow the applicable export 
 control laws and regulations, and procedures required by such laws and regulations.
4. All information included in this document such as product data, diagrams, charts, programs, algorithms, and 
 application circuit examples, is current as of the date this document is issued. Such information, however, is 
 subject to change without any prior notice. Before purchasing or using any Renesas products listed in this 
 document, please confirm the latest product information with a Renesas sales office. Also, please pay regular 
 and careful attention to additional and different information to be disclosed by Renesas such as that disclosed 
 through our website. (http://www.renesas.com )
5. Renesas has used reasonable care in compiling the information included in this document, but Renesas 
 assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information 
 included in this document.
6. When using or otherwise relying on the information in this document, you should evaluate the information in 
 light of the total system before deciding about the applicability of such information to the intended application. 
 Renesas makes no representations, warranties or guaranties regarding the suitability of its products for any 
 particular application and specifically disclaims any liability arising out of the application and use of the 
 information in this document or Renesas products. 
7. With the exception of products specified by Renesas as suitable for automobile applications, Renesas 
 products are not designed, manufactured or tested for applications or otherwise in systems the failure or 
 malfunction of which may cause a direct threat to human life or create a risk of human injury or which require 
 especially high quality and reliability such as safety systems, or equipment or systems for transportation and 
 traffic, healthcare, combustion control, aerospace and aeronautics, nuclear power, or undersea communication 
 transmission. If you are considering the use of our products for such purposes, please contact a Renesas 
 sales office beforehand. Renesas shall have no liability for damages arising out of the uses set forth above.
8. Notwithstanding the preceding paragraph, you should not use Renesas products for the purposes listed below:
 (1) artificial life support devices or systems
 (2) surgical implantations
 (3) healthcare intervention (e.g., excision, administration of medication, etc.)
 (4) any other purposes that pose a direct threat to human life
 Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who 
 elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas 
 Technology Corp., its affiliated companies and their officers, directors, and employees against any and all 
 damages arising out of such applications. 
9. You should use the products described herein within the range specified by Renesas, especially with respect 
 to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation 
 characteristics, installation and other product characteristics. Renesas shall have no liability for malfunctions or 
 damages arising out of the use of Renesas products beyond such specified ranges.
10. Although Renesas endeavors to improve the quality and reliability of its products, IC products have specific 
 characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use 
 conditions. Please be sure to implement safety measures to guard against the possibility of physical injury, and 
 injury or damage caused by fire in the event of the failure of a Renesas product, such as safety design for 
 hardware and software including but not limited to redundancy, fire control and malfunction prevention, 
 appropriate treatment for aging degradation or any other applicable measures. Among others, since the 
 evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or 
 system manufactured by you. 
11. In case Renesas products listed in this document are detached from the products to which the Renesas 
 products are attached or affixed, the risk of accident such as swallowing by infants and small children is very 
 high. You should implement safety measures so that Renesas products may not be easily detached from your 
 products. Renesas shall have no liability for damages arising out of such detachment.
12. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written 
 approval from Renesas. 
13. Please contact a Renesas sales office if you have any questions regarding the information contained in this 
 document, Renesas semiconductor products, or if you have any other inquiries.
Notes regarding these materials










