Clock Generation in the Sample Rate Generator
Sample Rate Generator of the McBSP
3-4
SPRU592E
In addition to the three-stage clock divider, the sample rate generator has a
frame-sync pulse detection and clock synchronization module that allows
synchronization of the clock divide down with an incoming frame-sync pulse
on the FSR pin. This feature is enabled or disabled with the GSYNC bit of
SRGR2.
Note:
The clock synchronization provided through the GSYNC bit is not supported
on TMS320VC5501 and TMS320VC5502 devices.
3.2 Clock Generation in the Sample Rate Generator
The sample rate generator can produce a clock signal (CLKG) for use by the
receiver, the transmitter, or both. Use of the sample rate generator to drive
clocking is controlled by the clock mode bits (CLKRM and CLKXM) in the pin
control register (PCR). When a clock mode bit is set to 1 (CLKRM = 1 for
reception, CLKXM = 1 for transmission), the corresponding data clock (CLKR
for reception, CLKX for transmission) is driven by the internal sample rate
generator output clock (CLKG).
Note that the effects of CLKRM = 1 and CLKXM = 1 on the McBSP are
partially affected by the use of the digital loopback mode and the clock stop
(SPI) mode, respectively. The digital loopback mode is selected with the DLB
bit of SPCR1. The clock stop mode is selected with the CLKSTP bits of
SPCR1.
When using the sample rate generator as a clock source, make sure the
sample rate generator is enabled (GRST = 1).
Table 3
−
1. Effects of DLB and CLKSTP on Clock Modes
Mode Bit Settings
Effect
CLKRM = 1
DLB = 0
(Digital loopback mode disabled)
CLKR is an output pin driven by the sample rate
generator output clock (CLKG).
DLB = 1
(Digital loopback mode enabled)
CLKR is an output pin driven by internal CLKX. The
source for CLKX depends on the CLKXM bit.
CLKXM = 1
CLKSTP = 00b or 01b
(Clock stop (SPI) mode disabled)
CLKX is an output pin driven by the sample rate
generator output clock (CLKG).
CLKSTP = 10b or 11b
(Clock stop (SPI) mode enabled)
The McBSP is a master in an SPI system. Internal
CLKX drives internal CLKR and the shift clocks of any
SPI-compliant slave devices in the system. CLKX is
driven by the internal sample rate generator.
Содержание TMS320VC5509
Страница 5: ...vi This page is intentionally left blank ...
Страница 43: ...McBSP Operation 2 20 SPRU592E This page is intentionally left blank ...
Страница 105: ...SPI Operation Using the Clock Stop Mode 6 16 SPRU592E This page is intentionally left blank ...
Страница 187: ...Transmitter Configuration 8 40 SPRU592E This page is intentionally left blank ...
Страница 191: ...General Purpose I O on the McBSP Pins 9 4 SPRU592E This page is intentionally left blank ...
Страница 201: ...Emulation Power and Reset Considerations 10 10 SPRU592E ...
Страница 207: ...Data Packing Examples 11 6 SPRU592E This page is intentionally left blank ...
Страница 273: ...McBSP Register Worksheet 13 14 SPRU592E This page is intentionally left blank ...