AN2313 Freescale Semiconductor / Motorola, AN2313 Datasheet - Page 9

no-image

AN2313

Manufacturer Part Number
AN2313
Description
Connecting an MSC8102 TDM to an MSC8101 Device
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3.5 Channel Extra Parameters
Each MCC channel has an 8 byte allocation for parameters defining the actual address of the Tx and Rx
BD. The extra parameters are located at an offset from the base address of the DPRAM, defined by
XTRBASE, in the global base parameters. The TBASE/RBASE parameters define the base address of Tx
and Rx BDs for a particular channel. All BDs are contiguous in memory. Table 12 describes the channel
extra parameters. In our example, XTRBASE is set to a value of 0xB000, so the channel extra parameters
are located in the DPRAM at address 0x1470B000.
0x1470B000
0x1470B008
0x1470B010
0x1470B018
Address
0x1470000C
0x1470001A
0x1470003A
0x14700000
0x14700004
0x14700008
0x14700010
0x14700012
0x14700014
0x14700018
0x14700020
0x14700024
0x14700028
0x1470002c
0x14700030
0x14700032
0x14700034
0x14700038
Address
Freescale Semiconductor, Inc.
For More Information On This Product,
TBASE
0x2200
0x2202
0x2204
0x2206
Go to: www.freescale.com
RCVSYNC
Table 11. Channel-Specific Parameters of Channel 0
ZDSTATE
ZDDATA0
ZDDATA1
INTMASK
RBDflags
Table 12. Channel Extra Parameters in the DPRAM
ZISTATE
ZIDATA0
ZIDATA0
TBDflags
TBDCNT
RBDCNT
RBDPTR
TMRBLR
TBDPTR
RSTATE
TSTATE
CHAMR
Name
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
0xFFFFFFFF
Field value
0x1B800000
0x10000207
0x1B800000
0x50FFFE0
TBPTR
0x2200
0x2202
0x2204
0x2206
0x0303
0x7400
0x40
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Channel interrupt mask flag.
UN=1,TXB=1,RBSY=1,RXB=1
Transparent channel.
No sync channel and regular channel.
Transparent maximum receive buffer length.
RBASE
0x2000
0x2002
0x2004
0x2006
Configuring the MSC8101 MCCs
Field Description
RBPTR
0x2200
0x2202
0x2204
0x2206
Channel 0 extra
parameters
Channel 1extra
parameters
Channel 2 extra
parameters
Channel 2 extra
parameters
Description
9

Related parts for AN2313