Mitsubishi DS907x SIP, DS5000TK manual Port 3 Functional Circuitry, Output Functions

Models: DS5000TK DS907x SIP

1 174
Download 174 pages 46.43 Kb
Page 98
Image 98

USER'S GUIDE

PORT 3 FUNCTIONAL CIRCUITRY

RXD, TXD

SERIAL I/O AND EXTERNAL

WR, RD

MEMORY CONTROL

INPUTS

 

 

 

 

 

DELAY

 

 

 

= 2Tclk

 

INTERNAL

DATA BUS

D Q

Q

WRITE

ENABLE

READREAD

ENABLELATCH/PIN

VCC

VCC

PORT

3.n

VCC

POWER

DOWN

SERIAL TIMER AND

INTERRUPT INPUTS

OUTPUT FUNCTIONS

Slightly different output buffer structures are implement- ed for the four parallel I/O ports. When the pins are used strictly for parallel I/O, ports 1, 2, and 3 have internal weak pull±up devices. Port 0, on the other hand, has a totem±pole output structure. When used as outputs, all port pins will drive the state to which the associated SFR latch bit has been set except for Port 0 which will only drive low. Port 0 requires a pull±up to drive high when used as parallel I/O. Port 0 functions as true I/O when used as the multiplexed address/data bus.

When an instruction is executed that writes a new value to the SFR latch for a parallel I/O port, the write actually occurs at S6P2 of the final machine cycle of the instruc- tion. There is an additional delay in that the output buff- ers only sample the state of the latch's output during Phase 1 of any given clock period. As a result, the new value which is written to the latch will appear on the pin at S1P1 of the machine cycle following the final cycle of the instruction which performs the write to the port latch. See the section on CPU timing for clock details.

Port 1, 2, and 3 activate additional high±current pull±up devices when a write operation to the port necessitates a 0± to±1 transition on the I/O pin in order to speed up

the transition time. The structure of these devices is il- lustrated in Figure 12±2. The pull±up structure is com- prised of three pFET devices which are turned on when a logic 0 is applied to their gates and turned off when a 1 is applied. An n±channel device is used to drive a 0 on the pin and is turned on and off in the inverse sense of the pFET. When a 1 is applied, the n±channel FET is turned on and it is turned off when a 0 is applied.

Following a 0±to±1 change in the state of the latch bit, transistor P1 will be turned on for two oscillator periods. This extra pull±up device can source about 10 mA (100 times more current than the normal P3 device). While P1 is turned on, it will in turn activate P3. The gate and P3 form a latch when P1 is turned off so that the state will be maintained on the pin.

P2 is a very weak pull±up device (about 1/10 the strength of P3) whose sole purpose is to restore a 1 to the pin should a negative glitch cause a 1 to be lost by forcing the latch to a 0 state.

When an access on the Expanded bus takes place, the pins of Port 0 and Port 2 are driven with address/data information. Port 2 outputs the most significant eight bits of address while Port 0 is time±multiplexed with the

050396 97/173

98

Page 98
Image 98
Mitsubishi DS907x SIP, DS5000TK manual Port 3 Functional Circuitry, Output Functions