SPORT Loopback
When the SPORT loopback bit,
registers, the SPORT is configured in an internal loopback connection as
follows: SPORT0 and SPORT1 work as a pair for internal loopback,
SPORT2 and SPORT3 work as pairs, SPORT4 and SPORT5 and
SPORT6 and SPORT7 work as pairs. The loopback mode enables pro-
grams to internally test the SPORTs and to debug applications.
When loopback is configured:
•
SPORTx_DA
SPORT0 and SPORT1 are internally connected (where x = 0 or 1).
•
SPORTy_DA
SPORT2 and SPORT3 are internally connected (where y = 2 or 3).
•
SPORTz_DA
SPORT4 and SPORT5 are internally connected (where z = 4 or 5).
•
SPORTn_DA
SPORT6 and SPORT7 are internally connected (where n = 6 or
7).
In loopback mode, either of the two paired SPORTs can be transmitters
or receivers. One SPORT in the loopback pair must be configured as a
transmitter; the other must be configured as a receiver. For example,
SPORT0 can be a transmitter and SPORT1 can be a receiver for internal
loopback. Or, SPORT0 can be a receiver and SPORT1 can be the trans-
mitter when setting up internal loopback. The processor ignores external
activity on the
the SPORT is configured in loopback mode which prevents contention
with the internal loopback data transfer.
Only transmit clock and transmit frame sync options may be used
in loopback mode—programs must ensure that the SPORT is set
up correctly in the
ADSP-21368 SHARC Processor Hardware Reference
,
,
SPORTx_DB
SPORTx_CLK
,
,
SPORTy_DB
SPORTy_CLK
,
,
SPORTz_DB
SPORTz_CLK
,
,
SPORTn_DB
SPORTn_CLK
,
SPORTx_CLK
SPORTx_FS
SPCTLx
bit 12, is set in the
SPL
and
SPORTx_FS
, and
SPORTy_FS
and
SPORTz_FS
and
SPORTn_FS
A and B channel data signals when
control registers. Multichannel mode is
Serial Ports
, control
SPMCTLx
signals of
signals of
signals of
signals of
5-35
Need help?
Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?