When you’re working with TV Tuner hardware its useful to be able to feed known / reliable QAM Annex B (US Cable) feeds at specific power levels into a device. It rules out any variation that you may encounter if you test too early with your normal home CableTV feed.
If you shop around on eBay you can pick up a quad (four channel) Scientific Atlanta D9477-1 device for $70 or so. Note the -1 suffix. A number of variations of this device exist, but the -1 model has a standard IEC power connector on the rear of the unit. The other -2/-3 models use custom power connectors more suitable for MSO equipment installations.
On the front of the unit you have some basic UI controls for adjusting frequency, boot mode, power levels and others. On the back of the unit is a pair of ASI input connectors and four RF output connectors, and a handy serial port for control. The network interface on the back is used during boot time only, to tftp its configuration from a central server.
I don’t have this software and I don’t have the tftp mqam.config file as a sample. If you have a working tftp configuration file, please contact me… I’d love to build an open source software stack to support the D9477-1 fully.
The device takes in digital television signals (ISO13818) transport packets via two ASI connectors on the rear, then feeds some or all of that payload into its internal muxer. It then upconverts those audio/video streams into four discrete (frequency agile) QAM-B RF channels. In effect, you can create a four channel in-home cableTV station - which is really handy for doing development work. Neat!
The device has an interesting mode of operation: If you don’t have the ASI inputs connected, the device outputs four RF channels containing NULL transport packets at exactly the right data rates to make the device useful for basic RF demodulator work. So you can use it to help debug your QAM-B demodulator driver project, without needing additional equipment!
Where it shines, and the reason I use it, is that I feed in a single ASI input stream containing error free audio and video channels, and I can test everything from RF demodulation, all the way through drivers, codecs, middleware, UI, upto and including gStreamer and VLC… in a very closed and controlled environment. So, testing is 100% reliable and reproducable regardless of the conditions. This is something that cannot be said for RF testing on a standard cabletv feed. I test in a fixed environment first, then switch to a regular cabletv feed once the tuner performance has been categorized.
I’m really underselling the important points of the D9477-1 but here’s the real reason this article needed to be written. I’ve figured out how to control the device through its serial port, so its possible to automate certain aspects of its behaviour. Why do I need to automate it? I can dynamically adjust its output power levels and RF frequencies in order to build an automated RF test rig, enabling engineers to characterize the performance of different drivers or hardware products. For example, Manufacturer X vs Manufacturer Y, or product X vs Product Y. Different products from different manufacturers often have different performance characteristics, so identifying these early often influences our business decisions.
Here are my notes on how to control and configure the device using the serial port.
This article isn’t the whole story. An automated plant sweep, needs additional software tools of course, but being able to tune a TV Tuner to multiple frequencies and multiple power levels, overnight, and collect your SNR, BERT and uncorrectable data after a 8hr automated test is truly a wonderful thing, and a killer time-saver.
We continue to build and improve the plant in the lab, but I wanted to point out that I have a bitbucket.org source code tree for a D9477 serial port control tool. If this is of interest to you, or you are interested in the D9477 generally, drop me an email using the details on the contact page. I’d love to discuss it with you.
I’m happy to share this tool with anyone.
Importantly and again, if you have access to the HeadEnd software to control the D9477-1, or a sample tftp configuration file then please get in touch.
I’m always on the lookout on Ebay for various pieces of engineering kit or hardware that may be useful for future projects. A couple of days ago I noticed an Altera HSMC SDI Video Daughter Card going for $60. Quite a bargain. Its a slightly cut down version of Alteras current design. These kinds of daughter boards usually cost $500 or so, so finding used h/w is a big saving.
Essentially its a Broadcast quality I/O device that when coupled with a HSMC capable Altera Dev Kit, such as the Cyclone V GT, you can build SDI or ASI Capture or Playback hardware designs.
Neat.
Altera include SDI logic in their MegaCore SDK and development kit, so building FPGA based hardware that is capable of video streams is pretty straightforward. I’ve worked on these kinds of projects in the past.
Hmm, perhaps time to whip up a quick PCIe SDI hardware capture project, and linux drivers for fun?
The components on PCBs only seem to get smaller and smaller. I frequently need to put the oscilloscope probe on a fine pitch QFPN pin, or on a tiny 402 resistor. My eyes aren’t what they used to be. Its handy to have a lightweight glass lens magnifier, within easy reach, lurking around your desk. I use the 5x Bausch & Lomb Watchmaker Loupe. It retails at $9 from Amazon. Its probably no better than any other loupe, I just happen to have used it.
Not bad, I have a couple of these around the lab and often throw one in my bag when I’m travelling.
They’re no substitute for a decent bench microscope, but the first time you use a loupe you’ll wonder how you ever got by without on.
While debugging a recent USB TV Tuner, I needed to see the I2C traffic from the USB host controller (Conexant CX231xx) to the Silicon Labs DVB-T/T2/C SI2168 demodulator. I tacked down a couple of trace wires for I2C and ground then used a logic analyzer to collect and analyze the I2C messages.
A couple of years ago I picked up an inexpensive 8 channel logic analyzer from at $150. I’m always on the lookout for inexpensive tools.
I use this device pretty much weekly so its the first item I’d recommend on any kit list.
Sadly, the product is no longer made. Looking at the site today they have a couple of newer models in the $100-$200 range (Logic4 and Logic8). If I was to buy again I’d go for the Logic8… but if cash was tight and I only needed to debug I2C then the Logic 4 would likely do a good job.
Copyright © 2025 Steven Toth