From: asterix Date: Fri, 16 Sep 2011 16:59:13 +0000 (+0000) Subject: Prescale clock to use master clock frequency more higth. X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=commitdiff_plain;h=8088c6de09e829b4ed0a2acd75da6d2ae7f2a955 Prescale clock to use master clock frequency more higth. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5067 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/sam3x-ek/hw/hw_wm8731.h b/boards/sam3x-ek/hw/hw_wm8731.h index e6e1628a..f112c051 100644 --- a/boards/sam3x-ek/hw/hw_wm8731.h +++ b/boards/sam3x-ek/hw/hw_wm8731.h @@ -55,7 +55,7 @@ PIO_PERIPH_SEL(PIOB_BASE, BV(22), PIO_PERIPH_B); \ /* Prescale the cpu clock to the frequenzy that we want. */\ /* (multiply value of audio sample rate) */\ - PMC_PCK0 = PMC_PCK_CSS_PLL | PMC_PCK_PRES_CLK_4; \ + PMC_PCK0 = PMC_PCK_CSS_PLL | PMC_PCK_PRES_CLK_8; \ /* Enable the clock and wait until it starts correctly */ \ PMC_SCER = BV(PMC_PCK0_ID); \ while ((PMC_SR & BV(PMC_PCKRDY0)) == 0); \