Clock frequency bug fix

Fix external osc frequency.
Change SystemCoreClock to 84 MHz.