72
IDT88P8342 SPI EXCHANGE 2 x SPI-3 TO SPI-4
INDUSTRIALTEMPERATURERANGE
APRIL 10, 2006
insert a DIP-2 error on the SPI-4 ingress status interface, and read the number
of DIP-2 errors seen on the SPI-4 egress status interface.
I_FORCE_TRAIN
The I_FORCE_TRAIN field is used to force continu-
ous training on the SPI-4 ingress status interface.
0=Normal status channel operation
1=Force continuous training on the SPI-4 ingress status interface
I_ERR_INS
The I_ERR_INS field is used to insert the number of DIP-
2errorsontheSPI-4ingressstatusinterfaceprogrammedintotheI_DIP_NUM
field. After the DIP-2 errors are inserted, the I_ERR_INS field will clear itself.
0=Normal status channel operation
1= Insert DIP-2 errors on the SPI-4 ingress status interface
I_DIP_NUM
The I_DIP_NUM field is used to create the number of DIP-2 errors
programmed into the I_DIP_NUM field on the SPI-4 egress status interface..
SPI-4 ingress DIP-4 error counter (Block_base
0x0300 + Register_offset 0x10)
SPI-4 ingress start up training threshold register
(Block_base 0x0300 + Register_offset 0x12)
TABLE 98 - SPI-4 INGRESS DIP-4 ERROR
COUNTER (REGISTER_OFFSET 0x10)
Field
Bits
Length
Initial Value
DIP_4
15:0
16
0
The SPI-4 ingress DIP-4 error counter is addressed from Block_base
0x0300 + Register_offset 0x10. The SPI-4 ingress DIP-4 error counter has
readaccess,andautomaticallyclearsitselfafteraread.TheSPI-4ingressDIP-
4 error counter is used in port diagnostics to verify the integrity of the SPI-4
ingress data path.
DIP_4 The DIP_4 field is used to read the number of DIP-4 errors seen on
the SPI-4 egress status interface. The DIP_4 field saturates at the value
0xFFFF, and is automatically cleared after reading to re-start DIP-4 error
counteraccumulation.
SPI-4 ingress bit alignment control register
(Block_base 0x0300 + Register_offset 0x11)
TABLE 99 - SPI-4 INGRESS BIT ALIGNMENT
CONTROL REGISTER (REGISTER_OFFSET 0x11)
Field
Bits
Length
Initial Value
FORCE
0
1
0
TheSPI-4ingressbitalignmentcontrolregisterisaddressedfromBlock_base
0x0300+Register_offset0x11.TheSPI-4ingressbitalignmentcontrolregister
has read and write access. The SPI-4 ingress bit alignment control register is
used to overrule the automatically selected bit phase alignments and go to
manualmode.Inmanualmode,thePHASE_ASSIGNfield[Block_base0x0800
+ Register_offset 0x0c – 0x1F] now defines the selected phase.
FORCE
TheFORCEfieldisusedtomanuallyaligntheSPI-4ingressdata.
0=Normal bit alignment operation
1= Force to manual bit alignment mode on SPI-4 ingress data using
the PHASE_ASSIGN field.
TABLE 100 - SPI-4 INGRESS START UP TRAINING
THRESHOLDREGISTER(REGISTER_OFFSET0x12)
Field
Bits
Length
Initial Value
STRT_TRAIN
7:0
8
0
TABLE 101 - SPI-4 EGRESS LID TO LP MAP
(128 ENTRIES)
Field
Bits
Length
Initial Value
LP
7:0
8
0x00
EN
8
1
0b0
Thereare128entriesintheSPI-4egressLIDtoLPmapfortheSPI-4ingress
interface.TheentriesareatBlock_base0x0400+LID.Forexample,LID0x00
is at Block_base 0x0400 + 0x00. A SPI-4 egress LID to LP map has read and
write access. A SPI-4 egress LID to LP map is used to map a logical identifier
used internally to a SPI-4 egress logical port.
0x00 - 0x3F of the LID map is used for Module A LIDs 0x00 - 0x3F
0x40 - 0x7F of the LID map is used for Module B LIDs 0x40 - 0x7F
Data for an inactive LP having an entry in the calendar is forwarded to
LID0. Therefore all the LPs that have entries in the calendar tables should
be enabled.
LP TheLPprogrammedisassociatedtotheLIDwiththesamenumberas
the register address. Eight bits support the 256 possible LPs on the SPI-4
physical interface. Only 128 LPs can be supported at one time with the
IDT88P8342 device.
EN The EN bit is used to enable or disable the connection of a LID to an LP.
0=LP is disabled
1=LP is enabled
9.4.6 Common module block base 0x0500 registers
SPI-4 egress calendar_0 (Block_base 0x0500 +
Register_offset 0x00 – 0xFF)
TABLE 102 - SPI-4 EGRESS CALENDAR_0
(256 LOCATIONS)
Field
Bits
Length
Initial Value
LP
7:0
8
0xFF
The SPI-4 egress calendar_0 is at Block_base 0x0500 and has read and
write access. When the SPI-4 egress calendar_0 is selected, calendar_0 is
in use. There are 256 entries in the SPI-4 egress calendar_0 to schedule the
updating of the FIFO status channel LPs to the attached device. If less than the
The SPI-4 ingress start up training threshold register is addressed from
Block_base0x0300+Register_offset0x12.TheSPI-4ingressstartuptraining
thresholdregisterhasreadandwriteaccess.TheSPI-4ingressstartuptraining
thresholdregister isusedtosetthenumberofconsecutivetrainingpatternsthat
will lead to OUT_OF_SYNCH on the SPI-4 ingress data. If the STRT_TRAIN
field is set to zero, then the OUT_OF_SYNCH feature is disabled.
STRT_TRAIN
The STRT_TRAIN field is used to set the number of
consecutive training patterns that will lead to OUT_OF_SYNCH on the SPI-4
ingress data interface.
9.4.5 Common module block base 0x0400 registers
SPI-4 egress LID to LP map (Block_base 0x0400 +
Register_offset 0x00 - 0x7F)