STMICROELECTRONICS STI5107

STi5107
Low-cost interactive set-top box decoder
Data Brief
Features
– encoding of CGMS, Teletext, WSS, VPS,
close caption
■
Enhanced ST20 32-bit VL-RISC CPU
■
Unified memory interface
– up to166 MHz,16-bit wide SDR/DDR
SDRAM interface
■
Programmable flash memory interface
■
Programmable transport interface (PTI)
– single transport stream input
– support for DVB transport streams
■
MPEG-2 MP@ML video decoder
■
Graphics and display
– 3 display planes
– 8 bpp CLUT graphics
– 2D paced blitter engine with fill function
– digital video output: compliant with CCIR
601/CCIR 656
■
PAL/NTSC/SECAM encoder
– RGB, CVBS, Y/C and YUV outputs with
four 10-bit DAC outputs.
AudioL
AudioR
Flash
peripherals
ST20 C1 core 200 MHz
2K SRAM
DCU
Int controller
4K ICache
■
Audio subsystem
– simultaneous MPEG audio decode and
output of Dolby streams on S/PDIF
– IEC958/IEC1937 digital audio output
interface
– integrated stereo audio DAC system
■
Central DMA controller
■
On-chip peripherals
– 2 ASCs (UARTs) with Tx and Rx FIFOs
– 3 banks of 8-bit and 1 bank of 7-bit parallel
I/O
– 1 smartcard interface and clock generator
– infrared transmitter/receiver
– integrated VCXO
■
Advanced security ready
■
JTAG/TAP interface
■
Package
– 23 mm x 23mm PBGA32
– 24 mm x 24 mm LQFP216
DDR/SDR
SDRAM
Comms peripherals
S/PDIF
16
16
16
FMI
Audio
decoder
4K DCache
Audio
DACs
PCM
UART (2) SmartCard 1
S/PDIF
player
player
IR Tx/Rx
ILC
LMI
GPIO (4)
SSCs (2)
Comms block
STx5107 interconnect
PTI
ClockGen
Reset
System services
FDMA
TV out
MP@ML
Video decoder
Video quad
DACs
DVO
TS in
December 2006
2D graphics
Blitter display
Rev 1
For further information contact your local STMicroelectronics sales office.
Video output
RGB / YC / CVBS
1/14
www.st.com
1
Description
STi5107
1
Description
1.1
General
The STi5107 is the latest in the family of Omega2 set-top box ICs providing a highperformance, low-cost system-on-chip(SoC) for MPEG processing in cable, satellite or
digital terrestrial STBs. It is a pin compatible IC derived from the STx5105, that supports
multiple platform using a unified architecture. STi5107 is compatible with the latest CA
advanced security specifications.
The STi5107 delivers enhanced performance with respect to previous devices. Main
memory is based upon a single 16-bit external SDR/DDR SDRAM.
The display architecture of the device is based upon a high performance blitter engine that
supports CLUT8 and RGB16 formats for background, video and OSD/graphics displays. It
makes the porting of middleware easier with greater rendering.
1.2
Applications
Typical applications are shown in the Figure 1, Figure 2 and Figure 3.
Figure 1.
Basic terrestrial pay TV
IR Tx/Rx
SDR
DDR
Tuner
Transport
stream in
STV0362
RGB or
YC+CVBS
STi5107
DV-T Rx
CVBS
VCR
Smart
Card
2/14
Flash
STi5107
Description
Figure 2.
Basic satellite pay TV receiver
IR Tx/Rx
SDR or
DDR
STV06000
STV0288
Transport
stream in
RGB or
YC+CVBS
STi5107
QPSK ZIF Rx
CVBS
VCR
Smart
Card
Figure 3.
Flash
Basic cable pay TV receiver
IR Tx/Rx
SDR or
DDR
QAM demodulator
Transport
stream in
RGB or
YC+CVBS
STV0297/J
STi5107
CVBS
VCR
Smart
Card
Flash
3/14
Description
1.3
STi5107
Main features
●
Enhanced ST20 32-bit VL-RISC CPU
–
●
Unified memory interface
–
●
●
●
●
●
–
4 separately configurable banks, 8/16-bits wide
–
SRAM, peripheral, flash, SFlash™ support
–
support for low cost DVB-CI
Programmable transport interface (PTI)
–
single transport stream input
–
support for DVB transport streams
–
integrated DVB, ICAM descramblers
MPEG-2 MP@ML video decoder
fully programmable horizontal and vertical SRCs
Graphics and display
–
3 display planes
–
8 bpp CLUT graphics, 256 x 30 bits (AYCbCr) CLUT entries. 16 bpp true color
graphics, RGB565, ARGB1555, ARGB4444 formats. Link-list control
–
alpha blending, antialiasing, antiflutter, antiflicker filters
–
2D paced blitter engine with fill function
–
blitter based display compositor
–
digital video output: compliant with CCIR 601/CCIR 656
PAL/NTSC/SECAM encoder
–
RGB, CVBS, Y/C and YUV outputs with four 10-bit DAC outputs. RGB/CVBS or
YUV/CVBS or YC/CVBS
–
encoding of CGMS, Teletext, WSS, VPS, close caption
Audio subsystem
–
4/14
up to166 MHz,16-bit wide SDR/DDR SDRAM interface
Programmable flash memory interface
–
●
200 MHz, single cycle cache/4-Kbyte instruction cache, 4 Kbyte data cache,
2 Kbyte SRAM
MPEG-1 layers I/II
–
simultaneous MPEG audio decode and output of Dolby streams on S/PDIF
–
IEC958/IEC1937 digital audio output interface
–
integrated stereo audio DAC system
●
Central DMA controller
●
On-chip peripherals
–
2 ASCs (UARTs) with Tx and Rx FIFOs
–
3 banks of 8-bit and 1 bank of 7-bit parallel I/O
–
1 smartcard interface and clock generator
–
2 SSCs for I2C/SPI master/slave interfaces
–
infrared transmitter/receiver
–
integrated VCXO
–
low-power / RTC / watchdog controller
STi5107
Description
●
Advanced security ready
–
●
●
compatible with latest CA requirement
JTAG/TAP interface
Package
– 23 mm x 23 mm PBGA324
– 24 mm x 24 mm LQFP216
5/14
Architecture features
2
Architecture features
2.1
Introduction
STi5107
The STi5107 is a low-cost Omega2 MPEG device that delivers high performance and
integrates features that provide an overall system cost reduction. The device implements a
fully unified DDR/SDR SDRAM based memory architecture that integrates the Omega2
video decoder cell, together with a blitter engine and a multichannel DMA controller to
provide enhanced performance for graphics and real-time stream transfers.
Transfer of data such as pixmaps, audio streams, stills and PES can be performed efficiently
using the STi5107 DMA.
A true-color mode provides OSD graphics allowing the display of RGB16 formats: RGB565,
ARGB1555 and ARGB4444. This directly supports up to 65,536 colors in a region. Alpha
blending by region or by pixel is available for mixing with video and background layers.
The above feature set, guaranties smooth user interface and high performance for
demanding middleware such as MHP™.
2.2
Omega2 (STBus) interconnect
The Omega2 multipath unified interconnect provides high on-chip bandwidth and low
latency accesses between modules. The interconnect operates hierarchically, with latencycritical modules placed at the top level. The multipath router allows simultaneous access
paths between modules, and simultaneous read and write phases from different
transactions to and from the modules.
2.3
Processor core
The ST20-C106 processor core comprises the well established ST20C1+ CPU running at
200 MHz. It provides a diagnostic controller unit (for low intrusion, real-time debugging), a
memory (4-Kbyte instruction cache, 4-Kbyte data cache and 2-Kbyte SRAM) and a 16 input
priority-level interrupt controller. ST20 has been recognized as the best in class for real time,
mutitasking and low memory footprint CPU. Thanks to ST’s royalty free operating system
(0S20) and the full toolset suite, it makes the perfect development environment for STB
application.
2.4
Memory subsystem
The STi5107 has a local memory interface (LMI) and a peripheral/flash memory interface
(FMI).
The STi5107's LMI is used for all data requirements in unified memory applications,
including graphics, video and audio buffers. It provides 16-bit wide SDR/DDR SDRAM
interface that can operate at 166 MHz for both SDR or DDR memories.
The FMI provides support for 16-bit wide peripherals, flash and synchronous flash.
Instructions can execute in place from flash/SFlash™ on the FMI or can be copied to
SDRAM on the LMI. The following sections overview the different memory interfaces.
6/14
STi5107
2.4.1
Architecture features
Local memory interface
The LMI is a 16-bit wide SDR/DDR SDRAM interface with a peak bandwidth of 532 Mbyte/s
(DDR running @166 MHz). It supports 64-MBit, 128-Mbit, 256-Mbit, or 512-Mbit SDRAM.
The LMI provides a fully cacheable address space for data and instructions, with data
cacheability controlled in 512 Kbyte blocks for up to 8 Mbytes.
2.4.2
Flash memory interface
The FMI provides a glueless interface to SRAM, flash, SFlash and peripherals, in up to four
configurable banks over a 16-bit wide interface. Bus cycle strobe timings can be
programmed from 0 to 15 phases for slower peripherals.
Support is provided for control of DVB-CI and ATAPI connection.
2.5
Transport stream processing
The STi5107 supports single transport stream input.
It is possible to support DVB-CI configurations as shown in Figure 4 and Figure 5.
Figure 4.
Dual DVB-CI support
Buffer commands
TSIN
STi5107
STV0288
Figure 5.
A
B
DVB-CI
A
DVB-CI
B
Single DVB-CI support
buffer command
STV0288
TSIN
A
STi5107
DVB-CI
7/14
Architecture features
STi5107
Programmable transport interface (PTI)
The PTI hardware performs the following functions:
●
descrambling, demultiplexing and data filtering,
●
PES data is transferred by DMA to audio and video decoders via circular buffers,
●
section data is transferred by DMA to separate buffers for further processing by the
CPU,
●
DVB transport streams with data rates up to 100 Mbit/s,
●
PID filtering to select the audio, video and data packets to be processed,
●
can support 48 PID slots.
●
descramble streams using the following ciphers:
●
2.6
–
DVB-CSA,
–
NDS specific streams that are supported by the integrated ICAM functionality.
has a section filter core that filters DVB standard sections using 96x 8-byte or 48x 16byte filters.
MPEG graphics and display processing
The MPEG graphics and display architecture shown in Figure 6 provides the graphics,
video-stream processing and display capabilities of the STi5107.
Figure 6.
Graphics and display subsystem
SDRAM
16
Blitter
LMI
Omega2 interconnect
Omega2
video
decoder
GDMA
Digital video
VDAC
DENC
Analog video
out
Video decode and display
The video decoder is based on the Omega2 cell and provides a memory to memory decode
into YC 4:2:0 macroblock format, it is able to provide simple resizing based on x2 and x0.5.
The GDMA retrieves the final composition from main memory and transfers it to the DENC,
which in turn drives the output video DAC.
8/14
STi5107
Architecture features
2.7
Graphics and display
2.7.1
Display
The STi5107 uses blitter based display architecture that allows the user to build a complex
user interface with background color, still picture, video plane and on-screen display (OSD)
as illustrated in Figure 7.
Figure 7.
Example of composition
Background
color
Decompressed
video
Replay Score
Stats
On-screen
display
Replay
2.7.2
Score
Stats
OSD plane
The OSD plane is managed as a set of horizontal bands with a specification comprising
configuration, bitmap and, for CLUT formats, palette information for each region. The OSD
operates in one of two modes, palette mode or true color mode.
●
Palette mode: Each region can be independently specified with a resolution of 8 bpp.
Regions are frame based. Each region palette can support up to 256 colors with up to
24 bits resolution per color entry.
●
True color mode: Each region can be independently specified with a 16 bpp resolution
in one of the following direct color formats: RGB565, ARGB1555, or ARGB444.
A vertical inter-field, anti flicker filter is provided to reduce flicker on interlace displays. It is
available for both palette and true color modes.
9/14
Architecture features
2.7.3
STi5107
Display mixing
Display planes are mixed by the blitter using alpha blending between planes. Mixing of the
OSD plane with the lower layers is achieved using one of the following on a per region basis.
2.7.4
●
A 4-bit alpha blending component per region (true color mode and palette mode
without antialiasing enabled).
●
An individual 6-bit alpha component per color (palette mode with antialiasing enabled).
●
Alpha with pixel (ARGB1555 or ARGB4444, true color mode only).
Digital video output
The display provides a digital video output, that supports both CCIR601 and CCIR656
modes.
2.7.5
Genlocking
Genlocking locks the STx5107 OSD to an incoming analog signal. The RGB signals contain
OSD that can be overlaid on top of analog CVBS, allowing single OSD for both digital and
analog reception. The OSD active signal can be used as a fast blanking signal to switch
between CVBS and RGB, as illustrated in Figure 8.
The STx5107 does not require any external PLL to lock its own pixel clock. It uses its own
internal PLL, which reduces the overall BOM.
Figure 8.
CVBS
from analog
tuner
Genlock support STi5107
Sync
HSync
Extractor VSync
RGB
27 MHz
Xtal
STi5107
OSD
active
Genlocked to
incoming CVBS
2.8
Digital encoder
The digital converter process YCbCr 4:4:4/4:2:2 from main memory, which the blitter has
generated and produces standard analog baseband PAL/SECAM/NTSC signal, and
component (YUV/RGB).
The digital encoder can handle interlaced mode in all standards. ITU-T 601 aspect ratio
displays can be supported in all standards. The digital encoder performs closed-caption,
CGMS, WSS, Teletext and VPS encoding and allows Macrovision™ 7.01/ 6.1 copy
protection.
One integrated quad-DAC provides four analog TV outputs, on which it is possible to output
either (CVBS + RGB) or ( CVBS + YUV) or (S - VHS (Y/C) + CVBS1 + CVBS2).
10/14
STi5107
2.9
Architecture features
Audio subsystem
The audio subsystem supports audio decoding of MPEG-1 layers I, II.
Simultaneous MPEG-1 audio decoding and compressed output of Dolby streams on the
S/PDIF is supported.
Audio sample rates of 32 kHz, 44.1 kHz and 48 kHz are supported.
The audio subsystem is illustrated in Figure 9.
Figure 9.
Audio subsystem
DMA request
DMA request
Memory
DMA request
FS
DMA request
LMI
Audio
decoder
FDMA
Stereo
analog
outputs
PCM player
ADAC
System interconnect
S/PDIF
player
CPU
S/PDIF output
Interrupts
The audio subsystem consists of the following units:
2.10
●
audio decoder,
●
S/PDIF player, PCM player,
●
integrated 24-bit stereo audio DAC system,
●
audio/digital frequency synthesizer: generates the PCM and sample rate clocks.
Central DMA controller
The STi5107 has a multichannel, burst-capable direct memory access controller that
supports the following:
●
fast 2D unaligned memory to memory transfers of graphics and stills,
●
real time stream transfers to and from memory with or without pacing. These channels
are suitable for transfers with external peripherals, for audio and video stream transfers
within the STi5107.
11/14
Architecture features
2.11
STi5107
Internal peripherals
The STi5107 has many dedicated internal peripherals for digital TV receiver applications,
including:
2.12
●
one smartcard controller,
●
two ASCs (UARTs) which are generally used by the smartcard controllers or for modem
application,
●
two SSCs for I²C master/slave interfaces, with SPI support,
●
four GPIO ports,
●
infrared blaster/decoder interface module,
●
DVB common interface support,
●
a fully integrated digital VCXO,
●
an interrupt level controller,
●
a low-power/RTC/watchdog controller,
●
DCU toolset support,
●
a JTAG/TAP interface.
Clock generation
All system clocks are generated using the clock generator block. This contains two
high-frequency PLLs (532 MHz/400 MHz) that are divided down to produce a series of
phase-related programmable clock channels.
The STi5107 has a clock master. The Flash clock output may be phase aligned to optimize
the external bus performance of the FMI.
VCXO functionality has been integrated using a special purpose frequency synthesizer, thus
removing the need for an external varactor diode or VCXO module.
12/14
STi5107
3
Revision history
Revision history
Table 1.
Document revision history
Date
Revision
05-Dec-2006
1
Changes
Initial release.
13/14
STi5107
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the
right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any
time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no
liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this
document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products
or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such
third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT
RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING
APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,
DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE
GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void
any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any
liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2006 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America
www.st.com
14/14