cx28500 Mindspeed Technologies, cx28500 Datasheet - Page 81

no-image

cx28500

Manufacturer Part Number
cx28500
Description
Cx28500 Multichannel Synchronous Communications Controller
Manufacturer
Mindspeed Technologies
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cx28500-12
Manufacturer:
FUJ
Quantity:
250
2. Program the ENDAD to point at the entry STARTAD+N where N is the size of the frame to be used for the poll
5.2
A port operation mode is configured by programming the TPORT_TYPE and RPORT_TYPE bit fields in RSIU and
TSIU Port Configuration registers. TPORT_TYPE and RPORT_TYPE must have the same number of time slots
configured for each TSBUS port, and STB sampling edges must be programmed the same for both receive and
transmit directions. When configured to operate in TSBUS mode, the frame synchronizing signals for both receive
and transmit directions are driven by the STB signal. This leaves the RSYNC and TSYNC unused, which become
RSTUFF and TSTUFF signals, respectively. Additionally, both RxClk and TxClk signals must be synchronized so
that the sampling of STB in both directions is consistent.
5.2.1
The CX28500’s TSTB signal maintains a time-base that keeps track of the active bit in the current time slot. The
mechanism is referred to as the frame synchronization flywheel. The flywheel counts the number of bits per frame
and automatically rolls over the bit count according to the programmed mode. The TSTB input marks the first bit in
the frame. A flywheel exists for both the transmit and receive directions for each port. The TSB assertion works the
first bit of time slot in the TSBUS frame. The flywheel is synchronized when CX28500 detects TSTB = 1. Once
synchronized, the flywheel maintains synchronization without further assertion of the synchronization signal.
A time slot counter within each port is reset at the beginning of each frame and tracks the current time slot being
serviced.
5.2.2
A COFA condition is defined as a frame synchronization event detected when it is not expected. A COFA condition
also detects if the first occurrence of frame synchronization was not present. A COFA condition can occur only if
TSTB is asserted in any time slot position that is not the first time slot of the frame. The flywheel always counts the
number of time slots allocated to a specific TSBUS port (when the port is enabled). If TSTB is asserted at any time
other than a time coincident with CX28500’s interval flywheel rollover (the first bit of TS0), COFA is reported on
both receive and transmit port directions.
When a COFA condition is detected by the serial interface, an internal COFA signal is asserted until the COFA
condition is declared off. A COFA condition is declared off when there is a complete frame without an unexpected
TSTB pulse. Thus, an internal COFA signal is asserted for at least two frame periods. During the frame period
when the internal COFA is asserted, CX28500’s serial line processor (SIU) terminates all messages that are found
to be active during the COFA condition. For each receiver and transmitter channels found to be active and
processing a message, the corresponding message descriptor’s owner bit is returned to the Host, and a Buffer
Status Descriptor is written with the COFA error encoding. The Buffer Status Descriptor is written if the INHRBSD
bit field in the RDMA Channel Configuration register is disabled (set to 1). CX28500 then proceeds to the next
message descriptor (MD) from
Content.
Assertion of COFA condition generates a COFA interrupt encoded in the Interrupt Status Descriptor (ISD) toward
Host if this interrupt is unmasked. (See
Configuration
If a synchronization signal (TSTB) is received (low to high transition on TSTB) while the internal COFA is asserted,
an Interrupt Descriptor with the COFA interrupt encoding is generated immediately if this interrupt is not masked.
28500-DSH-002-C
mechanism; N may be zero, too.
Register, respectively RCOFA_EN or/and TCOFA_EN bit fields.)
Serial Port Interface Definition in TSBUS Mode
TSBUS Frame Synchronization Flywheel
TSBUS Change Of Frame Alignment (COFA)
Table 6-39, Transmit or Receive Message Descriptor Table (TMDT) or (RMDT)
Mindspeed Proprietary and Confidential
Mindspeed Technologies
Table 6-28, RSIU Port Configuration Register
®
and
Table 6-36, TSIU Port
Serial Interface
66

Related parts for cx28500