UM82C11-C UMC | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 9

Technical content

Features

© Programmable parallel printer interface © High driving capability ® Completely TTL-compatible I/O ® On-chip oscillator can be used to generate 1.5 MHz ® Reduces system package count to 20 MHz oscillation © User-controlled interrupt request ® Single 5V supply ® Fully compatible with Z-80 and 8086 microprocessor family - General Description The UM82C11-C, Printer Adapter Interface (PAI), fabricated well-known Centronics printer interface. with a silicon gate CMOS process, offers parallel port interface between the CPU and the printer, and is especially PAI is also suitable for a personal computer interface board suitable as a printer adapter for industry-standard which contains RS-232C interface or display interface. personal computers The on-chip oscillator and +10 divider can be used to offer the BAUD-rate clock with *RS-232C interface or The UM82C11-C uses TTL logic to interface with the printer. the dot clock with monochrome display interface. Printer data bus pins can-each source 2.6 mA and sink 24 mA. Each of the four printer control pins can The user can use the Data Bus, TOR, TOW, 1RQ, and source SO0HA and sink 7mA, The UM82C11-C fits the TS to interface PAI with 8086 or Z-80 microprocessors. Pin Configuration E iy ereeeeseesha xich 40 [J Yoo x2E}2 od at 36| Py cu] 38[) 40 ocux Efe 37 P)P0 a : 2 TOWC}6 aDe2 Alc —— aK TORC]7 uprs Yoo C——J [> Busy oR Je saf]P4 nc C——J 1 i——— -STROS coC]o i 32 fps ne = ——J -—— aurora offi ares Ne Cy - = sr on 8 xfer — ES wer osCfi2 3 mf TERROR — ; = oof] 1s 26 [ACK ast —4 ——ro o7C}is 2s] Busy e 1 13 iro fiz 24 [7] STROB SOs 23,7) AUTOFD POEL] 19 22.7) init 1 12 Vs 20 ay{-) StCT ca O0 oo ss BEgseszsesss 7-109

®ume UM62611-¢ Block Diagram _ f= bok = JS fea ro pani = wy Mex PE pe [= pe ed = os i i said : Ee Absolute Maximum Ratings* *Comments Stresses above those listed under “Absolute Maximum D.C Supply Voltage Von Ratings” may cause permanent damiage to the device. «occ s eases. =O.5V to 7V (with respect to Vgg) This is a stress rating only and functional operation of ing T -. PC=70% the device at these or any, other conditions above those Operating Temperature ° ° indicated in the operational sections of this specification D.C. Characteristics [“Symbot [Parameter _-Min. | Typ, | Mex. [Unis [Condition | [ Vi} Wputtowvorase | - | o4 [os [Uv [ = | Voo = 58V ; Voo = 45V Vv t High Volt v 0 Tnput Leakage uA Voo = 5.5V Current Vin = Voo of GND Output Low Current \\ 24 A Vow = 0.45V 1 Output High Current Voo = 5.5V ‘HD Printer Data Bus = 1 Vou = 2.4V Output Low Current : \\ Vo = 0.45V races jouc Printer Control Bus = 0 7 mA ou = 0.46) -e 1 ‘Output High Current Vop = 5.5V aes OHC Printer Control Bus = 1 Von =24V ae Vpo = 58V poy ya | Tristate Leakage Cur Do fad ; Vop =5.5V Quiescent Supply OD. \\ Vin = OV or V Oscillation Frequency Operating Current* mA 290 Mie, Typical Application “Operating Current depends on oscillator frequency, output loadings and operating temperature, akin heetaleeeele Ran alld eaheneineiea eaaenn 7-110

Oume ums2¢11-C A.C. Characteristics WRITE ‘ ne a a Fin | owetminerme TP [ie | oeroatmaneo@ dT mT [ivr | tereomume | READ ee ee [tm | Resramewon f me T [Foo [oRbeaverewon TT a a Fin | Pieranoithsewtiwe | Fie [Pew tuneineame@F [ives | Rieee-orowen Ci a *Note: When the CPU reads the printer's status, output data may change if the printer signals are unstable. OTHERS ~ ee [Far | encore TRC ATO NET Rommmoaw |— [=| _| [iron | Poweconslonit=oromminoy | = | | | Fie | AeKwaremmndiy Pie | meometme — a i Pisco [exwoatremimoan | a 7-111

©ume UM82C11-C Ne CEE Pin Description Xt Crystal in X1, X2 are the pins to which a crystal (whose frequency is x2 ¥ between 1.5 MHz and 20 MHz) is attached. | « | pcik | Divided Clock |e | A uteres clock output whose frequency is one-tenth that of An active high RESET pin. ast Reset When activated, printer control outputs STROB, AUTOFD, and SLCT are inactive, TNT is active, and IRQ is disabled retaining high impedence, TH MYO write A “‘Low’" on this pin enables the CPU to write dats or control words to “PAI”.

7 VO Reed Low" on this pin enables “PAI to send data, control words or

+ printer statys to the CPU, It allows the CPU to read from PAI. This output pin is active high only when CS1, CS2 and TOR are activated. It indicates the direction of data transfer between the CPU data Direction busand PAI. When activated, PAI sends data, control words or printer status to the CPU The bidirectional 8-bit data bus pins are connected to the system data bus. DO~07 | system Data Bus | 1/0 | Data or control words are transmitted or received upon exe: cution of input or output instructions by the CPU. Status infor- mation on the printer is also received through the data bus. This is an interrupt request output pin, which is generated when Interrupt ACK is activated low.

7 Roque This pin is enabled by writing D4 = 1 in the control word, and

rea is disabled retaining high impedance when D4 = 0. When RST is activated, this pin is disabled. Pe fe [owen [ll Eekieeeenaiaee : Printer Data The printer data output (PO ~ P7) is enabled when POE = 0 ae Output Enable and disabled otherwise. a i When activated low, the printer is selected ’ 21 wT Printer Select v0 This Bin is programmable in bit D3 by writing a control com- PAL outputs the inverted D3 to the SLCT pin. (Cont.) a 7-112

When activated low, the printer buffer is cleared, This pin is programmable in bit 02 by writing a control command and 22 | INIT 1/0 | PA! outputs the D2 signal to this pin. The pulse width of the INIT must be more than 50 us for initiation. When this pin is low, the printer is fed automatically, one line after printing.

23 Auto Feed 0 | This pin is programmable in DT by writing a control command,

and PAI outputs the inverted D1 to this pin. When activated low, the printer reads in the data on printer data bus PO ~ P7. It synchronizes the data strobe between PAI and the printer. This STROB | Data Strobe 110 | Gin is programmable in bit 00 by writing a control command, and PA\\ outputs the inverted 00 to this pin. Read-in of data is performed at the low level of this signal. This is @ pin output from the printer. ‘A "High indicates that the printer can’t receive data at “During 25 | BUSY Busy State Data Entry", “During Part of Paper Feed", “During Printer ° Error Status’, “During Printing” or “‘In Off-Line State”. The CPU can read this status in D7 by “Reading Status”. This is a pin output from the printer. A “Low” indicates that the data has been received and that ACK Acknowledge printer is ready to accept other data, The CPU can read this status in D6 by the “Reading Status” command, This is a pin output from the printer. A “High” indicates that

27 Paper End the printer is out of paper The CPU can read this status in D5 by

the “Reading Status” command. suct Printer Selected This is always “High” unless the printer power is down, The CPU Status can read this status in D4 by the “Reading Status” command. This is @ pin output from the printer. It is" Low” only when the printer isin error statusas shown below: | (1) Paper end status. ERROR | Error Status (2) Abnormal motor operation. (3) Off-line state, The CPU can read this status in D3 by the “Reading Status” command. These output pins send out the data to the printer by the CPU ~ ~ “Writing Data” command. They are compatible with the TTL 30~37) PO~P7 | Printer DataBus | 1/0 | jogic level, The CPU can also “Read Back" these data which the CPU last wrote by the “Reading Data” command.

38 AO Address These input addresses, in conjuction with TOR, TOW, CSi and

39 Al ‘CS2, control the selection of one of the five commands. Pepe eww [ope Note: The CPU can “Read Back” the control command it last wrote by reading the contro! word. There are ‘STROB, AUTOFD, INIT, SLCT and IROEN on the data bus D0 ~ D7. a : 7-113

®ume m62C11-C Function Description When reset is activated (RST=1), STROBE=1, AUTOFD disabled. PAI offers five kinds of commands selected by =1, INIT=0, SCCT=1, and Interrupt Request “IRQ” is AO, A1, TOW, TOR and TS, as shown below: a ee a Notes: *When CS = 1, DIR = 0, indicates that 00 ~ D7 remain “I/O Write” state even though intennal data bus is not : used. ** It is illegal to read anything when chip select is active and AO = A1 = 1. 1, WRITE DATA to the PRINTER is effective, Data on DO ~ D7 are present on PO ~ P7 bus, parallel and sent to the printer. At the rising edge of TOW, 2. READ DATAon PRINTER DATA BUS data is latched on the PO ~ P7 bus until the next falling At the falling edge of TOR, data latched on PO ~ P7 edge of TOW. When POE = 1, the data latched on the is set back to CPU through DO ~ D7, CPU reads back PO ~ P7 bus are disabled. POE = 0 the latch function the printer data, 3. READ STATUS from the PRINTER CPU reads the real-time status of the printer. The states are: Note: The BUSY state is inverted on D7. : 4, WRITE CONTROL WORD to the PRINTER CPU writes the control word to the printer. The control signals are: ee The control signals are latched on printer contro! bus at the rising edge of TOW. 4 Note: “In terrupt Request Enable (IRQEN)” is not present on any output pin, but enables the output pin IRQ when D4 Paes = 1, and disables 1RQ remaining: high impedance when D4 = 0, SLCT, AUTOFD and STROBE are inverted on D3, Ons D1 and DO individually. 5. READ CONTROL WORD on PRINTER CONTROL BUS At the falling edge of TOR, control signal is latched on IRQEN, SLCT pin, INIT pin, AUTOFD pin and STROB pin are sent back to CPU on D4, D3, 02, 01 and D0 individually. (1) When writing contro! words D4 = 0 — ~ — —~* IRQ pin floating. (2) When writing contro! words D4= 1 -———-» IRQ= ACK. 7-114

@ume UM82C11-C NB ZCII-C A.C, Testing Input Waveform

24 Tov Fx

Taw _| Twa cS a0 an x Tow wo 00~07 DATA BUS - PO~ PT? Twou oata Bus Interrupt Request Waveform - IRQEN (04) RK TIO Ti n | —_ hte. a 1na 71 ee 7-115,

(OR Too on J Tar Tra S Ae. at " L i DATA ON PRINTER DATA BUS ‘OR CONTROL BUS q p OR STATUS BUS TRos TRoR 0~07 Reset Waveform RST Trsw KOTOFD Tascu ‘StCT STROB Et TrsIN . LPS ir E Tasiaz aes osv ae ira FLOATING osv a 7-116

©umeumstcszc Typical Application... PAL on Printer Card FaNTER 6-H my me [|e eescomere sof +] » J} a %0 {2} oarao mt [3 J oarar on a ba { oar ”° [5 oatas i I a bc oaray OR at vo as er penton HS t— oom rot arf Sess as a ee Se Bi nee One ‘7 as E oe a } er “ oS hed or o7 RK oe * re 8 ec be Fox 813] = ow B14) (OR B21 a PAI on Multifunction Card Avoness. r—) > Leesa arg [718 cue P= ne [as esr FF wns x poe 8 A ee TTT " a 2 TF tw a00rF x8 fee * 2} 8 MIN poy a mM [oe——]% is o3 ] en TTL See od “s pe ET ed DATAZ — osm RR 4 ara L33— er "7 = fos os ost eee SS yd oo te : 07 es Pp —____ Ht eam 0 ee ts Ss ET oe COT on ee | [HF ow On eS SOO |. re bl [ e’ Seco. Fd .. ST ee [es oe be 107 set a? ts no eusy fe” re ee os fo L ERROR b-15—9 ERROR PrTER 26 PM SHELL CONNECTOR a 7-117