Ir a la página of
manuales de instrucciones parecidos
-
Network Card
NEC PD78078Y
627 páginas 2.41 mb -
Network Card
NEC PD78053
603 páginas 3.26 mb -
Network Card
NEC PD754244
306 páginas 1.81 mb -
Network Card
NEC uPD78054Y
603 páginas 3.26 mb -
Network card
NEC NP07LM
48 páginas -
Network Card
NEC uPD78053Y
603 páginas 3.26 mb -
Network Card
NEC PD78058F(A)
593 páginas 3.09 mb -
Network Card
NEC PD78052Y
603 páginas 3.26 mb
Buen manual de instrucciones
Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones NEC switch. 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 NEC switch 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 NEC switch 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 NEC switch, 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 NEC switch debe contener:
- información acerca de las especificaciones técnicas del dispositivo NEC switch
- nombre de fabricante y año de fabricación del dispositivo NEC switch
- condiciones de uso, configuración y mantenimiento del dispositivo NEC switch
- 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 NEC switch 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 NEC switch 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 NEC 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 NEC switch, 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 NEC switch, 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 NEC switch. 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
User’s Manual µ µ µ µ PD789800 µ µ µ µ PD78F9801 µ µ µ µ PD789800 Subseries 8-Bit Single-Chip Microcontrollers Printed in Japan Document No. U12978EJ3V0U D00 (3rd edition) Date Published February 2003 N CP (K) 1998, 2003[...]
-
Página 2
User’s Manual U12978E J3V0UD 2 [MEMO][...]
-
Página 3
User’s Manual U12978E J3V0UD 3 NOTES FOR CMOS DE VICES 1 PRECAUTION AGAINST ESD FOR SEMICONDUCTORS Note: Strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps must be taken to stop generation of static electricity as much as possible, and quickly dissipate i[...]
-
Página 4
User’s Manual U12978E J3V0UD 4 These commodities, technology or software, must be exported in accordance with the export administration regulations of the exporting country. Diversion contrary to the law of that country is prohibited. The information in this document is current as of September, 2002. The information is subject to change without n[...]
-
Página 5
User ’ s Manual U12978EJ3V0UD 5 Regional Information • Device availability • Ordering information • Product release schedule • Availability of related technical literature • Development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, AC supply voltages, and so fo[...]
-
Página 6
User’s Manual U12978E J3V0UD 6 Major Revisions in This Edition Page Contents Deletion of CU-t ype and GB-3B S type pac kages Throughout Deletion of indicati on “under development ” for µ PD78F9801 p. 21 Modific ation of operat ing ambient temperature when f lash memory is writ ten in 1.1 Features p. 27 Addition of outline of timer in 1.7 Fun[...]
-
Página 7
User’s Manual U12978E J3V0UD 7 INTRODUCTION Readers This manual is intended for users w ho wish to understand the functions of the µ PD789800 Subseries and who design and develop its application systems and programs. Target products: • µ PD789800 Subseries: µ PD789800 and µ PD78F9801 Purpose This manual is intended to give users an understa[...]
-
Página 8
User’s Manual U12978E J3V0UD 8 Related Documents The related documents indicated in this publication may include preliminary versions. However, preliminary versions are not m arked as such. Documents Related to Devices Document Nam e Document No. µ PD789800 Subseri es User’s Manual This manual 78K/0S S eries Ins truct ions User’ s Manual U11[...]
-
Página 9
User’s Manual U12978E J3V0UD 9 Other Related Documents Document Nam e Document No. SEMI CONDUCTOR SELECT ION GUIDE - P roducts and Packages - (CD-ROM) X13769X Semic onductor Devi ce Mounti ng Technology M anual C10535E Quality Grades on NEC Sem iconduct or Devic es C11531E NEC Semiconduc tor Device Reliabilit y/Quality Control Sys tem C10983E Gui[...]
-
Página 10
User’s Manual U12978E J3V0UD 10 TABLE OF CONTENTS CHAPTER 1 GENERAL .......................................................................................................... ................ 21 1.1 Features .................................................................................................................... .................. 21 1[...]
-
Página 11
User’s Manual U12978E J3V0UD 11 3.3.4 Register addressing ....................................................................................................... ...............50 3.4 Operand Address Addressing.................................................................................................. .51 3.4.1 Direct addressing ...........[...]
-
Página 12
User’s Manual U12978E J3V0UD 12 CHAPTER 7 WATCHDOG TIMER .................................................................................................. ...... 91 7.1 Watchdog Timer Functions .................................................................................................... ... 91 7.2 Watchdog Timer Configuration ............[...]
-
Página 13
User’s Manual U12978E J3V0UD 13 11.4.2 Maskable interrupt acknowledgment operation ........................................................................... 173 11.4.3 Multiplexed interrupt servicing .......................................................................................... ...........175 11.4.4 Interrupt request hold ..........[...]
-
Página 14
User’s Manual U12978E J3V0UD 14 B.1 Register Index (Alphabetic Order of Regist er Name) ........................................................... 229 B.2 Register Index (Alphabetic Order of Regist er Symbol) ........................................................ 231 APPENDIX C REVISION HISTORY .................................................[...]
-
Página 15
User’s Manual U12978E J3V0UD 15 LIST OF FIGURES (1/4) Figure No. Title Page 2-1 Pin I/O Circuits ............................................................................................................ ............................. 34 3-1 Memory M ap ( µ PD789800) ..............................................................................[...]
-
Página 16
User’s Manual U12978E J3V0UD 16 LIST OF FIGURES ( 2/4) Figure No. Title Page 6-7 Interval Timer Operation Timing of 8-Bit Tim er/Event Counter 01 ............................................................ 8 6 6-8 Timing of External Event Counter Operation (with Rising Edge Specified) .............................................. 87 6-9 Timing [...]
-
Página 17
User’s Manual U12978E J3V0UD 17 LIST OF FIGURES (3/4) Figure No. Title Page 8-31 Flow Chart of NRZI Encoder O peration ....................................................................................... .......... 150 8-32 Tim ing of Bit Stuffing/Strip Controller Operation ......................................................................[...]
-
Página 18
User’s Manual U12978E J3V0UD 18 LIST OF FIGURES ( 4/4) Figure No. Title Page 14-3 Exam ple of Connection with Dedicated Flash Programmer ................................................................... 193 14-4 V PP Pin Connection Example ........................................................................................................ .[...]
-
Página 19
User’s Manual U12978E J3V0UD 19 LIST OF TABLES (1/2) Table No. Title Page 2-1 Type of Pin I/O Circuit Recommended Connection of Unused Pins ........................................................ 33 3-1 Vector Table ................................................................................................................ ..................[...]
-
Página 20
User’s Manual U12978E J3V0UD 20 LIST OF TABLES (2/2) Table No. Title Page 12-3 STO P Mode Operation Status ................................................................................................. ............... 183 12-4 O peration After Release of STOP Mode ................................................................................[...]
-
Página 21
User’s Manual U12978E J3V0UD 21 CHAPTER 1 GENERAL 1.1 Features • On-chip USB functions • Implements a USB (U niversal Serial Bus) by connecting to Hub and Host. • Transfer speed: 1.5 Mbps (at 6.0 MHz operation w ith system clock) • On-chip regulator • Controls the USB port voltage by using a bus power supply (V REG = 3.3 ± 0.3 V) dedic[...]
-
Página 22
CHAPTER 1 GE NERAL User’s Manual U12978E J3V0UD 22 1.4 P in Configuration (Top View) • 44-pin plastic LQFP (10 × 10) µ PD789800GB- ××× -8ES, µ PD78F9801GB-8ES P04 P03 P02 P01 P00 V DD1 V SS1 P17 P16 P15 P14 NC P13 P12 P11 P10 P47/KR07 P46/KR06 P45/KR05 P44/KR04 P43/KR03 P42/KR02 USBDP USBDM IC (V PP ) REGC V DD0 V SS0 X1 X2 RESET P40/KR00[...]
-
Página 23
CHAPTER 1 GE NERAL User’s Manual U12978E J3V0UD 23 1.5 78K/0S Series Lineup The products in the 78K/0S Series are listed below. The names enclosed in boxes are subseries names. 52-pin SIO + resistance division method LCD (24 × 4) 8-bit A/D + internal voltage boosting method LCD (23 × 4) PD789327 LCD drive 80-pin 80-pin PD789436 PD789446 PD78942[...]
-
Página 24
CHAPTER 1 GE NERAL User ’ s Manual U12978EJ3V0UD 24 The major differences between subseries are shown below . Series for General-Purpose and LCD Drive Timer V DD Function Subseries ROM Capacity (Bytes ) 8-Bit 16-Bit Watc h WDT 8-Bit A/D 10-Bit A/D Seria l Interfa ce I/O MIN.Value Remarks µ PD789046 1 6 K 1 ch µ PD789026 4 K to 1 6 K 1 ch 34 µ [...]
-
Página 25
CHAPTER 1 GE NERAL User ’ s Manual U12978EJ3V0UD 25 Series for ASSP Timer V DD Function Subseries ROM Capacity (Bytes ) 8-Bit 16-Bit Watc h WDT 8-Bit A/D 10-Bit A/D Seria l Interfa ce I/O MIN.Value Remarks USB µ PD789800 8 K 2 ch −− 1 ch −− 2 ch (USB: 1ch) 31 4.0 V − Inverter control µ PD789842 8 K t o 1 6 K 3 ch Note 1 1 c h 1 ch 8 c[...]
-
Página 26
CHAPTER 1 GE NERAL User ’ s Manual U12978EJ3V0UD 26 1.6 Block Diagram Key return 0 8-bit timer 00 8-bit timer/event counter 01 Watchdog timer Regulator USB function 0 Serial interface 1 Interrupt control Port 0 Port 1 Port 2 Port 4 System control 78K/0S CPU core ROM Flash memory RAM P00 to P07 P10 to P17 P20 to P26 P40 to P47 RESET X1 X2 KR00 to [...]
-
Página 27
CHAPTER 1 GE NERAL User’s Manual U12978E J3V0UD 27 1.7 Functions Product Item µ PD789800 µ PD78F9801 Intern al memo ry ROM Mask ROM 8 KB Flash memory 16 KB High-speed RAM 256 bytes Minimum instruc tion exec ution ti me 0. 33 µ s/1.33 µ s (at 6.0 M Hz operation wi th system clock) Instruc tion s et • 16-bit operati on • Bit m anipulation ([...]
-
Página 28
User’s Manual U12978E J3V0UD 28 CHAPTER 2 PIN FUNCTIONS 2.1 Lis t of Pin Functions (1) Port pins Pin Name I/O Function After Res et Alt ernate Function P0 0 to P0 7 I/O Port 0 8-bit I/ O port Input/out put can be s pecifi ed in 1-bit unit s. When used as an input port, us e of on-chip pul l-up resist ors can be specif ied by pull -up resist or op[...]
-
Página 29
CHAPTER 2 P IN FUNCTI ONS User’s Manual U12978E J3V0UD 29 (2) Non-port pins Pin Name I/O Function After Res et Alternat e Function INTP0 Input External interrupt reques t input f or which v alid edge (risi ng and/or falling edge) can be s pecified Input P26/TI 01/TO01 KR00 to KR07 Input Input for detecti ng key ret urn signals Input P40 to P47 NC[...]
-
Página 30
CHAPTER 2 P IN FUNCTI ONS User’s Manual U12978E J3V0UD 30 2.2 P in Functions 2.2.1 P00 to P07 (Port 0) These pins constitute an 8-bit I/O port and can be set to the input or output port mode in 1-bit units by using port mode register 0 (PM0). When these pins are used as an input port, an on-chip pull-up resistor can be used by setting pull-up res[...]
-
Página 31
CHAPTER 2 P IN FUNCTI ONS User’s Manual U12978E J3V0UD 31 2.2.4 P40 to P47 (Port 4) These pins constitute an 8-bit I/O port. In addition, they also function as key return signal detection pins. The following operation modes can be specified in 1-bit units. (1) Port mode In this m ode, port 4 functions as an 8-bit I/O port. Port 4 can be set to th[...]
-
Página 32
CHAPTER 2 P IN FUNCTI ONS User’s Manual U12978E J3V0UD 32 2.2.12 V PP ( µ µ µ µ PD78F9801 only) A high voltage should be applied to this pin when the flash mem ory programming m ode is set and when the program is written or verified. Handle this pin in either of the following ways. • Independently connect a 10 k Ω pull-down resistor. • [...]
-
Página 33
CHAPTER 2 P IN FUNCTI ONS User ’ s Manual U12978EJ3V0UD 33 2.3 P in I/O Circuits and Rec ommended Connection of Unused P ins Table 2-1 lists the types of I/O circuits for each pin and explains how unused pins are handled. Figure 2-1 shows the configuration of each type of I/O circuit. Table 2-1. Type of Pin I/O Circuit Recommended Connection of U[...]
-
Página 34
CHAPTER 2 P IN FUNCTI ONS User ’ s Manual U12978EJ3V0UD 34 Figure 2-1. Pin I/O Circuits Type 2 Type 5-R Type 8-F Type 24-A Type 8-C IN Schmitt-triggered input with hysteresis characteristics Pull-up enable P-ch cut Output data Output disable V DD0 V DD0 P-ch N-ch IN/OUT P-ch Input enable V SS0 V DD0 P-ch IN/OUT P-ch V DD0 Pull-up enable Output di[...]
-
Página 35
User’s Manual U12978E J3V0UD 35 CHAPTER 3 CPU ARCHITECTURE 3.1 Memory Space The µ PD789800 Subseries can access 64 KB of memory space. Figures 3-1 and 3-2 show the memory m aps. Figure 3-1. Memory Map ( µ µ µ µ PD789800) Reserved Internal ROM 8,192 × 8 bits Internal high-speed RAM 256 × 8 bits Special function register 256 × 8 bits H F F [...]
-
Página 36
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 36 Figure 3-2. Memory Map ( µ µ µ µ PD78F9801) Reserved Flash memory 16,384 × 8 bits Internal high-speed RAM 256 × 8 bits Special function register 256 × 8 bits H F F F F H 0 0 F F H F F E F H 0 0 E F H F F D F H F F F 3 H 0 8 0 0 H F 7 0 0 H 0 4 0 0 H F 3 0 0 H A 1 0 0 H 9 1 0 0 H[...]
-
Página 37
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 37 3.1.1 Internal program memory space The internal program memory space stores programs and table data. This space is usually addressed by the program counter (PC). The following areas are allocated to the internal program mem ory space. (1) Vector table area A 26-byte area of addresses [...]
-
Página 38
CHAPTER 3 CP U ARCHITECT URE User’s Manual U12978E J3V0UD 38 3.1.4 Data memory addressing The µ PD789800 Subseries provides a variety of addressing modes which take account of m emory manipulability, etc. Especially at addresses corresponding to data memory area (FE00H to FFFFH), particular addressing m odes are possible to meet the functions of[...]
-
Página 39
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 39 Figure 3-4. Data Memory Addr essing ( µ µ µ µ PD78F9801) Special function registers (SFR) 256 × 8 bits Internal high-speed RAM 256 × 8 bits Flash memory 16,384 × 8 bits FFFFH 0000H Direct addressing Register indirect addressing Based addressing FF00H FEFFH FF20H FF1FH FE20H FE1F[...]
-
Página 40
CHAPTER 3 CP U ARCHITECT URE User’s Manual U12978E J3V0UD 40 3.2 Processor Registers The µ PD789800 Subseries provides the following on-chip processor registers. 3.2.1 Control registers The control registers contain special functions to control the program sequence, statuses and stack mem ory. A program counter, a program status word, and a stac[...]
-
Página 41
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 41 (a) Interrupt enable flag (IE) This flag controls interrupt request acknowledgment operations of the CPU . When 0, the IE flag is set to the interrupt disabled status (DI), and interrupt requests other than non- maskable interrupts are all disabled. When 1, the IE flag is set to the in[...]
-
Página 42
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 42 (3) Stack pointer (SP) This is a 16-bit register that holds the start address of the m emory stack area. Only the internal high-speed RAM area can be set as the stack area. Figure 3-7. Configuration of Stack Pointer SP15 SP SP14 SP13 SP12 SP11 SP10 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 S[...]
-
Página 43
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 43 3.2.2 General-purpose registers The general-purpose registers consist of eight 8-bit registers (X, A, C, B, E, D, L, and H). In addition that each register can be used as an 8-bit register, two 8-bit registers in pairs can be used as a 16-bit register (AX, BC, DE, and HL). They can be [...]
-
Página 44
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 44 3.2.3 Special function registers (SFRs) Unlike general-purpose registers, each special function register has a special function. The special function registers are allocated in the 256-byte area FF00H to FFFFH. The special function registers can be manipulated, like the general-purpose[...]
-
Página 45
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 45 Table 3-2. Special Function Register List (1/3) Address Special Function Regis ter (SFR) Nam e Symbol R/W Manipulatabl e Bit Unit Af ter Reset 1 Bit 8 Bits 16 Bits FF00H P ort 0 P0 R/W √√ — 00H FF01H P ort 1 P1 √√ — FF02H P ort 2 P2 √√ — FF04H P ort 4 P4 √√ — FF[...]
-
Página 46
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 46 Table 3-2. Special Function Register List (2/3) Address Special Function Regis ter (SFR) Nam e Symbol R/W Manipulatabl e Bit Unit Af ter Reset 1 Bit 8 Bits 16 Bits FF62H Tok en packet receive res ult st ore register TRXRSL R/W √√ — 00H FF63H Dat a/handshak e PID co mpare register[...]
-
Página 47
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 47 Table 3-2. Special Function Register List (3/3) Address Special Function Regis ter (SFR) Nam e Symbol R/W Manipulatabl e Bit Unit Af ter Reset 1 Bit 8 Bits 16 Bits FFECH External interrupt mode regist er 0 I NTM0 R/W — √ — 00H FFF5H K ey return mode regist er 00 KRM00 √√ — [...]
-
Página 48
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 48 3.3 Instruction Address Ad dressing An instruction address is determined by program counter (PC) contents. PC contents are normally incremented (+1 for each byte) automatically according to the num ber of bytes of an instruction to be fetched each time another instruction is executed. [...]
-
Página 49
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 49 3.3.2 Immediate addressing [Function] Immediate data in the instruction word is transferred to the program counter (PC) and branched. This function is carried out when the CALL !addr16 or BR !addr16 instruction is executed. The CALL !addr16 and BR !addr16 instructions can be branched t[...]
-
Página 50
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 50 3.3.3 Table indirect addressing [Function] Table contents (branch destination address) of the particular location to be addressed by the lower-5-bit immediate data of an instruction code from bit 1 to bit 5 are transferred to the program counter (PC) and branched. This function is carr[...]
-
Página 51
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 51 3.4 Operand Address Add ressing The following methods are available to specify the register and memory (addressing) to undergo manipulation during instruction execution. 3.4.1 Direct addressing [Function] The memory indicated by im mediate data in an instruction word is directly addres[...]
-
Página 52
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 52 3.4.2 Short direct addressing [Function] The memory to be m anipulated in the fixed space is directly addressed with 8-bit data in an instruction word. The fixed space is the 256-byte space FE20H to FF1FH where the addressing is applied. An internal high- speed RAM and special function[...]
-
Página 53
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 53 3.4.3 Special function register (SFR) addressing [Function] The memory-m apped special function register (SFR) is addressed with 8-bit immediate data in an instruction word. This addressing is applied to the 240-byte spaces FF00H to FFCFH and FFE0H to FFFFH . However, the SFR mapped at[...]
-
Página 54
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 54 3.4.4 Register addressing [Function] In the register addressing mode, general-purpose registers are accessed as operands. The general-purpose register to be accessed is specified by the register specification code or function name in the instruction code. Register addressing is carried[...]
-
Página 55
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 55 3.4.5 Register indirect addressing [Function] In the register indirect addressing mode, mem ory is manipulated according to the contents of a register pair specified as an operand. The register pair to be accessed is specified by the register pair specification code in an instruction c[...]
-
Página 56
CHAPTER 3 CP U ARCHITECT URE User ’ s Manual U12978EJ3V0UD 56 3.4.6 Based addressing [Function] 8-bit immediate data is added to the contents of the base register, that is, the HL register pair, and the sum is used to address the m emory. Addition is performed by expanding the offset data as a positive number to 16 bits. A carry from the 16th bit[...]
-
Página 57
User’s Manual U12978E J3V0UD 57 CHAPTER 4 PORT FUNCTIONS 4.1 Port Functions The µ PD789800 Subseries provides the ports shown in Figure 4-1, enabling various methods of control. Numerous other functions are provided that can be used in addition to the digital I/O port functions. For m o re information on these additional functions, see CHAPTER 2[...]
-
Página 58
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 58 Table 4-1. Functions of Ports Pin Name I/O Function After Res et Alt ernate Function P00 to P07 I/O Port 0 8-bit I/ O port Input/out put can be s pecifi ed in 1-bit unit s. When used as an input port, us e of on-chip pul l-up resist ors can be specif ied by pull -up resist or option regi[...]
-
Página 59
CHAPTER 4 P ORT FUNCTI ONS User’s Manual U12978E J3V0UD 59 4.2 Port Configuration Ports consists the following hardware. Table 4-2. Configuration of Port Parameter Conf iguration Control regis ters Port mode regis ter (PM m: m = 0 to 2, 4) Pull-up res istor opt ion regist er (PU0) Port output mode regist er (POMm: m = 0, 1) Ports Total: 31 (N-c h[...]
-
Página 60
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 60 4.2.1 Port 0 This is an 8-bit I/O port w i th an output latch. Port 0 can be specified in the input or output mode in 1-bit units by using port m ode register 0 (PM0). When the P00 to P07 pins are used as input port pins, on-chip pull-up resistors can be connected in 8-bit units by using[...]
-
Página 61
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 61 4.2.2 Port 1 This is an 8-bit I/O port w i th an output latch. Port 1 can be specified in the input or output mode in 1-bit units by using port m ode register 1 (PM1). When the P10 to P17 pins are used as input port pins, on-chip pull-up resistors can be connected in 8-bit units by using[...]
-
Página 62
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 62 4.2.3 Port 2 This is a 7-bit I/O port with an output latch. Port 2 can be specified in the input or output mode in 1-bit units by using port mode register 2 (PM2). When using the P20 to P26 pins as input port pins, on-chip pull-up resistors can be connected in 7-bit units by using pull-u[...]
-
Página 63
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 63 Figure 4-5. Block Diagram of P21 PU0: Pull-up resistor option register 0 PM: Port mode register RD: Port 2 read signal WR: Port 2 write signal Internal bus V DD0 P-ch P21/SO10 WR PU0 RD WR PORT WR PM PU02 Output latch (P21) PM21 Alternate function Selector[...]
-
Página 64
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 64 Figure 4-6. Block Diagram of P22 PU0: Pull-up resistor option register 0 PM: Port mode register RD: Port 2 read signal WR: Port 2 write signal Internal bus V DD0 P-ch P22/SI10 WR PU0 RD WR PORT WR PM PU02 Alternate function Output latch (P22) PM22 Selector[...]
-
Página 65
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 65 Figure 4-7. Block Diagram of P23 and P24 Internal bus WR PU0 RD WR PORT WR PM PU02 Output latch (P23, P24) PM23, PM24 V DD0 P-ch P23, P24 Selector PU0: Pull-up resistor option register 0 PM: Port mode register RD: Port 2 read signal WR: Port 2 write signal[...]
-
Página 66
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 66 Figure 4-8. Block Diagram of P25 RD V DD0 P25 WR POM1 WR PU0 WR PORT WR PM Output latch (P25) PM25 PU02 P-ch P-ch N-ch V DD0 POM125 Internal bus Selector POM1: Port output mode register 1 PU0: Pull-up resistor option register 0 PM: Port m ode register RD: Port 2 read signal WR: Port 2 wr[...]
-
Página 67
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 67 Figure 4-9. Block Diagram of P26 RD V DD0 P26 WR POM1 WR PU0 WR PORT WR PM Output latch (P26) PM26 PU02 P-ch P-ch N-ch V DD0 POM126 Internal bus Selector POM1: Port output mode register 1 PU0: Pull-up resistor option register 0 PM: Port m ode register RD: Port 2 read signal WR: Port 2 wr[...]
-
Página 68
CHAPTER 4 P ORT FUNCTI ONS User’s Manual U12978E J3V0UD 68 4.2.4 Port 4 This is an 8-bit I/O port w i th an output latch. Port 4 can be specified in the input or output mode in 1-bit units by using port mode register 4 (PM4). When using P40 to P47 pins as input port pins, on-chip pull-up resistors can be connected in 8-bit units by using pull-up [...]
-
Página 69
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 69 4.3 Registers Controlling P ort Function The following three types of registers control the ports. • Port mode registers (PM0, PM1, PM 2, PM4) • Pull-up resistor option register (PU0) • Port output mode registers (POM0, PO M1) (1) Port mode registers (PM0, PM1, PM 2, PM4) These reg[...]
-
Página 70
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 70 Table 4-3. Port Mode Register and Output Latch Settings When Using Alternate Functions Secondary Func tion Name Input/ Output P26 TO01 Output 0 0 TI01 Input 1 × INTP0 Input 1 × P40 to P47 Note KR00 to KR07 Input 1 × Note Set key return mode register 00 (KRM00) to 1 w hen using the alt[...]
-
Página 71
CHAPTER 4 P ORT FUNCTI ONS User’s Manual U12978E J3V0UD 71 (3) Port output mode registers (POM0 and POM 1) The port output mode registers (POM 0 and POM1) are used to switch from CMOS output to N-ch open-drain output for port 0, port 1, pin P25, and pin P26. Set POM0 and POM 1 with a 1-bit or 8-bit memory m anipulation instruction. RESET input se[...]
-
Página 72
CHAPTER 4 P ORT FUNCTI ONS User ’ s Manual U12978EJ3V0UD 72 4.4 Port Function Oper ation The operation of a port differs depending on w hether the port is set to the input or output mode, as described below. 4.4.1 Writing to I/O port (1) In output mode A value can be written to the output latch of a port by using a transfer instruction. The conte[...]
-
Página 73
User’s Manual U12978E J3V0UD 73 CHAPTER 5 CLOCK GENERATOR 5.1 Clock Gener ator Functions The clock generator generates the clock to be supplied to the CPU and peripheral hardware. The following type of system clock oscillator is used. • • • • System clock oscillator This circuit oscillates at 6.0 MHz. Oscillation can be stopped by executi[...]
-
Página 74
CHAPTER 5 CLOCK GE NERATOR User ’ s Manual U12978EJ3V0UD 74 5.3 Register Controlling Cloc k Generator The clock generator is controlled by the following register. • Processor clock control register (PCC) (1) Processor clock control register (PC C) PCC selects the CPU clock and sets the of division ratio. PCC is set with a 1-bit or 8-bit mem ory[...]
-
Página 75
CHAPTER 5 CLOCK GE NERATOR User ’ s Manual U12978EJ3V0UD 75 5.4 System Clock Oscillat ors 5.4.1 System clock oscillator The system clock oscillator is oscillated by the crystal resonator (6.0 MHz TYP. ) connected across the X1 and X2 pins. An external clock can also be input to the circuit. In this case, input the clock signal to the X1 pin, and [...]
-
Página 76
CHAPTER 5 CLOCK GE NERATOR User ’ s Manual U12978EJ3V0UD 76 5.4.2 Examples of incorrect resonator connection Figure 5-4 shows examples of incorrect resonator connection. Figure 5-4. Examples of Incorrect Resonator C onnection (1/2) (a) Too long wiring (b) Crossed signal line V SS0 X1 X2 V SS0 X1 X2 PORTn (n = 0, 1, 2, 4) (c) Wiring near high fluc[...]
-
Página 77
CHAPTER 5 CLOCK GE NERATOR User ’ s Manual U12978EJ3V0UD 77 Figure 5-4. Examples of Incorrect Resonator C onnection (2/2) (e) Signals are fetched V SS0 X1 X2 5.4.3 Frequency divider The frequency divider divides the output of the system clock oscillator (f X ) to generate various clocks. 5.5 Clock G enerator O peration The clock generator generat[...]
-
Página 78
CHAPTER 5 CLOCK GE NERATOR User ’ s Manual U12978EJ3V0UD 78 5.6 Changing Setting of CPU Clock 5.6.1 Time required for switching CPU clock The CPU clock can be selected by using bit 1 (PCC1) of the processor clock control register (PC C). Actually, the specified clock is not selected immediately after the setting of PCC has been changed; the old c[...]
-
Página 79
User’s Manual U12978E J3V0UD 79 CHAPTER 6 8-BIT TIMER/EVENT CO UNTERS 00 AND 01 6.1 Functions of 8-Bit Timer/E vent Counters 00 and 01 The 8-bit timer/event counters (TM00 and TM 01) have the following functions. • Interval timer (TM00 and TM 01) • External event counter (TM01 only) • Square wave output (TM01 only) The µ PD789800 Subseries[...]
-
Página 80
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User’s Manual U12978E J3V0UD 80 (3) Square wave output A square wave of arbitrary frequency can be output. Table 6-3. Square Wave Output Range of 8-Bit Timer/Event Counter 01 Minimum Pulse Widt h Max imum P ulse Width R esoluti on 2 4 /f X (2.67 µ s) 2 12 /f X (682.7 µ s) 2 4 /f X (2 .67 µ s) [...]
-
Página 81
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 81 Figure 6-2. Block Diagram of 8-Bit Timer/Event Counter 01 Internal bus 8-bit compare register 01 (CR01) Match TO01/P26/ INTP0/TI01 INTTM01 f X /2 4 f X /2 8 TI01/P26 /INTP0/TO01 Selector Clear 8-bit timer counter 01 (TM01) 2 Internal bus TCE01 TCL011 TCL010 TOE01 [...]
-
Página 82
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 82 6.3 Registers Contr olling 8-Bit Timer/Eve nt Counters 00 a nd 01 The following two types of registers are used to control 8-bit timer/event counters 00 and 01. • 8-bit timer mode control registers 00 and 01 (TM C00 and TMC01) • Port mode register 2 (PM2) (1) [...]
-
Página 83
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 83 (2) 8-bit timer mode control register 01 (TMC 01) TMC01 determines w hether to enable or disable 8-bit timer counter 01 (TM01), specifies the count clock for the 8-bit timer/event counter, and controls the operation of the output controller. TMC01 is set with a 1-[...]
-
Página 84
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 84 (3) Port mode register 2 (PM2) This register sets port 2 input/output in 1-bit units. When using the P26/TO01/INTP0/TI01 pin for timer output, set P26 and the output latch of P26 to 0. When P26/TO01/INTP0/TI01 pin is used as a timer input, set PM 26 to 1. PM2 is s[...]
-
Página 85
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User’s Manual U12978E J3V0UD 85 6.4 Operation of 8-Bit Timer /Event Counter s 00 and 0 1 6.4.1 Operation as interval timer Interval timer repeatedly generates an interrupt at time intervals specified by the count value set to 8-bit compare registers 00 and 01 (CR00 and CR01) in advance. To operat[...]
-
Página 86
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 86 Figure 6-6. Interval Timer Operation Timing of 8-Bit Timer 00 Clear Clear Interrupt acknowledged Interrupt acknowledged Count starts Interval time Interval time Interval time Count clock TM00 count value CR00 TCE00 INTTM00 N 01 00 N 01 00 N 00 01 NN N N t Remark I[...]
-
Página 87
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 87 6.4.2 Operation as external event counter (timer 01 only) The external event counter counts the number of external clock pulses input to the TI01/P26/INTP0/TO01 pin by using timer counter 01 (TM01). To operate the 8-bit timer/event counter as an external event cou[...]
-
Página 88
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User’s Manual U12978E J3V0UD 88 6.4.3 Operation as square-wave output (timer 01 only) The 8-bit tim er/event counter can generate output square waves of arbitrary frequency at intervals specified by the count value set to 8-bit compare register 01 (CR01) in advance. To operate 8-bit timer/event c[...]
-
Página 89
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 89 Figure 6-9. Timing of Square-Wave Output Clear Clear Interrupt acknowledged Interrupt acknowledged Count start Count clock TM01 count value CR01 TCE01 INTTM01 TO01 Note N 01 00 N 01 00 N 00 01 NN N N Note The initial value of TO01 when output is enabled (TOE01 = 1[...]
-
Página 90
CHAPTER 6 8-BI T TIM ER/ EVENT COUNT ERS 00 AND 01 User ’ s Manual U12978EJ3V0UD 90 6.5 Notes on Using 8-Bit Timer /Event Counte rs 00 and 0 1 (1) Error on starting timer An error of up to 1 clock occurs after the timer is started until a match signal is generated. This is because 8-bit timer counters 00 and 01 (TM00 and TM 01) are started asynch[...]
-
Página 91
User’s Manual U12978E J3V0UD 91 CHAPTER 7 WATCHDOG TIMER 7.1 Watchdog Timer Functions The watchdog timer has the following functions. • Watchdog timer • Interval timer Caution Select the watchdog timer mode or interval timer mode by using the watchdog timer mode register (WDTM). (1) Watchdog timer The watchdog timer is used to detect inadvert[...]
-
Página 92
CHAPTER 7 WATCHDOG T IMER User’s Manual U12978E J3V0UD 92 7.2 Watchdog Timer Configur ation The watchdog timer consists of the following hardware. Table 7-3. Configuration of Watchdog Timer Item Confi guration Control regis ter Timer clock s elect register 2 (TCL2) Watchdog ti mer mode regist er (WDTM) Figure 7-1. Block Diagram of Watchdog Timer [...]
-
Página 93
CHAPTER 7 WATCHDOG T IMER User ’ s Manual U12978EJ3V0UD 93 7.3 Registers Contr olling Watchdog Timer The following two registers are used to control the watchdog timer. • Timer clock select register 2 (TCL2) • Watchdog timer mode register (WD TM) (1) Timer clock select register 2 (TCL2) This register sets the watchdog timer count clock. TCL2 [...]
-
Página 94
CHAPTER 7 WATCHDOG T IMER User ’ s Manual U12978EJ3V0UD 94 (2) Watchdog timer mode register (WDTM) This register sets the operation mode of the watchdog timer, and enables/disables counting of the watchdog timer. The WDTM is set with a 1-bit or 8-bit m emory manipulation instruction. RESET input sets the WDTM to 00H. Figure 7-3. Format of Watchdo[...]
-
Página 95
CHAPTER 7 WATCHDOG T IMER User ’ s Manual U12978EJ3V0UD 95 7.4 Watchdog Timer Ope ration 7.4.1 Operation as watchdog timer The watchdog timer detects an inadvertent program loop when bit 4 (WDTM4) of the watchdog timer m ode register (WDTM) is set to 1. The count clock (inadvertent loop detection time interval) of the watchdog timer can be select[...]
-
Página 96
CHAPTER 7 WATCHDOG T IMER User ’ s Manual U12978EJ3V0UD 96 7.4.2 Operation as interval timer When bit 4 (WDTM4) and bit 3 (WDTM 3) of the watchdog timer mode register (WD TM) are set to 0 and 1, respectively, the watchdog timer also operates as an interval timer that repeatedly generates an interrupt at tim e intervals specified by a count value [...]
-
Página 97
User’s Manual U12978E J3V0UD 97 CHAPTER 8 USB FUNCTION 8.1 USB Overview The USB (Universal Serial Bus) is suitable for connecting personal computers and external devices such as audio equipment, keyboards, pointing devices, and telephones. Two data transfer rates, 12 Mbps and 1.5 Mbps, are provided. Plug & Play can also be realized. Figure 8-[...]
-
Página 98
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 98 8.2 USB Function Featur es The features of the on-chip USB function provided for the µ PD789800 Subseries are described below. (1) Video display devices and hum an interface devices are assumed to be the target applications. For this reason, only Endpoint 0 for control transfer and Endpoint[...]
-
Página 99
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 99 Figure 8-2. Block Diagram of USB Function Internal bus Internal bus USBDP USBDM • Handshake pac ket • SYNC pack et USB clock Overflo w INTUSBTM f X INTUSBRD Star t USB receiver enable register (USBMOD) Data/handshake pack et receive mode register (URXMOD) Counter Note 1 T ransmit reserv[...]
-
Página 100
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 100 Figure 8-3. Block Diagram of US B Timer Internal bus UWDERR INTUSBTM f X USBCLK RESUME RX Note Clear circuit Clock controller Shift register In high- speed mode In low- speed mode D ATAT X S E T O R X JUDGE TX Note JUDGE T OKEN Note TX MASTER EN Note SETRX Note OUT RX Note USB timer star t[...]
-
Página 101
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 101 (1) Receive bank switching ID detection buffer (internal buffer ) This is an internal 2-bit buffer placed before a receive buffer. It detects the lower 2 bits below the packet ID during packet reception and determines the store bank of a packet. The following controls are performed dependi[...]
-
Página 102
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 102 (3) Receive token bank (a) Receive token PID (USBRTP) This is the receive token packet ID area. The data input to the token PID compare register (TIDCMP) is stored here. USBRTP is read with an 8-bit mem o ry manipulation instruction. RESET input sets USBRTP to 00H. (b) Receive token addres[...]
-
Página 103
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 103 (4) Receive data bank (a) Receive data PID (USBRD) This is the receive data packet ID area. The data input to the data/handshake PID compare register (DIDCMP) is stored here. USBRD is read with an 8-bit m emory manipulation instruction. RESET input sets USBRD to 00H. (b) Receive data addre[...]
-
Página 104
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 104 (5) Transmit data banks 0 and 1 (a) Transmit data PID banks 0 and 1 (USBTD0 and USBTD1) USBTD0 and USBTD1 correspond to the transmit buffer 0 ID area and transmit buffer 1 ID area, respectively. USBTD0 and USBTD1 store DATA0 (C3H ) or DATA1 (4BH). USBTD0 and USBTD1 are set with an 8-bit m e[...]
-
Página 105
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 105 Figure 8-7. Configuration of Transmit Data Bank 1 (Buffer 1) Data area (8 bytes) USBPOW address ID area USBPOB address USBTD1 Symbol 07H 06H 05H 04H 03H 02H 01H USBT10 USBT1 1 USBT12 USBT13 USBT14 USBT15 USBT16 USBT17 30H 00H 31H 32H 33H 34H 35H 36H 37H 38H The operation during transmissio[...]
-
Página 106
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 106 (6) Data/handshake packet receive byte number counter (DR XCON) This register sets the number of data of the data/handshake packet to be received. During data/handshake packet reception, if this register value and the transm it/receive pointer (USBPOW) value match, a match signal is output [...]
-
Página 107
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 107 (9) Token address compare register (ADRCMP) This register sets the address specified from the host during control transfer. If this register value and the address area of the receive token bank (bits 0 to 6 of receive token address L (USBRAL)) match during token packet rec eption coi ncide[...]
-
Página 108
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 108 (10) Data/handshake PID compar e register (DIDCM P) This register sets the data/handshake packet ID to be received. If this register value and the value of the receive data PID (USBR D) match during data/handshake packet reception coincide, the DID RST (bit 1 of the data/handshake packet re[...]
-
Página 109
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 109 8.4 Registers Controlling US B Function The following nine registers are used to control the USB function. • USB receiver enable register (USBMOD ) • Data/handshake packet receive mode register (URX MOD) • Packet receive status register (RXSTAT) • Data/handshake packet receive resu[...]
-
Página 110
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 110 Figure 8-11. Format of Data/Handshake Packet Receive M ode Register Symbol 6 7 5 4 3 <2> <1> <0> 000 00 RESMOD DINTEN DWRMSK RESMOD USB reset signal detection mode setting 0 1 FF66H Address URXMOD After reset 00H R/W R/W Reject USB reset signal less than 3.0 s SE0 (Single[...]
-
Página 111
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 111 (3) Packet receive status register (RXSTAT) This register indicates the receive status of each packet. Bits 0 to 2 (TOSTAT, DASTAT, and HSSTAT) are flags that indicate that a token packet, data packet, or handshake packet is currently being received. These flags are set upon detection of a[...]
-
Página 112
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 112 Figure 8-12. Format of Packet Receive Status Register Symbol 6 7 5 432 10 UWDERR RESMRX SE0RX URESRX EOPRX HSSTAT DASTAT TOSTAT UWDERR USB timer inadvertent program loop detection 0 1 FF67H Address RXSTAT After reset 00H R/W R/W No USB timer inadvertent program loop was detected. USB timer[...]
-
Página 113
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 113 Table 8-2 shows the state of each flag after receiving the USB reset signal and the Resume signal during the bus idle state and bus suspend state. Table 8-2. Flag of RXSTAT After Reception of US B Reset Signal and Resume Signal Bus St ate Device St ate Receiv ed Signal RESM RX SE 0RX URESR[...]
-
Página 114
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 114 Figure 8-14. Format of Token Packet Receive Result Store R egister Symbol <6> <7> <5> <4> <3> <2> <1> <0> CRC5ER TBITER TBYER END1RX END0RX ADRRST TIDRST SETRX CRC5ER CRC error detection (5-bit mode) 0 1 FF62H Address TRXRSL After reset 00H R/[...]
-
Página 115
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 115 (6) Data packet transmit reservation register (D TXRSV) This register sets the bank where the data packet to be transmitted is stored. By setting each flag of this register, the stored data is transmitted following normal reception of the IN token packet. DTXRSV is set with a 1-bit or 8-bi[...]
-
Página 116
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 116 (7) Handshake packet transmit reservation register (H TXRSV) This register sets the handshake packet to be transmitted. By setting each flag of this register, a handshake packet is transm itted following normal reception of an IN packet, or normal or abnormal reception of a data packet. Bi[...]
-
Página 117
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 117 Figure 8-16. Format of Handshake Packet Transmit Reser vation Register (2/2) ACKEN ACK packet transmit reservation flag after data packet reception 0 1 No data is transmitted. ACK handshake is transmitted when all the following conditions are satisfied in EOP during data packet reception. [...]
-
Página 118
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 118 Table 8-3. Conditions in Transmit Reservation (2/2) (b) Transmit reservation for Endpoint1 and IN token packet Type of Reserv ation DT01EN DT11EN E 1STEN E1NA EN Transmit reservati on of data in t ransmit buffer 0 1 0 0 0 Transmit reservati on of data in t ransmit buffer 1 0 1 0 0 Endpoint[...]
-
Página 119
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 119 Figure 8-17. Configuration of Handshake Packet Transmit Reser vation Register END1RX END0RX TIDRST ADRRST DIDRST DBYER DBITER TBYER TBITER CRC5ER CR16ER JUDGE TOKEN Note JUDGE DATA Note TX MASTER EN Note E1STEN E1NAEN E0NAEN DNAEN ACKEN E0STEN DSTEN STALEN IN RX Note Note Because these sig[...]
-
Página 120
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 120 (8) USB timer start reservation contr ol register (USBTCL) This register reserves USB timer start after reception of a SETUP/O UT packet or transmission of a data packet. USBTCL is set with a 1-bit or 8-bit mem ory manipulation instruction. RESET input sets USBTCL to 01H. SETUP reception No[...]
-
Página 121
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 121 (9) Remote wake-up control register (REM WUP) This register transmits the Resume signal to perform remote wakeup. Remote wakeup m ust be performed after confirming that bus idle has continued longer than 5 ms. REMWUP is set with a 1-bit or 8-bit memory m anipulation instruction. RESET inpu[...]
-
Página 122
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 122 8.5 USB Function Opera tion 8.5.1 USB timer operation The USB timer is a 7-bit counter that performs tim e management during packet transmission and reception and inadvertent program loop detection of the USB clock. The USB timer has two m odes: high-speed mode (source clock = f X ) and lo[...]
-
Página 123
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 123 Figure 8-20. Flowchart of USB Timer Operation (1/2) SYNC detected? EOP received? SET ORX (internal signal) = 1? T ransmit data transf err ing? T ransmit EOP is output? D ATA T X (internal signal) = 1? Idle state USB timer reset USB timer star t (low-speed mode) USB timer reset 3 IN pack et?[...]
-
Página 124
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 124 Figure 8-20. Flowchart of USB Timer Operation (2/2) 2 INTUSBTM occurred High-speed mode ov erflow? 3 N Y N Y 1 Next SYNC detected? USB timer star t (high-speed mode)[...]
-
Página 125
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 125 8.5.2 Remote wakeup control operation Figure 8-21. Flow Chart of Remote Wakeup Control Operation Idle state Y N Y 10 ms to 15 ms elapsed? N Resume output started? Y N A ← 00000111B PULLEN = 1 WAKEUP = 1 PULLDP = 0 PULLDM = 1 PULLDP = 0 PULLDM = 1 PULLEN =0 PULLDP = 0 PULLDM = 1 Resume ou[...]
-
Página 126
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 126 Notes 1. Be sure to follow the exact instruction sequence when the Resume signal ( “ K ” state) is output. SET1 REMWUP.3 ; (PULLDM ← 1) CLR1 REMWUP.2 ; (PULL DP ← 0) MOV A, #00000111B ; (A ← 00000111B) SET1 REMWUP.1 ; (PULLEN ← 1) SET1 REMWUP.0 ; (WAKEUP ← 1), “ J ” state[...]
-
Página 127
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 127 8.6 Interrupt Reques t from USB Function 8.6.1 Interrupt sources Interrupt request sources generated by the USB function fall into the following five categories. Table 8-4. List of Sources of Interrupts from USB Function Interrupt S ource Type of Int errupt Priori ty Note Name Trigger Vect[...]
-
Página 128
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 128 (3) Data/handshake packet transmit interrupt (INTU SBST) Upon EOP detection during data/handshake packet transmission, an interrupt request signal is generated and an interrupt request flag (USBSTIF) is set. (4) USB timer overflow interrupt (INTUSBTM) If the U SB timer overflows, an interr[...]
-
Página 129
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 129 8.6.2 Cautions when using interrupts Pay attention to the following when using an interrupt request generated by the USB function. (1) Because USBR EIF is set by transition from the J state to the K state on the bus, it is also set during sync detection or packet reception. Thus, disable t[...]
-
Página 130
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 130 8.7 USB Function Control 8.7.1 Relationship between packets and operation modes The relationship between packets and operation modes in the USB function is as follows. (1) Control transfer (OU T) (Transfer byte count: 8 bytes or less) Request Operation of host controller OUT packet SETUP D[...]
-
Página 131
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 131 (2) Control transfer (OUT) (Transfer byte count: 9 bytes or more) Request Operation of host controller OUT packet SETUP DATA0 ACK Packet from host controller Packet from PD789800 Setup stage Data stage OUT reception IN ACK OUT DATA1 DATA1 ACK • ACK transmission • NAK transmission reser[...]
-
Página 132
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 132 (3) Control transfer (IN) (Tr ansfer byte count: 8 bytes or less) Request Operation of host controller IN packet SETUP DATA0 ACK Packet from host controller Packet from PD789800 Setup stage Data stage IN reception ACK IN DATA1 • ACK transmission • DATA1 transmission reservation Operati[...]
-
Página 133
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 133 (4) Control transfer (IN) (Transfer byte count: 9 bytes or more) Request Operation of host controller IN packet SETUP DATA0 ACK Packet from host controller Packet from PD789800 Setup stage Data stage IN reception ACK IN DATA1 • ACK transmission • DATA1 transmission reservation Operation[...]
-
Página 134
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 134 (5) No data control Request Operation of host controller IN packet SETUP DATA0 ACK Packet from host controller Packet from PD789800 Setup stage Status stage No data control IN DATA1 • ACK transmission • DATA1 transmission reservation Operation of USB function of PD789800 ACK transmissi[...]
-
Página 135
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 135 (6) Interrupt transfer Operation of host controller IN packet IN NAK Packet from host controller Packet from PD789800 NAK IN DATA1 • NAK transmission • DATA1 transmission reservation Operation of USB function of PD789800 ACK transmission reservation • DATA1 transmission • NAK transm[...]
-
Página 136
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 136 8.7.2 Interrupt servicing flow (1) USB token packet reception interrupt ser vicing INTUSBRT occurrence RETI Receive error occurred? Receive token is OUT? Waiting for OUT token? OUT to ENDPOINT 1? Receive token is SETUP? Receive token is unplanned token? IN token reception to ENDPOINT 1? IN[...]
-
Página 137
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 137 (2) Data/handshake packet reception interrupt servicing INTUSBRD occurrence RETI Planned packet was received? USB_MODE is SETUP? USB_MODE is data stage OUT reception? Re-transmit data reception reservation processing Transition processing to status stage OUT reception USB request processing[...]
-
Página 138
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 138 (3) USB timer inadvertent program loop detection interrupt servicing INTUSBTM occurrence RETI Processing for each operation mode when ACK is not received and for when DATA is not received after receiving OUT[...]
-
Página 139
CHAPTER 8 US B FUNCTION User’s Manual U12978E J3V0UD 139 (4) 1 ms timer interrupt servicing INTTM00 occurrence RETI REMOTE WAKEUP? Standby detected? Communication operating? RESET received? Waiting for resume signal completion? RESUME output processing USB reset processing Resume signal completion wait processing Yes Yes Yes Yes No No No No No Ye[...]
-
Página 140
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 140 8.8 USB Function Inte rnal Circuit Ope rations 8.8.1 Operation of transmit/receive pointer Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (1/7) (1) Token packet reception (1/2) Y Y Y N N Y Y EOP Y N N 1 Y Y N N Y EOP Y N N EOP 1 2 Idle state Set USBPOW to 00H USBPOB increment[...]
-
Página 141
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 141 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (2/7) (1) Token packet reception (2/2) Y Y Y EOP Y N N N 2 USBPOW = 05H? USBPOB increment Idle state Does bit stuffing signal = 1? Bit normal write? EOP normal receive? Set TBYER flag Idle state Set TBYER flag Idle state TBYER: B[...]
-
Página 142
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 142 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (3/7) (2) Data/Handshake packet reception (1/2) N Y Y Y N Y N EOP Y Y N 1 Y EOP Y N N N Y 2 Idle state Set USBPOW to 10H USBPOB increment USBPOW increment Set USBPOB to 00H Transmit/receive signal? USBPOB overflow? USBPOW = 11H? [...]
-
Página 143
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 143 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (4/7) (2) Data/Handshake packet reception (2/2) Y Y Y EOP Y N N N N 2 1 USBPOB overflow? Y USBPOW = 71H? USBPOB increment USBPOW increment USBPOB increment Idle state Does bit stuffing signal = 1? Bit normal write? EOP received n[...]
-
Página 144
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 144 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (5/7) (3) Data packet transmit (1/2) Y Y Transmit buffer N Handshake Y Y N N 1 N Y Y Y N N 1 2 Idle state Set USBPOW to 7FH USBPOB increment Set USBPOW to n0H Set USBPOB to 00H Bit read Transmit/receive signal? Does bit stuffing [...]
-
Página 145
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 145 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (6/7) (3) Data packet transmit (2/2) Y Y N N N 2 3 3 USBPOB overflow? Y N USBPOB overflow? Y USBPOW = 71H? USBPOB increment USBPOB increment USBPOW increment Bit Read Set USBPOW to 70H Read CRC redundant bit Does bit stuff signal[...]
-
Página 146
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 146 Figure 8-25. Flowchart of Transmit/Receive Pointer Operation (7/7) (4) Handshake packet transmission Y Y Handshake Transmit buffer Y N N 1 Y Y N N 1 Idle state Set USBPOW to 7FH USBPOB increment Set USBPOW to n0H Set USBPOB to 00H Bit read Transmit/receive signal? Does bit stuffing signal [...]
-
Página 147
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 147 8.8.2 Receive bank switching ID detection buffer operation Figure 8-26. Flowchart of Receive Bank Sw itching ID Detection Buffer Oper ation Y Y Y 01B 00B N Idle state Idle state 2-bit store & shift 1-bit store & shift Set buffer to 00H Bit judgment enable Set TOSTAT Bit judgment ma[...]
-
Página 148
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 148 8.8.3 Sync detection/USBCLK detector operation This circuit generates the USBCLK signal (1.5 MHz) upon detecting the sync part of the receive packet. In addition, it contains an NRZI decoder that decodes receive packets and detects the last bit of the sync part. When the last sync bit is d[...]
-
Página 149
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 149 Figure 8-29. Flowchart of Sync Detection/USB CLK Detector Oper ation N Y N Y N Y Y N Idle state USB clock oscillation start Detect last Sync bit Receive next bit Receive next bit Output 0 from NRZI decoder Output 0 from NRZI decoder Output 1 from NRZI decoder Output 1 from NRZI decoder Did[...]
-
Página 150
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 150 8.8.4 NRZI encoder operation This circuit performs NRZI encoding of data to be transm itted. Figure 8-30. Timing of NRZI Encoder Operation Data before encoding USB clock generation NRZI encoding Transmit packet Sync pattern Data/handshake packet Figure 8-31. Flow Chart of NRZI Encoder Oper[...]
-
Página 151
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 151 8.8.5 Bit stuffing/strip controller operation This circuit counts the number of “ logic 1 ” of transmit/receive packets. If six successive logic 1s are detected, it outputs an increment disable signal to the transmit/receive pointer (USBPOB). During packet transmission, it inserts “ [...]
-
Página 152
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 152 Figure 8-33. Flow Chart of Bit Stuffing Control Operation Y Y Y N N Idle state Idle state Transmit bit input Shift bit stuffing register Disable save of next transmit bit Reset bit stuffing register Disable USBPOB increment Transmission start? Transmit bit = 1? Y N Bit stuffing register = [...]
-
Página 153
CHAPTER 8 US B FUNCTION User ’ s Manual U12978EJ3V0UD 153 Figure 8-34. Flow Chart of Bit Strip Control Operation Y Y Y N N Idle state Idle state Receive bit input Shift bit stuffing register Receive bit input Bit stuffing error output Disable USBPOB increment Reception start? Receive bit = 1? N Y Y N Bit stuffing register = 3FH? Was EOP receive s[...]
-
Página 154
User’s Manual U12978E J3V0UD 154 CHAPTER 9 SERIAL INTERFACE 10 9.1 Functions of Serial Interface 10 Serial interface 10 has the following two modes. • Operation stop mode • 3-wire serial I/O mode (1) Operation stop mode This mode is used when serial transfer is not carried out. It enables a reduction in power consum ption. (2) 3-wire serial I[...]
-
Página 155
CHAPTER 9 S ERIAL I NTERFACE 10 User’s Manual U12978E J3V0UD 155 9.2 Con figuratio n of Serial Int erface 10 Serial interface 10 consists of the following hardware. Table 9-1. Configuration of Serial Interface 10 Item Confi guration Register Transm it/rec eive shi ft regis ter 10 (SIO10) Control regis ter S erial operating m ode register 10 (CS I[...]
-
Página 156
CHAPTER 9 S ERIAL I NTERFACE 10 User’s Manual U12978E J3V0UD 156 Figure 9-1. Block Diagram of Serial Inter face 10 Internal bus CSIE10 TPS100 DIR10 Serial operation mode register 10 (CSIM10) CSCK10 Transmit/receive shift register 10 (SIO10) Serial clock counter Clock controller F/F Interrupt request generator Selector Selector SI10/P22 SO10/P21 S[...]
-
Página 157
CHAPTER 9 S ERIAL I NTERFACE 10 User ’ s Manual U12978EJ3V0UD 157 9.3 Regist er Controllin g Serial Interface 10 The following register is used to control serial interface 10. • Serial operation mode register 10 (CSIM 10) (1) Serial operation mode register 10 (CSIM 10) This register is used to control serial interface 10 and set the serial cloc[...]
-
Página 158
CHAPTER 9 S ERIAL I NTERFACE 10 User ’ s Manual U12978EJ3V0UD 158 Table 9-2. Operating Mode Settings of Serial Inter face 10 (1) Operation stop mode CSIM10 PM22 P22 PM21 P21 PM20 P20 Start Shift P22/SI10 P21/S O10 P20/SC K10 CSIE10 DIR 10 CSC K10 Bit Clock P in Function Pi n Function Pin Function 0 ×× × Not e 1 × Not e 1 × Not e 1 × Not e 1[...]
-
Página 159
CHAPTER 9 S ERIAL I NTERFACE 10 User ’ s Manual U12978EJ3V0UD 159 9.4 Op eration of Serial Interface 10 Serial interface 10 provides the following two modes. • Operation stop mode • 3-wire serial I/O mode 9.4.1 Operation stop mode In the operation stop mode, serial transfer is not executed; therefore, the power consumption can be reduced. The[...]
-
Página 160
CHAPTER 9 S ERIAL I NTERFACE 10 User’s Manual U12978E J3V0UD 160 9.4.2 3-wire serial I/O mode The 3-wire serial I/O mode is useful for connection of peripheral I/O s and display controllers, etc., which incorporate a conventional synchronous serial interface, such as the 75XL Series, 78K Series, 17K Series, etc. Communication is performed using t[...]
-
Página 161
CHAPTER 9 S ERIAL I NTERFACE 10 User ’ s Manual U12978EJ3V0UD 161 (2) Communication operation In the 3-wire serial I/O mode, data transm ission/reception is performed in 8-bit units. Data is transmitted/received bit by bit in synchronization with the serial clock. Transmit/receive shift register 10 (SIO10) shift operations are performed in synchr[...]
-
Página 162
User’s Manual U12978E J3V0UD 162 CHAPTER 10 REGULATOR The µ PD789800 incorporates a regulator that powers the USB driver/receiver. The features are as follows. • Generates V REG (3.3 ± 0.3 V) from V DD0 , V DD1 (4.0 to 5.5 V) and outputs it to the RE GC pin. • Supports power-saving mode, reducing pow er consumption in mode. Figure 10-1. Blo[...]
-
Página 163
User’s Manual U12978E J3V0UD 163 CHAPTER 11 INTERRUPT FUNCTIONS 11.1 Interrupt Func tion Types The following two types of interrupt functions are used. (1) Non-maskable interrupt This interrupt is acknowledged unconditionally. It does no undergo interrupt priority control and is given top priority over all other interrupt requests. A standby rele[...]
-
Página 164
CHAPTER 11 I NTERRUPT FUNCTIONS User’s Manual U12978E J3V0UD 164 Table 11-1. Interrupt Source List Type of Int errupt Priority Note 1 Int errupt Source Name Trigger Nonmaskabl e - INTWDT Watchdog timer overf low (when watchdog ti mer mode 1 is select ed) Internal 0004H (A) Maskabl e 0 INTWDT Watchdog timer ov erflow (when interval timer mode i s [...]
-
Página 165
CHAPTER 11 I NTERRUPT FUNCTIONS User’s Manual U12978E J3V0UD 165 Figure 11-1. Basic Configuration of Interrupt Function (A) Internal non-maskable interrupt Internal bus Interrupt request Vector table address generator Standby release signal (B) Internal maskable interrupt MK IF IE Internal bus Interrupt request Vector table address generator Stan[...]
-
Página 166
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 166 11.3 Registers Controlling Inte rrupt Function The following five registers are used to control the interrupt functions. • Interrupt request flag registers 0 and 1 (IF0 and IF1) • Interrupt mask flag registers 0 and 1 (MK0 and M K1) • External interrupt mode register 0 (INTM [...]
-
Página 167
CHAPTER 11 I NTERRUPT FUNCTIONS User’s Manual U12978E J3V0UD 167 (1) Interrupt request flag registers (IF0 and IF1) The interrupt request flag is set to 1 w hen the corresponding interrupt request is generated or an instruction is executed. It is cleared to 0 when an instruction is executed upon acknowledgement of an interrupt request or upon RES[...]
-
Página 168
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 168 (2) Interrupt mask flag registers (MK 0 and MK1) The interrupt mask flag is used to enable/disable the corresponding maskable interrupt servicing. MK0 and MK1 are set w ith a 1-bit or 8-bit memory m anipulation instruction. RESET input sets MK0 and MK1 to FFH. Figure 11-3. Format o[...]
-
Página 169
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 169 (4) Program status word (PSW) The program status word is a register used to hold the instruction execution result and the current status for interrupt requests. The IE flag to set maskable interrupt enable/disable is mapped here. Besides 8-bit unit read/write, this register can car[...]
-
Página 170
CHAPTER 11 I NTERRUPT FUNCTIONS User’s Manual U12978E J3V0UD 170 (5) Key return mode register 00 (K RM00) This register sets the pin that detects a key return signal (rising edge of port 4). KRM00 is set with a 1-bit an 8-bit m emory manipulation instruction. Bit 0 (KRM000) is set in 4-bit units for the KR00/P40 to KR03/P43 pins. Bits 4 to 7 (KR [...]
-
Página 171
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 171 11.4 Interrupt Se rvicing Opera tion 11.4.1 Non-maskable interrupt acknowledgment oper ation The non-maskable interrupt is unconditionally acknowledged even when interrupts are disabled. It is not subject to interrupt priority control and takes precedence over all other interrupts.[...]
-
Página 172
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 172 Figure 11-8. Flowchart of Non-M askable Interrupt Request Acknowledgment Start WDTM4 = 1 (watchdog timer mode is selected) Interval timer No WDT overflows No Yes Reset processing No Yes Yes Interrupt request is generated Interrupt servicing is started WDTM3 = 0 (non-maskable interr[...]
-
Página 173
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 173 11.4.2 Maskable interrupt acknow ledgment operation A maskable interrupt can be acknow ledged when the interrupt request flag is set to 1 and the corresponding interrupt mask flag is cleared to 0. A vectored interrupt is acknowledged in the interrupt enabled status (when the IE fla[...]
-
Página 174
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 174 Figure 11-12. Timing of Interrupt Request Acknowledgment (Example of MOV A,r) Clock CPU MOV A,r Saving PSW and PC, and jump to interrupt handling Interrupt servicing program Interrupt 8 clocks When an interrupt request flag (xxIF) is generated before clock n (n = 4 to 10) of the in[...]
-
Página 175
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 175 11.4.3 Multiplexed interrupt servicing Servicing in w hich another interrupt is acknowledged while an interrupt is being processed is called m ultiplexed interrupt servicing. Multiplexed interrupt is not performed unless interrupt requests are enabled (IE = 1) (except the non-maska[...]
-
Página 176
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 176 Figure 11-14. Example of Multiplexed Interrupt Ser vicing Example 1. Acknowledging multiplexed interrupts INTyy EI Main processing EI INTyy processing INTxx processing RETI IE = 0 INTxx RETI IE = 0 The interrupt request INTyy is acknowledged and multiplexed interrupt servicing is p[...]
-
Página 177
CHAPTER 11 I NTERRUPT FUNCTIONS User ’ s Manual U12978EJ3V0UD 177 11.4.4 Interrupt request hold If an interrupt (such as a maskable, non-maskable, or external interrupt) is requested w hen a certain type of instruction is being executed, the interrupt request will not be acknowledged until the instruction is completed. Such instructions include: [...]
-
Página 178
User’s Manual U12978E J3V0UD 178 CHAPTER 12 STANDBY FUNCTION 12.1 Standby Function and Configur ation 12.1.1 Standby function The standby function is used to reduce the power consumption of the system and can be effected in the following two modes. (1) HALT mode This mode is set when the HALT instruction is executed. The H ALT mode stops the oper[...]
-
Página 179
CHAPTER 12 S TANDBY FUNCTI ON User’s Manual U12978E J3V0UD 179 12.1.2 Register controlling standby function The wait time after the STOP mode is released upon interrupt request until oscillation stabilizes is controlled with the oscillation stabilization time select register (OSTS). OSTS is set with an 8-bit mem ory manipulation instruction. RESE[...]
-
Página 180
CHAPTER 12 S TANDBY FUNCTI ON User ’ s Manual U12978EJ3V0UD 180 12.2 Standby Function Ope ration 12.2.1 HALT mode (1) HALT mode The HALT mode is set by executing the HA LT instruction. The operation status in the HALT mode is shown in the follow ing table. Table 12-1. HALT Mode Operation Status Item HALT Mode Operation St atus Clock generator Osc[...]
-
Página 181
CHAPTER 12 S TANDBY FUNCTI ON User ’ s Manual U12978EJ3V0UD 181 (2) Releasing HALT mode The HALT mode can be released by the following three sources. (a) Releasing by unmasked interrupt request The HALT mode is released by an unm asked interrupt request. In this case, if interrupts are enabled to be acknowledged, vectored interrupt servicing is p[...]
-
Página 182
CHAPTER 12 S TANDBY FUNCTI ON User ’ s Manual U12978EJ3V0UD 182 (c) Releasing by RESET input When the HALT mode is released by the RESET signal, execution branches to the reset vector address in the same manner as the ordinary reset operation, and program execution is started. Figure 12-3. Releasing HALT Mode by RESET Input HALT instruction RESET[...]
-
Página 183
CHAPTER 12 S TANDBY FUNCTI ON User ’ s Manual U12978EJ3V0UD 183 12.2.2 STOP mode (1) Setting and operation status of STOP mode The STOP mode is set by executing the STO P instruction. Cautions 1. When the STOP mode is set, the X2 pin is internally pulled up to V DD to suppress the current leakage of the crystal oscillator block. Therefore, do not[...]
-
Página 184
CHAPTER 12 S TANDBY FUNCTI ON User’s Manual U12978E J3V0UD 184 (2) Releasing STOP mode The STOP mode can be released by the follow ing two sources. (a) Releasing by unmasked interrupt request The STOP mode can be released by an unm asked interrupt request. In this case, if interrupts are enabled to be acknowledged, vectored interrupt servicing is[...]
-
Página 185
CHAPTER 12 S TANDBY FUNCTI ON User ’ s Manual U12978EJ3V0UD 185 (b) Releasing by RESET input When the STOP mode is released by the RESET signal, the reset operation is performed after the oscillation stabilization time has elapsed. Figure 12-5. Releasing STOP Mode by RESET Input STOP instruction RESET signal Wait (2 15 /f X : 5.46 ms) STOP mode O[...]
-
Página 186
User’s Manual U12978E J3V0UD 186 CHAPTER 13 RESET FUNCTION The following two operations are available to generate reset signals. (1) External reset input via RESET pin (2) Internal reset by inadvertent program loop time detected by watchdog tim e r External and internal reset have no functional differences. In both cases, program execution starts[...]
-
Página 187
CHAPTER 13 R ESET F UNCTI ON User ’ s Manual U12978EJ3V0UD 187 Figure 13-2. Reset Timing by RESET Input X1 RESET Internal reset signal Port pin During normal operation Delay Delay Hi-Z Reset period (oscillation stops) Normal operation (reset processing) Oscillation stabilization time wait Figure 13-3. Reset Timing by Overflow in Watchdog Timer X1[...]
-
Página 188
CHAPTER 13 R ESET F UNCTI ON User’s Manual U12978E J3V0UD 188 Table 13-1. Hardware Status After R eset (1/2) Hardware Status Aft er Reset Program count er (PC) Note 1 The contents of reset vect or tables (0000H and 0001H) are set. Stack pointer (SP ) Undefined Program st atus word (P SW) 02H RAM Data memory Undefined Note 2 General-purpose regis [...]
-
Página 189
CHAPTER 13 R ESET F UNCTI ON User’s Manual U12978E J3V0UD 189 Table 13-1. Hardware Status After R eset (2/2) Hardware Status Aft er Reset USB func tion Data pack et transm it byt e number counter 0 (DTX CO0) 20H Data pack et transm it byt e number counter 1 (DTX CO1) 30H Token PID c ompare regist er (TIDCMP) 00H Token address compare regis ter (A[...]
-
Página 190
User’s Manual U12978E J3V0UD 190 CHAPTER 14 µ µ µ µ PD78F9801 The µ PD78F9801 is a product that substitutes flash mem ory for the internal ROM of the mask ROM version. The differences between the µ PD78F9801 and the mask RO M versions are shown in Table 14-1. Table 14-1. Differences Between µ µ µ µ PD78F9801 and Mask ROM Versions Item F[...]
-
Página 191
CHAPTER 14 µ µ µ µ PD78F9801 User’s Manual U12978E J3V0UD 191 14.1 Flash Memory Charact eristics Flash mem ory programm ing is performed by connecting a dedicated flash programmer (Flashpro III (part no. FL- PR3, PG-FP3)/Flashpro IV (part no. FL-PR 4, PG-FP4)) to the target system with the µ PD78F9801 mounted on the target system (on-board).[...]
-
Página 192
CHAPTER 14 µ µ µ µ PD78F9801 User ’ s Manual U12978EJ3V0UD 192 14.1.2 Communication mode Use the communication m ode shown in Table 14-2 to perform communication between the dedicated flash programmer and µ PD78F9801. Table 14-2. Communication Mode List TYPE Setting Note 1 Communic ation Mode COMM PO RT SIO Clock CP U Clock Fl ash Clock Mult[...]
-
Página 193
CHAPTER 14 µ µ µ µ PD78F9801 User ’ s Manual U12978EJ3V0UD 193 Figure 14-3. Example of Connection with Dedicated Flash Progr ammer (a) 3-wire serial I/O Dedicated flash programmer VPP1 VDD RESET SCK SO SI CLK Note GND V PP V DD0 , V DD1 RESET SCK10 SI10 SO10 X1 V SS0 , V SS1 PD78F9801 µ (b) Pseudo-3-wire Dedicated flash programmer VPP1 VDD R[...]
-
Página 194
CHAPTER 14 µ µ µ µ PD78F9801 User’s Manual U12978E J3V0UD 194 If Flashpro III (part no. FL-PR3, PG-FP3)/Flashpro IV is used as a dedicated flash program mer, the following signals are generated for the µ PD78F9801. For details, refer to the manual of Flashpro III/Flashpro IV. Table 14-3. Pin Connection List Signal Name I/ O Pin Function Pin [...]
-
Página 195
CHAPTER 14 µ µ µ µ PD78F9801 User’s Manual U12978E J3V0UD 195 14.1.3 On-board pin processing When performing programm ing on the target system, provide a connector on the target system to connect the dedicated flash programmer. An on-board function that allows switching between normal operation m ode and flash memory programming mode may be r[...]
-
Página 196
CHAPTER 14 µ µ µ µ PD78F9801 User ’ s Manual U12978EJ3V0UD 196 (1) Signal conflict If the dedicated flash programmer (output) is connected to a serial interface pin (input) that is connected to another device (output), a signal conflict occurs. To prevent this, isolate the connection with the other device or set the other device to the output[...]
-
Página 197
CHAPTER 14 µ µ µ µ PD78F9801 User’s Manual U12978E J3V0UD 197 <RESET pin> If the reset signal of the dedicated flash programmer is connected to the RESET pin connected to the reset signal generator on-board, a signal conflict occurs. To prevent this, isolate the connection w ith the reset signal generator. If the reset signal is input f[...]
-
Página 198
CHAPTER 14 µ µ µ µ PD78F9801 User ’ s Manual U12978EJ3V0UD 198 14.1.4 Connection of adapter for flash writing The following figure shows an example of recom mended connection when the adapter for flash writing is used. Figure 14-8. Wiring Example for Flash Writing Adapter with 3-Wire Serial I/O 12 13 14 15 16 17 18 19 20 21 22 23 1 2 3 4 5 6 [...]
-
Página 199
CHAPTER 14 µ µ µ µ PD78F9801 User ’ s Manual U12978EJ3V0UD 199 Figure 14-9. Wiring Example for Flash Writing Adapter with Pseudo-3-Wire Method 12 13 14 15 16 17 18 19 20 21 22 23 1 2 3 4 5 6 7 8 9 10 11 33 32 31 30 29 28 27 26 25 24 PD78F9801 GND VDD SI SO SCK CLK OUT RESET VPP RESER VE/HS VDD (4.0 to 5.5 V) GND VDD2(L VDD) 44 43 42 41 40 39 [...]
-
Página 200
User’s Manual U12978E J3V0UD 200 CHAPTER 15 INSTRUCTION SET This chapter lists the instruction set of the µ PD789800 Subseries. For details of the operation and machine language (instruction code) of each instruction, refer to 78K/0S Series Instruction User’s Manual (U 11047E) . 15.1 Opera tion 15.1.1 Operand identifiers and description method[...]
-
Página 201
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 201 15.1.2 Description of “operation” column A: A register; 8-bit accumulator X: X register B: B register C: C register D: D register E: E register H: H register L: L register AX: AX register pair; 16-bit accumulator BC: BC register pair DE: DE register pair HL: HL register pair PC: Pr[...]
-
Página 202
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 202 15.2 Operation List Mnemonic Operands Bytes Cloc ks Operat ion Flag ZA C C Y MOV r,#byte 3 6 r ← byte saddr,#by te 3 6 (saddr) ← byte sfr,#b yte 3 6 sfr ← byte A,r Note 1 24 A ← r r,A Note 1 24 r ← A A,saddr 2 4 A ← (s addr) saddr,A 2 4 (saddr) ← A A,sfr 2 4 A ← sfr sfr[...]
-
Página 203
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 203 Mnemonic Operands Bytes Cloc ks Operat ion Flag ZA C C Y MOVW rp,#word 3 6 rp ← word AX,s addrp 2 6 AX ← (saddrp) saddrp,AX 2 8 (saddrp) ← AX AX,rp Note 1 4 AX ← rp rp,AX Note 14 r p ← AX XCHW AX,rp Note 1 8 AX ↔ rp ADD A,#byte 2 4 A,CY ← A+byte ××× saddr,#by te 3 6 (s[...]
-
Página 204
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 204 Mnemonic Operands Bytes Cloc ks Operat ion Flag ZA C C Y SUBC A,#b y te 2 4 A,CY ← A − byt e − CY ××× saddr,#by te 3 6 (saddr),CY ← (saddr) − by te − CY ××× A,r 2 4 A,CY ← A − r − CY ××× A,saddr 2 4 A, CY ← A − (saddr) − CY ××× A,!addr16 3 8 A, CY ?[...]
-
Página 205
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 205 Mnemonic Operands Bytes Cloc ks Operat ion Flag ZA C C Y CMP A,#by te 2 4 A − by te ××× saddr,#by te 3 6 (saddr) − byt e ××× A,r 2 4 A − r ××× A,saddr 2 4 A − (s addr) ××× A,!addr16 3 8 A − (addr16) ××× A,[HL] 1 6 A − (HL) ××× A,[HL+b yte] 2 6 A − (HL+by[...]
-
Página 206
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 206 Mnemonic Operands Bytes Cloc ks Operat ion Flag ZA C C Y CALL !addr16 3 6 (SP − 1) ← (P C+3) H , (SP − 2) ← (PC+3) L , PC ← addr16, SP ← SP − 2 CALLT [addr5] 1 8 (SP − 1) ← (PC+1) H , (SP − 2) ← (PC+1) L , PC H ← (00000000, addr5+1), PC L ← (00000000, addr5), [...]
-
Página 207
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 207 15.3 Inst ructions List ed by Addressing Type (1) 8-bit instructions MOV, XCH, ADD, ADDC, SUB, SUBC, AND, OR, XOR, CMP, INC, DEC, ROR, ROL, RORC, ROLC, PUSH, POP, DBNZ 2nd Operand 1st Operand #byte A r sfr saddr ! addr16 PSW [DE] [HL] [H L+ b y t e ] $addr16 1 None A ADD ADDC SUB SUBC [...]
-
Página 208
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 208 (2) 16-bit instructions MOVW, XCHW, ADDW, SUBW, CMPW, PUSH, POP, INCW, DECW 2nd Operand 1st Operand #word AX rp Note saddrp SP None AX ADDW SUBW CMPW MOVW XCHW MOVW MOVW rp MOVW MOVW Note INCW DECW PUSH POP saddrp MOVW SP MOVW Note Only when rp = BC, DE, or HL . (3) Bit manipulation in[...]
-
Página 209
CHAPTER 15 I NSTRUCTI ON SET User’s Manual U12978E J3V0UD 209 (4) Call instructions/branch instructions CALL, CALLT, BR, BC, BNC, BZ, BNZ, DBNZ 2nd Operand 1st Operand AX !addr16 [addr5] $addr16 Basic Instr uction s BR CALL BR CALLT BR BC BNC BZ BNZ Compound Inst ructi ons DBNZ (5) Other instructions RET, RETI, NOP, EI, DI, HALT, STOP[...]
-
Página 210
User’s Manual U12978E J3V0UD 210 CHAPTER 16 ELECTRICAL SP ECIFICATIONS Absolute Maximum Ratings (T A = 25 ° ° ° ° C) Parameter Symbol Condit ions Rat ing Unit V DD − 0.3 to + 6.5 V Supply v oltage V PP µ PD78F9801 only Note 1 − 0.3 to +10.5 V Input vol tage V I − 0.3 to V DD + 0. 3 Note 2 V Output vol tage V O − 0. 3 to V DD + 0.3 No[...]
-
Página 211
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User ’ s Manual U12978EJ3V0UD 211 System Clock Oscillation Circuit Characteristics (T A = − − − − 40 to +85 ° ° ° ° C, V DD = 4.0 to 5.5 V) Resonator Rec ommended Circui t P arameter Conditions MI N. TYP. MAX. Uni t Oscillator f requency (f X ) Note 1 6.0 6.0 6.0 MHz Crysta l X2 X1 V PP C2 C1 Os[...]
-
Página 212
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User ’ s Manual U12978EJ3V0UD 212 DC Characteristics (T A = − − − − 40 to +85 ° ° ° ° C, V DD = 4.0 to 5.5 V) (1/2) Parameter Symbol Conditions MIN. TYP. MAX. Unit Per pin − 1m A Output current , high I OH Total for a ll pins − 15 mA Per pin 10 mA Output current , low I OL Total for all pins[...]
-
Página 213
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User’s Manual U12978E J3V0UD 213 DC Characteristics (T A = − − − − 40 to +85 ° ° ° ° C, V DD = 4.0 to 5.5 V) (2/2) Parameter Symbol Conditions MIN. TYP. MAX. Unit I DD1 6.0 MHz cry stal osc illation (operating mode) Note 2 1.5 3.0 m A I DD2 6.0 MHz crystal oscillation (HALT mode) Note 2 0.5 1.1 [...]
-
Página 214
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User’s Manual U12978E J3V0UD 214 AC Characteristics (1) Basic operations (T A = − − − − 40 to +85 ° ° ° ° C, V DD = 4.0 to 5.5 V) Parameter Symbol Conditions MIN. TY P. MAX. Unit When PCC = 00H (f X = 6.0 M Hz) 0.333 0.333 0.333 µ s Cycle time (minimu m instruc tion exec ution ti me) T CY When [...]
-
Página 215
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User’s Manual U12978E J3V0UD 215 (b) 3-wire serial I/O mode (T A = − − − − 40 to +85 ° ° ° ° C, V DD = 4.0 to 5.5 V) (i) SCK10 ...Internal clock output (when f X = 6.0 MHz) Parameter Symbol Conditions MIN. TY P. MAX. Unit When TPS100 Note 1 = 0 667 667 667 ns SCK1 0 cycle time t KCY1 When TPS100[...]
-
Página 216
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User ’ s Manual U12978EJ3V0UD 216 AC Timing Measurement Points (Except X1 Input and USB Function) 0.8V DD 0.2V DD 0.8V DD 0.2V DD Measurement points Clock timing 1/f X t XL t XH X1 input V IH3 (MIN.) V IL3 (MAX.) TI Timing TI01 t TIL t TIH 1/f TI Interrupt Input Timing INTP0 t INTL t INTH RES ET Input Timin[...]
-
Página 217
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User’s Manual U12978E J3V0UD 217 Serial Transfer Timing USB function: USBDM and USBDP rise/fall time USBDM, USBDP t R 0.1V DD 0.9V DD t F Transmission differential signal jitter Next bit Bit following the next bit 667 ns 1,333 ns t UDJ1 t UDJ2 USBDM, USBDP Differential output signal cross-over point, transm[...]
-
Página 218
CHAPTER 16 E LECTRI CAL SPECIFICATIO NS User ’ s Manual U12978EJ3V0UD 218 Data Memory STOP Mode Low Supply Voltage Data Retention Characteristics (T A = − − − − 40 to +85 ° ° ° ° C) Item Sy mbol Conditions MIN. TY P. MAX. Unit Data hold suppl y volt age V DDDR 4.0 5.5 V Release si gnal set t ime t SREL 0 µ s Release by RESET 2 15 /f [...]
-
Página 219
User’s Manual U12978E J3V0UD 219 CHAPTER 17 PACKAGE DRAW INGS 33 34 22 44 1 12 11 23 44 PIN PLASTIC LQFP (10x10) ITEM MILLIMETERS N Q0 . 1 ± 0.05 0.10 S44GB-80-8ES-2 J I H N A 12.0 ± 0.2 B 10.0 ± 0.2 C 10.0 ± 0.2 D 12.0 ± 0.2 F G H 1.0 0.37 1.0 I J K 0.8 (T.P.) 1.0 ± 0.2 0.20 L0 . 5 M0 . 1 7 S T U 1.6 MAX. 0.25 (T.P.) 0.6 ± 0.15 R3 ° + 0.[...]
-
Página 220
User’s Manual U12978E J3V0UD 220 CHAPTER 18 RECOMMENDE D SOLDERING CONDITIONS The µ PD789800 Subseries should be soldered and mounted under the following recom mended conditions. For details of the recommended soldering conditions, refer to the document Semiconductor Device Mounting Technology Manual (C10535E) . For soldering methods and conditi[...]
-
Página 221
User’s Manual U12978E J3V0UD 221 APPENDIX A DEVEL OPMENT TO OLS The following development tools are available for developm ent of systems using the µ PD789800 Subseries. Figure A-1 shows the development tools. • Support of the PC98-NX series Unless otherwise stated, the µ PD789800 Subseries, which is supported by IBM PC/AT™ and com patibles[...]
-
Página 222
APPENDIX A DEVELOPMENT TOOLS User’s Manual U12978E J3V0UD 222 Figure A-1. Development Tools Language processing software · Assembler package · C compiler package · Device file · C library source file Note 1 Debugging software · Integrated debugger · System simulator Host machine (PC or EWS) Interface adapter In-circuit emulator Emulation bo[...]
-
Página 223
APPENDIX A DEVELOPMENT TOOLS User ’ s Manual U12978EJ3V0UD 223 A.1 Softw are Package Software t ools for dev elopment of the 78K/0S Series are c ombined in t his pack age. The following t ools are inc luded. RA78K0S, CC78K0S, I D78K0S-NS, SM78K0S , and devic e files SP78K0S Software package Part number: µ S ×××× SP78K0S Remark ×××× in th[...]
-
Página 224
APPENDIX A DEVELOPMENT TOOLS User’s Manual U12978E J3V0UD 224 Remark ×××× in the part number differs depending on the host machine and operating system to be used. µ S ×××× RA78K0S µ S ×××× CC78K0S ×××× Host Mac hine OS Supply Medi um AB13 J apanese Windows 3.5" 2HD FD BB13 Engl ish Windows AB17 J apanese Windows BB17 PC-98[...]
-
Página 225
APPENDIX A DEVELOPMENT TOOLS User ’ s Manual U12978EJ3V0UD 225 A.5 Debugging Tools (Hardwa re) IE-78K0S -NS In-circ uit emul ator In-circ uit emul ator for debugging hardware and s oftware of an appl ication system usi ng the 78K/0S S eries. S upports a int egrated debugger (ID78K 0S-NS). Us ed in combi nation with an AC adapter, em ulation probe[...]
-
Página 226
APPENDIX A DEVELOPMENT TOOLS User ’ s Manual U12978EJ3V0UD 226 A.6 Debugging Tools (Softwar e) This debugger support s the in-c ircuit emulators IE-78K0S -NS and IE-78K 0S-NS-A f or the 78K/0S S eries. The I D78K0S-NS is Windows-bas ed software. It has i mproved C-com patible debugging f unctions and can dis play the res ults of traci ng with the[...]
-
Página 227
APPENDIX A DEVELOPMENT TOOLS User ’ s Manual U12978EJ3V0UD 227 A.7 Notes on Targ et System Design Figures A-2 and A-3 show the conditions when connecting the emulation probe to the conversion adapter. Follow the configuration below and consider the shape of parts to be mounted on the target system when designing a system. Figure A-2. Distance Bet[...]
-
Página 228
APPENDIX A DEVELOPMENT TOOLS User ’ s Manual U12978EJ3V0UD 228 Figure A-3. Connection Condition of Target System (NP-H44GB-TQ) Emulation board IE-789801-NS-EM1 Emulation probe NP-H44GB-TQ Conversion adapter TGB-044SAP 11 mm 34 mm 40 mm 10 mm 23 mm Target system Remarks 1 . NP-H44GB-TQ is a product of Naito Densei Machida M fg. Co., Ltd. 2. TGB-04[...]
-
Página 229
User’s Manual U12978E J3V0UD 229 APPENDIX B REGIS TER INDEX B.1 Register Index (Alphabetic Order of Register Name) 8-bit compare register 00 (CR00) ............................................................................................... ........................... 81 8-bit compare register 01 (CR01) ........................................[...]
-
Página 230
APPENDI X B REGI STER I NDEX User’s Manual U12978E J3V0UD 230 Port mode register 2 (PM2) .................................................................................................................................... 69 Port mode register 4 (PM4) ................................................................................................[...]
-
Página 231
APPENDI X B REGI STER I NDEX User’s Manual U12978E J3V0UD 231 B.2 Register Index (Alphabetic Order of Register Symbol) [A] ADRCMP: Token addres s compare register ...................................................................................... 107 [C] CR00: 8-bit compare register 00 ..........................................................[...]
-
Página 232
APPENDI X B REGI STER I NDEX User’s Manual U12978E J3V0UD 232 PU0: Pull-up resistor option register 0 ........................................................................................ 70 [R] REMWUP: Remote wake-up control register ..................................................................................... 121 RXSTAT: Packet recei[...]
-
Página 233
User’s Manual U12978E J3V0UD 233 APPENDIX C REV ISION HISTORY The revision history is described below. The “Applied to” column indicates the chapters in each edition. (1/2) Edition Maj or Revisi ons from P revious E dition Applied to: Deletion of descript ion “under development ” for µ PD789800, si nce it has been developed Addition of G[...]
-
Página 234
APPEND IX C REVISION HISTORY User’s Manual U12978E J3V0UD 234 (2/2) Edition Maj or Revisi ons from P revious E dition Applied to: Correction of address v alues in Figure 3-1 Memory Map ( µ µ µ µ PD789800) and Figure 3-2 Memory Map ( µ µ µ µ PD78F9801) CHAPTER 3 CPU ARCHITE CTURE Modific ation of Figure 5-3 Exter nal Circuit of System Cloc[...]