GP32 Mirkosdk Lcd Forced Refresh Rate


kialzzz

Still Fresh
Joined
Oct 19, 2006
Messages
30
Anyone know if mirko's SDK gp_initFramebuffer function ever worked as it's supposed to regarding setting the LCD's refresh rate?

At the default cpu speed (66MHz) 44Hz is the LCD refresh rate regardless of the refresh rate I specify. Here is a table showing the results using the latest mirkoSDK (0.9.6):

22MHz, 26Hz
33MHz, 39Hz
40MHz, 47Hz
50MHz, 58Hz
66MHz, 44Hz
100MHz, 65Hz
133MHz, 84Hz
144MHz, 92Hz
156MHz, 100Hz
160MHz, 102Hz
164MHz, 105Hz
166MHz, 106Hz

In all the above tests I used the following (specifying 60Hz refresh rate):

Code:
reportedRefreshRate = gp_initFramebuffer(framebuffer[flip++], 16, 60);
The source code and it's comments suggest it used to set the LCD refresh rate reliably so perhaps something broke during revisions?
 
kialzzz said:
At the default cpu speed (66MHz) 44Hz is the LCD refresh rate regardless of the refresh rate I specify. Here is a table showing the results using the latest mirkoSDK (0.9.6):

22MHz, 26Hz
33MHz, 39Hz
40MHz, 47Hz
50MHz, 58Hz
66MHz, 44Hz
100MHz, 65Hz
133MHz, 84Hz
144MHz, 92Hz
156MHz, 100Hz
160MHz, 102Hz
164MHz, 105Hz
166MHz, 106Hz
I was looking into setting the screen refresh rate on the GP32 and found this.

Is it true that the screen refresh rate is locked to the speed of the CPU? Or can the be independently set?

Thanks!
 
Last edited by a moderator:
Back
Top