15.7.20 Set the SRG Clock Synchronization Mode
For more details on using the clock synchronization feature, see
.
Table 15-44. Register Bit Used to Set the SRG Clock Synchronization Mode
Register
Bit
Name
Function
Type
Reset
Value
SRGR2
15
GSYNC
Sample rate generator clock synchronization
R/W
0
GSYNC is used only when the input clock source for the sample rate
generator is external—on the MCLKR or MCLKX pin.
GSYNC = 0
The sample rate generator clock (CLKG) is free
running. CLKG oscillates without adjustment, and
FSG pulses every (FPER + 1) CLKG cycles.
GSYNC = 1
Clock synchronization is performed. When a pulse is
detected on the FSR pin:
•
CLKG is adjusted as necessary so that it is
synchronized with the input clock on the MCLKR
or MCLKX pin.
•
FSG pulses. FSG only pulses in response to a
pulse on the FSR pin. The frame-synchronization
period defined in FPER is ignored.
15.7.21 Set the SRG Clock Mode (Choose an Input Clock)
Table 15-45. Register Bits Used to Set the SRG Clock Mode (Choose an Input Clock)
Register
Bit
Name
Function
Type
Reset
Value
PCR
7
SCLKME
Sample rate generator clock mode
R/W
0
SRGR2
13
CLKSM
R/W
1
SCLKME = 0
Reserved
CLKSM = 0
SCLKME = 0
Sample rate generator clock derived from LSPCLK
(default)
CLKSM = 1
SCLKME = 1
Sample rate generator clock derived from MCLKR
pin
CLKSM = 0
SCLKME = 1
Sample rate generator clock derived from MCLKX
pin
CLKSM = 1
15.7.21.1 SRG Clock Mode
The sample rate generator can produce a clock signal (CLKG) for use by the receiver, the transmitter, or both,
but CLKG is derived from an input clock.
shows the four possible sources of the input clock. For
more details on generating CLKG, see
Multichannel Buffered Serial Port (McBSP)
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
937
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......