SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
The CHSETTINGS configuration header contains settings specific to the clock system. The ROM code configures the device clocking to some default settings as described in Section 34.3.4.4, Clocking Configuration. The CH CHSETTINGS section contains a method to override the ROM code default clock settings.
Table 34-49 describes the fields.
Offset | Field | Description |
---|---|---|
0000h | Section key | Key used for item verification: C0C0C0C1h |
0004h | Valid | Enables/disables the section: |
00h: Disable | ||
Others: Enable | ||
0005h | Version | Configuration header version 01h |
Others: Reserved | ||
0006h | Reserved | |
0008h | Clocking settings | See Table 34-50. |
Field | Size (Bytes) | Description | |
---|---|---|---|
Flags | |||
Flags | 4 | Bit mask of various switches, active when set to 1: | |
Bit [0]: Clock configuration defined in this structure is applied. | |||
Bit [1]: Reserved | |||
Bit [2]: Apply general clock settings. | |||
Bit [3]: Set and lock DPLL_PER. | |||
Bit [4]: Set and lock DPLL_MPU. | |||
Bit [5]: Set and lock DPLL_CORE. | |||
Bit [6]: Set and lock DPLL_USB (USB HS DPLL). | |||
Bit [7]: Bypass DPLL_PER before setting clocks. | |||
Bit [8]: Bypass DPLL_MPU before setting clocks. | |||
Bit [9]: Bypass DPLL_CORE before setting clocks. | |||
Bit [10]: Bypass DPLL_USB (USB HS DPLL) before setting clocks. | |||
Others: Reserved | |||
General Clock Settings | |||
CM_CLKSEL_CORE | 4 | Register value | |
CM_BYPCLK_DPLL_MPU | 4 | Register value | |
CM_BYPCLK_DPLL_IVA | 4 | Register value | |
CM_MPU_MPU_CLKCTRL | 4 | Register value | |
CM_CLKSEL_USB_60MHZ | 4 | Register value | |
MPU DPLL Settings | |||
CM_CLKMODE_DPLL_MPU | 4 | Register value | |
CM_AUTOIDLE_DPLL_MPU | 4 | Register value | |
CM_CLKSEL_DPLL_MPU | 4 | Register value | |
CM_DIV_M2_DPLL_MPU | 4 | Register value | |
Core DPLL Settings | |||
CM_CLKMODE_DPLL_CORE | 4 | Register value | |
CM_AUTOIDLE_DPLL_CORE | 4 | Register value | |
CM_CLKSEL_DPLL_CORE | 4 | Register value | |
CM_DIV_M2_DPLL_CORE | 4 | Register value | |
CM_DIV_M3_DPLL_CORE | 4 | Register value | |
CM_DIV_H11_DPLL_CORE | 4 | Register value | |
CM_DIV_H12_DPLL_CORE | 4 | Register value | |
CM_DIV_H13_DPLL_CORE | 4 | Register value | |
CM_DIV_H14_DPLL_CORE | 4 | Register value | |
CM_DIV_H21_DPLL_CORE | 4 | Register value | |
CM_DIV_H22_DPLL_CORE | 4 | Register value | |
CM_DIV_H23_DPLL_CORE | 4 | Register value | |
CM_DIV_H24_DPLL_CORE | 4 | Register value | |
PER DPLL Settings | |||
CM_CLKMODE_DPLL_PER | 4 | Register value | |
CM_AUTOIDLE_DPLL_PER | 4 | Register value | |
CM_CLKSEL_DPLL_PER | 4 | Register value | |
CM_DIV_M2_DPLL_PER | 4 | Register value | |
CM_DIV_M3_DPLL_PER | 4 | Register value | |
CM_DIV_H11_DPLL_PER | 4 | Register value | |
CM_DIV_H12_DPLL_PER | 4 | Register value | |
CM_DIV_H13_DPLL_PER | 4 | Register value | |
CM_DIV_H14_DPLL_PER | 4 | Register value | |
USB DPLL Settings | |||
CM_CLKMODE_DPLL_USB | 4 | Register value | |
CM_AUTOIDLE_DPLL_USB | 4 | Register value | |
CM_CLKSEL_DPLL_USB | 4 | Register value | |
CM_DIV_M2_DPLL_USB | 4 | Register value |