SPORT Operation Modes
• SPORT transmit/receive enable (
• Master mode enable (
If the
MCEA
SPEN_A
The
Control registers contain several bits that enable and config-
SPCTLx
ure multichannel operations. Refer to
Multichannel mode is enabled by setting the
,
SPMCTL01
SPMCTL23
• When the
enabled.
• When the
ations are disabled.
Multichannel operation is activated three serial clock cycles after the
or
bits are set. Internally-generated frame sync signals activate four
MCEB
serial clock cycles after the
Setting the
MCEA
receive and transmit sides of the SPORT0/1, SPORT2/3 or SPORT4/5
pair. A transmitting SPORT0, 2, or 4 must be in multichannel mode if
the receiving SPORT1, 3, or 5 is in multichannel mode.
Select the number of channels used in multichannel operation by using
the 7-bit
field in the Multichannel Control register. Set
NCH
actual number of channels minus one:
= Number of channels – 1
NCH
The 7-bit
CHNL
channel that is currently selected during multichannel operation. This
field is a read-only status indicator. The
as each channel is serviced.
NCH(6:0)
9-28
MSTR
or
bits are set (=1) in the
MCEB
and
bits in the
SPEN_B
or
SPMCTL45
or
bits are set (=1), multichannel operation is
MCEA
MCEB
or
bits are cleared (=0), all multichannel oper-
MCEA
MCEB
or
MCEA
or
bits enables multichannel operation for both
MCEB
field in the multichannel control registers indicates the
ADSP-2126x SHARC Processor Hardware Reference
and
SDEN_A
)
SPMCTLxy
register must be cleared (=0).
SPCTL
Table 9-6 on page
or
MCEA
Control register.
bits are set.
MCEB
bits increment modulo
CHNL(6:0)
)
SDEN_B
register, the
9-51.
bit in the
MCEB
MCEA
to the
NCH
Need help?
Do you have a question about the ADSP-21261 SHARC and is the answer not in the manual?