Source clock 1
CM_CLKSEL_DOM
CLKSEL_CLK1
CM_FCLKEN_DOM.
EN_M1
CLK1
Clock
enable
Clock
disable
Clock
enable
Clock
disable
Clock source
switch
Source clock 2
CM_FCLKEN_DOM.
EN_M2
prcm-080
Public Version
PRCM Basic Programming Model
www.ti.com
Figure 3-91. Functional Clock Switching
The following functional clocks require this switching sequence:
•
sys_clkout2
•
48M_FCLK (and all gated versions of it)
•
12M_FCLK (and all gated versions of it)
•
DSS_TV_CLK
•
GPTx_FCLK (with x = 1, 10, and 11)
•
GPTx_ALWON_FCLK (with x = 2 up to 9)
3.6.6.1.2 Enabling and Disabling the Interface Clocks
The flow chart in
shows the enable/disable sequence of the interface clock.
The first step before enabling an interface clock is to select the proper source clock using the
corresponding clock selection register (CM_CLKSEL_<domain>). This register allows selection of the
interconnect frequency (L3_ICLK, L4_ICLK) from among several divider ratios.
The interface clock is enabled or disabled by writing the dedicated bit in the CM_ICLKEN_<domain>
register. This bit has a direct effect on the clock activity:
•
The interface clock is turned on if the bit is enabled and the clock is not yet active.
•
The interface clock is turned off if the bit is disabled and the clock is not required by any other module.
The interface clock can be automatically enabled or disabled by the PRCM module, based on hardware
conditions. This automatic clock activity control mode is enabled by writing the corresponding bit in the
CM_AUTOIDLE_<domain > register. It takes effect only if the interface clock is enabled (the
corresponding bit in the CM_ICLKEN_<domain > is set to 1).
The hardware conditions for automatic gating (deactivation) of the clock are as follows:
•
The module activity; that is, the module is inactive.
•
The domain activity; that is, all modules in the domain are inactive.
The software can read the idle status register CM_IDLESTAT_<domain> at any time to know whether the
module is accessible. A module is inaccessible if its idle status bit is set. Accessing an idle module
generates an error (if the interface clock is still running) or a time-out (if the interface clock is cut).
426
Power, Reset, and Clock Management
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated
Содержание OMAP36 Series
Страница 174: ...174 List of Tables SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 692: ...692 MPU Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1084: ...1084 IVA2 2 Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1990: ...1990 2D 3D Graphics Accelerator SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2334: ...2334 Memory Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2700: ...2700 Memory Management Units SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2868: ...2868 HDQ 1 Wire SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2974: ...2974 UART IrDA CIR SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3054: ...3054 Multichannel SPI SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3462: ...3462 MMC SD SDIO Card Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3508: ...3508 General Purpose Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3584: ...3584 Initialization SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3648: ...3648 Debug and Emulation SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...