Difference between revisions of "NXP SAA716x"

From LinuxTVWiki
Jump to: navigation, search
(Driver Development)
(Update link to no longer point to old blog)
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
A family [[PCIe interface chipsets|PCIe interface chipset]] from [[NXP Semiconductors]].
+
A [[PCIe interface chipsets|PCIe interface chipset]] family from [[NXP Semiconductors]].
  
The SAA7160/SAA7161/SAA7162 IC parts will be supported by the SAA716x kernel driver module (see current status below).
+
== Introduction ==
  
==Introduction==
 
 
In March 2005, Philips Semiconductors announced "the industry's first integrated PCI Express dual global video and stereo decoder for digital home PC desktops and notebooks" ([http://www.electronicstalk.com/news/phi/phi309.html press release]). The new analog decoder chip, the saa7162, uses the increased bandwidth of the PCI Express bus to capture to two simultaneous analog channels of live tv or baseband video (cf. [http://www-us.semiconductors.philips.com/acrobat/literature/9397/75015389.pdf product flyer]) or up to four independent simultaneous digital TV streams (cf. [http://www.nxp.com/acrobat_download/literature/9397/75015302.pdf Philips/NXP SAA7162 product brief]).
 
In March 2005, Philips Semiconductors announced "the industry's first integrated PCI Express dual global video and stereo decoder for digital home PC desktops and notebooks" ([http://www.electronicstalk.com/news/phi/phi309.html press release]). The new analog decoder chip, the saa7162, uses the increased bandwidth of the PCI Express bus to capture to two simultaneous analog channels of live tv or baseband video (cf. [http://www-us.semiconductors.philips.com/acrobat/literature/9397/75015389.pdf product flyer]) or up to four independent simultaneous digital TV streams (cf. [http://www.nxp.com/acrobat_download/literature/9397/75015302.pdf Philips/NXP SAA7162 product brief]).
  
Line 11: Line 10:
 
The PCI-SIG lists SAA7162 (dual A/V decoder) and SAA7160/SAA7161 (multimedia A/V bridge) as PCIe devices. According to PCIe specs there are two types of PCIe devices; Type 1, which categorize normal PCIe bridge devices, and Type 0, which categorize devices which have a specific/customized programmable interface.  Unfortunately, the PCIe spec is not very detailed when it comes to Type 0 devices, and it is indeed this category that the SAA7160/1/2 reside.
 
The PCI-SIG lists SAA7162 (dual A/V decoder) and SAA7160/SAA7161 (multimedia A/V bridge) as PCIe devices. According to PCIe specs there are two types of PCIe devices; Type 1, which categorize normal PCIe bridge devices, and Type 0, which categorize devices which have a specific/customized programmable interface.  Unfortunately, the PCIe spec is not very detailed when it comes to Type 0 devices, and it is indeed this category that the SAA7160/1/2 reside.
  
==Saa7162 IC chip information==
+
== Saa7162 IC chip information ==
The SAA7162 is a PCI Express bridge with integrated dual stream A/V decoder. The device is a single lane PCIe device opertaion at 2.5G sample/s.
+
 
 +
The Saa7162 is a PCI Express bridge with integrated dual stream A/V decoder. The device is a single lane PCIe device opertaion at 2.5G sample/s.
  
 
The dual logical Audio/Video decoder support 10 bit A/D conversion, enhanced PAL/NTSC comb filtering, a versatile VBI data processing, more sophisticated scaling alogrithms, support of High Definition component video, picture improvement processing, more robustness with VCR-type signals, and increased audio functionallity like SPDIF In/Out and an intergrated audio sample rate coverter from 32Khz to 44Khz or 48Khz.Each channels has its own silent I2C bus for controlling sensitive tuner devices. One of the channels provides an IR interface.
 
The dual logical Audio/Video decoder support 10 bit A/D conversion, enhanced PAL/NTSC comb filtering, a versatile VBI data processing, more sophisticated scaling alogrithms, support of High Definition component video, picture improvement processing, more robustness with VCR-type signals, and increased audio functionallity like SPDIF In/Out and an intergrated audio sample rate coverter from 32Khz to 44Khz or 48Khz.Each channels has its own silent I2C bus for controlling sensitive tuner devices. One of the channels provides an IR interface.
Line 20: Line 20:
 
The Saa7162 is a highly intergrated circuit for e.g TV insertion inside PC system. The Muti Standard TV decoder covered all Video color standards like PAL, NTSC and SECAM and Sound standards like Dual FM, NICAM, BTSC and EIAJ, Addtional to the TV decider function a digital IF demodulator, a FM Radio decoder, standard interfaces for digital Video and Audio, Remote control receiver/transmission processing and a high speed programming port allows high intergrated system solutions for muti media application.
 
The Saa7162 is a highly intergrated circuit for e.g TV insertion inside PC system. The Muti Standard TV decoder covered all Video color standards like PAL, NTSC and SECAM and Sound standards like Dual FM, NICAM, BTSC and EIAJ, Addtional to the TV decider function a digital IF demodulator, a FM Radio decoder, standard interfaces for digital Video and Audio, Remote control receiver/transmission processing and a high speed programming port allows high intergrated system solutions for muti media application.
  
==SAA7164 IC chip information==
+
===saa7162 devices ===
A even further complex IC that incorporates a built in MPEG2 encoder.  '''Note:'''  This chip is NOT supported by the driver being developed and discussed below.   
+
There are some DVB-S2 cards based upon the SAA7160/1/2For further information see [[Saa7162 devices]].
 +
 
 +
=== Saa7162 driver development ===
  
==Driver Development==
 
 
Philips announced in their [http://www.nxp.com/applications/pc_pda/pc_tv/dual_analog_pc_tv_receiver/index.html reference design] that they had already written a Linux driver. In May 2007, they finally sent the code to [http://www.interlink.com.au/rad/quattros Richard Dale] (without an [[NDA]]) and Manu Abraham, who is now writing a GPL'd driver under an [[NDA]] (the terms of which are not widely known). See the [http://www.linuxtv.org/pipermail/linux-dvb/2007-May/017856.html full discussion on linux-dvb].   
 
Philips announced in their [http://www.nxp.com/applications/pc_pda/pc_tv/dual_analog_pc_tv_receiver/index.html reference design] that they had already written a Linux driver. In May 2007, they finally sent the code to [http://www.interlink.com.au/rad/quattros Richard Dale] (without an [[NDA]]) and Manu Abraham, who is now writing a GPL'd driver under an [[NDA]] (the terms of which are not widely known). See the [http://www.linuxtv.org/pipermail/linux-dvb/2007-May/017856.html full discussion on linux-dvb].   
  
While development has progressed, it appears that the information available/provided does not fully document some aspects of this chipset, and hence some areas of development have been problematic.  Unfortunately, it appears that before NXP will consider providing additional assistance towards Linux driver support for the chipset, they wish to determine whether it is worth their while by gaining some measure of the potential future user base that Linux drivers will actually provide.  Representatives from device vendors Azurewave and Hauppauge have outlined that they will try to assist LinuxTV in its effort to obtain more assistance in this matter. [http://www.linuxtv.org/pipermail/linux-dvb/2007-August/019452.html] [http://www.linuxtv.org/pipermail/linux-dvb/2007-August/019463.html].   
+
While development has progressed, it appears that the information available/provided does not fully document some aspects of this chipset, and hence some areas of development have been problematic.  Unfortunately, it appears that before NXP will consider providing additional assistance towards Linux driver support for the chipset, they wish to determine whether it is worth their while by gaining some measure of the potential future user base that Linux drivers will actually provide.  Representatives from device vendors Azurewave and Hauppauge have outlined that they will try to assist LinuxTV in its effort to obtain more assistance in this matter. [http://www.linuxtv.org/pipermail/linux-dvb/2007-August/019452.html] [http://www.linuxtv.org/pipermail/linux-dvb/2007-August/019463.html].
 +
 
 +
The Saa716x driver is expected to support the following PCIe chips:
 +
 
 +
* Saa7160
 +
* Saa7161
 +
* Saa7162
 +
 
 +
Manu Abraham's Saa716x development repository was at http://jusst.de/hg/saa716x, but is no longer available. Development seems to have been taken completely offline. Some development is being done on a version 2.x backport by Andreas 'powARman' Regel at https://bitbucket.org/powARman/v4l-dvb-saa716x .
 +
 
 +
== Saa7164 IC chip information ==
 +
 
 +
A more complex IC that incorporates a built-in MPEG2 encoder.   
 +
 
 +
The NXP Saa7164 integrates up to 8 standalone chips: two IF demodulators, two PAL/NTSC/SECAM decoders, two stereo decoders, plus two multi-format compression engines
 +
 
 +
[http://www.nxp.com/acrobat/literature/9397/75015870.pdf SAA7164 brochure]
 +
 
 +
===saa7164 devices ===
 +
Used in, for example, the [[Hauppauge]] [[Hauppauge WinTV-HVR-2200|WinTV-HVR-2200]] and [[Hauppauge WinTV-HVR-2250|WinTV-HVR-2250]]. For further information see [[Saa7164 devices]].
 +
 
 +
=== Saa7164 driver ===
 +
 
 +
In September 2009, Steven Toth at [http://kernellabs.com kernellabs] submitted code to the linux kernel mailing list that adds support for the NXP SAA7164 PCIe A/V bridge used by the Hauppauge HVR-2200 and HVR-2250 series of products. See instructions at [[Hauppauge WinTV-HVR-2200]]. Note that support is still  limited to DVB-T / ATSC / QAM digital TV only; there is no analog support yet.
  
This means that a Linux driver for the saa7162 is still yet to be released. Hopefully the remaining issues with the chipset can be resolved soon and then device level support for PCIe cards incorporating the saa7162 can begin.
+
Development is continuing; see http://www.kernellabs.com/blog/?cat=39 and http://www.kernellabs.com.
  
'''Current Status (as of Nov 21/08) and link to driver''': http://marc.info/?l=linux-dvb&m=122729999014286&w=2
+
The Saa7164 driver does not support the Saa7160/61/62 chips.
  
 
==External Links==
 
==External Links==
 
*
 
*
 +
[[Category:Chipsets]]

Revision as of 19:46, 8 March 2013

A PCIe interface chipset family from NXP Semiconductors.

Introduction

In March 2005, Philips Semiconductors announced "the industry's first integrated PCI Express dual global video and stereo decoder for digital home PC desktops and notebooks" (press release). The new analog decoder chip, the saa7162, uses the increased bandwidth of the PCI Express bus to capture to two simultaneous analog channels of live tv or baseband video (cf. product flyer) or up to four independent simultaneous digital TV streams (cf. Philips/NXP SAA7162 product brief).

In Oct 2006, NXP created a saa7162 product page that includes, amongst other information, an 18 page "preliminary short data sheet" for download: SAA7162 Product Description.

The PCI-SIG lists SAA7162 (dual A/V decoder) and SAA7160/SAA7161 (multimedia A/V bridge) as PCIe devices. According to PCIe specs there are two types of PCIe devices; Type 1, which categorize normal PCIe bridge devices, and Type 0, which categorize devices which have a specific/customized programmable interface. Unfortunately, the PCIe spec is not very detailed when it comes to Type 0 devices, and it is indeed this category that the SAA7160/1/2 reside.

Saa7162 IC chip information

The Saa7162 is a PCI Express bridge with integrated dual stream A/V decoder. The device is a single lane PCIe device opertaion at 2.5G sample/s.

The dual logical Audio/Video decoder support 10 bit A/D conversion, enhanced PAL/NTSC comb filtering, a versatile VBI data processing, more sophisticated scaling alogrithms, support of High Definition component video, picture improvement processing, more robustness with VCR-type signals, and increased audio functionallity like SPDIF In/Out and an intergrated audio sample rate coverter from 32Khz to 44Khz or 48Khz.Each channels has its own silent I2C bus for controlling sensitive tuner devices. One of the channels provides an IR interface.

Aside to the dual A/V decoder, there is a versatile I/O block, featuring PHI, SPI, I2C-bus,32 GPIO lines. The PHI is a fast parallel bus interface. The SPI-bus is a high speed serial bus interface. The two I2C bus interfaces operate at high speed grade.

The Saa7162 is a highly intergrated circuit for e.g TV insertion inside PC system. The Muti Standard TV decoder covered all Video color standards like PAL, NTSC and SECAM and Sound standards like Dual FM, NICAM, BTSC and EIAJ, Addtional to the TV decider function a digital IF demodulator, a FM Radio decoder, standard interfaces for digital Video and Audio, Remote control receiver/transmission processing and a high speed programming port allows high intergrated system solutions for muti media application.

saa7162 devices

There are some DVB-S2 cards based upon the SAA7160/1/2. For further information see Saa7162 devices.

Saa7162 driver development

Philips announced in their reference design that they had already written a Linux driver. In May 2007, they finally sent the code to Richard Dale (without an NDA) and Manu Abraham, who is now writing a GPL'd driver under an NDA (the terms of which are not widely known). See the full discussion on linux-dvb.

While development has progressed, it appears that the information available/provided does not fully document some aspects of this chipset, and hence some areas of development have been problematic. Unfortunately, it appears that before NXP will consider providing additional assistance towards Linux driver support for the chipset, they wish to determine whether it is worth their while by gaining some measure of the potential future user base that Linux drivers will actually provide. Representatives from device vendors Azurewave and Hauppauge have outlined that they will try to assist LinuxTV in its effort to obtain more assistance in this matter. [1] [2].

The Saa716x driver is expected to support the following PCIe chips:

  • Saa7160
  • Saa7161
  • Saa7162

Manu Abraham's Saa716x development repository was at http://jusst.de/hg/saa716x, but is no longer available. Development seems to have been taken completely offline. Some development is being done on a version 2.x backport by Andreas 'powARman' Regel at https://bitbucket.org/powARman/v4l-dvb-saa716x .

Saa7164 IC chip information

A more complex IC that incorporates a built-in MPEG2 encoder.

The NXP Saa7164 integrates up to 8 standalone chips: two IF demodulators, two PAL/NTSC/SECAM decoders, two stereo decoders, plus two multi-format compression engines

SAA7164 brochure

saa7164 devices

Used in, for example, the Hauppauge WinTV-HVR-2200 and WinTV-HVR-2250. For further information see Saa7164 devices.

Saa7164 driver

In September 2009, Steven Toth at kernellabs submitted code to the linux kernel mailing list that adds support for the NXP SAA7164 PCIe A/V bridge used by the Hauppauge HVR-2200 and HVR-2250 series of products. See instructions at Hauppauge WinTV-HVR-2200. Note that support is still limited to DVB-T / ATSC / QAM digital TV only; there is no analog support yet.

Development is continuing; see http://www.kernellabs.com/blog/?cat=39 and http://www.kernellabs.com.

The Saa7164 driver does not support the Saa7160/61/62 chips.

External Links