VGA issue
Lee Marshall
Posts: 106
I just soldered a VGA socket into my homemade demoboard, and it WORKS!!!!!!!
BUT, it sort of doesnt.
I have been running the demo programs that come with the prop tool, and have found VGA_512x384_Bitmap_Demo.spin to work fine, but VGA_Demo and VGA_Text_Demo dont.
with VGA_Demo:
I get a black screen, and the monitor's light goes from orange to green, as if turning on, then off again.
with VGA_Text_Demo:
I get MODE NOT SUPPORTED.
i altered the clock settings in all the files to use 4MHz with XInput(they were all set to 5MHz).
could it be that the demos just wont work with a 4MHz oscillator?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
BUT, it sort of doesnt.
I have been running the demo programs that come with the prop tool, and have found VGA_512x384_Bitmap_Demo.spin to work fine, but VGA_Demo and VGA_Text_Demo dont.
with VGA_Demo:
I get a black screen, and the monitor's light goes from orange to green, as if turning on, then off again.
with VGA_Text_Demo:
I get MODE NOT SUPPORTED.
i altered the clock settings in all the files to use 4MHz with XInput(they were all set to 5MHz).
could it be that the demos just wont work with a 4MHz oscillator?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
Comments
You can find this by searching this forum (good luck) or here:
http://www.rayslogic.com/propeller/Users/VGA_Tile_Driver_Demo_-_Archive__[noparse][[/noparse]Date_2006.11.12__Time_03.56].zip
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
i might as well use this thread for the following question:
what exactly do the PHSx registers do?
i know the FRQx registers can copy into them, but what actually goes in them?? a frequency?? a multiple???
how can i get the CTR to provide the video gen with 128mhz(im making a custom vid driver)?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?
the problem is, i have to generate a 65mhz signal with a 64mhz xtal, do i have the right train of thought:
I would have to:
-Set PLLA div to /2 (giving an X2 clock(128mhz))
-Do some math 128/65 = 1.97
-Do some more math 232 / 1.97 = 2180186444
-Put 2180186444 (HEX 81F3014C) in FRQA reg
-Start counter, and put it in internal PLL mode.
this would produce an approximation of 65mhz. or would it?
i assume that i could just use a pixel clock of 64mhz and my monitor would still work(i read the values werent critical), but i would still like to know if this is the way i would use the counter for non-powerof2 frequency synthesis.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
You do neither increase the basic clock by the PLL nor does /2 multiply it by 2
Have a look into the basic diagram of how the counters work in the most instructive AN001.
ive looked at the diagram, and it seems that the phase comparator alters the voltage to the VCO based on the frequency difference between the system clock, and the divider output.
the way i see it, dividing the VCO output frequency by two, would cause the phase comparator to detect the main clock was faster than the divider output and then increase the voltage to the VCO - increasing its output frequency until (output frequency/2) = system clock frequency.
this is all based around my(quite possibly unreliable) understanding of PLLs. in fact, i hadnt met the term before discovering the prop.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius