UNITED TECHNOLOGIES MICROCOMPUTER MOSTEK COMPONENTS PRELIMINARY MK68901 MULTI-FUNCTION PERIPHERAL FEATURES MK68901 C 8 Input/Output Pins Figure 1 @ Individually programmable direction © individual interrupt source Capabihiv - Programmab.. edge selection 3 16 Source interrupt controller @ 8 Internal sources e 8 External sources indrvidual source enable individual source masking e Programmable interrupt service modes - Polling - Vector generation - Optional In-service status e Daisy chaining capability 0) Four timers with individually programmable prescaling DEVICE PINOUT Figure 2 e Two multimode timers R/W 48 * cs hp oa ~woownmawWw - Delay mode Ai »(L a7 L} + Ds - Pulse width measurement mode A2 —~»_ 46 ) > OTACK - Event counter mode A3 as )—* jack as oT “4 er D7 As 43 Dé © Two delay mode ttmers Tce eC 42 DS so «TC Ds ® independent clock input S| oO D3 Rc 0 een e Time out output option Vee E11 D1 ac MK68901 MFP C Single channel USART TAO « ( 13 J< GND TBO @ (7 14 ye cx TCO «(| 15 Ct ie: e Full Duplex TODO « [7 16 _} > iEO XTAL1 17 [| -> INTR e Asynchronous to 62.5 kbps XTAL2 -»{] 18 [> AR TAL -{_ 19 [) > TR TBI oL 20 > 17 e Byte synchronous to 1 Mbps RESET -»[_] 21 Te 16 0a 22 Te 15 e iInternal/external baud rate generation nal 23 Re 24 13 e OMA handshake signals ® Modem control D,-D-: Data Bus (bi-directional, tri-stateable). The data bus is used to receive data from or ® Loop back mode transmit data to one of the internal registers during a read or write cycle. It is also used to [= 68000 Bus compatible pass a vector during an interrupt ac- knowledge cycle. C 48 Pin DIP CLK: Clock (input). This input is used to provide the INTRODUCTION internal timing for the MK68901 MFP. UU Device reset. (input, active low). Reset The MK68901 MFP (Multi-Function Peripheral) is a disables the USART receiver and transmitter, combination of many of the necessary peripheral functions in a microprocessor system. Included are: stops all timers and forces the timer outputs low, disables ail interrupt channels and clears Eight parailel 1/O lines any pending interrupts. The General Purpose Interrupt’ 1/O fines will be placed in the tri- Interrupt controller for 16 sources State input mode. All internal registers (except the timer, USART data registers, and transmit status register) will be cleared. Four timers INTR: Interrupt Request (output, active low, open Single channel full duplex USART drain). INTR is asserted when the MK68901 The use of the MFP in a system can significantly reduce chip MFP is requesting an interrupt. INTR is negated during an interrupt acknowledge count, thereby reducing system cost. The MFP is completely cycle or by clearing the pending interrupts) 68000 bus compatible, and 24 directly addressable internal through software. registers provide the necessary control and status interface to the programmer. IACK: Interrupt Acknowledge (input, active low). The MFP is a derivative of the MK3801 STI, a Z80 family IACK is used to signal the MK68901 MFP peripheral. that the CPU is acknowledging an interrupt. CS and IACK must not be asserted at the same time. PIN DESCRIPTION Interrupt Enable In (input, active low). 1El is GND: Ground used to signal the MK68901 MFP that no higher priority device is requesting interrupt Vee +5 volts (+ 5%) service. | CS: Chip Select (input, active low). CS is used to IEO: Interrupt Enable Out (output, active low). IEO select the MK68901 fMFP for accesses to the is used to signal lower priority peripherals internal cz'sters. CS and ACK must not be thar neither the MK68901 MFP nor another asserted at the same time. higher priority peripheral is requesting interrupt service. : OS: Data Strobe (input, active tow). DS is used as part of the chip select and interrupt lolz: General Purpose interrupt I/O lines. These acknowledge functions. lines may be used as interrupt inputs and/or {70 lines. When used as interrupt inputs, R/W: Read/Write (input). R/W is the signal from their active edge is programmable. A data the bus master indicating whether ihe direction register is used to define which lines current bus cycle is a Read (High) or Write are to be Hi-Z inputs and which lines are to be (Low) cycle. push-pull TTL compatible outputs. DTACK: Data Transfer Acknowledge. (output, active SO: Serial Output. This is the output of the USART low, tri-stateable). DTACK is used to signal transmitter. the bus master that data is ready, or that data has been accepted by the MK68901 MFP. Sh. Serial Input. This is the input to the USART receiver A1-A5: Address Bus (inputs). The address bus is used to address one of the internal registers during RC: Receiver Clock. This input controls the seriat a read or write cycle. bit rate of the USART recerver. TC. Transmitter Clock This input controls the REGISTER MAP serial bit rate of the USART transmitter Figure 4 Receiver Ready. (output. active low) DMA ddress|; Abbreviation | Register Name ort No. output for receiver, which reflects the status of Buffer Full in port number 15. 0 GPIP GENERAL PURPOSE | ’O 1 AER ACTIVE EDGE REGISTER 2 DDR DATA DIRECTION REGISTER Transmitter Ready. (output, active iow) DMA Output for transmitter, which reflects the 3 IERA INTERRUPT ENABLE REGISTER A Status of Buffer Empty in port number 16. 4 IERB INTERRUPT ENABLE REGISTER B 5 IPRA INTERRUPT PENDING REGISTER A TAO.TBO, Timer Outputs. Each of the four timers has an 6 IPRB INTERRUPT PENDING REGISTER B TCO, TDO: output which can produce a Square wave 7 ISRA INTERRUPT IN-SERVICE REGISTER A The output will change states each timer 8 ISRB INTERRUPT IN-SERVICE REGISTER B cycle; thus one ful! period of the timer out 9 IMRA INTERRUPT MASK REGISTER A Signal is equa! to two timer cycies. TAO or A IMRB INTERRUPT MASK REGISTER B TBO can be reset (logic 0") by a write to B VR VECTOR REGISTER TACR, or TBCR respectively. Cc TACR TIMER A CONTROL REGISTER O TBCR TIMER B CONTROL REGISTER XTALI, Timer Clock inputs. A crysta! can be connect- E TCDCR | TIMERS C AND D CONTROL REGISTER! XTAL2: ed between XTAL1 and XTALZ. or XTAL1 can F TADR TIMER A DATA REGISTER be driven with a TTL level clock. When driving 10 TBDR TIMER B DATA REGISTER XTAL1 with a TTL level clock. XTAL2 must be 11 TCDR TIMER C DATA REGISTER 12 TDOR TIMER D DATA REGISTER allowed to float. When using a crystal, external capacitors are required See Figure 13 SCR SYNC CHARACTER REGISTER 27. All chip accesses are independent of the 14 UCR USART CONTROL REGISTER timer clock. 15 RSR RECEIVER STATUS REGISTER 16 TSR TRANSMITTER STATUS REGISTER TAL TBI. Timer A,B inputs. Used when running the 17 UDR USART DATA REGISTER timers in the event count or the pulse width TBI, respectively. Thus, when running a timer measurement mode. The interrupt channels in the pulse width measurement mode, I4 or associated with I4 and |3 are used for TAI and 13 can be used for I/O only. MK68901 BLOCK DIAGRAM Figure 3 RESET Vv $s ‘| | f INTERNAL CONTROL LOGIC 54> a TIMERS 0 OS TCO —/ C&D |——___-~» TDO Le XTAL1 c— i =u i XTAL2 y P TIMERS e@——— eee TA! ADDRESS A&B bg TBO (5) U <———___——-TB! aA co B ¢ = RR RNP} Si = U __ < RC oS-———-| s ) usart [ [fone e » SO DIACK<+——; TrATArPY og | TC TR INTERRUPT —) GENERAL PURPOSE 0.17 CONTROL 1/O—INTERRUPTS hy INTERRUPTS IERA and IERB. Note: changing the edge bit, with the interrupt enabled, may cause an interrupt on that channel. The General Purpose |/O-Interrupt Port (GPIP) provides eight 1/0 lines that may be operated either as inputs or The Data Direction Register (DDR) is used to define 10-I7 as outputs under software control. In addition, each line may inputs or as outputs on a bit by bit basis. Writing a zero intoa generate an interrupt on either a positive going edge or a bit of the DDR causes the corresponding Interrupt-I/O pin to negative going edge of the input signal. be a Hi-Z input. Writing a one into a bit of the DOR causes the corresponding pin to be configured as a push-pull The GPIP has three associated registers. One allows the output. When data is written into the GPIP, those pins programmer to specify the Active Edge for each bit that will defined as inputs will remain in the Hi-Z state while those trigger an interrupt. Another register specifies the Data pins defined as outputs will assume the state (high or low) of Direction {input or output) associated with each bit. The their corresponding bit in the GPIP. When the GPIP is read, third register is the actual data |/O register used to input or the data read will come directly from the corresponding bit output data to the port. These three registers are illustrated of the GPIP register for all pins defined as output, while the in Figure 5. data read on all pins defined as inputs will come from the input buffers. The Active Edge Register (AER) allows each of the General Purpose Interrupts to produce an interrupt on either a 1-0 Each individual function in the MK68901 is provided with a transition or a Q-1 transition. Writing a zero to the unique interrupt vector that is presented to the system appropriate bit of the AER causes the associated input to during the interrupt acknowledge cycle. The interrupt vector produce an interrupt on the 1 -O transition, while a 1 causes returned during the interrupt acknowledge cycle is shown the interrupt on the 0-1 transition. The edge bit is simply one in Figure 6, while the vector register is shown in Figure 7. input to an exclusive-or gate, with the other input coming irom the input buffer and the output going toa 1-O transition There are 16 vector addresses generated internaily by the detector. Thus, depending upon the state of the input, MK68901, one for each of the 16 interrupt channels. writing the AER can cause an _ interrupt-producing transition, which will cause an interrupt on the associated The Interrupt Control Registers (Figure 8) provide control of channel, ff that channel is enabled. One would then interrupt processing for all 1/O facilities of the MK68901. normally configure the AER before enabling interrupts via These registers allow the programmer to enable or disable GENERAL PURPOSE I/O REGISTERS Figure 5 ACTIVE EOGE REGISTER PORT 1 (AER) GPip | GPIP | GPIP | GPIP | GPIP | GPP | GPIP | GPIP | 1 = RISING 7 6 5 4 3 2 1 O O - FALLING DATA DIRECTION REGISTER PORT2(DDA) | CPP | GPIP GPIP | GPIP | GPIP G PIP cpp P | cpp | 1 - ouTPUT 7 6 5 4 3 2 1 o O = INPUT GENERAL PURPOSE 1.0 DATA REGISTER PORT 0 (GP GPIP GPIP | GPIP | GPIP | GPIP | GPIP | GPIP | GPIP mr 7 , §& 5 4 3 2 1 0 INTERRUPT VECTOR Figure 6 Vv, V. Vv. Vv, IV, IV, Vv, IV, { JL J J IV,- IV. Vector bits 3-0 supplied by the MFP based upon the interrupting channel. V,-V, 4 most significant bits. Copied from the vector register. any or all of the 16 interrupts, providing masking for any are available under software control. All the interrupts are interrupts, and provide access to the pending and in-service prioritized as shown in Figure 9 status of the interrupts. Optiona! end-of-interrupt modes VECTOR REGISTER Figure 7 Port B (VR) Vv, V. V. Vv, s * + * L » | S_ | In-Service Register Enable | Upper 4 bets of the Vector register. * - Unused bits: read as zeros Written into by the user INTERRUPT CONTROL REGISTERS Figure 8 INTERRUPT ENABLE REGISTERS ADDRESS 7 6 5 4 3 2 1 0 A PIP Pip | TIMER | RCV Vv XMIT XMIT | TIMER PORT 3 G S Butter RC Butter (IER A) ? 6 A Full Error Empty | Error 8 PORT 4 B GPIP GPIP | TIMER | TIMER | GPIP GPiP GPIP GPIP {tERB) 5 4 Cc Oo 3 2 1 0 INTERRUPT PENDING REGISTERS 7 6 5 4 3 2 1 0 A Gpip | GPIP | NMER| RCV RCV XMIT | xmary | TIMER PORT 5 Butter Buffer QQPRA) 7 6 A Full Error Empty Error 8 RT 6 B GPIP GPip | TIMER | TIMER | GPIP GPIP GPIP GPIP PO apre)| 5 4 Cc D 3 2 1 0 WRITING O° CLEAR WPITING 1 - UNCHANGED INTERRUPT IN-SERVICE REGISTERS 7 6 5 4 3 2 1 0 PORT7 A GPIp P | GPIP PIP | TIMER | RCV oer | Rcv RCV || XMiIT une, | XMIT | TIMER (ISRA) 7 6 A Full Error Empty Error B PORTE 8 GPIP GPIP | TIMER | TIMER | GPIP GPIP | GPIP GPIP (iSRB) 5 4 Cc D 3 2 1 0 INTERRUPT MASK REGISTERS 7 6 5 4 3 2 1 0 A PIP IP RCV rcv C | Butter XMIT | xait | timer E PORT 9 S | GP TIMER | putter (IMRA) 7 | 6 A Full Error | Empty Error B PORTA B GPIP GPIP | TIMER | TIMER | GPIP GPIP GPIP GPIP (IMRB) 5 4 Cc D 3 2 1 0 1- UNMASKED 0 - MASKED that channel is acknowledged it will pass its vector, and the INTERRUPT CONTROL REGISTER DEFINITIONS corresponding bit in the Interrupt Pending Register (IPRA or Fegure 9 IPRB) will be cleared. IPRA and IPRB are readable: thus by polling IPRA and IPRB, it can be determined whether a channel has a pending interrupt. IPRA and IPRB are also Priority Channel | Description writeable and a pending interrupt can be cleared without going through the acknowledge sequence by writing a zero HIGHEST 1111 General Purpose Interrupt 7(I7) to the appropriate bit. This allows any one bit to be cleared, 1110 General Purpose Interrupt 6(I6) without altering any other bits, simply by writing all ones 1101 Timer A except for the bit position to be cleared to IPRA or IPRB. Thus 1100 Receive Buffer Full a fully polled interrupt scheme is possible. Note: writing a 1011 Receive Error one to IPRA, IPRB has no effect on the interrupt pending 1010 ‘| Transmit Buffer Empty register. 1001 Transmit Error 1000 Timer B 0111 General Purpose Interrupt 5(15) The interrupt mask registers (IMRA and IMRB) may be used 0110 General Purpose Interrupt 4(14) to block a channel from making an interrupt request. 0101 Timer C Writing a zero into the corresponding bit of the mask 0100 | Timer D register will still allow the channel to receive an interrupt 0011 General Purpose Interrupt 3(13) and latch it into its pending bit (if that channel is enabled), 0010 General Purpose Interrupt 2(I2) but will prevent that channel from making an interrupt 0001 General Purpose Interrupt 1(11) request. If that channel is causing an interrupt request a’ LOWEST 0000 General Purpose Interrupt Q(IO) the time the corresponding bit in the mask register is | cleared, the request will cease. If no other channel is making a request, INTR will go inactive. If the mask bit is Interrupts may be either polled or vectored. Each channel re-enabled, any pending interrupt is now free to resume its may be individually enabled or disabled by writing a one or a request unless blocked by a higher priority request for zero in the appropriate bit of Interrupt Enable Registers service. IMRA and IMRB are also readable. A conceptual (IERA,IERB--see Figure 8 for all registers in this section). circuit of an interrupt channel is shown in Figure 10. When disabled. an interrupt channel is completely inactive. Any internal or external action which would normally produce an interrupt on that channel is ignored and any There are two end-of-interrupt modes: the automatic end- of -interrupt mode and the software end-of-interrupt mode. pending interrupt on that channel will be cleared by disabling that channel. Disabling an interrupt channel has The mode is selected by writing a one or a zeroto the S bit of the Vector Register(VR). If the S bit of the VR is a one. all no effect on the corresponding bit in Interrupt In-Service Registers (ISRA,ISRB); thus, if the In-service Registers are channels operate in the software end-of-interrupt mode. If used and an interrupt is in service on that channel when the the S bit is a zero, all channels operate in the automatic channel is disabled, it will remain in service until cleared in end-of-interrupt mode, and a reset is held on all in-service the normal manner. IERA and IERB are also readable. bits. In the automatic end-of-interrupt mode, the pending bit is cleared when that channel passes its vector. At that point. When an interrupt is received on an enabled channel, its no further history of that interrupt remains in the MK68901 corresponding bit in the pending register will be set. When MFP. In the software end-of-interrupt mode, the in-service A CONCEPTUAL CIRCUIT OF AN’ INTERRUPT CHANNEL Figure 10 EDGE ENABLE MASK sar REGISTER REGISTER REGISTER | S INTERRUPT | +) S INTERRUPT __ IN-SERVICE 7 | PENDING R INTERRUPT REQUEST o— PASS VECTOR» bit ts set and the pending bit is cleared when the channel time Only a zero may be written into any bit of ISRA and passes its vector. With the in-service bit set. no lower ISRB; thus the in-service bits may be cleared in software but priority channel is allowed to request an interrupt or to pass cannot be set in software. This allows any one bit to be ts vector during an acknowledge sequence; however, a cleared, without altering any other bits, simply by writing all lower priority channel! may still receive an interrupt and ones except for the bit position to be cleared to ISRA or ISRB, latch it into the pending bit. A higher priority channel may as with IPRA and IPRB. still request an interrupt and be acknowledged. The in- service bit of a particular channel! may be cleared by writing Each interrupt channel responds with a discrete 8-bit vector a zero to the corresponding bit in ISRA or ISRB. Typically. when acknowledged. The upper four bits of the vector are this will be done at the conclusion of the interrupt routine set by writing the upper four bits of the VR. Tne four low just before the return. Thus no lower priority channel will be order bits (Bit 3-Bit O) are generated by the interrupting allowed to request service until the higher priority channel channel. is complete, while channels of still higher priority will be allowed to request service. While the in-service bit is set, a To acknowledge an interrupt, IACK goes low, the 1E! input second interrupt on that channel may be received and must go low (or be tied low) and the MK68901 MFP must latched into the pending bit, though no service request will have an acknowledgeable interrupt pending. The Darsy be made in response to the second interrupt until the in- Chaining capability (Figure 11) requires that ali narts in a service bit is cleared ISRA and ISRB may be read at any chain have aco: ~on!ACK. When the common lACK gces A CONCEPTUAL CIRCUIT OF THE MK68901 MFP DAISY CHAINING Figure 11a rr Tree —OEe>—OE—S=EOESEOESTIOTSEHTIOEIJEIETEAOxI—O—_C——_—_ EO T—T—E— TO Te ET OO ~~ Tae CO ' MK68901 MFP ' 1E1 ’ { 1 i j AT > 4 { ' PASS 1 | VECTOR t I I i I i — —— i! FREEZE INT | FO {ACK _4— | I INTERRUPT CONTROL { { Leow ll a el a ll ee ek —~— we wee me mH 1 DAISY CHAINING Figure 11b HIGHEST LOWEST PRIORITY PRIORITY MK68901 MK68901 MK68901 TE} {EO iE! {EQ R—" ----- ——t {£1 iIACK iACK IACK xx — t low all parts freeze and prioritize interrupts in parallel. Then The four timers are programmed via three Timer Control priority is passed down the chain, via IE! and IEO, until a part Registers and four Timer Data Registers. Timers A andB are which has a pending interrupt is reached. The part with the controlled by the control registers TACR and TBSCR, pending interrupt. passes a vector, does not propagate IEO, respectively (see Figure 12), and by the data registers TADR and generates DTACK. and TBDR (Figure 13). Timers C and D are controlled by the contro! register TCDCR (see Figure 14) and two data Figure 9 describes the 16 prioritized interrupt channels. As registers TCDR and TDDR . Bits in the control registers allow shown, General Purpose Interrupt 7 has the highest the selection of operational mode, prescale, and control, priority, while General Purpose Interrupt O is assigned the while the data registers are used to read the timer or write lowest priority. Each of these channels may be reprioritized, into the time constant register. Timer A and B input pins, TAI in effect, by selectively masking interrupts under software and TBI, are used for the event and pulse width modes for control. The binary numbers under ‘‘channel” correspond to timers A and B. the modified bits [V3, IV2, IV1, and IVO, respectively, of the Interrupt Vector for each channel (see Figure 6). With the timer stopped, no counting can occur. The timer contents will remain unaltered while the timer is stopped Each channel has an enable bit contained in IERA or IERB, a (unless reloaded by writing the Timer Data Register), but pending latch contained in IPRA or IPRB, a mask bit any residual count in the prescaler will be lost. contained in IMRA or IMRB, and an in-service latch In the delay mode, the prescaler is always active. A count contained in ISRA or ISRB. Additionally, the eight General pulse will be applied to the main timer unm each time the Purpose Interrupts each have an edge bit contained in the prescribed number of timer clock cycles has elapsed. Thus, Active Edge Register (AER), a bit to define the line as input or if the prescaler is programmed to divide by ten, a count output contained in the Data Direction Register (ODR) and pulse will be applied to the main counter every ten cycles of anl/O bit in the General Purpose Interrupt-1/O Port (GPIP). the timer clock. TIMERS Each time a count pulse is applied to the main counter, it will There are four timers on the MK68901 MFP. Two of the decrement its contents. The main counter is initially loaded timers (Timer A and Timer B) are full function ttmers which by writing to the Timer Data Register. Each count pulse will can perform the basic delay function and can also perform cause the current count to decrement. When the timer has event counting. pulse width measurement, and waveform decremented down to “01”, the next count pulse will not generation. The other two timers (Timer C and Timer D) are cause it to decrement to “00”. Instead, the next count pulse delay timers onty. One or both of these timers can be used to will cause the timer to be reloaded from the Timer Data supply the baud rate clocks for the USART. All timers are Register. Additionally, a “Time out” pulse will be produced. prescaler/counter timers with a common independent This Time Out pulse is coupled to the timer interrupt clock input (XTAL1, XTAL2). In addition, all timers have a channel, and, if that channel is enabled, an interrupt will be time-out output function that toggles each time the timer produced. The Time Out pulse is also coupled to the timer times out output pin and will cause the pin to change states. The TIMER A AND B CONTROL REGISTERS Figure 12 TIMER PortC (TACR) |» * * Teter] ACs | AC2 | AC | AC, Port D (TBCR) + + * TIMER BC, | BC, | BC, BC, RESET C, Cr, Cy Cy 0 0 QO QO Timer Stopped 0 0 0O 1 Delay Mode. : 4 Prescale Oo OQ 1 O Delay Mode. - 10 Prescale 0 OQ 1 1 Delay Mode. 16 Prescale Oo 1 O O Delay Mode, 50 Prescale Oo 1 0 1 Delay Mode, - 64 Prescale Oo 1 1 O Oecelay Mode, - 100 Prescale Oo 1 1 1 Delay Mode, © 200 Prescale 10 0 O Event Count Mode 1 #O 0 1 Pulse Width Mode. 4 Prescale 1 #9O 1 O Pulse Width Mode, . 10 Prescale 1 #O 1 1 Pulse Width Mode. 16 Prescale 1 1 0 O Pulse Width Mode, 50 Prescale 1 1 0 1 Pulse Width Mode, 64 Prescale 1 1 1 O Pulse Width Mode. - 100 Prescale #* Unused bits: read as zeros 1 1 1 1 Pulse Width Mode, 200 Prescale output will remain in this new state until the next Time Out Changing the prescale value with the timer running can pulse occurs. Thus the output will complete one full cycle cause the first Time Out pulse to occur at an indeterminate for each two Time Out pulses time, (no less than one nor more than 200 timer clock cycles times the number in the time constant register). but if, for example. the prescaler were programmed to divide by subsequent Time Out pulses will then occur at the correct ten, and the Timer Data Register were loaded with 100 interval. (decimal), the main counter would decrement once for every ten cycles of the timer clock. A Time Gut pulse will occur In addition to the delay mode described above, Timers A and (hence an interrupt if that channel is enabled) every 1000 B can also function in the Pulse Width Measurement mode cycies of the timer clock, and the timer output will complete or in the Event Count mode. In either of these two modes. an one fuli cycle every 2000 cycles of the timer clock auxiliary Control signal is required. The auxiliary control input for Timer A is TAI, and for Timer B. TBI is used. The The main counter is an 8-bit binary down counter. It may be interrupt channels associated with I4 and [3 are used for TAI read at any time by reading the Timer Daia Register. The and TBI, respectively, in Pulse Width mode. See Figure 15. information read is the information last clocked into the timer read register when the DS pin had last gone high prior The pulse width measurement mode functions much like to the current read cycle. When written, data ts loaded into the delay mode. However, in this mode, the auxiliary comtrol the Timer Data Register, and the main counter, if the timer signal on TAI or TBI acts as an enable to the timer. When tne is stopped. If the Timer Data Regis *er #s written while the control signa! on TA! or TBI is inactive. the timer wi!! be timer is running, the new word is not loaued into the timer stopped. When it is active, the prescaler and main counter until it counts through H"O1”. However, if the timer is are allowed torun. Thus the width of the active pulse on TAI written while it is counting through H”01", an indetermin- or TBI is determined by the number of timer counts which ate value will be written into the time constant register. This occur while the pulse allows the timer to run. The active may be circumvented by ensuring that the data register ts State of the signal on TA! or TBI is dependent upon the not written when the count is H"01”. associated Interrupt Channel's edge bit (GPIP 4 for TAI and GPIP 3 for TBI: see Active Edge Register in Figure 5.) tf the tf the main counter is loaded with “O01”, a Time Out Pulse edge bit associated with the TAI or TBI input ts a one. 2 will will occur every time the prescaler presents a count pulse to be active high: thus the timer will be allowed to run when the main counter. If loaded with “OO"’, a Time Out pulse will the input ts at a high level. If the edge bit is a zero, the TA! or occur after every 256 count pulses. TB! input will be active low. As previously stated, the TIMER DATA REGISTERS (A, B, C, AND D) Figure 13 Port F(TADR) | 0, D, OD, D, D, dD, D, D, Port 10(TBDR)| 0, oO, D, D, D, D, D, D, Port 11 (TCDR) | 09, OD, DO, D, D, Dd, D, Do Port 12(TDDR)| 0D, D, D, D, D, D, D, D, TIMER C AND D CONTROL REGISTER Figure 14 Port E (TCOCR) * cc, | cc, | cc, % oc, | oc, | oC, C, C, Cy O QO - O Timer Stopped Oo QO 1 Delay Mode, — 4 Prescale Oo 1 O Delay Mode, — 10 Prescale Oo 1 1 Delay Mode, — 16 Prescale 1 0 £4O Delay Mode, — 50 Prescale 1 0 1 Delay Mode, — 64 Prescale 1 1 O Delay Mode, ~ 100 Prescale + Unused bits: read as zeros 1 4 1 Delay Mode, ~ 200 Prescale A CONCEPTUAL CIRCUIT OF THE MFP TIMERS IN THE PULSE WIDTH MEASUREMENT MODE Figure 15 TIMER A PULSE WIOTH MODE INTERRUPT CHANNEL INTERRUPT CHANNEL TIMER 8 PULSE WIDTH MODE | interrupt channel (13 or 14) associated with the input still counts through H’01”, the correct value is written into the functions when the timer is used in the pulse width timer. The pulse width then includes counts from before the measurement mode. However, if the timer is programmed timer was reloaded. for the pulse width measurement mode, the interrupt In the event count mode, the prescaler is disabled. Each caused by transitions on the associated TAI or TBI input will time the control input on TAI or TBI makes an active occur on the opposite transition. transition as defined by the associated Interrupt Channel's edge bit, a count pulse will be generated, and the main For example, if the edge bit associated with the TAI input counter will decrement. In all other respects, the timer (AER-GPIP 4) is a one, an interrupt would normally be functions as previously described. Altering the edge bit generated on the 0-1 transition of the 4 input signal. If the while the timer is in the event count mode can produce a timer associated with this input (Timer A) is placed in the count pulse. The interrupt channel associated with the pulse width measurement mode, the interrupt will occur on input (13 for TBI or 14 for TAI) is allowed to function normally. the 1-0 transition of the TAI signal instead. Because the To count transitions reliably, the input must remain in each edge bit (AER-GPIP 4) is a one, Timer A will be allowed to state (1/0) for a length of time equal to four periods of the count while the input is high. When the TAI input makes tne timer clock; thus signals of a frequency up to one fourth of high to low transition, Timer A will stop, and it is at this point the timer clock can be counted. that the interrupt will occur (assuming that the channel is enabled) This allows the interrupt to signal the CPU that the The manner in which the timer output pins toggle states has pulse being measured has terminated; thus Timer A may previously been described. All timer outputs will be forced now be read to determine the pulse width. (Again note that low by a device RESET. The output associated with TimersA 13 and 14 may still be used for 1/O when the timer is in the and B will toggle on each Time Out pulse regardless of the pulse width measurement mode.) If Timer A is re- mode the timers are programmed to. In addition, the outputs programmed for another mode, interrupts will again occur from Timers A and B can be forced low at any time by on the transition, as normally defined by the edge bit. Not writing a “1” to the reset location in TACR and TBCR. that, like changing the edge bit, placing the timer into or respectively. The output will be forced to the low state taking it out of the pulse width mode can produce a during the WRITE operation, and at the conclusion of the transition on the signal to the interrupt channel and may operation, the output will again be free to toggle each time a cause an interrupt. If measuring consecutive pulses, it is Time Out pulse occurs. This feature will allow waveform obvious that one must read the contents of the timer and generation. then reinitialize the main counter by writing to the timer data register. If the timer data register is written while the During reset. the Timer Data Registers and the main pulse is going to the active state, the write operation may counters are not reset. Also, if using the reset option on result in an indeterminate value being written into the main Timers A or B. one must make sure to keep the other bits in counter. If the timer is written after the pulse goes active, the correct state so as not to affect the operation of Timers A the timer counts from the previous contents, and when it and B. 10 USART receive and transmit clocks are available, and separate receive and transmit status and data bytes aliow Serial Communication is provided by a full-duplex double- independent operation of the transmit and receive sections. buffered USART, which is capable of either asynchronous or synchronous operation. Variable word length and The USART is provided with three Contro! Status Registers Start/stop bit configurations are available under software and a Data Register. The USART Data Register form is control for asynchronous operation. For synchronous illustrated in Figure 16. The programmer may specify operation, a Sync Word is provided to establish operational parameters for the USART via the Control synchronization during receive operations. The Sync Word Register, as shown in Figure 17. Status of both the Receiver will also be repeatedly transmitted when no other data ts and Transmitter sections is accessed by means of the two available for transmission. Moreover, the MK68901 allows Status Registers, as shown in Figures 18 and 19. Data stripping of all Sync Words received in synchronous written to the Data Register is passed to the transmitter, operation. The handshake control lines RR (Receiver Ready) while reading the Data Register will access data received by and TR (Transmitter Ready) allow DMA operation. Separate the USART. USART DATA REGISTER Figure 16 Port 17 (UDR) USART CONTROL REGISTER (UCR) Figure 17 UCR, 1-16) st PARITY Port 14 (UCR) 4 17 “I, o | ENABLED], 0 oD © * Unused bits: read as zero +16/+1: | When this bit is zero, data will be clocked ST1 | STO | Start Bits [Stop Bits | Format into and out of the receiver and transmitter Oo 0 O O SYNC Gio at the frequency of their respective clocks. O 1 1 1 ASYNC __ ve, When this bit is loaded with a one, data +1 oO 1 1% ASYNC 5 Tiedo will be clocked into and out of the recetver 1 1 1 2 ASYNC ER and transmitter at one sixteenth the won frequency of their respective clocks. + NOTE +16 only Additionally, when placed in the divide by ~ Bz sixteen mode, the receiver data transition . . resynchronization logic will be enabled. PARITY : Parity Enabled. When set ("1"), parity will be checked by the receiver, party will be calculated, and a parity bit will be inserted by the transmitter. When cleared ("0"), no WLO-WL1: Word Length Control. These two bits set parity check will be made and no parity bit the length of the data word (exclusive of will be inserted for transmission. Start bits, stop bits,and parity bits) as follows: For a word length of 8 the MFP calculates the parity and appends it when transmit- WL1 WLO Word Length ting a sync character. For shorter lengths, 0 O 8 bits the parity must be stored in the Sync 0 1 7 bits Character Register (SCR) along with the 1 O 6 bits sync character. © 1 1 5 bits E/O: Even-Odd. When set ("1"), even parity will be used if parity is enabled. When cleared STO-ST1: Start/Stop bit control (format control). (O"), odd parity will be used if parity is These two bits set the format as follows enabled 17 Ncte that me synchronous or asynchronous format may be which will re-synchronize the internal shift clock on each selected independently of a + 1 or + 16 clock. Thus it is data transition so that, with sufficiently frequent data possible to clock data synchronously into the device but still transitions, start bits are not required. In this mode, all other use Start and stop bits. In this mode, all normal common synchronous features function normally. This re- asynchrorous format features still apply. Data will be synchronization logic is only active in + 16 clock mode. shifted in after a start bit is encountered, and a stop bit will be checked to determine proper framing. If a transmit RECEIVER underrun condition occurs, the output will be placed in a The receiver section of the USART is configured by the UCR marking state, etc. It is conversely possible to clock data in as previously described. The status of the receiver can be asynchrorously using a synchronous format. There is data determined by reading and writing to the Receiver Status transition detection logic built into the receive clock circuitry Register (RSR). The RSR is configured as follows: RECEIVER STATUS REGISTER (RSR) Figure 18 RSR, RSA, Port 15 (RSR) BUFFER | OVERRUN | PARITY | FRAME | FOUND/SEARCH | MATCH/CHARACTER| SYNC STRIP | RECEIVER FULL ERROR | ERROR | ERROR | OR BREAK DETECT IN PROGRESS ENABLE ENABLE BF: Buffer Full. This bit is set when the the FE flag is set or cleared when a word is incoming word is transferred to the receive transferred to the receive buffer. buffer. The bit is cleared when the receive i he nn oY ead ony. UDR. This bit F/S: Found/Search. This combination control bit and flag bit is only used with the OE: Overrun Error.This flag is set if the synchronous format it can be set of incoming word is completely received and cleared by writing to this bit of the RSR. due to be transferred to the receive buffer, When this bit is cleared, the receiver IS but the last word in the receive buffer has placed In the search mode. In this mode, a not yet been read. When this condition bit by bit comparison of the incoming data occurs, the word in the receive buffer is not to the character in the Sync Character overwritten by the new word. Note that the Register (SCR) is made. The word length status flags always reflect the status of the counter I'S disabled. When a mate h is data word currently in the rece:ve buffer. found, this bit will be set automatically, As such, the OE flag is not actually set until and the word length counter will Start as the good word currently in the buffer has Syne has now been achieved. An interrupt been read. The interrupt associated with will be generated on the receive error this error will also not be generated until channel whe n the match occurs. The word the old word in the receive buffer has been just shifted in will. of necessity, be equal to read. the sync character, and it will not be transferred to the receive buffer. OE flag is cleared by reading the receiver status register, and new data words B: Break. This flag is used only when the cannot be shifted to the receive buffer until asynchronous format is selected. This flag this ic done. will be set when an all zero data word, followed by no stop bit, is received. The flag PE : Parity Error. This flag is set if the word will stay set until both a non-zero bit is received has a parity error. The flag is set received and the RSR has been read at when the received word is transferred least once since the flag was set. Break from the shift register to the receive buffer indication will not occur if the receive if the error condition exists. The flag is buffer is full. cleared when the next word whicn dees not have a parity error is transferred to the M/CIP : Match/Character in Progress. if the receive buffer. synchronous format is selected, this flag is the Match flag. It will be set each time the FE : Frame Error. This flag only applies to the word transferred to the receive buffer asynchronous format. A frame error is matches the sync character. It will be reset defined as a non-zero data word which is each time the word transferred to the not followed by a stop bit. Like the PE flag, receive buffer does not match the sync 13 character. If the asvnchronous format is As previously stated, when overrun occurs, the OE flag will Selected, this flag represents Character in not be set and the associated interrupt will not be generated Progress. It will be set upon a Start bit until the receive buffer has been read If a break occurs, and detect and cleared at the end of the word. the receive buffer has not yet been read, only the B flag will be set (OE will not be set). Again, this flag will not be set until SS: Sync Strip Enable. If this bit is set to a one, the last valid word has been read from the receive buffer. If data words that match the sync character the break condition ends and another whole data word is will not be loaded into the receive buffer, received before the receive buffer is read, both the B and OE and no buffer full signal will be generated flags will be set once the receive buffer is read RE: : Receiver Enable. This control bit is used to If a break occurs while the OE flag ts set. the 8 flag wil! also enable or disable the receiver. If a zero is be set. written to this bit of the RSR, the receiver will turn off immediately. All flags A break generates an interrupt when the condition occurs including the F/S bit will be cleared. If a and again when the condition ends. Hf the break condition one is written to this bit. normal recerer ends before it is acknowledged by reading the RSR the operation is enabled. The receive clock has receiver error interrupt indicating end of break will be to be running before the receiver 1s en- generated once the RSR 1s read. abled. Anytime the asynchronous format is selected. start bit There are two interrupt channels associated with the detection is enabled. New data is not shifted into the shift receiver. One channel is used for the normal Buffer Full register until a zero bit is detected. Hf a = 16 clock 1s selected. condition, while the other channel is used whenever an along with the the asynchronous format. false start bit error condition occurs. Only one interrupt is generated per detection is also enabled. Any transition has to be stable for word received, but dedicating two channels allows separate 3 positive going edges of the receive clock to be called a valid vectors. one for the normal condition, and one for an error transition. For a start bit to be good, a valid 0-1 transition condition. ff the error channel! ts disabled. an interrupt will must not occur for 8 positive clock transit:ons after the :nitia! be generated via the Buffer Full Channel, whether the word valid 1-0 transition. received is normal or in error. Those conditions which produce an interrupt via the error channel are: Overrun. After a good start bit has been detected. valid transitions in Parity Error, Frame Error. Sync Found, and Break. If a the data are checked for continously. When a valid received word has an error associated with it, and the error transition ts detected, the counter is forced tc State zers, and interrupt channel! is enabled, an interrupt will occur on the no more transition checking ts started until state four At error channel! onty. state eight, the “previous state” of the transition checking Each time a word is transferred into the receive buffer, a logic is clocked into the receiver. corresponding set of flags is latched into the RSR. No flags {except CIP) are allowed to change until the data word has As a result of this resyncnronization togic, it is poss:te to run with asynchronous clocks without Start and stop bits if been read from the receive buffer. Reading the receive buffer allows a new data word to be transferred to the there are sufficient valid transitions in the data stream This receive buffer when it is received. Thus one should first read logic also makes the unit more tolerant of clock skew for the RSR then read the receive buffer (UDR) to ensure that norma! asynchronous communications than a cGevice which employs only start bit synchronization. the flags just read match the data word just read. If done in the reverse order. m 1s possible that subsequent to reading the data word from the receive buffer, but prior to reading the RSR, a new word may be received and transferred to the receive buffer and with it. nts associated flags latched into the RSR. Thus, when the RSR is read, those flags may actually correspond to a different data word. !t is good practice, also, to read the RSR prior to a data read as, when an overrun error occurs, the receiver will not assemble new characters until the RSR has been read. 13 TRANSMITTER STATUS REGISTER (TSR) Figure 19 TSR, TSR, Port 16 (TSR) BUFFER | UNDERRUN AUTO END OF BREAK | HIGH LOW TRANSMITTER EMPTY ERROR TURNAROUND | TRANSMISSION ENABLE TRANSMITTER disabled, the transmitter will stop at the next rising edge of the internal shift clock, The transmitter section of the USART is configured as to and END will immediately be set. The END format, word length, etc. by the UCR, as previously bit is cleared by re-enabling the trans- described. The status of the transmitter can be determined mitter. by reading or writing the Transmitter Status Register (TSR). Break. This control bit will cause a break to The TSR is configured as follows: be transmitted. When a “1” is written to BE : Buffer Empty. This status bit is set when the B bit of the TSR, a break will be the word in the transmit buffer is transmitted upon completion of the transferred to the output shift register and character (if any) currently being trans- thus the transmit buffer may be reloaded mitted. A break will continue to be with the next data word. The flag is cleared transmitted until the B bit is cleared by when the transmit buffer is reloaded. The writing a “’O” to this bit of the TSR. At that transmit buffer is loaded by writing to the time, normal transmission will resume. UDR. The B bit has no function in the synchronous format. Setting the “B” bit to UE - This bit is set when the last word has been a one keeps the “BE” bit from being set toa shifted out of the transmit shift register one. So, if there were a word in the buffer before a new word has been loaded into at the start of break, it would remain there the transmit buffer. It is not necessary to until the end of break, at which time it clear this bit before loading the UDR. would be transmitted (if the transmitter is sull enabled). if the buffer were not full at This bit may be cleared by either reading the start of break, it could be written at any the TSR or by disabling the transmitter. time during the break. If the buffer is empty After the setting of the UE bit, one full at the end of break, the underrun flag will transmitter clock cycle is required before be set (unless the transmitter is disabled). this bit can be cleared by a read. The timing in some systems may allow a read of the The BREAK bit cannot be set until the TSR before the required clock cycle has transmitter has been enabled and the been completed. This would result in the transmitter has had sufficient time (one UE bit not being cleared until the following clock cycle) to perform the internal reset read. To avoid this problem, adummy read and initialization functions. of the TSR should be performed at the end of the UE service routine. HLL: High and Low. These two control bits are used to configure “he transmitter output, Only one underrun error may be generated when the transmitter is disabled, as between loads of the UDR regardless of follows: the number of transmitter clock cycles between UOR loads. H L Output State AT: This bit causes the receiver to be enabled 0 O Hi-Z at the end of the transmission of the fast O 1 Low (“O") word in the transmitter if the transmitter 1 Oo High has been disabled. The AT bit is cleared at 1 1 Loop -Connects transmit- the end of the transmission. ter output to receiver input, and TC to Receiver END : End of transmission. When the transmitter is turned off with a character still in the Clock {RC and SI are not transmission will used; they are bypassed output shift register, internally). In loop back continue until that character is shifted out. mode, transmitter output Once it has cleared the output register. the goes high when disahied. END bit will be set. If no character is being transmitted when the transmitter 's 14 SYNC CHARACTER REGISTER Figure 20 Port 13 (SCR) D, Oo, D, D, D, D, D, 0, Altering these two bits after Transmitter transmit buffer, an Underrun Error will not occur when the Enable (XE) is set will alter the output state character in progress concludes. until END is false. These bits should be set prior to enabling the transmitter. The state Often it is necessary to send a break for some particular of these bits determine the state of the first period. To aid in timing a break transmission, a transm” transmitted character after the transmitter error interrupt will be generated at every normal character is enabied. Hf the high impedance mode boundary time during a break transmission. The status was selected prior to the transmitter being register information is unaffected by this error condr:on enabled, the first bit transmitted its in- interrupt. tt shoukd be noted that an underrun error, if determinate. present, must be cleared from the TSR, and the interrrupt pending register must be cleaicd of pending transmitter XE : Transmitter Enable. This control bit is used errors at the beginning of the break transmission or no to enable or disable the transmitter. When interrupts will be generated at the character boundary time. set, the transmitter is enabled. When cleared, the transmitter will be disabled. If Hf the synchronous format is selected, the sync character disabled, any word currently in the output should be loaded into the Sync Character Register (SCR) as register will continue to be transmitted shown in Figure 20. This character is compared to the until finished. Ht a break is being received serial data during a Search, and will be transmitted when XE is cleared, the continuously transmitted during an underrun condition transmitter will turn off at the end of the break character boundary. and no end of All flags in the RSR or TSR will continue to function as break stop bit is transmitted. The transmit described whether their associated interrupt channe: is clock must be running before the trans- disabled or enabled. All interrupt channels are edge mitter is enabled. A “one” bit always triggered and, in many cases, it is the actual output of a fiag precedes the first word out of the bit or flag bits which is coupled to the interrupt channel. transmitter after the transmitter is enabled Thus, if a normal interrupt producing condition occurs while There is a delay between the time the the interrupt channel is disabled, no interrupt would be transmitter enable bit is written and when produced even if the channel was subsequently enabled. the transmitter reset goes low; therefore. because a transition did not occur while the interrupt the H & L bits should be written with the channel was enabled. That particular flag bit would have to desired state prior to enabling the trans- occur a second time before another “edge” was produced. mitter. causing an interrupt to be generated. Like the receiver section, there are two separate interrupt Error conditions in the USART are determined by channels associated with the transmitter. The buffer Empty monitoring the Receive Status Register and the Transmmter condition causes an interrupt via one channel, while the Status Register. These error conditions are only valid for Underrun and END conditions will cause an interrupt via each word boundary and are not latched. When executing the second channel. When underrun occurs in the block transfers of data, it is necessary to Save any errors so synchronous format, the character in the SCR will be that they can be checked at the end of a block. In order to transmitted until a new word is loaded into the transmit ‘ Save error conditions during data transfer, the MK68901 buffer. In the asynchronous format, a “Mark” will be MFP interrupt controller may be used by enabling error continuously transmitted when underrun occurs. interrupts for the desired channel! (Receive error or Transmit error) and by masking these bits off. Once the transfer ts The transmit buffer can be loaded prior to enabling the complete. the interrupt Pending Register can be polled.to transmitter. When the transmitter is disabled, any character determine the presence of a pending error interrupt. and currently in the process of being transmitted will continue to therefore an error. conclusion, but any character in the transmit buffer will not be transmitted and will remain in the buffer. Thus no buffer Unused bits in the sync character register are zeroed out; empty interrupt will occur nor will the BE flag be set. If the therefore, word length should be set up prior to writing the buffer were already empty, the BE flag would be set and sync word in some cases. Sync word length ts the word would remain set. When the transmitter is disabled with a length plus one when parity is enabled. The user has to character in the output register but with no character in the determine the parity of the sync word when the word length 15 iS Nct 8 bits. The MK68901 MFP does not add a parity bit to asserted, and R W must be high. The internalilreadcontrol the sync word if the word length is less than 8 bits. The extra signal is essentially the combination of CS, DS, and bit in the syne word is transmitted as the parity bit. With a RD/WR. Thus, the read operation will begin when nCS and word length of eight, and parity selected, the parity bit for DS go active and will end when either CS or DS goes the sync word is computed and added on by the MK68901 inactive. The address bus must be stable prior to the start of MEP. the operation and must remain stable until the end of the operation. Unless a read operation or interrupt ac- knowledge cycle is in progress the data bus (D9-D,) will RR RECEIVER READY remain in the tri-state condition. RR ‘s asserted when the Buffer Full bit is set in the RSR To write a register, CS and DS must be asserted and R/\W unless a parity error or frame error is detected by the must be low. The address must be stable prior to the start of recerver. the operation and must remain stable until the end of the operation. After the MK68901 asserts DTACK, the CPU TR TRANSMITTER READY negates DS. At this time, the MFP fatches the data bus and writes the contents into the appropriateate register. Also, TR is asserted when the Buffer Empty bit is set in the TSR when DS is negated, the MFP rescinds DTACK. unless a break is currently being transmitted. For an interrupt acknowledge, thehe operation starts when REGISTER ACCESSES IACK goes low, and ends when en IACK goes high. The data bus is tri-stated when either IACK or DS goes high. All register accesses are dependent on CLK as shown in the timing diagrams. To read a register, CS and DS must be MK68901 ELECTRICAL SPECIFICATIONS - PRELIMINARY ABSOLUTE MAXIMUM RATINGS Temperature Under Bias wnt c eee e cece ewe cece cence ese ccceees -25°C to +100°C oeeeseenreee | be-(0) ar.as——{ ——— rv —— OTACK NOTE: _ CS and iACK must be a function of OS 20 INTERRUPT ACKNOWLEDGE (IE! LOW) Figure 23 CLK ? A) IACK | 1 G4) < ae --|@ “Or Te) AL Nore ~ oe ee fF - 07 = =f) . INTERRUPT ACKNOWLEDGE CYCLE (IE! HIGH) nx Re Se ee IACK ° ji IE! NOTE: CS and JACK must be a function of DS 21 TYPICAL OUTPUT INTR TEST LOAD -5V Figure 25 Figure 26 -5V R, = 2.25k0 R, MMD6150 INTR O 4 OR EQUIVALENT TEST POINT MMD7000 OR EQUIVALENT MK683901 MFP EXTERNAL OSCILLATOR COMPONENTS co@y Figure 27 30 pf C It 1 | XTAL1 for al outputs except DTACK Cc, = 100 pf Y, = MK68901 R, 20k R,- 1.90k2 = | XTAL2 +-= 30pf _L CRYSTAL PARAMETERS: Parallel resonance, fundamental mode AT cut R, — 150 (2 (F, = 2.8 - 4.0 MHz): R, ~ 300 N(F, = 2.0 - 2.7 MHz) C, = 18 pf. Cy, = 0.02 pf: C, = Spf. L,, = 96 MHz F,. (typ) = 2.4576 MHz 22 MK68901 PIN PACKAGE DRAWING Figure 28 oo = T SS Sy ) ! ( L SUFFIX \— : : CERAMIC PACKAGE r ” | B CASE 740-02 | | | | ~ a =. Sa ee 24; - __% ft c _] ee ne ' te 4 | y " ——--— L -_o om [ _uiimetens] wwenes NOTES [Om] min | max [min [MAX | 1 DIMENSION[.AJis DATUM “a [6035 ]6157 2376 12424 2 POSITIONAL TOLERANCE FOR LEADS 8 11463] 1534 [0576 [0604 _ | { @ 0 2540 010)| T JAM} c | 305] 432 [o120Jo160| 3 ETJiS SEATING PLANE D | 0381; 0533/0015 Jo02!| 4 DIMENSION “L” TO CENTER OF Ff 0 762) 139710030 10055 LEADS WHEN FORMED PARALLEL Gj] 254esc_ | 0100B8SC_| 5 DIMENSIONING AND TOLERANCING J 10203; 0330{0008 100!3 PER ANS! Y14 5. 1973 x 254! 419 1010010165 | & 4149911565 JOSH [O66 | mA . 10° 0° 10° J | W | 1016] 152410060 | 0 060 MK68901 ORDERING INFORMATION PART NO. PACKAGE TYPE MAX. CLOCK FREQUENCY TEMPERATURE RANGE MK68901 Ceramic 40 MHz 0° to JOC 23 UNITED TECHNOLOGIES MICROCOMPUTER MOSTEK COMPONENTS TEMPORARY MK68901 REV C ERRATA SHEET FOR MK68901 REV C The counters are initially loaded by writing to the Timer Data Register. When the timers are stopped, the information that was written to the TOR may not be correctly transferred to the internal time constant register. This would cause the first count sequence of the timer to be incorrect, but subsequent count sequences would be correct. ff the initial count sequence is Critical to system operation, a read should be used to verify that the correct data was loaded. tf the readback indicates an error, the write’read loop should be performed until the data is verified. WA UNITED 1215 W. Crosby Rd. © Carroliton, Texas 75006 ° 214 “466-6000 SZ TECHNOLOGIES in Europe. Contact: Mostek Brussels Cw 270-272 Avenue de Tervuren (BTE21), B-1150 Brussets, Belgium: Telephone: 762.18.80 Mostek reserves the nght to make changes in specifications at any time and without notice. The information furnished by Mostek in this publscation is believed to be accurate and reliable. However. no responsibility is assumed by Mostek for its use; nor for any infringements of patents or other nghts of third partes resulting from its use. No kcense is granted under any patents or patent nghts of Mostek. PRINTED IN USA December 1982 Copyright 1982 by Mostek Corporation Publication No. 4420330 All nghts Reserved