Falling Edge; Polarity Options For The Input To The Sample Rate Generator - Texas Instruments TMS320VC5501 Reference Manual

Dsp, multichannel buffered serial port (mcbsp)
Hide thumbs Also See for TMS320VC5501:
Table of Contents

Advertisement

Table 3−3. Polarity Options for the Input to the Sample Rate Generator
Input Clock
Polarity Option
on CLKS pin
CLKSP = 0 in SRGR2
CLKSP = 1 in SRGR2
McBSP internal
Always positive polarity
input clock
on CLKR pin
CLKRP
CLKRP
on CLKX pin
CLKXP
CLKXP
Not all C55x devices have a CLKS pin; check the device-specific data manual.
On TMS320VC5501 and TMS320VC5502 devices, the polarity of the sample rate generator input clock is always positive (rising
edge), regardless of CLKRP or CLKXP.
3.2.3
Choosing a Frequency for the Output Clock (CLKG)
SPRU592E
Effect
Rising edge on CLKS pin generates rising edge on CLKG.
Rising edge on CLKS pin generates transitions on FSG.
Falling edge on CLKS pin generates rising edge on CLKG.
Falling edge on CLKS pin generates transitions on FSG.
Rising edge of McBSP internal input clock generates rising
edge on CLKG.
= 0 in PCR
Rising edge on CLKR pin generates rising edge on CLKG.
Rising edge on CLKR pin generates transitions on FSG.
= 1 in PCR
Falling edge on CLKR pin generates rising edge on CLKG.
Falling edge on CLKR pin generates transitions on FSG.
= 0 in PCR
Rising edge on CLKX pin generates rising edge on CLKG.
Rising edge on CLKX pin generates transitions on FSG.
= 1 in PCR
Falling edge on CLKX pin generates rising edge on CLKG.
Falling edge on CLKX pin generates transitions on FSG.
The input clock (McBSP internal input clock or external clock) can be divided
down by a programmable value to drive CLKG. Regardless of the source to
the sample rate generator, the rising edge of CLKSRG generates CLKG and
FSG.
The first divider stage of the sample rate generator creates the output clock
from the input clock. This divider stage uses a counter that is preloaded with
the divide down value in the CLKGDV bits of SRGR1. The output of this stage
is the data clock (CLKG). CLKG has the frequency represented by the
following equation.
CLKG frequency +
Thus, the input clock frequency is divided by a value between 1 and 256. When
CLKGDV is odd or equal to 0, the CLKG duty cycle is 50%. When CLKGDV
is an even value, 2p, representing an odd divide down, the high-state duration
is p+1 cycles and the low-state duration is p cycles.
Clock Generation in the Sample Rate Generator
Input clock frequency
(CLKGDV ) 1)
Sample Rate Generator of the McBSP
3-7

Advertisement

Table of Contents
loading

Table of Contents