17.05.2015 Views

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

~ National ~ Semiconductor - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.0 Remote Interface Reference<br />

REMOTE INTERFACE CONFIGURATION REGISTER<br />

This register can be accessed only by the remote system.<br />

To do this, CMD and RAE must be asserted and the [LOR]<br />

bit in the ACR register must be low.<br />

SIS<br />

SS<br />

FW<br />

LR<br />

LW<br />

76543210<br />

I BIS I SS I FW I LR I LW I STRT I MS1 I MSO I RIC<br />

STRT<br />

Bidirectional Interrupt Status ... Mirrors the state<br />

of 1M3 (lCR bit 3), enabling the remote system to<br />

poll and determine the status of the BIRO 110.<br />

When BIRO is an output, the remote system can<br />

change the state of this output by writing a one to<br />

BIS. This can be used as an interrupt acknowledge,<br />

whenever BIRO is used as a remote interrupt.<br />

Single-5tep ... Writing a 1 with STRT low, the BCP<br />

will single-step by executing the current instruction<br />

and advancing the PC.<br />

Fast Write ... When high, with LW low, selects fast<br />

write mode for the buffered interface. When low<br />

selects slow write mode.<br />

Latched Read ... When high selects latched read<br />

mode, when low selects buffered read mode.<br />

Latched Write ... When high selects latched write<br />

mode, when low selects buffered write mode.<br />

STaRT . .. The remote system can start and stop<br />

the BCP using this bit. On power-up/reset this bit is<br />

low (BCP stopped). When set, the BCP begins executing<br />

at the current Program Counter address.<br />

When cleared, the BCP finishes executing the current<br />

instruction, then halts to an idle mode.<br />

In some applications, where there is no remote<br />

system, or the remote system is not an intelligent<br />

device, it may be desirable to have the BCP powerup/reset<br />

running rather than stopped at address<br />

OOOOH. This can be accomplished by asserting<br />

REM-RD, REM-WR and RESET, with RAE de-asserted.<br />

MS1,O Memory Select 1,0 ... These two bits determine<br />

what the remote system is accessing in the BCP<br />

system, according to the following table:<br />

MS1<br />

0<br />

0<br />

1<br />

1<br />

MSO<br />

Selected Function<br />

0 Data Memory<br />

1 Instruction Memory<br />

0 Program Counter (Low Byte)<br />

1 Program Counter (High Byte)<br />

The BCP must be idle for the remote system to<br />

read/write Instruction memory or the Program<br />

Counter.<br />

<strong>Al</strong>l remote accesses are treated the same (independent<br />

of where the access is directed using MSO<br />

and MS1), as defined by the configuration bits LW,<br />

LR, FW.<br />

If the remote system and the BCP request data<br />

memory access simultaneously, the BCP will win<br />

first access. If the locks ([LOR], LOCK) are not set,<br />

the remote system and BCP will alternate access<br />

cycles thereafter.<br />

On power-up/reset, MS1, 0 pOints to instruction<br />

memory.<br />

10.0 Transceiver<br />

INTRODUCTION<br />

The transceiver section operates as an on-chip, independent<br />

peripheral, implementing all the necessary formatting<br />

required to support the physical layer of the following serial<br />

communications protocols:<br />

• IBM 3270 (including 3299)<br />

• IBM 5250<br />

• NSC general purpose a-bit<br />

The CPU and transceiver are tightly coupled through the<br />

CPU register space, the transceiver appearing to the CPU<br />

as a group of special function registers and three dedicated<br />

interrupts. The transceiver consists of separate transmitter<br />

and receiver logic sections, each capable of independent<br />

operation, communicating with the CPU via an asynchronous<br />

interface. This interface is software configurable for<br />

both polled and interrupt-driven interaction, allowing the<br />

system designer to optimize the BCP for the specific application.<br />

The transceiver connects to the line through an external line<br />

interface circuit which provides the required DC and AC<br />

drive characteristics appropriate to the application. A block<br />

diagram of such an interface is shown in Figure 35. An onchip<br />

differential analog comparator, optimized for use in a<br />

transformer coupled coax interface, is provided at the input<br />

to the receiver. <strong>Al</strong>ternatively, if an external comparator is<br />

necessary, the input signal may be routed to the DATA-IN<br />

pin.<br />

The transceiver has several modes of operation. It can be<br />

configured for Single line, half-duplex operation in which the<br />

receiver is disabled while the transmitter is active <strong>Al</strong>ternatively,<br />

both receiver and transmitter can be active at the<br />

same time for multi-channel (such as repeater) or loopback<br />

operation. The transceiver has both internal and external<br />

loopback capabilities, facilitating testing of both the software<br />

and external hardware. At all times, both transmitter<br />

and receiver operate according to the same protocol definition.<br />

THE PROTOCOLS<br />

In all protocols, data is transmitted serially in discrete messages<br />

containing one or more frames, each representing a<br />

single word of information. Biphase (Manchester II) encoding<br />

is used, in which the data stream is divided into discrete<br />

time intervals (bit-times) denoted by a level transition in the<br />

center of the bit-time. For the IBM 3270, 3299 and NSC<br />

general purpose a-bit protocols, a mid-bit transition from low<br />

to high represents a biphase "1", and a mid-bit transition<br />

from high to low represents a biphase "0". For the 5250<br />

protocol, the definition of biphase logic levels is exactly reversed,<br />

i.e. a biphase "1" is represented by a high to low<br />

2-166

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!