summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-18 19:56:29 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-18 19:56:29 +0000
commit3a0c6fb34b9957f6f6e78d62e151d5a155542f4c (patch)
treec048b0142fa30a997362ed5f20d6f00dd209ed00 /firmware/target
parent61c90fbf3ff14847d22cdc1162e5ba98a4928164 (diff)
as3525v2: use 248MHz PLL (reverse engineered by bertrik)
- cpufreq is now the same than AMSv1 - audio playback frequency should be more accurate - adjust pclk (24.8MHz on clipv2/clip+, 41.333..MHz on fuzev2) : it is still lower than the AMSv1 which use 62MHz on every model git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/clock-target.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/firmware/target/arm/as3525/clock-target.h b/firmware/target/arm/as3525/clock-target.h
index 1689c59448..b8cb718592 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 240000000
-#define AS3525_PLLA_SETTING 0x113B
+#define AS3525_PLLA_FREQ 248000000
+#define AS3525_PLLA_SETTING 0x113D
#define AS3525_PLLB_FREQ 192000000
#define AS3525_PLLB_SETTING 0x155F
@@ -87,11 +87,10 @@
*/
#ifdef SANSA_FUZEV2
-/* display is unbearably slow at 24MHz
- * 34285715 HZ works ok but 40MHz works even better*/
-#define AS3525_DRAM_FREQ 40000000 /* Initial DRAM frequency */
+/* display is unbearably slow at ~24MHz */
+#define AS3525_DRAM_FREQ 41333334 /* Initial DRAM frequency */
#else
-#define AS3525_DRAM_FREQ 24000000 /* Initial DRAM frequency */
+#define AS3525_DRAM_FREQ 24800000 /* Initial DRAM frequency */
#endif /* SANSA_FUZEV2 */
#else