RTEMS 6.1-rc4
|
This source file contains parts of the system initialization. More...
Macros | |
#define | TMS570_PINMMR_INIT_LIST(per_pin_action, common_arg) |
Enumerations | |
enum | tms570_system_clock_source { TMS570_SYS_CLK_SRC_OSC = 0U , TMS570_SYS_CLK_SRC_PLL1 = 1U , TMS570_SYS_CLK_SRC_EXTERNAL1 = 3U , TMS570_SYS_CLK_SRC_LPO_LOW = 4U , TMS570_SYS_CLK_SRC_LPO_HIGH = 5U , TMS570_SYS_CLK_SRC_PLL2 = 6U , TMS570_SYS_CLK_SRC_EXTERNAL2 = 7U , TMS570_SYS_CLK_SRC_VCLK = 9U } |
Functions | |
void | tms570_pinmux_init (void) |
setups pin multiplexer according to precomputed registers values (HCG:muxInit) | |
void | tms570_emif_sdram_init (void) |
Initialize the External Memory InterFace (EMIF) peripheral. | |
void | tms570_pll_init (void) |
Setup all system PLLs (HCG:setupPLL) | |
void | tms570_map_clock_init (void) |
Setup chip clocks including to wait for PLLs locks (HCG:mapClocks) | |
This source file contains parts of the system initialization.
void tms570_map_clock_init | ( | void | ) |
Setup chip clocks including to wait for PLLs locks (HCG:mapClocks)
Initialize the tms570 Global Clock Manager (GCM) registers which sub-divide the input clock source (generally PLL) into the various peripheral clocks (VCLK1-3, etc).
Initialize Clock Tree:
void tms570_pinmux_init | ( | void | ) |
setups pin multiplexer according to precomputed registers values (HCG:muxInit)
Initialize the tms570 PINMUX peripheral. This maps signals to pin terminals.
void tms570_pll_init | ( | void | ) |
Setup all system PLLs (HCG:setupPLL)
Initialize PLLs source divider/multipliers.
Initialize Pll1:
Initialize Pll2: