Data Communication Modes Functional Description
AMD
4–18
F
A
D
D
D
D
C
C
F
0
1
2
3
4
5
6
7
F
A
D
D
D
D
C
C
F
0
1
2
3
4
5
6
7
0
Internal Byte Strobe
Increments Counter
Internal Byte Strobe
Increments Counter
Don't Load
Counter On
1st Flag
Reset Byte
Counter Here
Reset
Byte Counter
Load Counter
Into FIFO and
Increment PTR
Reset
Byte Counter
Reset
Byte Counter
Load Counter
Into FIFO and
Increment PTR
10216A-012A
Figure 4–14. Frame Status FIFO Control Timing
4.7.1.3.5
In an effort to make the 10x19 Frame Status FIFO (FSF) useful for high-speed reception
of packets, the lock on the 3-byte receive FIFO that occurs after special conditions in two
of the receive interrupt modes was removed. The benefit of this operation is that the user
can receive multiple frames of SDLC data before having to service the interrupt. Competi-
tion 85C30 freezes the Rx FIFO after every frame, so the user could lose frames of data
between the end of the first frames and Reset Error command. In this case the user must
service interrupts for every frame of data on the competition 85C30, defeating the pur-
pose of the FIFO. AMD allows the user to receive up to 10 frames of data before having
to service the interrupt, thus obtaining the maximum (desired) utilization of the FSF.
Am85C30 Frame Status FIFO Operation Clarification
A clarification of the enhanced operation is given below. the removal of the lock on the
Receive Data 3-byte FIFO affects the device when it is programmed in the “Interrupt on
First Receive Character of Special Condition” or “Interrupt on Special Condition Only”
modes.
1. When the 10x19 Frame Status FIFO (FSF) is notenabled, the 3-byte Receive FIFO
(Rx FIFO) locks when a special condition is received until the Reset Error command is
issued. DMA is disabled when the Rx FIFO locks until the Reset Error command is
issued (same as old operation).
2. When the FSF is enabled:
a. The 3-byte Receive FIFO neverlocks.
b. DMA is disabled only on overrun (i.e. overruns do not lock the Rx FIFO, but do
disable DMA).
To reenable DMA after an overrun, the following sequence must be used:
i.
Read and discard ALL entries in the Receive Data 3-byte FIFO.
ii. Issue the Error Reset command.
iii. Note that if an additional byte of data is received between the time that the
Receive Data FIFO is emptied and the ERROR RESET command is issued.
DMA will NOT unlock. This signals the user that corrupt data remains in the
Receive Data FIFO. The user must read and discard all entries in the Receive
Data 3-byte before DMA will reenable. Note that an additional ERROR RESET
is not required.
c. Interrupts are generated and remain active until the RESET ERROR command
is issued.
d. Interrupt vectors (in Read Register 2B) are modified as follows. There are two
bit patterns for Receiver Interrupts, x11-Special Receive condition, and x10
Receive Character Available. Refer to Figure 3–2 (page 3–6) and Table 6–4
(page 6–19) of this manual.