20-02-2017, 08:26 PM
Back in November I decided to have a try at building a Standards Converter. It has been a sharp learning curve and it is only now that I have anything to show for my efforts.
I decided to go with a video decoder chip and picked the TVP5146M2 as it could be programmed to give a separate Y output at 13.5 MHz, it also has H sync , V blanking, Active video and Field ID outputs all of which are programmable. For memory I am using two AL422 FIFO's. I had initially thought that I would use two PIC's to do the control, one on the 625 side and one for 405. It then became clear that I would need some logic gates as well, as a PIC wouldn't be quick enough to do all the switching. I have had no experience of PLD's but it seamed that this might be an application for one. To cut a long story short I decided on using a Max II EPM240T100C5 CPLD. By using the signals from video decoder the CPLD controls and sequences the writing of the video to the FIFO's, so no PIC needed for the 625 side. A PIC18LF22K24 run from a 9 MHz crystal produces the 405 sync pulses and also programs the Video decoder
The CPLD will also do the interpolation and add the sync pulses to the video. The output from the CPLD is fed to a R2R ladded which dose the digital to analogue conversion.
The worst part so far was trying to make a breakout board for the video decoder as its pins are spaced 0.5 mm apart, after two failed attempts I did what I should have done in the beginning and got one made in China. There was some room left over on the board so I fitted in the FIFO's and also the R2R ladder for the DAC. The section of the board that the R2R lader was on needed to be cut apart from the rest.
A photo below of it and also one of it producing a 188 active line picture (one field repeated twice to produce a full frame) the test card is from Mike's Test Card CD.
In the weeks to come I will be putting in the other field and doing the interpolater
Frank
I decided to go with a video decoder chip and picked the TVP5146M2 as it could be programmed to give a separate Y output at 13.5 MHz, it also has H sync , V blanking, Active video and Field ID outputs all of which are programmable. For memory I am using two AL422 FIFO's. I had initially thought that I would use two PIC's to do the control, one on the 625 side and one for 405. It then became clear that I would need some logic gates as well, as a PIC wouldn't be quick enough to do all the switching. I have had no experience of PLD's but it seamed that this might be an application for one. To cut a long story short I decided on using a Max II EPM240T100C5 CPLD. By using the signals from video decoder the CPLD controls and sequences the writing of the video to the FIFO's, so no PIC needed for the 625 side. A PIC18LF22K24 run from a 9 MHz crystal produces the 405 sync pulses and also programs the Video decoder
The CPLD will also do the interpolation and add the sync pulses to the video. The output from the CPLD is fed to a R2R ladded which dose the digital to analogue conversion.
The worst part so far was trying to make a breakout board for the video decoder as its pins are spaced 0.5 mm apart, after two failed attempts I did what I should have done in the beginning and got one made in China. There was some room left over on the board so I fitted in the FIFO's and also the R2R ladder for the DAC. The section of the board that the R2R lader was on needed to be cut apart from the rest.
A photo below of it and also one of it producing a 188 active line picture (one field repeated twice to produce a full frame) the test card is from Mike's Test Card CD.
In the weeks to come I will be putting in the other field and doing the interpolater
Frank