vga 1280 X 1024 need to be at 60 hz
mike goettling
Posts: 31
we are using the vga_1280x1024_tile_driver_with_cursor.spin in a progect. we have not changed any settings on it. what we are seeing is it has a refresh rate of 56 hz. the monitors we are using seem to be on the very edge of funtioning. they intermintily start flashing the video and will act as if they are loosing sync. we can reporduce this on a pc if we change it's refresh rate to 56hz.·Is there any way to bump the refresh up to 60 hz? the montors are·name brand.(as if that means much) i can provide more info if needed·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I suggest using a 6.00MHz crystal, which would·result in a system clock of 96MHz. If the refresh rate is currently 55.5Hz, this 20% speed increase would result in a refresh rate of 66.6Hz, which should be plently. Also, you could knock it back down to something less by lowering the "pr" constant below the current 100 value in the 1280x1024 object.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Do you have a link to a good place to order the right pf 6MHz crystal for the Demo board and the Proto Boards?
Thanks,
Doug
If·11.1 fps/MHz is the ratio, this crystal will generate 61 fps, which should be close enough for nearly all monitors to lock. Alternatively you can get a programmable oscillator (some distributors such as digikey will program one to your specified frequency) and program it to 86.486486... MHz for as many decimal places the programmable crystal supports (Programmable oscillators use·a PLL and there can be issues of excessive jitter when a PLL drives another PLL).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 3/29/2008 11:09:26 PM GMT
Do you have a link to where you got your crystals? What is the pf and the ppm error?
Thanks,
Doug
http://www.rayslogic.com/propeller/Programming/RaysStuff/RaysStuff.htm
I don't remember·about ppm...
The link for the 6.25MHz Crystal is no longer valid, I guess Alltronics doesn't carry them any more.
Is 6MHz going to be the best choice for this, since it is a bit more common? Mike, did you have any luck with the 6 MHz?
I would like to be able to to 1024x768 and 1280x1024 with the same crystal (switching between each). Just trying to figure out what is going to work the best.
Thanks!
John
I am trying a 6.0 MHz crystal from Citizen, and after adjusting pr (by increments of 5) to get close to 60Hz, and code and images that look fine with the 5.0 MHz crystal, now have jagged pixels along all vertical lines. This is for both crt and lcd monitors.
Has anyone else tried using the tile drivers with a 6.0 MHz or other crystal and seeing this (or not seeing this)?
As mike did, I may just opt to stick with the 5.0 MHz crystal.
Thanks!
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
President Dale: I want the people to know that they still have 2 out of 3 branches of the government working for them, and that ain't bad.
Mars Attacks! (1996)