Communications Processor (CP)
MOTOROLA
MC68302 USER’S MANUAL
4-139
Monitor Channel Protocol
In this mode, SMC1 transmits the data and handles the A and E control bits according
to the GCI monitor channel protocol. When using the monitor channel protocol, the
user may issue the TIMEOUT command to solve deadlocks in case of bit errors in
the A and E bit positions on data line. The IMP will transmit an abort on the E bit.
SMC1 Reception
The SMC1 receiver can be programmed to work in one of two modes:
Transparent Mode
In this mode, SMC1 receives the data, moves the A and E control bits transparently
into the SMC1 receive BD, and generates a maskable interrupt. The SMC1 receiver
discards new data when the M68000 core has not read the receive BD.
Monitor Channel Protocol
In this mode, SMC1 receives data and handles the A and E control bits according to
the GCI monitor channel protocol. When a received data byte is stored by the CP in
the SMC1 receive BD, a maskable interrupt is generated.
When using the monitor channel protocol, the user may issue the TRANSMIT
ABORT REQUEST command. The IMP will then transmit an abort request on the A
bit.
SMC2 Controls the GCI Command/Indication (C/I) Channel
SMC2 Transmission
The M68000 core writes the data byte into the SMC2 Tx BD. SMC2 will transmit the
data continuously on the C/I channel to the physical layer device.
SMC2 Reception
The SMC2 receiver continuously monitors the C/I channel. When a change in data is
recognized and this value is received in two successive frames, it will be interpreted
as valid data. The received data byte is stored by the CP in the SMC2 receive BD,
and a maskable interrupt is generated.
The receive and transmit clocks are derived from the same physical clock (L1CLK)
and are only active while serial data is transferred between the SMC controllers and
the serial interface.
When SMC loopback mode is chosen, SMC transmitted data is routed to the SMC
receiver. Transmitted data appears on the L1TXD pin, unless the SDIAG1–SDIAG0
bits in the SIMODE register are programmed to “l(fā)oopback control” (see 4.4 Serial
Channels Physical Interface).
4.7.2 SMC Programming Model
The operating mode of both SMC ports is defined by SMC mode, which consists of the lower
eight bits of SPMODE. As previously mentioned, the upper eight bits program the SCP.
7
6
5
4
3
2
1
0
—
SMD3
SMD2
SMD1
SMD0
LOOP
EN2
EN1