User’s Manual U16227EJ2V0UD10CONTENTSCHAPTER 1 OUTLINE ............................................................................................................................ 171.1 Features ...................................................................................................................................... 171.2 Applications................................................................................................................................ 181.3 Ordering Information ................................................................................................................. 191.4 Pin Configuration (Top View).................................................................................................... 211.5 K1 Family Lineup........................................................................................................................ 231.5.1 78K0/Kx1 product lineup................................................................................................................ 231.5.2 V850ES/Kx1 product lineup ........................................................................................................... 251.6 Block Diagram ............................................................................................................................ 271.7 Outline of Functions .................................................................................................................. 28CHAPTER 2 PIN FUNCTIONS ............................................................................................................... 302.1 Pin Function List ........................................................................................................................ 302.2 Description of Pin Functions .................................................................................................... 332.2.1 P00 and P01 (port 0) ..................................................................................................................... 332.2.2 P10 to P17 (port 1) ........................................................................................................................ 342.2.3 P20 to P27 (port 2) ........................................................................................................................ 342.2.4 P30 to P33 (port 3) ........................................................................................................................ 352.2.5 P60 to P63 (port 6) ........................................................................................................................ 352.2.6 P70 to P73 (port 7) ........................................................................................................................ 352.2.7 P120 (port 12)................................................................................................................................ 362.2.8 P130 (port 13)................................................................................................................................ 362.2.9 AVREF ............................................................................................................................................. 362.2.10 AV SS ............................................................................................................................................... 362.2.11 RESET........................................................................................................................................... 362.2.12 X1 and X2 ...................................................................................................................................... 362.2.13 XT1 and XT2.................................................................................................................................. 362.2.14 V DD and EVDD ................................................................................................................................. 362.2.15 V SS and EVSS ................................................................................................................................. 362.2.16 V PP (flash memory versions only) .................................................................................................. 362.2.17 IC (mask ROM versions only) ........................................................................................................ 372.3 Pin I/O Circuits and Recommended Connection of Unused Pins......................................... 38CHAPTER 3 CPU ARCHITECTURE ...................................................................................................... 413.1 Memory Space ............................................................................................................................ 413.1.1 Internal program memory space .................................................................................................... 473.1.2 Internal data memory space .......................................................................................................... 483.1.3 Special function register (SFR) area.............................................................................................. 483.1.4 Data memory addressing............................................................................................................... 493.2 Processor Registers .................................................................................................................. 543.2.1 Control registers ............................................................................................................................ 543.2.2 General-purpose registers ............................................................................................................. 583.2.3 Special function registers (SFRs) .................................................................................................. 593.3 Instruction Address Addressing .............................................................................................. 633.3.1 Relative addressing ....................................................................................................................... 63