SPORT Operation Modes
9-28
ADSP-2126x SHARC Processor Hardware Reference
• SPORT transmit/receive enable (
SDEN_A
and
SDEN_B
)
• Master mode enable (
MSTR
)
If the
MCEA
or
MCEB
bits are set (=1) in the
SPMCTLxy
register, the
SPEN_A
and
SPEN_B
bits in the
SPCTL
register must be cleared (=0).
The
SPCTLx
Control registers contain several bits that enable and config-
ure multichannel operations. Refer to
Multichannel mode is enabled by setting the
MCEA
or
MCEB
bit in the
SPMCTL01
,
SPMCTL23
or
SPMCTL45
Control register.
• When the
MCEA
or
MCEB
bits are set (=1), multichannel operation is
enabled.
• When the
MCEA
or
MCEB
bits are cleared (=0), all multichannel oper-
ations are disabled.
Multichannel operation is activated three serial clock cycles after the
MCEA
or
MCEB
bits are set. Internally-generated frame sync signals activate four
serial clock cycles after the
MCEA
or
MCEB
bits are set.
Setting the
MCEA
or
MCEB
bits enables multichannel operation for both
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
NCH
field in the Multichannel Control register. Set
NCH
to the
actual number of channels minus one:
NCH
= Number of channels – 1
The 7-bit
CHNL
field in the multichannel control registers indicates the
channel that is currently selected during multichannel operation. This
field is a read-only status indicator. The
CHNL(6:0)
bits increment modulo
NCH(6:0)
as each channel is serviced.
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...