Shop OBEX P1 Docs P2 Docs Learn Events
NTSC and S-Video out at same time — Parallax Forums

NTSC and S-Video out at same time

LouMLouM Posts: 1
edited 2009-11-17 19:39 in Propeller 1
I'm just starting to look at the propeller to generate NTSC and S-Video in an ATE rack I'm developing. Is it possible to have both being generated by the same propeller chip, coming out of course on different I/O pins. Would this require a special driver or would I be able to use the TV.spin driver for both outputs. I just need to generate simple color bars or even the graphics palette display would work.

Comments

  • potatoheadpotatohead Posts: 10,261
    edited 2009-11-17 16:30
    Yes, it can do both at the same time.

    To configure S-video electrically, you build the reference video circuit, only don't connect start_pin + 3 to the other pins. It is the color only pin, and needs to not be part of the DAC that forms the core video circuit. The same resistor is used for chroma in both the S-video and Composite circuit.

    From there, you can just have two video signal COGs scan whatever buffer you setup, each outputting their signal. If you've got the room, two different buffers can be used, or the display can be generated dynamically.

    Most of the existing graphics drivers can be modified to use different sets of pins, pointing at the same screen buffer.

    You will need to make sure the chroma on start_pin + 3 bit is set for the S-video COG. Look at the VCFG data sheet, and driver COG setup code for this change.

    The Parallax driver should work great. I think you will need to duplicate the block of passed values, and COGNEW the TV COG twice, passing each one a different block of values, most of which will be the same, but for the pins and video mode settings.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Propeller Wiki: Share the coolness!
    Chat in real time with other Propellerheads on IRC #propeller @ freenode.net
    Safety Tip: Life is as good as YOU think it is!

    Post Edited (potatohead) : 11/17/2009 4:35:35 PM GMT
  • Toby SeckshundToby Seckshund Posts: 2,027
    edited 2009-11-17 19:39
    If the prop's pins are viewed as perfect switches from VDD to VSS and "zero ohms" impedance the two sets of resistors one for composite and one for Y/C could be driven at the same time, and wouldn't exceed the current out for any of the pins.

    Not as perfect as separate feeds or buffered arrangements but then the signal isn't suppose to be "broadcast grade" with calibrated levels SC/H relationship etc ....

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Style and grace : Nil point
Sign In or Register to comment.