File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
#define BSP_CLOCK_CFG_H_
4
4
#define BSP_CFG_CLOCKS_SECURE (0)
5
5
#define BSP_CFG_CLOCKS_OVERRIDE (0)
6
- #define BSP_CFG_XTAL_HZ (16000000 ) /* XTAL 16000000Hz */
6
+ #define BSP_CFG_XTAL_HZ (0 ) /* XTAL 0Hz */
7
7
#define BSP_CFG_PLL_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_MAIN_OSC) /* PLL Src: XTAL */
8
- #define BSP_CFG_HOCO_FREQUENCY (0 ) /* HOCO 24MHz */
8
+ #define BSP_CFG_HOCO_FREQUENCY (4 ) /* HOCO 48MHz */
9
9
#define BSP_CFG_PLL_DIV (BSP_CLOCKS_PLL_DIV_4) /* PLL Div /4 */
10
10
#define BSP_CFG_PLL_MUL BSP_CLOCKS_PLL_MUL_12_0 /* PLL Mul x12 */
11
- #define BSP_CFG_CLOCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_PLL ) /* Clock Src: PLL */
11
+ #define BSP_CFG_CLOCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_HOCO ) /* Clock Src: HOCO */
12
12
#define BSP_CFG_ICLK_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* ICLK Div /1 */
13
13
#define BSP_CFG_PCLKA_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKA Div /1 */
14
14
#define BSP_CFG_PCLKB_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_2) /* PCLKB Div /2 */
15
15
#define BSP_CFG_PCLKC_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKC Div /1 */
16
16
#define BSP_CFG_PCLKD_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKD Div /1 */
17
17
#define BSP_CFG_FCLK_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_2) /* FCLK Div /2 */
18
- #define BSP_CFG_CLKOUT_SOURCE (BSP_CLOCKS_CLOCK_DISABLED ) /* CLKOUT Disabled */
18
+ #define BSP_CFG_CLKOUT_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_SUBCLOCK ) /* CLKOUT Src: SUBCLK */
19
19
#define BSP_CFG_CLKOUT_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* CLKOUT Div /1 */
20
- #define BSP_CFG_UCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_PLL ) /* UCLK Src: PLL */
20
+ #define BSP_CFG_UCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_HOCO ) /* UCLK Src: HOCO */
21
21
#endif /* BSP_CLOCK_CFG_H_ */
You can’t perform that action at this time.
0 commit comments