flatmush / dingoo-sdk

Automatically exported from code.google.com/p/dingoo-sdk
2 stars 3 forks source link

Overclock doesn't work for TV-out and possibly distorts sound. #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Overclocking messes up TV signal timings so TV-out doesn't work correctly,
I suspect it may also break some timings on other modules.

Original issue reported on code.google.com by Flatmush@googlemail.com on 4 Apr 2010 at 11:20

GoogleCodeExporter commented 9 years ago
OK I'm pretty sure the sound system overclocks fine since it's clocks are 
undivided
and come straight from the 12MHz external clock. Just the TV-Out (LCD) and the 
USB
stuff that's most likely the problem.

Another problem is that the inbuilt functions delay_ms, mdelay and udelay all 
use
busyloops for their delays which means that the delays will be wrong when
overclocked, the only way to fix this is to patch the functions at runtime when 
the
system is overclocked but that may be difficult.

Original comment by Flatmush@googlemail.com on 6 Apr 2010 at 12:12

GoogleCodeExporter commented 9 years ago
OK I fixed the mdelay and udelay function problem by adding a call to 
detect_clocks()
but still not sure about delay_ms since it's not in the ucosii source. Doesn't 
affect
the TV-Out situation still.

Original comment by Flatmush@googlemail.com on 6 Apr 2010 at 12:44