From ad375c0bbce6bbf15c84c5cb0f708afc21fd2adf Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sun, 20 Jun 2010 02:01:03 +0000 Subject: Revert r26937 (as3525v2: use 248MHz PLL) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This caused mounting of µSD to fail on Fuzev2 in some cases, although the card is detected properly This might be the cause of playback glitches (more frequent for lossless files) on clipv2 Trying to set the main PLL at 384MHz and FCLK at 240MHz didn't work, so there might be some problems not understood yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26979 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/clock-target.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h index b8cb718592..1689c59448 100644 --- a/firmware/target/arm/as3525/clock-target.h +++ b/firmware/target/arm/as3525/clock-target.h @@ -70,8 +70,8 @@ * - bit 12 = unknown (always set to 1) * Fpll = Fin * F / (R * OD), where Fin = 12 MHz */ -#define AS3525_PLLA_FREQ 248000000 -#define AS3525_PLLA_SETTING 0x113D +#define AS3525_PLLA_FREQ 240000000 +#define AS3525_PLLA_SETTING 0x113B #define AS3525_PLLB_FREQ 192000000 #define AS3525_PLLB_SETTING 0x155F @@ -87,10 +87,11 @@ */ #ifdef SANSA_FUZEV2 -/* display is unbearably slow at ~24MHz */ -#define AS3525_DRAM_FREQ 41333334 /* Initial DRAM frequency */ +/* display is unbearably slow at 24MHz + * 34285715 HZ works ok but 40MHz works even better*/ +#define AS3525_DRAM_FREQ 40000000 /* Initial DRAM frequency */ #else -#define AS3525_DRAM_FREQ 24800000 /* Initial DRAM frequency */ +#define AS3525_DRAM_FREQ 24000000 /* Initial DRAM frequency */ #endif /* SANSA_FUZEV2 */ #else -- cgit v1.2.3