HFC-SPCI Cologne Chip AG, HFC-SPCI Datasheet - Page 28

no-image

HFC-SPCI

Manufacturer Part Number
HFC-SPCI
Description
Isdn S/t HDLC Basic Rate Controller
Manufacturer
Cologne Chip AG
Datasheet
3.4.3.5 FIFO full condition in receive channels
Because the ISDN-B-channels and the ISDN-D-channels have no hardware based flow control there is no
possibility to stop input data if a receive FIFO is full.
So there is no FIFO full condition implemented in the HFC-S PCI. The HFC-S PCI assumes that the
FIFOs are so deep that the host processor hard- and software is able to avoid any overflow of the receive
FIFOs. Overflow conditions are again more than 31 input frames (15 frames for D-channel) or a real
overflow of the FIFO because of excessive data.
Because HDLC procedures only know a window size of 7 frames no more than 7 frames are sent without
software intervention. Due to the great size of the FIFOs of the HFC-S PCI it is easy to poll counters in
the Memory Window even in large time intervalls without having to fear a FIFO overflow condition.
However to avoid any undetected FIFO overflows the software driver should check the number of frames
in the FIFO which is F1-F2. An overflow exists if the number (F1-F2) is less than the number in the last
reading even if there was no reading of a frame in between.
After a detected FIFO overflow condition this FIFO must be reset.
3.4.3.6 FIFO initialisation
All counters Z1, Z2, F1 and F2 of all FIFOs are initialized to all 1s after a RESET.
Then the result is Z1 = Z2 = 1FFFh and F1 = F2 = 1Fh for the B-channels and Z1 = Z2 = 1FFh and
F1 = F2 = 1Fh for the D-channel. This information is written in the Memory Window for initialisation.
Please mask bit 4 of D-channel from counter F1, F2.
The same initialisation is done if the bit 3 in the CIRM register is set (soft reset).
During initialisation phase the HFC-S PCI must not be accessed. Bit 1 of the STATUS register is cleared
to '0' to indicate that the initialisation phase has been finished.
"( _V &$
6URbeQbi !)))

Related parts for HFC-SPCI