![]() |
![]() |
![]() |
|
Television Standards Converters, Modulators etc Standards converters, modulators anything else for providing signals to vintage televisions. |
![]() |
|
Thread Tools |
![]() |
#41 |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]()
I've not used Altera, only Xilinx, but I'm sure there is a good range of development boards. Simple designs in VHDL (or Verilog if you use that) ought to compile equally on Altera or Xilinx parts. Obviously if you utilise particular design features that are unique to one or the other you will have to modify your code.
There aren't many of us here at UKVRR who have done FPGA work. Darryl and I have both used Xilinx with VHDL. I think Darryl may also have used Altera. |
![]() |
![]() |
#42 |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
![]()
I've ordered some CF-IDE adapters (99p ea. from China) to make life a little easier; even if a mod. or two is needed I'm mostly connecting to a 0.1" header rather than directly to the CF socket.
Call me old-fashioned, but the direction I think I'm heading in is the "405-line slide-projector"; probably using a Z80 to read frames (slowly) from CF into what amounts to dual-port RAM, where it'll be read entirely by hardware (likely to be TTL/CMOS) into a DAC. Think of something like an EPROM-based test card generator, with a ROMulator in place of the EPROM(s) and a Z80-based CF card reader periodically transferring new stills into it. Unless someone wants to try to convince me that I really should get into CPLD/FPGA/etc. and I might enjoy it... Kat |
![]() |
![]() |
#43 |
Guest
Posts: n/a
|
![]()
I don't know about the others however I have used Altera FPGAs, you get a huge amount of free software for them. USB programming adaptors (JTAG) can be had from China for a few quid.
|
![]() |
#44 | |
Guest
Posts: n/a
|
![]() Quote:
|
|
![]() |
#45 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
I'm using a IDE-CF adapter too, Kat but I've modified mine to conform to the circuit supplied in:
http://www.elektor.com/magazines/200...29.lynkx?tab=4 This drives the CF card in 'eight bit PC mode'. I would prefer my circuit to work with an unmodified adapter, i.e. in 'true IDE mode'. But for the moment my aim is just to get it to work and then see if I can make it work in IDE fashion later. The main difference is use of the /IORD and /IOWR lines instead of /OE and /WR. If anyone can shed any light on driving IDE mode I would be grateful. If I do change my circuit to working IDE mode then it must be able to use eight bit data. I've got the PIC to generate a pixel rate read clock - 40nsec high, 120nsec low. I did this by setting a pulse width modulator for one cycle duration! The resolution is the full crystal frequency so I can control the width of the pulses to 40nsec. The good news is I'm not over-clocking 4MHz parts this time. I'm over-clocking a 20MHz part instead ![]() I'm now working on PIC code to get the first locations of the CF card displayed on a 625 line monitor. The 6.25MHz pixel clock is inadequate but that doesn't matter - if I can display a stable picture then my approach has hope. If not, well I go on holiday soon so I can forget the humiliation and shame... |
![]() |
![]() |
#46 |
Retired Dormant Member
Join Date: Jun 2010
Location: Co. Limerick, Ireland.
Posts: 1,183
|
![]()
Why not use a Cheaper and Easier 18F. They go at 48MHz internally via PLL to a wide variety of external crystals.
Now that I've used 18Fs I'd never buy 10F/12F/16F unless I need a smaller DIP package. As well as DIP 18F2550 and 18F4550, I'm using some 18FxxJxx 44 pin and 64 pin parts via DIL adaptor PCBs into breadboard. I've ditched my JDM programmer in favour of a pickit2 (very cheap) which is blinding fast and is native USB (Windows or Linux). It can do other stuff too. |
![]() |
![]() |
#47 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
I'm rather hoping that CF cards behave like memory chips and obediently cough up bytes on demand. But if they need handshaking and I have to resort to PC-style buffering then I will lose interest. I'll probably crank down the speed by a couple of orders of magnitude and turn the thing into a cassette player!
I am first and foremost a DSP engineer. I hate the 'goes-as-fast-as-it-goes' disease that has gripped electronics. I hate caching (sure it will work great - MOST of the time). And I hate the whole PC thing with emphasis on throughput but with lousy turn-around (so a PC can handle high definition TV but can't address a simple 1kHz control loop application). Sorry, I had to rant at someone today - someone just suggested I program DSPs in Java!!!!!! ![]() |
![]() |
![]() |
#48 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
tubesrule aka Darryl Hock...? Designer of the Aurora?
I am most certainly in the presence of greatness! I looked into using a DSP to do standards conversion a while ago. The demands are high: filtering to remove the colour sub-carrier requires at least four multiply/accumulates per input pixel. And then the line interpolation will require three multiply/accumulates per output pixel. It would be quite a DSP to handle that. Your use of an FPGA is almost certainly the better way to go. And of course, those chips that convert analogue video to a standard byte stream deal with the sub-carrier. In other words, I don't see a better way of doing it! |
![]() |
![]() |
#49 |
Retired Dormant Member
Join Date: Jun 2010
Location: Co. Limerick, Ireland.
Posts: 1,183
|
![]()
I think FPGA based DSP can easily tdo about 400 Multiply/Accumulate per pixel reasonably cheaply. I use Scilab to to calculate coefficients.
|
![]() |
![]() |
#50 | ||
Hexode
Join Date: Jul 2004
Location: Michigan USA
Posts: 325
|
![]() Quote:
I've also only quoted some projects using Altera and Lattice fpga's that would have benefited from their unique capabilities, but never implemented a design with either. For the most part, Altera and Xilinx compete head to head, and are both good choices. Quote:
![]() Since all my converters accept standard NTSC/PAL/SECAM inputs, it is much easier to just use an off the shelf video decoder like the TI TVP5150. These parts have excellent chroma filters and provide a simple interleaved Y/C output bus, so you can just ignore the chroma data if desired. The fpga then just does the size and rate conversion, and formats for the output standard. Darryl
__________________
Aurora video standards converters: http://www.tech-retro.com/Aurora_Design/Video_Home.html |
||
![]() |
![]() |
#51 | |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
The actual 625>405 conversion algorithms are almost trivial maths. The hard part, if you're taking a DSP or other CPU based approach, is looking after the timings. Real time means exactly that in TV pictures. Apart from the blanking intervals you can't take a break and catch up later. This is why an FPGA approach works so well. It's easy to make counters and all the other miscellaneous logic, all running in parallel, all amply fast enough. |
|
![]() |
![]() |
#52 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
Well, I've had some success!
The picture on the monitor is being streamed off the CF card without buffering. It is a 200x256 image, stored in the first 100 sectors of the card, and displayed on a 625 line set (non-interlaced) because I don't have a 405 line set yet ![]() A moving image would result if I simply added 100 to the logical block address each frame. I think this is going to work! I've reserved the SPI pins of the PIC to add an audio DAC, which I plan to update at 20.5kHz i.e. twice line rate. That will give a respectable 8kHz or so audio bandwidth (what was the original 405 line audio bandwidth?) I have some artifact issues with my crummy resistor video DAC but other than that, I think I can make an excellent player out of this. You can just see two ICs under the connecting ribbon - the PIC and the pixel latch. I tried using an unmodified IDE-CF adapter. It worked except I got two small images side-by-side, suggesting that the card is offering up 16 bit data of which I'm only latching the low byte. I suspect true IDE mode is fixed to sixteen bit transfers...? Next task: add audio. |
![]() |
![]() |
#53 |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]()
Wel done, you've proven the concept.
Effectively infinite. There is so much space available around the sound carrier that 20kHz bandwidth is trivial. In practice limited by the studio equipment, audio lines to the TX site and the receivers' audio circuits. |
![]() |
![]() |
#54 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
I have my circuit working with an unmodified adapter. It's a matter of issueing a 'Set Features' command to put the interface in 8 bit mode.
You've twisted my arm - I'll see if I can't get the audio to update at 40.5kHz for a 16kHz bandwidth ![]() |
![]() |
![]() |
#55 |
Retired Dormant Member
Join Date: Jun 2010
Location: Co. Limerick, Ireland.
Posts: 1,183
|
![]()
I think in practice 10KHz to 12kHz.
|
![]() |
![]() |
#56 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
I'm at the point where I need a 405 line monitor. Where can I obtain such a venerable machine?
Did 405 line TVs ever have A/V sockets on them? Or will I have to build a modulator? |
![]() |
![]() |
#57 |
Heptode
Join Date: Feb 2010
Location: Duffort, Gers, France
Posts: 706
|
![]()
An amazing little device, well done! It reminded me of how much things have changed. Back in the 1970s, we needed to add a "large" video memory to our Interdata 70 which had a whole 64kB of memory itself (Our IBM mainframe only had 1MB). We settled for 500kB which took up about two feet of 19" rack space and cost £10000! If only we'd had one of these.
__________________
Stuart The golden age is always yesterday - Asa Briggs |
![]() |
![]() |
#58 | |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
Somebody else may have one available. Worth asking in the Wanted section. I don't think it's too difficult to modify an ordinary TV9/90 for video input. There are plenty of these around at moderate prices. |
|
![]() |
![]() |
#59 |
Retired Dormant Member
Join Date: Jun 2010
Location: Co. Limerick, Ireland.
Posts: 1,183
|
![]()
A modulator is much easier than what you have done so far.
|
![]() |
![]() |
#60 |
Rest in Peace
Join Date: Jul 2011
Location: Bridgnorth, Shropshire, UK.
Posts: 787
|
![]()
Thank you Stuart,
You know, I think the time is not very far away when compression (JPEG, MPEG) will be unnecessary and considered quaint throwbacks (i'm thinking here of when a petobyte memory stick is commonplace). How things have changed. I remember a student at my uni struggling because he had blown his term's grant on 64kbyte of DRAM! I sometimes have trouble adjusting to it all. |
![]() |