Preliminary specification
File under Integrated Circuits, IC02
1999 Aug 25
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
CONTENTS
1FEATURES
1.1SAA7219 features
1.1.1General SAA7219 features
1.1.2MPEG2 systems features
1.1.3External interface features
1.2SAA7215 family features
1.2.1General SAA7215 family features
1.2.2CPU related features
1.2.3MPEG2 system features
1.2.4MPEG2 video features
1.2.5MPEG2 audio features
1.2.6Graphics features
2GENERAL DESCRIPTION
2.1Introduction
2.2Reference design goal
2.3Benefits
2.3.1Key system benefits
2.3.2Key IC benefits
3BLOCK DIAGRAMS
4HARDWARE
4.1IC list
4.2Main board
4.2.1SAA7219
4.2.2SAA7215
4.3Front-end
4.4Front panel
4.4.1LNB interface
4.4.2IR
4.4.3Keys
4.4.4SCART control
4.5Memory
4.5.1Non-Volatile Memory (NVM)
4.5.2DRAM
4.5.3Boot ROM
4.5.4Flash
4.5.5Video and graphics RAM
4.5.6Memory options
4.6Connectors
5SOFTWARE DESCRIPTION
5.1Software overview
5.1.1General software resources
5.1.2Application layer
5.1.3System control layer
5.1.4Platform layer
5.1.5I/O device drivers
5.2General software resources
5.3System control layer
5.4Platform layer
5.5Application layer
5.5.1Top level menu
5.5.2Installation menu
5.5.3Tuning menu
5.5.4Feature demonstration menu
6DEVELOPMENT ENVIRONMENT
6.1Summary of the STB5860 kit
6.1.1The hardware
6.1.2The software
6.1.3Documentation
6.1.4Test reports
6.2How to get started
6.3Hardware interface with the STB5860
6.4Software interface with the STB5860
6.5Running ‘hello world’
7CONTENTS LIST FOR STB5860
8DEFINITIONS
9LIFE SUPPORT APPLICATIONS
10PURCHASE OF PHILIPS I2C COMPONENTS
1999 Aug 252
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
1FEATURES
1.1SAA7219 features
1.1.1GENERAL SAA7219 FEATURES
• Internal PR3930 32-bit RISC processor running at
81 MHz
• Comprehensive driver software and development tool
support
• A JTAG interface for board test support
• 8-kbyte 8-way set associative instruction cache
• 4-kbyte 4-way set associative instruction cache.
1.1.2MPEG2 SYSTEMS FEATURES
• Parsing of Transport Stream (TS), Philips
Semiconductors hardware and proprietary software
data streams; maximum input rate is 108 Mbits/s
• A real time descrambler consisting of 3 modules:
– A control word bank containing 14 pairs (odd and
even) of control words and a default control word
– The Digital Video Broadcasting (DVB) descrambler
core implementing the stream decipher and block
decipher algorithms
– The MULTI2 descrambler algorithm implementing
the CBC and OFB mode descrambling functions.
• Hardware section filtering based on 32 different Packet
Identifiers (PIDs) with a flexible number of filter
conditions (8 or 4-byte condition plus8 or 4-byte mask)
per PID and a total filter capacity of 40 (8-byte condition
checks) or up to 80 (4-byte condition checks) filter
conditions
• 4 Transport Stream/Packetized Elementary Stream
(PES) filters for retrieval of data at TS or PES level for
applications such as subtitling, TXT or retrieval of
private data
• Flexible Direct Memory Access (DMA) based storage of
the 32 section substreams and 4 TS/PES data
substreams in the external memory
• System time base management with a double counter
mechanism for clock control and discontinuity handling
2 Presentation Time Stamp (PTS)/Decoding Time
Stamp (DTS) timers
• AGeneral Purpose/High speed (GP/HS) filter which can
serve as alternative input from e.g. IEEE 1394 devices.
It can also output either scrambled or descrambled
TS to IEEE 1394 devices.
1.1.3EXTERNAL INTERFACE FEATURES
• A 32-bit microcontroller extension bus supporting
DRAM, SDRAM flash, (E)PROM and external memory
mapped I/O devices. It also supports a synchronous
interface to communicate with the integrated MPEG
Audio Video Graphics (AVG) decoder SAA7215 family
at 40.5 Mbytes/s.
• An IEEE 1284 interface supporting master and slave
modes; usable as a general purpose port
• 2 UART (RS232) data ports with DMA capabilities
(187.5 kbits/s) including hardware flow control RXD,
TXD, RTS and CTS for modem support
• Two dedicated smart card reader interfaces (ISO 7816
compatible) with DMA capabilities
• Two I2C-bus master/slave transceivers supporting the
standard (100 kbits/s) and fast (400 kbits/s) I2C-bus
modes
• 32 general purpose, bidirectional I/O interface pins, 8 of
which may also be used as interrupt inputs
• 2 Pulse Width Modulated (PWM) outputs with 8-bit
resolution.
1.2SAA7215 family features
1.2.1GENERAL SAA7215 FAMILY FEATURES
• Singleordoubleexternal synchronous DRAMorganized
as 1M × 16or2 × 1M × 16 interfacing at 81 MHz. Due to
efficient memory use in MPEG decoding, more than
1 Mbit is available for graphics in the single SDRAM
configuration whereas 17 Mbits are available in the
double SDRAM configuration targeted to BSkyB 3.00
and Canal+ 4.0 specifications.
• Dedicated input for compressed audio and video in PES
or ES in byte wide or bit serial format; accompanying
strobe signals distinguish between audio and video data
• Optimum compatibility with SAA7219 TMIPS controller
• Flexible memory allocation under control of the external
Central Processing Unit (CPU) enables optimized
partitioning of memory for different tasks
• Boundary scan testing implemented.
1999 Aug 253
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
1.2.2CPU RELATED FEATURES
• External SDRAM self test
• Asynchronous interface possible with external
microcontroller
• Support of fast DMA transfer
• High speed/low latency interface with second graphics
SDRAM
• Byte access to the full SDRAM in the upper 16-Mbit
address range
• Fast 16-bit data plus 22-bit address synchronous
interface with external controller at up to 40.5 MHz
• Support of Motorola ColdFire and 68xxx interfaces as
well as LSI L64108 interface.
1.2.3MPEG2 SYSTEM FEATURES
• Support for seamless time base change (edition)
• Processing of errors flagged by channel decoding
section.
1.2.4MPEG2 VIDEO FEATURES
• Decoding of MPEG2 video up to main level and main
profile
• Output picture format: CCIR-601 4 : 2 : 2 interlaced
pictures; picture format 720 to 576 at 50 Hz or
720 to 480 at 60 Hz
• Support of constant and variable bit rates up to
15 Mbits/s for the elementary stream
• Digital video input/output interface on 8-bit,
27 MHz (CbYCrY multiplexed bus), at a CCIR-656
format
• Analog video output interface on both the RGB and
Y/C/CVBS formats (internal digital encoder)
• Horizontal and vertical pan and scan allows the
extraction of a window from the coded picture
• Flexible horizontal scaling from 0.5 up to 4 allows easy
aspect ratio conversion including support for 2.21 : 1
aspect ratio movies; in case of shrinking an anti-aliasing
pre-filter is applied
• Vertical scaling with fixed factors 0.5 and 0.75;
factor 0.75 is used for letter-box presentation, 1 or 2;
factor 0.5 realizes picture shrink
• Factor 2 can be used for up-conversion of pictures with
288 (240) lines or less
• Horizontalandverticalscalingcanbecombinedtoscale
pictures to1⁄4 their original size, thus freeing up screen
space for graphic applications like Electronic Program
Guides (EPGs)
• Non full screen MPEG pictures can be displayed in a
box of which position and background colour are
adjustable by the external microcontroller; structured
background is available as part of the graphic features
• Nominal video input buffer size for MP at ML 27-Mbit
• Decoding and presentation can be independently
handled under CPU control
• Various trick modes under control of external
microcontroller
• Freeze field/frame on I- or P-frames; restart on I-picture
• Freeze field on B-frames; restart at any moment
• Scanning and decoding of I- or I- and P-frames in a
IBP sequence
• Single-step mode
• Repeat/skip field for time base correction
• Repeat/skip frame for display parity integrity.
1.2.5MPEG2 AUDIO FEATURES
• Decoding of 2 channel, layer I and II MPEG audio;
support for mono, stereo, intensity stereo and dual
channel mode
• Constant and variable bit rates up to 448 kbits/s
• Supported audio sampling frequencies:
48, 44.1, 32, 24, 22.05 and 16 kHz
• Selectable output channel in dual channel mode
• Dynamic range control at output
• Independentchannelvolumecontrol and programmable
inter-channel crosstalk through a baseband audio
processing unit
• Muting possibility via (external) controller; automatic
muting in case of errors
• Generation of ‘beeps’ with programmable tone height,
duration and amplitude
• Support for up to 8 channels linear Pulse Code
Modulated (PCM) elementary audio streams with
8, 16, 20 and 24 bits/sample and bit rates up to
6.144 Mbits/s
• 96 kHz Linear Pulse Code Modulated (LPCM) samples
will be mapped to a 48 kHz multi-channel format
1999 Aug 254
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
• Volume control for linear PCM samples in three steps:
−6, −12 and −18 dB
• Burst-formatting of AC-3 elementary streams and
MPEG-2 multi-channel streams in ES or PES format for
interconnection with an external multi-channel decoder
via the digital audio output or the IEC 958 output
• Serial multi-channel digital audio output with
16, 18, 20 or 24 bits/sample, compatible either to I2Sor
Japanese formats; output can be set to high impedance
mode via the external controller
• Serial Sony/Philips Digital Interface (SPDIF) (IEC 958)
audio output; output can be set to high-impedance
mode.
1.2.6GRAPHICS FEATURES
• Graphics is presented in boxes independent of video
format
• Boxes can be up to full screen allowing double buffer
display mechanism
• Two independent graphics planes are available for
background and/or graphics overlay
• Two independent data paths with RGB 4 :4:4 and
YCbCr 4:2:2 formats available with independent
mixing
• RGB path transparent to YCbCr format
• Screen arrangement of boxes is determined by display
list mechanism which allows for multiple boxes,
background loading, fast switching, scrolling,
overlapping and fading of regions
• Real-time anti-flickering performed in hardware;
programmable hardware available for off-line
anti-flickering
• Hard-edged or soft-edged wiping of regions available
• Support of 2, 4, 8 and 16 bits/pixel in fixed bit maps
format or coded in accordance to the DVB variable/run
length standard for region based graphics
• Chrominance down-sampling filter switched per region
• Display colours are obtained via Colour Look-Up
Tables (CLUT)ordirectlyfrombitmap.CLUToutputcan
be YCbCrT at 8-bit for each signal component thus
enabling 16M different colours and 6-bit for T which
gives 64 mixing levels with video. CLUT output can also
be RGBT with same resolutions. Non-linear processing
available by means of LUTs.
• Conversion matrices available to allow any format on
any different data path (RGB or YCbCr)
• Graphics boxes may overlap vertically even inside one
graphics layer due to the use of flexible chained
descriptors
• Internal support for fast 3-D block moves in external
SDRAM through Data Manipulation Unit (DMU)
• DMU allows format conversion and bit manipulation
from a chained list of instructions
• Graphics mechanism can be used for signal generation
in the vertical blanking interval; useful for teletext, wide
screen signalling, closed caption, etc.
• Support for a single down loadable cursor of 1 K pixel
with programmable shape
• Cursor colours obtained via two 16 entry CLUTs with
YCbCrT at 6, 4, 4 respectively
• 2 bits and RGBT at 4, 4, 4 respectively 4 bits (or 4, 5, 3,
respectively 4 bits); mixing of cursor with video and
graphics in 4 levels
• Cursor can be moved freely across the screen without
overlapping restrictions.
2GENERAL DESCRIPTION
2.1Introduction
ThePhilipsSemiconductorsSet-Top Box (STB) conceptis
a Digital Media Broadcast (DMB) platform designed to
help developers bring the right product to market at the
right time, with a minimum of risk. A complete hardware
and software solution for fully-featured digital cable,
satellite and terrestrial system; it is based around a
powerful, programmable embedded microprocessor core,
allowing manufacturers to develop and rapidly evaluate
system designs and test application software.
This programmability is the key to maintaining flexibility
and reducing risk. Application software can be easily
modified to meet changing requirements, so highly
featured and differentiated STB designs can be brought
quickly to market. It also allows flexible handling of
graphics, so manufacturers can implement menus,
Electronic Program Guides and the sophisticated
graphics-based features expected by today’s users.
Sophisticated hardware is supported by a full suite of
software,developedinpartnershipwithcustomerstomeet
real-world needs and provide the reliability required for
consumer electronics products.
1999 Aug 255
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
2.2Reference design goal
The Philips STB concept STB5860 is a reference design
of a complete hardware and software solution intended for
the digital satellite receiver set-top box market. This
reference design addresses the potential customer base
who is targeting the new world of digital media
broadcasting. The reference platform for a set-top box
combines the key ICs, the SAA7219 transport MPEG
source decoder and the SAA7215 family AVG
decoder/video encoder and the software to run a set-top
box.
As in many cases a platform is a stepping stone from
which evolution and specification enhancements can be
launched. The first reference design of the platform
contains the necessary functions which demonstrate the
performance and capabilities of the system.
Enhancements in the ICs as well as for SW modules will
be released during the lifetime of the platform.
The convention which has been used is that backwards
compatibility is guaranteed within the platform (STB5000
range).
The main objectives are:
• Firstly providing this complete system, greatly reduces
the required investments needed in scarce design
resources and helps customers focus on building a
position and responding quickly to the market demand
• Secondly, an advantage of the reference design
approach is that the system consisting of complex
functions realized in silicon and software can be
validated in tangible results
• Thirdly, to create a stable platform from which
customized solutions can be derived faster.
It is expected that in the coming years the market will grow
in all segments, satellite, cable and terrestrial; and that the
captive broadcasters gradually open up their system,
focusing more on the services rather then the contents of
the box. Their service role at the beginning is to create the
market by having box content, then it will change towards
the real core service activities bringing content and new
services to the home.
This changing behaviour of the service providers calls for
thesemiconductorproviderstooffercompetitivesolutions,
enabling the future dreams of the service providers. This
implies that in order to plan the evolution of the set-top box
functionality, one must be positioned and in control of the
whole system.
2.3Benefits
2.3.1KEY SYSTEM BENEFITS
• STB5860 offers a good compromise between flexibility,
performance and integration of functions which leads to
a very attractive price/performance offer.
• The SAA7219 performs the descrambling,
demultiplexing and control of the STB while the
SAA7215 family performs the media processing
functions such as MPEG2 audio video and graphics
processing.The communication between thetwo ICsas
well as the memory partitioning and management have
been designed so that a true unified memory concept
can be implemented with no performance degradation.
• Within the STB family of products, HW and SW
footprints will be maintained to ensure the maximum
possible reuse of resources.
• Philips offering the most comprehensive portfolio of ICs
combined with our well known technological capabilities
brings the best on a complete system level. This in
combination with our local technical support centres
gives the customer a fast and secure inroad to the new
field of emerging technology.
2.3.2KEY IC BENEFITS
• SAA7219 incorporates a low cost high performance
32 bits MIPS processor with 4 kbytes instruction cache
and 1-kbyte data cache. In addition a 4-kbyte
second-level cache, designed for SW optimization but
can also be used for ‘last minute’ CPU intensive
software patches is offered to software developers,
boosting application performance.
• A flexible hardware/software partitioning and
optimization for DVB TS demultiplexing has been
designed targeted to Canal+ specification. This
partitioning makes parsing of incoming stream in
hardware, in order to off-load the processor and makes
most of the processing from system memory by the
MIPS processor, which leaves to software developers
the freedom to allocate the right priority at the
application level for MPEG system data handling.
• All required DVB/MPEG2 system services are covered
by the SAA7219, such as full DVB descrambling,
section filtering with 32 PIDs handled in hardware and
more if required in software, TS/PES filter for maximum
flexibility in the service handling and edition (time base
discontinuity)
1999 Aug 256
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
• In terms of interfaces, the SAA7219 interfaces with
basic STB peripherals such as UART, smart card
interface, IEEE 1284, but also with the next generation
high speed interfaces such as IEEE 1394
• SAA7219 is able to control with a high speed clock
(40.5 MHz) DRAMs, flash, EEPROM and is able to
control the SAA7215 family as a memory mapped
devicewithamaximumsustainedrateof40.5 Mbytes/s,
which enables fast graphic update in the second
SDRAM
• SAA7215 family has a scalable memory architecture:
16 Mbits for low-end and 32 Mbits for mid/high-end
applications; furthermore, there is a full decoupling of
MPEG processing and graphics/CPU control buses and
control, which offers a high bandwidth and low latency
for CPU when accessing the graphics memory
• SAA7215 family features 5 independent graphics
planes that can address all the known digital TV, video
and graphics requirements:
– Background: where still pictures can be displayed in
the background
– Foreground: where broadcast graphics and the user
interface can be displayed
– Video: where still or moving video is displayed
– Cursor: implemented in hardware to offer fast
responses times.
• Graphics are processed internally in high resolution
RGB 4:4:4 format which provides the best quality in
graphics rendering as well as for mixing with video in
4:2:2 format
• AdedicatedDMU(bitblock transfer type) offersveryfast
block move and data manipulation during the transfers;
thiscanbeusedto perform scaling ofgraphics,transfers
from 4 :2:0 to CLUT or RGB formats, or fast block
move in MPEG or graphics SDRAMs
• SAA7215 family offers flexible scaling features,
including letter box conversion that is now becoming a
needed features for broadcasters
• Two independent mixed video/graphics and video-only
signal paths are implemented and allow software
disabling of the user interface for recording on VCR
• Integrated digital video encoder with Y/C, CVBS and
RGBoutputsreducetheBillofMaterials (BOM) and also
the board space, while still offering the possibility to
have access to the YUV digital bus through CCIR 656
interface
• SAA7215 family is ready for future audio features such
as AC-3 or high fidelity LPCM audio, such as requested
by the world-wide DVD standard, but also for high-end
STB in the USA. SAA7215 family processes LPCM
audio data and can interface gluelessly with an external
multi-channel audio decoder such as the SAA2505,
through IEC 958 interface.
1999 Aug 257
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
3BLOCK DIAGRAMS
handbook, full pagewidth
FEATURE DEMONSTRATION APPLICATION
OPERATING
SYSTEM
ABSTRACTION
(OSA)
REAL-TIME
KERNEL
(RTK)
BOARD
SUPPORT
PACKAGE
(BSP)
GENERAL
SOFTWARE
RESOURCES
PSI
LIBRARY
GRAPHICS
IEEE 1394
SATELLITE TUNER
SATELLITE DEMOD/DECOD
TELETEXT
PROCESSING
SMART CARD
IEEE 1284
SATELLITE
PROCESSING
NVM
FLASH
2
I
C-BUS
FRONT-END
FRONT PANEL
MSP
AVG DECODER
PARALLEL
I/O
LNB
UARTS
IEEE 1394
DEBUG
FRONT PANEL
FCE378
Fig.1 Software block diagram.
1999 Aug 258
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
1999 Aug 259
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
handbook, full pagewidth
TUNER
SD1228
Q
FRONT PANEL CONTROL
MICRO 87C524
smart card
smart card
I
I
TDA8044A
TDA8004
TDA8004
2
C-BUS
SDD
UART
EEPROM
32 KBYTES
× 8
SAA7214
TMIPS
EEPROM
256 KBYTES
× 8
AV
PES
16-MBIT
VIDEO/
GRAPHICS
RAM
DRAM
2 MBYTES
SAA7215
AVG DENC
GRAPHICS/
CPU DATA
16-MBIT
RAM
FLASH
2 × 2 MBYTES
IEEE 1394
L + PHY
BUFFERS
RGB
LR
UDA1320
ADAC
SVHS (Y + UV)
AUDIO
CVBS
FCE379
IEEE 1394
IEEE 1284
RS232
SCART
Fig.2 Hardware block diagram.
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
4HARDWARE
4.1IC list
Table 1 Description of system ICs
HARDWAREDESCRIPTION
Channel module
SD1288MK2 tuner
TDA8044satellite demodulator and decoder
Front panel board
87C524microprocessor
Main board
SAA7219descrambler; demultiplexer and MIPS
core
SAA7215audio; video; graphics and digital
encoder
PDI1394L11 link and physical layer of 1394
PDI1394P11 link and physical layer of 1394
UDA1320audio DAC
TDA8004smart card interface
4.2Main board
4.2.1SAA7219
The SAA7219 (TMIPS) is a CPU for MPEG2 stream
transport; it includes a MIPS R3000 microcontroller core
and several peripheral interfaces such as UARTs, I
units, an IEEE 1394, and an IEEE 1284 (Centronics)
interface.
The SAA7219 receives transport streams through a
versatile stream input interface capable of handling both
byte-parallel and bit-serial streams, in various formats,
supportingdatastreamsuptoand including 13.5 Mbytes/s
(108 Mbits/s).Thestreamdataisfirstapplied to an on-chip
descrambler incorporating DVB descrambling algorithms,
onthe basis of 6 control word pairs stored in on-chip RAM.
Demultiplexing is subsequently applied to the stream, to
separate up to 40 individual data streams.
The demultiplexer section includes clock recovery and
timebase management.
Program Specific Information (PSI), Service
Information (SI), Conditional Access (CA) messages and
private data is selected and stored in external memory, for
subsequent off-line processing by the internal R3000
microcontroller core.
The SAA7215 is a MPEG2 source decoder which
combines audio decoding and video decoding.
AdditionallytothesebasicMPEG functions it also provides
means for enhanced graphics, background display and/or
on-screen display as well as encoding of output video.
Due to an optimized architecture for audio and video
decoding, maximum capacity in external memory and
processing power from the external CPU is available for
graphic support.
4.3Front-end
The front-end allows reception of channels transmitted by
satellite received via a satellite dish in combination with a
LNB. The outdoor unit can be controlled with:
• OFF/14 V/18 V pouring for polarisation steering
• 22 kHz tone switching control for band switching
• Digital Satellite Equipment Control (DiSEqC) V1.0.
4.4Front panel
4.4.1LNB INTERFACE
MastertransmitterDiSEqCcontrolis provided and14/18 V
switching is routed through the digital board to the
front-end utility connector. The possibility to disable the
DiSEqC on the front panel, allows for the next generation
QPSK front-end which will have DiSEqC control.
4.4.2IR
The on-board microcontroller decodes the IR commands
in RC5/6 format and relays via the serial link to the
SAA7219.
4.4.3KEYS
STANDBY, UP, DOWN, LEFT, RIGHT, OK and MENU
4.4.4SCART CONTROL
Pin 8 control as per the SCART specification for 16 × 9
and 4 × 3.
1999 Aug 2510
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
Pin 16 control as per SCART specification for RGB fast
blanking (in this case used to switch between RGB and
composite).
4.5Memory
4.5.1NON-VOLATILE MEMORY (NVM)
A 32-kbyte NVM is implemented with an EEPROM
connectedtotheI2C-bustoallowforchanneldatastorage,
etc.
4.5.2DRAM
2 Mbytes (1M × 16); 60 ns fast or hyper-page mode.
4.5.3BOOT ROM
256 kbytes (256 kbytes × 8) to allow for ROM boot up and
also to provide ROM emulation.
4.6Connectors
Table 3 The main board connectors
CONNECTORDESCRIPTION
Optical SPDIFa SPDIF signal from the SAA7215 is brought out via an optical output connector
SPDIFto allow connection of the Philips SAA2505 AC3/MPEG7.1 surround sound
SCART1 standard SCART, audio/video output signals only
3 phonos (RCAs)CVBS, right audio and left audio
SVHSthe Y/C output from the SAA7215 is brought out to a standard SVHS connector
CCIR 656 connectora connector to the CCIR 656 YUV output from the SAA7215
JTAGa standard JTAG connector for boundary scan testing
DEBUG sockettwo 64 pins DIN connectors form the debug socketallowing connection to a ROM emulator via
a debug interface board (not included)
RS232an additional RS232-C (±12 V) interface to provide a board connector for debug use; one half
of a suitable RS232 driver chip will be used for signal level conversion
IEEE 1394the Philips PDI1394L11 and PDI1394P11 is implemented to provide half-duplex 1394 access
from the SAA7219; under isolation mode the power for the physical IC will be taken from the
bus via the switching regulator; the option between isolated and non-isolated is selectable via
option links; two 1394 connectors are available on the back panel
IEEE 1294subject to Electro-Static Discharge (ESD), standard logic are implemented as buffers to
provide 1284 to a 25-way D-type female connector on the back panel
4.5.4FLASH
2 Mbytes [2 × (512K × 16)]; this can be is upgraded to
4 Mbytes [2 × (1M × 16)].
Two flash banks are needed to allow code to be run from
one bank while writing to the other.
4.5.5VIDEO AND GRAPHICS RAM
4 Mbytes SDRAM [2 × (1M × 16)] at 81 MHz.
4.5.6MEMORY OPTIONS
Surface mount links can select memory configuration.
Remark:theboot CS is selectable between boot ROM and
flash.
1999 Aug 2511
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
5SOFTWARE DESCRIPTION
5.1Software overview
5.1.1GENERAL SOFTWARE RESOURCES
• Real-time kernel
• Board support package
• Operating system abstraction package.
5.1.2APPLICATION LAYER
• Feature demonstration application.
5.1.3SYSTEM CONTROL LAYER
• Graphics library
• PSI processing
• Front panel communications
• IEEE 1394
• Satellite front-end component
• Teletext processing component.
5.1.4PLATFORM LAYER
• MPEG System Processor (MSP)
• Audio/video/graphics device driver
• Front panel device driver
• Flash memory device driver
• Non-Volatile Memory device driver
• Debug UART device driver
• IEEE 1394 device driver
• Smart card device driver
• IEEE 1284 device driver
• LNB device driver
• Satellite tuner device driver
• TDA8044A device driver.
5.1.5I/O DEVICE DRIVERS
5.2General software resources
This layer is used by all the layers. Typical parts are
real-time operating system functionality, C-library and
debug components.
5.3System control layer
Part of the system control layer provides functionalities
which are a compound of device driver functionality.
Examples of the system control layer components are
teletext, which uses the TS/PES package an part of MSP
devicedriverandtheAVGdevicedriver. Also the front-end
satellite component is a functional layer component, it
usestheLNBdevicedriver,thesatellite tuner device driver
and the TDA8044A device driver.
5.4Platform layer
Theplatform layers consists of set of platform drivers each
controlling a set-top box functionality that is implemented
in hardware. Examples of a set-top box functionality are
video decoding, audio decoding and section filtering. It is
possible that more than one platform driver can control a
physical hardware component (IC) if this component
provides a set of set-top box functions.
The interface of a platform driver consists of generic set of
functions.It is the intention not to directly specify hardware
interface functions but MPEG/DVB related functions.
In this way future generations of controlled hardware use
the same subset of interface functions. Some platform
drivers do not directly interface with the hardware but use
an I/O platform driver. Platform drivers are not allowed to
communicate with each other. If communicating is
required between platform drivers it is under control of a
component located in the functional layer.
The I/O platform drivers provide the functions when a
device driver does not directly have access to the
hardware. Examples of I/O device drivers are an I2C-bus
device driver and an UART device driver.
• Parallel I/O device driver
• I2C-bus device driver
• UART device driver.
1999 Aug 2512
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
5.5Application layer
This layer has been limited only to demonstrate the
possibilities that can be implemented at the application
layer.
5.5.1TOP LEVEL MENU
Main menu options:
• Installation menu
• Tuning menu
• Feature demonstration menu.
5.5.2INSTALLATION MENU
The installation menu is used to select the board
configuration options. The selected options are stored to
NVM.
Table 4 Board configuration options
ITEMCONFIGURATION OPTION
LNB setupon/off DiSeqC LNB and single or dual
band; note 1
Video standard PAL or NTSC; default PAL
SCARTpin 16 control (RGB or composite
video signalled)
Displayallows selection of 16 : 9 or 4 : 3
TV screen
5.5.3TUNING MENU
5.5.3.1Transponder setup
The transponder can be setup automatically or manually.
Selecting the automatic option gives the user the
possibility to sweep the band over a particular frequency
range at all symbol rates. All transponders found will be
logged and stored to NVM. The sweep can be started by
pressing the start button via the user controls.
Selecting the automatic network option will give the user
the possibility to sweep the band over a particular
frequency range at a user defined symbol rate.
The Network Information Table (NIT) from the first
transponder found will be read and the services known in
this NIT table will be logged and stored to NVM.
Table 5 Program setup
ITEMOPERATION
Source The source of the transport stream can be
selected between tuner and stream server. In
tuner mode the ability to change the selected
transponder is available.
ListingShows the current transport stream and the
possible audio PIDS for the selected service.
The service can be selected and the audio
PID chosen.
Note
1. With non-DiSEqC LNBs the control is simply by
14/18 V switching for polarity and in the case of a dual
band the use of 22 kHz signal (no modulation)
selecting the high band. With DiSEqC LNBs the
control is by sending DiSEqC commands via
modulation in the 22 kHz signal, (this means DiSEqC
level 1).
1999 Aug 2513
Selecting the manual option provides the user with the
ability to enter additional transponder data or to adjust
transponders found with an auto setup. To add a
transponder the correct frequency, symbol rate,
polarisation and Forward Error Correction (FEC) rate are
required.
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
5.5.4FEATURE DEMONSTRATION MENU
Table 6 Screens highlighting the main features of the Philips SAA7219/SAA7215 chip-set
SCREENFEATURE
Audio
Audio routing and
dual channel
Mutesound muted
Balancecontrol via a text box for left/right balance
Beepcontrol of the volume, frequency and duration; the beep can then be heard
LPCM demonstrationShow the possibility of decoding Linear Pulse Code Modulated (LPCM) audio samples. This
IEEE 1394
IEEE 1394 disableI/O of IEEE 1394 traffic can be disabled; IEEE 1394 will carry on relaying any IEEE 1394
Smart card
Smart carda service scrambled using the default keyword will be descrambled upon insertion of a smart
PC download
PC downloadWhen selected, the MPEG board will wait for the download of a BMP picture, via the
MIPS performance
MIPS performancethis will show the MIPS performance in drystones under the current setup
Block copyTo show a fast block copy, a bit map picture is copied across the screen. This function is also
Graphics
Text and drawingsa combination of different fonts and line drawings to demonstrate colour depth and resolution
Fast transferfast transfer feature; via IEEE 1284
Planes demodemonstration of the different graphics layers, by displaying quarter screen video over a
Fadecombination of video and graphic layers showing fading in and out of the graphics layer
Tilingone smaller picture is displayed multiple times in a user selectable rectangle
Hard-edge wipingtwo pictures in one plane, overlapping each other where the user can move and select the
Soft-edge wipingtwo user selectable and movable pictures in two planes, with transparency in the pictures
audio routing options: mono, stereo, LL and RR; dual channel options: channels 1 and 2, both
(1-L and 2-R)
besides the decoding of normal MPEG audio although both cannot be not done at the same
time. This feature is for example used to play uploaded audio samples.
A command is given when the audio and video decoding is running. This command will start
the demonstration. The function itself will play about 1 second of LPCM audio and will
continue with normal MPEG audio and video decoding afterwards.
between the two IEEE 1394 ports; also choose between input/output of data into systems
card which contains authorization to use the default keyword
IEEE 1284 port. Upon completion of the download the picture will be displayed, the progress
of the download is also displayed.
supported in HW but handling this in SW makes the function more flexible. The actual copying
is executed in the SAA7215 HW by the DMU. SW however has to upload the picture, initialize
and start the DMU with correct parameters. The cost however compared to the HW tiling is
processor and memory use.
capabilities
MPEG I frame background with superimposed text and cursor
pictures
1999 Aug 2514
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
SCREENFEATURE
Anti-flickeringThe anti-flickering demonstration highlights the functions available in the SAA7215 to reduce
the line flickering in graphics regions. During this demonstration, 2 graphics regions are
displayed. One with anti-flickering and one without. The contents of the bit map in the regions
is one that shows flickering without anti-flicker measures active. Video and audio decoding are
still active and visible during the demonstration.
Grab frame store to
OSD and scale
1
continuously location
1
Scale
⁄9 of
16 bits/pixel graphics
location
Menuduring all the demonstrations, graphics regions with menu bars and buttons are visible for
Scaling
Cut-outDisplay of 16 : 9 video on a 4 : 3 display by cutting out 4 : 3 centres and panning/scanning.
Letter-boxdisplay of 16 : 9 video on a 4 : 3 display using letter-boxing
Continuous
horizontal, vertical
steps
Video control
Video controlscan, freeze, play and stop
Teletext
Teletextswitch on and off of the VBI insertion by using a graphics region in VBI lines
Debug
Event logginguser enabled event logging provided via the RS232 debug socket
A picture of the running video is grabbed and displayed1⁄4 of its original size as a 16-bit, bit
⁄
map on a graphics plane. The picture data of an I or P picture is copied from a frame store to
4
SDRAM2 memory. During the copy the format of the data is converted from 4:2:0formatto
4:2:2andconvertedinto the graphics memory bit map format. Then the picture is displayed
on the screen.
The demonstration runs continuously. It displays the running video while a graphics
region1⁄4th of the screen size is in the top left corner. This graphics region is showing the
I and P pictures of the running video.
This demonstration shows a 16 bits/pixel bit map in an OSD region on the screen. This picture
will be scaled to a factor1⁄4and1⁄9 of the original size and displayed on the screen, after the
original is removed. The scaling is done by using a software routine that executes a DMU
program. During the demonstration, audio and video is playing.
control of the demonstration
This demonstration shows the pan/scan control via the left/right cursor keys. This function
would usually be under control from data in the transport stream.
allows a window to be selected using the cursor; the video will then be resized to fit the
selected window
1999 Aug 2515
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
6DEVELOPMENT ENVIRONMENT
Thischapter describes how to develop your own STB5860
application, what environment you need and what
hardware and software interface the system provides.
It details what is needed to start developing your
applicationandinadditionwilltellyouwhatyou will receive
with the system that gets you on your way and shorten
development time and reduce the costs involved.
6.1Summary of the STB5860 kit
WhenyoureceivetheSTB5860development system it will
offer you a complete set-top box system along with the
necessary documentation for development. This will give
you a ‘plug and play’ solution to test and develop a system
based on this platform.
6.1.1THE HARDWARE
This consists of a satellite front-end board, a front panel
with the display and IR-receiver, a main board, smart card
unit, the remote control and all cables needed to make the
necessary connections. On the main board you will find a
programmed EPROM and flash memory.
6.1.2THE SOFTWARE
You will receive not only the binary executable, but also all
source codes in C, header files and documentation files.
The software will include the complete Application
Programmers Interface (API) for all components on the
board, except for IEEE 1394, which will be a subset of the
standard. This API will offer a developers logical services
like audio, video, graphics, descrambling, etc. Together
with this you will get the Feature Demonstration
Application (FDS).This is an application that will show you
the key features of the system.
6.1.3DOCUMENTATION
Here you will find the user manual and programmers
reference for all major parts of the system like the
SAA7215(AVGdecoderchip),theSAA7219CPU MPEG2
stream transporter and the satellite front-end module
(OM5718).
6.1.4TEST REPORTS
These are included to prove the system maturity. You will
see the reports of the API tests and the reports concerning
theextensivein-systemtest.Thelatter is done to provethe
chip-set in a complete system environment, a customer
like set-up, customer use based on our experience with
previous end-customers.
6.2How to get started
The first day you receive the system you can hook up a
satellite dish or transport stream (DiSeqC or not), a TV,
connect power to the system and it will start with the FDS
program. This demo gives you a menu driven interface to
the system. You can test and experiment with all main
featuresofthesystem.Seehow fast the on-screen display
functions, try out the IEEE 1394 interface to a similar
board, look at window tests, try out teletext, etc. This will
give you an understanding of the system and its
possibilities.
6.3Hardware interface with the STB5860
Besides the dish and the TV (SCART, SVHS and
CCIR 656YUV)there is an interface to IEEE 1394, SPDIF
(multi-channel audio decoder), to a PC via RS232 and
IEEE 1284 (Centronics), a debug socket (ROM
emulator and I/O), JTAG connector (boundary scan
testing), smart card unit and a remote control.
To use a ROM emulator there are two I/O connectors on
the main printed-circuit board where an extension board
will fit on the debug connector. This extension gives you
access to two footprints for 1-Mbyte ROMs.
6.4Software interface with the STB5860
In the following way you can interface to the system to
develop and debug your own application. Connect a PC
(or other development system) with a ROM emulator to
extension board on the debug connector, compile the
supplied source code and load the executable in the ROM
emulator. Connect the RS232 debug port to the PC and
run a terminal program, this will give you a debug screen.
If you don’t have a ROM emulator you can use the parallel
port (IEEE 1284) of the set-top box. There is a loader
program embedded in the EPROM of the system which
allows development without ROM emulator.
The maximum possible memory configuration is as
follows.AbootROM(256 kbytes) with the loader program,
2 Mbytes fast DRAM as scratch memory, 32 kbytes NVM
for channel data storage, 4 Mbytes flash memory to store
the program and 4 Mbytes SDRAM video memory.
The boot chip select can be switched between boot ROM
and flash memory. Of course a smaller configuration is
possible, just leave the memory footprints open.
6.5Running ‘hello world’
We have supplied a small program which is called ‘hello
world’ to help you start developing your own software.
1999 Aug 2516
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
How can we get the supplied ‘hello world’ application
running if we work with a PC and a ROM emulator?
Connect the emulator to the STB5860 board via the
extension board. Then connect the PC RS232 port to the
STB5860 RS232 port. The program is running pSOS as
the read-time software. You need the pSOS libraries to
buildthesoftware.Compiletheplatformlayer(drivers),the
board support package and the ‘hello world’ program.
Load the executable in the ROM emulator and start the
program. You will see the ‘hello world’ text on the debug
window. You are now ready to start writing your own
application, with help from the programmers reference
documentation and user guide.
1999 Aug 2517
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
7CONTENTS LIST FOR STB5860
Table 7 Delivery list for the STB5860 system
SAA7219 IC specification
SAA7219 driver software programmer’s reference
SAA7219 user manual
SAA7215 IC specification without registers medium
SAA7215 driver software programmer’s reference
SAA7215 user manual
TDA8044 specification
87C524 specification
PDI1394L11 specification
PDI1394P11 specification
UDA1320 specification
TDA8004 specification
TDA8060 specification
TSA5512 specification
hardware definition document of main board
STB5860 system validation report
user guide of feature demonstration application
schematics OM5730, front panel
gerber files
check list
CablesRS232 cable and 1394 cable
SCARTand power cable
1999 Aug 2518
Philips SemiconductorsPreliminary specification
STB5860 (Set-Top Box) STB conceptOM5730
8DEFINITIONS
Data sheet status
Objective specificationThis data sheet contains target or goal specifications for product development.
Preliminary specificationThis data sheet contains preliminary data; supplementary data may be published later.
Product specificationThis data sheet contains final product specifications.
Limiting values
Limiting values given are in accordance with the Absolute Maximum Rating System (IEC 134). Stress above one or
more of the limiting values may cause permanent damage to the device. These are stress ratings only and operation
of the device at these or at any other conditions above those given in the Characteristics sections of the specification
is not implied. Exposure to limiting values for extended periods may affect device reliability.
Application information
Where application information is given, it is advisory and does not form part of the specification.
9LIFE SUPPORT APPLICATIONS
These products are not designed for use in life support appliances, devices, or systems where malfunction of these
products can reasonably be expected to result in personal injury. Philips customers using or selling these products for
use in such applications do so at their own risk and agree to fully indemnify Philips for any damages resulting from such
improper use or sale.
10 PURCHASE OF PHILIPS I
Purchase of Philips I
components in the I2C system provided the system conforms to the I2C specification defined by
Philips. This specification can be ordered using the code 9398 393 40011.
2
C COMPONENTS
2
C components conveys a license under the Philips’ I2C patent to use the
1999 Aug 2519
Philips Semiconductors – a w orldwide compan y
Argentina: see South America
Australia: 3 Figtree Drive, HOMEBUSH, NSW 2140,
United States: 811 East Arques Avenue, SUNNYVALE, CA 94088-3409,
Tel. +1 800 234 7381, Fax. +1 800 943 0087
Uruguay: see South America
Vietnam: see Singapore
Yugoslavia: PHILIPS, Trg N. Pasica 5/v, 11000 BEOGRAD,
Tel. +381 11 62 5344, Fax.+381 11 63 5777
For all other countries apply to: Philips Semiconductors,
International Marketing & Sales Communications, Building BE-p, P.O. Box 218,
5600 MD EINDHOVEN, The Netherlands, Fax. +31 40 27 24825
The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable andmaybechanged
without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license
under patent- or other industrial or intellectual property rights.
1999
Internet: http://www.semiconductors.philips.com
67
Printed in The Netherlands545004/25/01/pp20 Date of release: 1999 Aug 25Document order number: 9397 750 05377
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.