Browse Source

[BSP][k210] fix AI clock

ZYH 6 years ago
parent
commit
5a765d80b3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bsp/k210/driver/board.c

+ 2 - 0
bsp/k210/driver/board.c

@@ -84,6 +84,8 @@ extern int rt_hw_clint_ipi_enable(void);
 
 void rt_hw_board_init(void)
 {
+    sysctl_pll_set_freq(SYSCTL_PLL0, 800000000UL);
+    sysctl_pll_set_freq(SYSCTL_PLL1, 400000000UL);
     /* Init FPIOA */
     fpioa_init();
     /* Dmac init */