![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
1997 document no. s10766ej9v0um00 (9th edition) date published march 1997 n cp(n) printed in japan m pD72103A hdlc controller m pD72103A
notes for cmos devices 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 it once, when it has occurred. environmental control must be adequate. when it is dry, humidifier should be used. it is recommended to avoid using insulators that easily build static electricity. semiconductor devices must be stored and transported in an anti-static container, static shielding bag or conductive material. all test and measurement tools including work bench and floor should be grounded. the operator should be grounded using wrist strap. semiconductor devices must not be touched with bare hands. similar precautions need to be taken for pw boards with semiconductor devices on it. 2 handling of unused input pins for cmos note: no connection for cmos device inputs can be cause of malfunction. if no connection is provided to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence causing malfunction. cmos devices behave differently than bipolar or nmos devices. input levels of cmos devices must be fixed high or low by using a pull-up or pull-down circuitry. each unused pin should be connected to v dd or gnd with a resistor, if it is considered to have a possibility of being an output pin. all handling related to the unused pins must be judged device by device and related specifications governing the devices. 3 status before initialization of mos devices note: power-on does not necessarily define initial status of mos device. production process of mos does not define the initial operation status of the device. immediately after the power source is turned on, the devices with reset function have not yet been initialized. hence, power-on does not guarantee out-pin levels, i/o settings or contents of registers. device is not initialized until the reset signal is received. reset operation must be executed immediately after power-on for devices having reset function. the information in this document is subject to change without notice. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec corporation. nec corporation assumes no responsibility for any errors which may appear in this document. nec corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. no license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec corporation or others. while nec corporation has been making continuous effort to enhance the reliability of its semiconductor devices, the possibility of defects cannot be eliminated entirely. to minimize risks of damage or injury to persons or property arising from a defect in an nec semiconductor device, customers must incorporate sufficient safety measures in its design, such as redundancy, fire-containment, and anti-failure features. nec devices are classified into the following three quality grades: "standard", "special", and "specific". the specific quality grade applies only to devices developed based on a customer designated quality assurance program for a specific application. the recommended applications of a device depend on its quality grade, as indicated below. customers must check the quality grade of each device before using it in a particular application. standard: computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots special: transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support) specific: aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems or medical equipment for life support, etc. the quality grade of nec devices is "standard" unless otherwise specified in nec's data sheets or data books. if customers intend to use nec devices for applications other than those specified for standard quality grade, they should contact an nec sales representative in advance. anti-radioactive design is not implemented in this product. m7 96.5 the export of this product from japan is prohibited without governmental license. to export or re-export this product from a country other than japan may also be prohibited without a license from that country. please call an nec sales representative. the application circuits and their parameters are for reference only and are not intended for use in actual design-ins. v25+ is a trademark of nec corporation. preface target users this manual describes the functions of the m pD72103A to engineers who will use the m pD72103A when designing application systems. objective the objective of this manual is to describe the hardware functions of the m pD72103A, which includes the following components. composition this manual can be broadly divided into the following sections. general bus interface communication operations commands status system configuration example example of m pD72103A?s operation sequence connecting hdlc controller to a motorola system questions and answers about the m pD72103A command list status list use this manual assumes that the reader has a general knowledge of electricity, logic circuits, and microcontrollers. users who would like to check commands ? read chapter 4 command list . users who would like to learn about the m pD72103A?s functions ? read this manual in the order shown in the table of contents. users who have questions about the m pD72103A?s operations ? read appendix c q&a . legend data representation weight : high-order digits are indicated at left and low-order digits at right. active low representation : xxx (pin or signal name is overlined) or xxxb (b is added after signal and pin names) memory map address : high order at low stage and low order at high stage (address 0h) note : explanation of note in the text caution : item deserving extra attention remark : supplementary explanation to the text number representation : decimal number is xxxx hexadecimal number is xxxxh appendix c uses the following abbreviations for reference documentation. data sheet ? ds user?s manual ? um application note ? an related documentation document name data sheet user?s manual application note m pD72103A s10189j note this manual ? the corresponding application note for this manual is the m pd72103 application note (iea-713 note ). in this application note, all references to the m pd72103 should be understood as referring to the m pD72103A. note this document number is that of the japanese version. e i e table of contents chapter 1 general ............................................................................................................................ 1 1.1 features ............................................................................................................................... ...... 1 1.2 block diagram .......................................................................................................................... 2 1.3 internal block functions ......................................................................................................... 3 1.4 pin configuration (top view) ................................................................................................. 4 1.5 pin functions ........................................................................................................................... 6 1.6 initialization via reset ........................................................................................................... 11 chapter 2 bus interface ..............................................................................................................13 2.1 internal registers ...................................................................................................................13 2.1.1 control register .......................................................................................................... ................... 14 2.1.2 internal status register .................................................................................................. ................ 15 2.2 dmac (direct memory access controller) .........................................................................16 2.2.1 block transfers ........................................................................................................... ................... 16 2.2.2 extension of active (low-level) width of mrd and mwr signals ................................................... 17 2.2.3 basic timing of dma ....................................................................................................... ............... 18 2.2.4 address/data multiplexing ................................................................................................. ............ 20 2.3 interface between m pD72103A and host processor ......................................................... 22 2.3.1 command issuance .......................................................................................................... ............ 23 2.3.2 status report ............................................................................................................. .................... 25 2.3.3 command chain function .................................................................................................... .......... 26 2.4 initialization of external memory .........................................................................................27 2.5 methods for using external memory .................................................................................. 27 2.5.1 command table ............................................................................................................. ................ 27 2.5.2 status table .............................................................................................................. ..................... 32 2.5.3 receive buffer address table .............................................................................................. .......... 36 2.5.4 receive buffer ............................................................................................................ ................... 45 2.5.5 transmit buffer ........................................................................................................... ................... 45 2.5.6 external memory table configuration example .............................................................................. 4 5 chapter 3 communication operations ...................................................................................47 3.1 initial settings ........................................................................................................................47 3.2 start of communication control operation and flag synchronization setup ............. 48 3.2.1 transmit operation ........................................................................................................ ................ 48 3.2.2 receive operation ......................................................................................................... ................ 48 3.2.3 status reporting .......................................................................................................... ................... 48 3.3 data transmission .................................................................................................................49 3.3.1 transmission timing ....................................................................................................... ............... 49 3.3.2 linkage of transmit data .................................................................................................. .............. 49 3.3.3 transmit buffer chain ..................................................................................................... ............... 50 3.3.4 transmission underrun ..................................................................................................... ............ 50 3.4 data reception .......................................................................................................................51 3.4.1 reception timing .......................................................................................................... ................. 51 3.4.2 separation of receive data ................................................................................................ ............ 53 e ii e 3.4.3 receive buffer chain ...................................................................................................... ............... 53 3.4.4 address field recognition ................................................................................................. .............. 53 3.4.5 discarding of abnormal frames ............................................................................................. ........ 53 3.4.6 idle monitor timer ........................................................................................................ .................. 54 3.4.7 idle reception count ...................................................................................................... ................. 54 3.4.8 cautions regarding overrun errors ......................................................................................... ....... 55 3.5 completion of transmit/receive operation .......................................................................58 3.6 transmit and receive frame flags .....................................................................................58 3.6.1 transmit frame flags ...................................................................................................... ............... 58 3.6.2 receive frame flags ....................................................................................................... ............... 58 3.7 general-purpose input/output pins ....................................................................................58 3.7.1 detection of changes in general-purpose input pins ..................................................................... 58 3.7.2 control of general-purpose output pins .................................................................................... .... 58 3.7.3 general-purpose input/output pin status ................................................................................... .... 58 chapter 4 commands (lcw) ..........................................................................................................59 chapter 5 status (lsw) ..................................................................................................................87 chapter 6 system configuration examples ...................................................................... 113 6.1 connection with host system ........................................................................................... 113 6.1.1 local memory type ......................................................................................................... ..............113 6.1.2 main memory type .......................................................................................................... .............114 6.2 physical interface examples .............................................................................................. 115 6.2.1 interface example using rs-485 ............................................................................................ ..... 115 6.2.2 interface example using m pd98201 .............................................................................................115 appendix a m pD72103A operation sequence examples .................................................. 117 appendix b connection between hdlc controller and motorola system ...... 119 b.1 differences between nec/intel buses and motorola buses ......................................... 119 b.1.1 difference in allocation of physical even-numbered byte and odd-numbered byte in 16-bit bus .......................................................................................... 11 9 b.1.2 difference in representation order of logical 16-bit and 24-bit data ............................................. 119 b.2 method for connecting hdlc controller with motorola-based system ..................... 120 b.2.1 data bus connection in hardware ........................................................................................... .... 120 b.2.2 hdlc controller?s mdst command setting (operation mode setting lcw) ............................... 120 appendix c questions and answers about the m pD72103A ......................................... 121 appendix d command list ........................................................................................................... 161 appendix e status list ................................................................................................................ 163 e iii e list of figure figure no. title page 2-1 control register ............................................................................................................................... ........ 14 2-2 internal status register ........................................................................................................................... 15 2-3 basic clocks in one bus cycle during block transfer .......................................................................... 16 2-4 example: two programmable waits ...................................................................................................... 17 2-5 memory write timing ............................................................................................................................... 18 2-6 memory read timing ............................................................................................................................... 19 2-7 byte mode (b/w = 0) ............................................................................................................................... 20 2-8 word mode (b/w = 1) .............................................................................................................................. 2 1 2-9 command/status handling between m pD72103A and host processor ................................................ 22 2-10 flow chart for writing memory area setting lcw command to internal fifo ................................. 24 2-11 status report (when status area is lsw0 to lsw2) ............................................................................ 26 2-12 command table ............................................................................................................................... ........ 28 2-13 command fetch operation ..................................................................................................................... 30 2-14 status table ............................................................................................................................... ............... 32 2-15 status information operations ................................................................................................................ 34 2-16 receive buffer address table ................................................................................................................. 36 2-17 initial status (line closed) ...................................................................................................................... 38 2-18 after line open command is issued ...................................................................................................... 39 2-19 rbafifo full status ............................................................................................................................... 40 2-20 reception of first frame ......................................................................................................................... 41 2-21 completion of first frame reception (fcs error) ................................................................................. 42 2-22 start of second frame reception ........................................................................................................... 43 2-23 completion of second frame reception ................................................................................................ 44 2-24 external memory configuration example ............................................................................................... 45 3-1 initialization steps for m pD72103A and external memory ..................................................................... 47 3-2 transmission timing ............................................................................................................................... .49 3-3 reception timing (external clock mode) ............................................................................................... 51 3-4 reception timing (dpll mode) .............................................................................................................. 52 3-5 idle reception count ............................................................................................................................... 54 6-1 m pD72103A system configuration example (local memory type) .................................................... 113 6-2 m pD72103A system configuration example (main memory type) ..................................................... 114 6-3 two-wire interface example .................................................................................................................. 115 6-4 connection example with isdn lsi (connection with sifc [ m pd98201]) .......................................... 115 e iv e list of table table no. title page 1-1 pin status after reset .............................................................................................................................. 1 1 2-1 i/o port map ............................................................................................................................... .............. 13 2-2 control register ............................................................................................................................... ........ 14 2-3 internal status register ........................................................................................................................... 15 2-4 bus cycles in byte transfer mode and word transfer mode ............................................................... 16 2-5 command fields ............................................................................................................................... ....... 29 2-6 status fields ............................................................................................................................... ............. 33 2-7 receive buffer address fields ................................................................................................................ 37 2-8 external memory table configuration example ..................................................................................... 45 3-1 reception timing mode settings ............................................................................................................ 51 c-1 question categories .............................................................................................................................. 1 21 d-1 command list ............................................................................................................................... ..... 161 e-1 status list ............................................................................................................................... .......... 163 1 chapter 1 general the m pD72103A hdlcc (high-level data link control procedure controller) is a communication control lsi that supports the hdlc standard. because this hdlcc includes a dma (direct memory access) function, the host machine can use commands and data previously stored in memory to perform serial communication using hdlc frames. 1.1 features hdlc frame control address field recognition function: 1 byte/2 bytes full-duplex communication via one channel baud rate: 8 mbps max. (2 mbps max. when using dpll) note maximum transmit/receive data length: 16 kbytes can be divided in external memory as level-two header and 1 field or level-two, level-three header and user various statistical data dpll (digital phase-locked loop) function on-chip dma controller: 8/16-bit data, 24-bit address general-purpose input/output pins: input pin x 2 output pin x 2 on-chip transmission control function (lap-d mode) data format: nrz and nrzi decoding/encoding command chain function fcs (frame check sequence) generation/detection: 16/32 bits system clock: 1 to 16 mhz cmos 5-v single power supply note transfer speed is restricted by the system clock?s frequency and operation conditions. for details, see the caution points described in 3.4.8 cautions regarding overrun errors . ordering information part no. package m pD72103Agc-3b9 80-pin plastic qfp (14 x 14 mm) m pD72103Alp 68-pin plastic qfj (950 x 950 mil) 2 chapter 1 general 1.2 block diagram corresponding sections of this manual are indicated in the bubbles. d0-d7 a0-a15 a16d8- a23d15 cs iord iowr ube aen astb hldrq hldak mrd mwr ready crq int clrint b/w test v dd gnd reset clk dmac rx fifo tx fifo 2.2 3.3 3.4 2.3.1 2.3.1 txc txd gi1 gi2 go1 go2 go3 rxc rxd all chapters internal controller transmitter internal buses bus interface receiver chapter 2 3 chapter 1 general 1.3 internal block functions name function bus interface interface between the m pD72103A and external memory or external host processor internal controller hdlc framing including the dmac, transmitter, and receiver block control dmac controls transfer of data in external memory to the internal controller (direct memory or transmitter, or controls writing of data to external memory from access controller) the internal controller or receiver tx fifo a 32-byte buffer for transmitting transmit data from the dmac to the transmitter rx fifo a 128-byte buffer for transmitting receive data from the receiver to the dmac transmitter converts contents of tx fifo to hdlc frames that are sent as serial data receiver writes data received in hdlc frames to rx fifo internal buses these buses, which include a 24-bit address bus and 8/16-bit data buses, connect the internal controller, dmac, fifos, serial block, and bus interface block 4 chapter 1 general 1.4 pin configuration (top view) 80-pin plastic qfp (14 x 14 mm) m pD72103Agc-3b9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 nc hldrq hldak ready astb aen nc crq gi1 go1 nc go2 rxc rxd nc txc txd gi2 go3 nc nc clrint int ube mwr mrd gnd iowr iord cs v dd nc v dd d7 d6 d5 d4 d3 d2 nc nc reset ic b/w test clk gnd gnd nc a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 nc 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 d1 d0 a23d15 a22d14 a21d13 nc a20d12 a19d11 a18d10 nc nc a17d9 a16d8 a15 a14 a13 a12 a11 a10 nc 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 5 chapter 1 general 68-pin plastic qfj (950 x 950 mil) m pD72103Alp 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 reset ic b/w test clk gnd gnd a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 go3 gi2 txd txc nc rxd rxc go2 nc go1 gi1 crq aen astb ready hldak hldrq a10 a11 a12 a13 a14 a15 a16d8 a17d9 nc a18d10 a19d11 a20d12 a21d13 a22d14 a23d15 d0 d1 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 clrint int ube mwr mrd gnd iowr iord cs v dd v dd d7 d6 d5 d4 d3 d2 9876543216867666564636261 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 6 chapter 1 general 1.5 pin functions pin no. pin name i/o active function 80-pin 68-pin level qfp qfj 12 2 go2 o e this is a general-purpose output pin. the output level of this pin is changed when general-purpose output pin write lcw is executed. 13 3 rxc i e when in on-chip dpll mode: (receive clock) this is the transmit/receive clock input for the m pD72103A?s on-chip dpll. (enables input up to 32 mhz) when in external dpll mode: this is a receive clock input pin. 14 4 rxd i e this is a serial receive data input pin. (receive data) 15 5 nc e e leave this pin unconnected. (no connection) 16 6 txc i/o e when in on-chip dpll mode: (transmit clock) the rxc pin?s input signal that was generated in the m pD72103A is divided by 16 and output via this pin as a clock signal. when in external dpll mode: a transmit clock is input via this pin from an external source. 17 7 txd o e this is the serial transmit data output pin. (transmit data) 18 8 gi2 i l when not in lap-d mode: this is a general-purpose input pin. general-purpose input pin status change detection 1 lsw is reported when a change in the input level is detected. when in lap-d mode: this pin is used for externally applied frame transmit enable signals. 19 9 go3 o l when not in lap-d mode: this pin has no function. leave this pin unconnected. when in lap-d mode: this pin is used for externally output frame transmit request signals. 20 e nc e e leave this pin unconnected. (no connection) 21 e nc e e leave this pin unconnected. (no connection) 22 10 reset i l this pin is used to initialize (reset) the m pD72103A?s internal (reset) circuits. this requires at least seven clock cycles of the clk signal. bus slave mode is entered after reset. e e nc e e leave this pin unconnected. (no connection) 23 11 ic e e do not connect anything to this pin. (internally connected) 7 chapter 1 general pin no. pin name i/o active function 80-pin 68-pin level qfp qfj 24 12 b/w i l/h during bus master mode, this indicates the data bus used to access (byte/word) external memory. when b/w = 0: byte unit (8 bits) when b/w = 1: word unit (16 bits) the status of the b/w pin should be fixed after power-on. when accessing in word units, the low-order bits in the data bus are the data contents of even-number addresses. 25 13 test i e when using this pin, it should be pulled up to high level. (text) 26 14 clk i e system clock input (clock) input a 1-mhz to 16-mhz clock to this pin. note 27 15 gnd e e ground pins make sure that there are several ground pins. 28 16 gnd e e ground pins make sure that there are several ground pins. 29 e nc e e leave this pin unconnected. (no connection) 30 and 31 17 and 18 a0 and a1 i/o e bi-directional during bus master mode: (output) * 3-state indicates the low-order two bits of the memory address line access address. during bus slave mode: (input) these pins are used to input addresses during i/o access to the m pD72103A by an external host. 32 to 39 19 to 26 a2 to a9 o e during bus master mode: * outputs memory addresses from 2 bits to 15 bits. during bus slave mode: changes to high impedance. 40 e nc e e leave this pin unconnected. (no connection) 41 e nc e e leave this pin unconnected. (no connection) 42 to 47 27 to 32 a10 to a15 o e see a2 to a9 above. * 48 and 49 33 and 34 a16d8 and a17d9 i/o e these pins are for the bi-directional 3-state/data bus. * they are multiplex pins for high-order 8 bits starting from bits 16 to 23 of an address and for high-order 8 bits starting from bits 8 to 15 of the data. 50 35 nc e e leave this pin unconnected. (no connection) 51 e nc e e leave this pin unconnected. (no connection) 52 to 54 36 to 38 a18d10 to a20d12 i/o e see a16d8 and a17d9 above. * note see the caution points described in 3.4.8 cautions regarding overrun errors . remark * indicates 3-state. 8 chapter 1 general pin no. pin name i/o active function 80-pin 68-pin level qfp qfj 55 e nc e e leave this pin unconnected. (no connection) 56 to 58 39 to 41 a21d13 to a23d15 i/o e see a16d8 and a17d9 above. * 59 and 60 42 and 43 d0 and d1 i/o e bi-directional during bus master mode: * 3-state this pin is an output pin during write to external address line memory and is an input pin during read from external memory. during bus slave mode: this pin is normally set to high impedance. it is used to output internal register data when an external host processor executes i/o read from the m pD72103A. 61 e nc e e leave this pin unconnected. (no connection) 62 to 67 44 to 49 d2 to d7 i/o e see d0 and d1 * 68 50 v dd e e +5-v power supply pin 69 e nc e e leave this pin unconnected. (no connection) 70 51 v dd e e +5-v power supply pin 71 52 cs i l during bus master mode: (chip select) disable this pin. during bus slave mode: read/write operation from host processor is enabled when this pin is low. 72 53 iord i l an external host processor uses this pin to read the contents of the (i/o read) m pD72103A?s internal registers. during bus master mode: disable this pin (by inputting a high-level signal). 73 54 iowr i l an external host processor uses this pin to write data to the m pD72103A?s (i/o write) internal registers. during bus master mode: disable this pin (by inputting a high-level signal). 74 55 gnd e e ground pins make sure that there are several ground pins. 75 56 mrd o l during bus master mode: (memory read) * data is read from external memory when this pin is low. during bus slave mode: this pin goes to high impedance. 76 57 mwr o l during bus master mode: (memory write) * data is written to external memory when this pin is low. during bus slave mode: this pin goes to high impedance. remark * indicates 3-state. 9 chapter 1 general pin no. pin name i/o active function 80-pin 68-pin level qfp qfj 77 58 ube i/o l/h during bus master mode: (upper byte enable) * the signal that is output from this pin varies depending on the input value of the b/w pin. byte transfer mode (b/w = 0) ube is always high impedance. word transfer mode (b/w = 1) indicates whether valid data is present at pins d0 to d7 and/or pins a16d8 to a23d15. ube a0 d0-d7 a16d8-a23d15 00 ?? 01 ? ? 10 ? ? 11 ? ? during bus slave mode: the ube pin is used for input and indicates whether valid data is present at pins d0 to d7 and/or pins a16d8 to a23d15. ube a0 d0-d7 a16d8-a23d15 00 ? ? 01 ? ? 10 ? ? 11 ? ? 78 59 int o h interrupt signal from the m pD72103A to an external host processor. (interrupt) 79 60 clrint i h this pin?s signal sets as inactive the int signal that is output by the (clear interrupt) m pD72103A. in the m pD72103A, the int signal goes low at this signal?s rising edge. 80 e nc e e leave this pin unconnected. (no connection) 1 e nc e e leave this pin unconnected. (no connection) 2 61 hldrq o h this pin is for the hold request signal, which is issued to an external (hold request) host processor. during a dma operation in the m pD72103A, this signal is active in order to switch from bus slave mode to bus master mode. 3 62 hldak i h this pin is for the hold acknowledge signal, which is received from (hold acknowledge) an external host processor. when the m pD72103A detects that this signal is active, it begins the dma operation after switching from bus slave mode to bus master mode. remark * indicates 3-state. 10 chapter 1 general pin no. pin name i/o active function 80-pin 68-pin level qfp qfj 4 63 ready i h this is an input pin for the signal that is used to extend the width of (ready) the mrd and mwr signals. when the ready signal is low, the mrd and mwr signals are held at active low level. change the ready signal to conform to the rated setup/hold time. 5 64 astb o h this pin is used to externally latch addresses output by the m pD72103A. (address strobe) 6 65 aen o h during bus master mode, this pin?s signal enables latched high-order (address enable) addresses, which are output via the system address bus. this signal is also used to inhibit other system bus drivers. 7 e nc e e leave this pin unconnected. (no connection) 8 66 crq i h this pin?s signal is used to request command execution from an (command request) external host processor to the m pD72103A. the m pD72103A fetches the command from external memory at the rising edge of this signal. 9 67 gi1 i l this is a general-purpose input pin. the general-purpose input pin change detection 1 lsw is reported when a change in the input level is detected. 10 68 go1 o l this is a general-purpose output pin. the output level of this pin is changed when the general-purpose output pin write lcw command is executed. 11 1 nc e e leave this pin unconnected. (no connection) 11 chapter 1 general 1.6 initialization via reset the m pD72103A is initialized when a negative potential pulse that is longer than the pulse input to the clk pin (which is seven clocks in length as set by system clock conversion) is input to the reset pin, or when a 1 is written to the crst bit in the control register. table 1-1 lists the status of output pins and input/output pins when the m pD72103A is reset. since the reset signal is latched by the clk signal, four clocks of the clk signal are required before the reset status becomes as shown in table 1-1. table 1-1. pin status after reset pin no. pin name i/o during reset 80-pin qfp 68-pin qfj (same status after reset) 12 2 go2 o h 16 6 txc i/o hi-z 17 7 txd o h 19 9 go3 o h 30, 31 17, 18 a0, a1 i/o hi-z 3-state 32-39, 19-26, a2-a15 o hi-z 42-47 27-32 3-state 48, 49, 33, 34, a16d8-a23d15 i/o hi-z 52-54, 36-41 3-state 56-58 59, 60, 42-49 d0-d7 i/o hi-z 62-67 3-state 75 56 mrd o hi-z 3-state 76 57 mwr o hi-z 3-state 77 58 ube i/o hi-z 3-state 78 59 int o l 2 61 hldrq o l 5 64 astb o l 6 65 aen o l 10 68 go1 o h 12 [memo] 13 chapter 2 bus interface 2.1 internal registers the m pD72103A includes four internal registers. these registers are controlled via six pins: iord, iowr, a0, a1, ube, and cs. the host processor can only have i/o access to the m pD72103A when the m pD72103A is in bus slave mode. table 2-1 shows an i/o port map (for details of the ube pin, see ube column in 1.5 pin functions ). table 2-1. i/o port map cs iord iowr a1 a0 internal register function 1xxxx e no function 01000 control register write 00100 internal status register read 01001 internal fifo active register when 5 is written to this register, the mset command is written to the internal fifo. note 01010 e setting inhibited (internal test mode) 01011 internal fifo register the mset command is written to the internal fifo. 00111 e setting inhibited note see chapter 4 commands (lcw) remark x: don?t care 14 chapter 2 bus interface 2.1.1 control register the control register is used when the host processor accesses the m pD72103A. figure 2-1. control register 0000 0 76543210 ccrq crst cclrint caution be sure to write ??to bits 2, 4, 5, 6, and 7. table 2-2. control register bit name meaning function ccrq control a command is executed when ??is written to this bit. the command execution method for this command operation is the same as for the crq pin. either method can be selected by host processor. request since this bit is automatically cleared to zero internally, there is no need to write a ??after the host processor has written a ??to this bit. crst control the m pD72103A |