Prescale clock to use master clock frequency more higth.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Sep 2011 16:59:13 +0000 (16:59 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 16 Sep 2011 16:59:13 +0000 (16:59 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5067 38d2e660-2303-0410-9eaa-f027e97ec537

boards/sam3x-ek/hw/hw_wm8731.h

index e6e1628a67909667103f0dd0280f01f9a4bf1d55..f112c051f75907645b38fadaf08e5bfa3b8b45e0 100644 (file)
@@ -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); \