PCG Programming Examples
13-12
ADSP-2126x SHARC Processor Hardware Reference
The second
INVFSA
bit (bit 1) of the Pulse Width Control (
PCG_PW
) regis-
ter determines whether the falling or rising edge is used. When set (= 1),
this bit selects an active low frame sync, and the pulse comes during the
low period of clock input. When cleared (= 0) this bit is set to active high
frame sync and the pulse comes during the high period of clock input. For
more information on the
PCG_PW
register, refer to
PCG Programming Examples
This section provides two programming examples written for the
ADSP-21262 processor. The first listing,
B to output a clock on DAI pin 1 and frame sync on DAI pin 2. The input
used to generate the clock and frame sync is
CLKIN
. This example demon-
strates the clock and frame sync divisors, as well as the pulse width and
phase shift capabilities of the PCG.
, uses both PCG channels. Channel A is
set up to only generate a clock signal. This clock signal is used as the input
to channel B via the SRU. The clock and frame sync are routed to DAI
pins 1 and 2, respectively, in the same manner as the first example. This
Figure 13-5. One Shot (Synchronous Clock Input and MISCA2_I)
CLOCK INPUT
FOR FRAME SYNC
MISCA2_I
FRAME SYNC O UTPUT
(I NVFSA = 0, STROBEA = 1)
FRAME SYNC OUTPUT
(INVFSA = 1, STRO BEA = 1)
Содержание 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 ...