ADSP-BF535 Blackfin Processor Hardware Reference
11-49
Serial Port Controllers
When the SPORT is enabled to transmit (
TSPEN
set) or receive (
RSPEN
set),
corresponding SPORT configuration register writes are disabled (except
for
SPORTx_RSCLKDIV
,
SPORTx_TSCLKDIV
, and multichannel mode channel
registers).
SPORTx_TX
register writes are always enabled;
SPORTx_RX
is a
read-only register.
After a write to a SPORT register, any changes to the control and mode
bits generally take effect when the SPORT is re-enabled.
Clock and Frame Sync Frequencies
The maximum serial clock frequency (for either an internal source or an
external source) is
SCLK/2
. The frequency of an internally generated clock
is a function of the system clock frequency (as seen at the
SCLK0
or
CLKOUT_SCLK1
pin) and the value of the 16-bit serial clock divide modulus
registers,
SPORTx_TSCLKDIV
and
SPORTx_RSCLKDIV
.
SPxTCLK frequency = (SCLK frequency) / (2
(SPORTx_T 1))
SPxRCLK frequency = (SCLK frequency) / (2
(SPORTx_R 1))
If the value of
SPORTx_TSCLKDIV
or
SPORTx_RSCLKDIV
is changed while the
internal serial clock is enabled, the change in
TCLK
or
RCLK
frequency takes
effect at the start of the rising edge of
TCLK
or
RCLK
that follows the next
leading edge of
TFS
or
RFS
.
The
SPORTx_TFSDIV
and
SPORTx_RFSDIV
registers specify the number of
transmit or receive clock cycles that are counted before generating a
TFS
or
RFS
pulse (when the frame sync is internally generated). This enables a
frame sync to initiate periodic transfers. The counting of serial clock
cycles applies to either internally or externally generated serial clocks.
The formula for the number of cycles between frame sync pulses is:
# of serial clocks between frame sync assertions = 1
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...