ADSP-214xx SHARC Processor Hardware Reference
10-9
Serial Ports
frame sync (
SPORTx_FS
) is considered a receive frame sync if the data
signals are configured as receivers. Likewise, the frame sync
SPORTx_FS
is
considered a transmit frame sync if the data signals are configured as
transmitters. The divisor is a 15-bit value, (bit 0 in divisor register is
reserved) allowing a wide range of serial clock rates. Use the following
equation to calculate the serial clock frequency:
Transmit master:
SCLK
=
PCLK
÷ (4(
CLKDIV
+ 1))
Receive master:
SCLK
=
PCLK
÷ (8(
CLKDIV
+ 1))
The maximum serial clock frequency is equal to one-fourth (0.25) the
processor’s internal peripheral clock (
PCLK
) frequency, which occurs when
CLKDIV
is set to zero. Use the following equation to determine the value of
CLKDIV
, given the
PCLK
frequency and desired serial clock frequency:
CLKDIV
= (
PCLK
÷
4
×
SCLK
) – 1
If the serial clock of SPORT (
SCLK
) is required as general-purpose clock in
a system, only the
ICLK
/
MSTR
bit and the serial clock divider register
DIVx
must be programmed.
Master Frame Sync
The bit field
FSDIV
specifies how many transmit or receive clock cycles are
counted before a frame sync pulse is generated. In this way, a frame sync
can initiate periodic transfers. The counting of serial clock cycles applies
to internally- or externally-generated serial clocks. The formula for the
number of cycles between frame sync pulses is:
Number of serial clocks between frame syncs =
FSDIV
+ 1
Use the following equation to determine the value of
FSDIV
, given the
serial clock frequency and desired frame sync frequency:
FSDIV
= (
SCLK
÷
FSCLK
) – 1
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...