Mangled Video output & loss of hair!!
RinksCustoms
Posts: 531
I have a DIP40 pkg on a breadboard, 10MHz xtal @ PLL8x w/a MAX232 converter (V divider on serin pin on prop for 3.3V logic). I have the values very close to spec (measured w multimeter) for the Video DAC on pins 12..14. Trying to use a 4" LCD color video monitor for a tv but all i get is mangled garbage, might there be a specific reason why i can get VGA to work perfectly on it's DAC but not the video DAC?
1) Is the 4"LCD TV (which works fine with all other equipt) a bad choice?
2) Do the values of the video DAC need to be within 1%?
3) must i modify any clkmode or pll settings within the tv driver for my setup (_xinfreq = 10_000_000 & PLL8x)?
4) Any reason why the VGA output works with this crystal and PLL seting and not the Video output?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
1) Is the 4"LCD TV (which works fine with all other equipt) a bad choice?
2) Do the values of the video DAC need to be within 1%?
3) must i modify any clkmode or pll settings within the tv driver for my setup (_xinfreq = 10_000_000 & PLL8x)?
4) Any reason why the VGA output works with this crystal and PLL seting and not the Video output?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Comments
I think the resistor tolerance needs to be at least 5%
Can you post your code?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
dan
Again VGA demo's work fine, sharp as a razor with, of course the little mod to the _xinfreq & PLL8x settings...
any idea's? Maybe this Low end LCD can't make out the signal? It was only $40 and the resolution is Smile!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
I didn't see any issues with your code, except for a few indents near the 'repeat' and 'if' commands.
I was however running 5MHz @ PLL16X
Are you trying to broadcast? If so there are a few bits that need to be set in the 'TV_Terminal' object.
The current or default setting is....
...which is just baseband. Setting this to...
...sets this to broadcast + aural
You also need to adjust...
...so that the frequency matches the correct TV channel.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
dan
using this setup with tv_text_demo, works fine
Remember, even though you are specifying 8X for the PLL, internally it will always be X16
Something else to consider is the fact that some frequencies do not synthesize cleanly...
See the thread below...
http://forums.parallax.com/showthread.php?p=593861
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Post Edited (Beau Schwabe (Parallax)) : 8/13/2006 4:21:05 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
~post edit~
Beau,
I had a 40.32Mhz crystal PLL'd to 8x, @ 3.3V this doesn't seem likely that the prop would run @160MHz and not be glowing, i'm guessing the chip defaulted to the internal RCFAST mode. Or might a 40MHz crystal be set @ _xinfreq = 10_000_000 (oscillating the crystal @ 10MHz) and the pll8x for a "dirty" clock freq of 80MHz, this would explain why the VGA demos worked and blinker2.spin, but maybe when it came to something like generating a Composite video signal the clock wasn't clean enough to do so. Does any of this make sense here? Crystals, harmonics, and the internall workings of the oscillator circuit(s) on the prop are a mystery to me @ this point in time. I don't know why some things work, i just know they do. But sometimes somethigns act in a way that make me have to find out the answer or the "what makes this tick" explanation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Post Edited (RinksCustoms) : 8/13/2006 5:03:58 AM GMT
Um, from what i've read so far @_xinfreq is an internal variable that has no effect on the Propeller hardware. It's sole purpose is to tell the software how fast the clock should be running. (correct me if i'm wrong)
Laterz,
Marty
I was informed that one daring individual took a prop to 160MHz @ 5V with a constant stream of CO2 spray alcohol cleaner to prevent inevitable vaporization of the chip, this was of course only an intermitten test....
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"