Oki MSM83C154S manual PIN Descriptions, MSM80C154S/83C154S¡ Semiconductor, Ale

Page 8

MSM80C154S/83C154S¡ Semiconductor

PIN DESCRIPTIONS

Symbol

 

Descriptipn

 

 

 

 

P0.0 to P0.7

Bidirectional I/O ports. They are also the data/address bus (input/output of data and output of

 

lower 8-bit address when external memory is accessed).

 

They are open-drain outputs when used as I/O ports, but 3-state outputs when used as data/address

 

bus.

 

 

 

 

 

P1.0 to P1.7

P1.0 to P1.7 are quasi-bidirectional I/O ports. They are pulled up internally when used as input

 

ports. Two of them have the following secondary functions:

 

•P1.0 (T2)

: used as external clock input pins for the timer/counter 2.

 

•P1.1 (T2EX)

: used as trigger input for the timer/counter 2 to be reloaded or captured;

 

 

causing the timer/counter 2 interrupt.

 

 

 

P2.0 to P2.7

P2.0 to P2.7 are quasi-bidirectional I/O ports. They also output the higher 8-bit address when

 

an external memory is accessed. They are pulled up internally when used as input ports.

 

 

 

P3.0 to P3.7

P3.0 to P3.7 are quasi-bidirectional I/O ports. They are pulled up internally when used as input

 

ports. They also have the following secondary functions:

 

•P3.0 (RXD)

 

 

 

Serial data input/output in the I/O expansion mode and serial data input in the UART mode when

 

the serial port is used.

 

•3.1 (TXD)

 

 

 

Synchronous clock output in the I/O expansion mode and serial data output in the UART mode

 

when the serial port is used.

 

•3.2 (INT0)

 

 

 

Used as input pin for the external interrupt 0, and as count-up control pin for the timer/counter 0.

 

•3.3 (INT1)

 

 

 

Used as input pin for the external interrupt 1, and as count-up control pin for the timer/counter 1.

 

•3.4 (T0)

 

 

 

Used as external clock input pin for the timer/counter 0.

 

•3.5 (T1)

 

 

 

Used as external clock input pin for the timer/counter 1 and power-down-mode control input pin.

 

•3.6 (WR)

 

 

 

Output of the write-strobe signal when data is written into external data memory.

 

•3.7 (RD)

 

 

 

Output of the read-strobe signal when data is read from external data memory.

 

 

 

ALE

Address latch enable output for latching the lower 8-bit address during external memory access.

 

Two ALE pulses are activated per machine cycle except during external data memory access at

 

which time one ALE pulse is skipped.

 

 

 

PSEN

Program store enable output which enables the external memory output to the bus during external

 

program memory access. Two PSEN pulses are activated per machine cycle except during

 

external data memory access at which two PSEN pulses are skipped.

 

 

 

EA

When EA is held at "H" level, the MSM 83C154S executes instructions from internal program

 

memory at address 0000H to 3FFFH, and executes instructions from external program memory

 

above address 3FFFH.

 

When EA is held at "L" level, the MSM80C154S/MSM83C154S executes instructions from external

 

program memory for all addresses.

 

266

Image 8
Contents Features General Description¡SemiconductorSemiconductor MSM80C154S/83C154S Cmos 8-bit MicrocontrollerMSM80C154S/83C154S ¡ SemiconductorSignal TIMER/COUNTER 0 Interrupt2PORT Address DecoderPsen PIN Configuration TOP ViewPin Plastic DIP Reset Pin Plastic QFP 44 P1.4 P1.5 P1.6 P1.7 25 P2.7 24 P2.6 23 P2.5 P2.4Pin Plastic Tqfp XTAL1 XTAL2 19 P3.7/RD 18 P3.6/WR Pin Plastic QFJ35 EA P3.0/RXD 34 NC 33 ALE P3.1/TXD ALE PIN DescriptionsMSM80C154S/83C154S¡ Semiconductor XTAL2 ¡ SemiconductorMSM80C154S/83C154SXTAL1 Diagram of Special Function Registers RegistersSpecial Function Registers Timer mode register Tmod GateCPU is reset Power control register PconInterrupt signal Timer control register Tcon Interrupt request flag for external interruptTcon TR1 TF0 TR0 IE1 IT1 IE0 IT0Mode Serial port control register SconREN Interrupt enable register IE Interrupt control bit for serial portReserved bit. The output data is 1 if the bit is read Overall interrupt control bitPriority is assigned when bit is Interrupt priority register IPPriority interrupt circuit control bit PCT PT2 PT1 PX1 PT0 PX0Bank When this bit is set to Control register IoconIZC Received at a serial portTimer 2 control register T2CON Memory Maps Program AreaHEX 0FF Addressingindirectregister BIT RAMBANK3 BANK2MSM80C154S/83C154S Diagram of Internal Data Memory RAM 0FFH2FH 0FHAbsolute Maximum Ratings Recommended Operating ConditionsPort 0, ALE, Psen Electrical CharacteristicsDC Characteristics Maximum power supply current normal operation ICC mA Maximum power supply current idle mode ICC mAVO=0.1 Port 1, 2 Logical 1 to 0 Transition Output High Voltage Port 1, 2Logical 0 Input Current VI=0.1 Logical 1 Output Current 285 Output Measuring circuitsInput ALE Signal Width Address Setup TimeFalling Edge Psen Signal Width To ALE Falling Edge Address Hold TimeInstr External program memory read cyclePORT0 External data memory access AC characteristics External data memory read cycle External data memory write cycleSerial port I/O Extension Mode AC characteristics Parameter Symbol Min Max UnitALE Shift Clock Input DataAC Characteristics Measuring Conditions External Oscillator SignalXTAL1 external clock input waveform conditions External Clock Drive WaveformBasictiming TimingDiagram 294