ADSP-BF59x Blackfin Processor Hardware Reference
14-69
SPORT Controller
W[P0 + (SPORT0_TCR2 - SPORT0_TCR1)] = R1;
/* Configuration register 1
(for instance 0x4E12 for inter-
nally generated clk and framesync) */
R1 = SPORT_TRANSMIT_CONF_1;
W[P0] = R1;
ssync;
/* NOTE: SPORT0 TX NOT enabled yet (bit 0 of TCR1 must be zero) */
Program_SPORT_RECEIVER_Registers:
/* Set P0 to SPORT0 Base Address */
P0.h = hi(SPORT0_RCR1);
P0.l = lo(SPORT0_RCR1);
/* Configure Clock speeds */
R1 = SPORT_RCLK_CONFIG;
/* Divider SCLK/RCLK (value 0 to
65535) */
W[P0 + (SPORT0_RCLKDIV - SPORT0_RCR1)] = R1;
/* RCK divider
register */
/* number of Bitclock between FrameSyncs -1
(value SPORT_SLEN
to 65535) */
R1 = SPORT_RFSDIV_CONFIG;
W[P0 + (SPORT0_RFSDIV - SPORT0_RCR1)] = R1;
/* RFSDIV register */
/* Receive configuration */
/* Configuration register 2
(for instance 0x000E for 16-bit
wordlength) */
R1 = SPORT_RECEIVE_CONF_2;
W[P0 + (SPORT0_RCR2 - SPORT0_RCR1)] = R1;
/* Configuration register 1
(for instance 0x4410 for external
clk and framesync) */
R1 = SPORT_RECEIVE_CONF_1;
W[P0] = R1;
ssync;
/* NOTE: SPORT0 RX NOT enabled yet (bit 0 of RCR1 must
be zero) */
Summary of Contents for ADSP-BF59x Blackfin
Page 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Page 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Page 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Page 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Page 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...