1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Rafaël Carré 2010-06-18 19:56:29 +00:00
parent 61c90fbf3f
commit 3a0c6fb34b

View file

@ -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