Shop OBEX P1 Docs P2 Docs Learn Events
VGA connector issue — Parallax Forums

VGA connector issue

GreenTHHNGreenTHHN Posts: 11
edited 2014-12-23 23:40 in Propeller 1
I had a circuit board printed to connect a 15 pin D-sub connector to the Propeller using pins P8-P15 rather than P16-P23 as shown in the examples. The problem is that I seem to have reversed the order of the pins. I believe the basepin is normally on the 'V' pin but I will have the basepin on R1. Is there an easy way to modify the VGA driver object to reverse the pin order (i.e. set P16 as the basepin looking back to P8 as opposed to the basepin on P8 looking forward to P15)? Or am I going to have to start cutting circuit traces and modifying the PCB?

Thanks,
Mike

Comments

  • msrobotsmsrobots Posts: 3,709
    edited 2014-12-23 18:49
    most VGA driver are very timing dependent, so I guess adding a reversing instruction might not be possible.

    Is this just a adapter for VGA or is more on the board? If just adapter - thinking sideways again - can you just turn around that one 180 deg.and connect correctly?

    Else you might need to cut traces and solder wires.

    Enjoy!

    Mike
  • GreenTHHNGreenTHHN Posts: 11
    edited 2014-12-23 21:25
    I basically replicated the adaptor with resistors on the board between the Propeller and VGA connector. Apparently I did not pay enough attention while designing the board artwork. The example in the documentation uses P16-P23. Since I am using P8-P15 I should have rotated the pins in my mind instead of mirroring them.

    Actually modifying my PCB will not be as difficult as I first thought. Some of the traces can be removed and the resistors can be connected to the 15 pin connector with some small hookup wire. I suspected there probably would not be an easy software fix, but you will never know if you don't ask.
  • AribaAriba Posts: 2,690
    edited 2014-12-23 23:40
    If you swap the V and H sync pins with the R0/R1 pins (P15<->P8 and P14<->P9) the VGA drivers should work, you just get wrong colors. The VGA objects often have a methode to specify the colors, or there is a table with the indexed colors that you can modify.

    Andy
Sign In or Register to comment.