Philips SAA5290PS-092, SAA5290PS-107, SAA5290PS-108, SAA5290PS-128, SAA5290PS-129 Datasheet

...
0 (0)

INTEGRATED CIRCUITS

DATA SHEET

SAA5x9x family

Economy teletext and TV microcontrollers

Preliminary specification

1998 Dec 14

Supersedes data of 1997 Jul 07

File under Integrated Circuits, IC02

Philips Semiconductors

 

Preliminary specification

 

 

 

Economy teletext and TV microcontrollers

 

SAA5x9x family

 

 

 

 

 

 

 

 

 

CONTENTS

1 FEATURES

1.1General

1.2Microcontroller

1.3Teletext acquisition

1.4Teletext Display

1.5Additional features of SAA529xA devices

1.6Additional features of SAA549x devices

2

GENERAL DESCRIPTION

2.1Device masking history

3ORDERING INFORMATION

4QUICK REFERENCE DATA

5BLOCK DIAGRAM

6PINNING INFORMATION

6.1Pinning

6.2Pin description

7

FUNCTIONAL DESCRIPTION

7.1Microcontroller

7.280C51 features not supported

7.3Additional features

7.4Microcontroller interfacing

8

TELETEXT DECODER

8.1Data slicer

8.2Acquisition timing

8.3Teletext acquisition

8.4Rolling headers and time

8.5Error checking

8.6Memory organisation of SAA5296/7, SAA5296/7A and SAA5496/7

8.7Inventory page

8.8Memory organisation of SAA5290, SAA5290A, SAA5291, SAA5291A and SAA5491

8.9Packet 26 processing

8.10VPS

8.11Wide Screen Signalling (SAA529xA and SAA549x only)

8.12525-line world system teletext

8.13Fastext detection

8.14Page clearing

8.15Full channel operation

8.16Independent data services (SAA5290, SAA5290A, SAA5291, SAA5291A and SAA5491 only)

9

THE DISPLAY

9.1Introduction

9.2Character matrix

9.3East/West selection

9.4National option characters

9.5The twist attribute

9.6Language group identification

9.7525-line operation

9.8On-Screen Display characters

9.9Control characters

9.10Quadruple width display (SAA549x)

9.11Page attributes

9.12Display modes

9.13On-Screen Display boxes

9.14Screen colour

9.15Redefinable colours (SAA549x)

9.16Cursor

9.17Other display features

9.18Display timing

9.19Horizontal timing

9.20Vertical timing

9.21Display position

9.22Clock generator

9.23Reset signal

10 CHARACTER SETS

10.1Pan-European

10.2Cyrillic

10.3Greek/Turkish

10.4Arabic/English/French

10.5Thai

10.6Arabic/Hebrew

10.7Iranian

11LIMITING VALUES

12CHARACTERISTICS

13CHARACTERISTICS FOR THE I2C-BUS INTERFACE

14QUALITY AND RELIABILITY

15APPLICATION INFORMATION

16EMC GUIDELINES

17PACKAGE OUTLINES

18SOLDERING

18.1Introduction

18.2Through-hole mount packages

18.3Surface mount packages

18.4Suitability of IC packages for wave, reflow and dipping soldering methods

19DEFINITIONS

20LIFE SUPPORT APPLICATIONS

21PURCHASE OF PHILIPS I2C COMPONENTS

1998 Dec 14

2

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

1 FEATURES

1.1General

Single chip microcontroller with integrated teletext decoder

Single +5 V power supply

Single crystal oscillator for teletext decoder, display and microcontroller

Teletext function can be powered-down independently of microcontroller function for reduced power consumption in standby

Pin compatibility throughout family.

1.2Microcontroller

80C51 microcontroller core

16/32/64 kbyte mask programmed ROM

256/768/1280 bytes of microcontroller RAM

Eight 6-bit Pulse Width Modulator (PWM) outputs for control of TV analog signals

One 14-bit PWM for Voltage Synthesis Tuner control

Four 8-bit Analog-to-Digital converters

2 high current open-drain outputs for directly driving LEDs etc.

I2C-bus interface

External ROM and RAM capability on QFP80 package version.

1.3Teletext acquisition

1 page and 10 page Teletext version

Acquisition of 525-line and 625-line World System Teletext, with automatic selection

Acquisition and decoding of VPS data (PDC system A)

Page clearing in under 64 μs (1 TV line)

Separate storage of extension packets (SAA5296/7, SAA5296/7A and SAA5496/7)

Inventory of transmitted Teletext pages stored in the Transmitted Page Table (TPT) and Subtitle Page Table (SPT) (SAA5296/7, SAA5296/7A and SAA5496/7)

Automatic detection of FASTEXT transmission

Real-time packet 26 engine for processing accented (and other) characters

Comprehensive Teletext language coverage

Video signal quality detector.

1.4Teletext Display

525-line and 625-line display

12 × 10 character matrix

Double height, width and size On-Screen Display (OSD)

Definable border colour

Enhanced display features including meshing and shadowing

260 characters in mask programmed ROM

Automatic FRAME output control with manual override

RGB push-pull output to standard decoder ICs

Stable display via slave synchronisation to horizontal sync and vertical sync.

1.5Additional features of SAA529xA devices

Wide Screen Signalling (WSS) bit decoding (line 23).

1.6Additional features of SAA549x devices

Wide Screen Signalling bit decoding (line 23)

Quad width OSD capability

32 additional OSD characters in mask programmed ROM

8 foreground and 8 background colours definable from a palette of 64.

1998 Dec 14

3

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

2

GENERAL DESCRIPTION

 

The SAA529x, SAA529xA and SAA549x family of

 

microcontrollers are a derivative of the Philips’

 

industry-standard 80C51 microcontroller and are intended

 

for use as the central control mechanism in a television

 

receiver. They provide control functions for the television

 

system and include an integrated teletext function.

 

The teletext hardware has the capability of decoding and

 

displaying both 525-line and 625-line World System

 

Teletext. The same display hardware is used both for

 

Teletext and On-Screen Display, which means that the

 

display features give greater flexibility to differentiate the

 

TV set.

 

The family offers both 1 page and 10 page Teletext

 

capability, in a range of ROM sizes. Increasing display

 

capability is offered from the SAA5290 to the SAA5497.

 

2.1

Device masking history

 

A number of mask variants have been produced for the ETT family of devices. The current mask variants available are:

SAA5x90 M5A

SAA5x91 M1A

SAA5x96 M5A

SAA5x97 M1A.

There have been two design issues with the M1 mask, which required resolving, these brought about the introduction of the M1A mask:

Spanish G3 arrows

OSD twist effect.

The Spanish G3 arrows issue was only encountered on the Pan-European device, it became apparent that an up arrow and a right arrow were missing from the Spanish character map.

The OSD twist effect was inherent on all devices, although not visible on the Pan-European version. Essentially, OSD characters had the ability to set and reset the serial attribute “twist”. This effect is described in detail in Application note “SPG/AN97004 Version 1.0”.

1998 Dec 14

4

Philips Semiconductors

 

 

Preliminary specification

 

 

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

 

 

3 ORDERING INFORMATION

 

 

 

 

 

 

 

TYPE NUMBER(1)

 

PACKAGE

 

PROGRAM

 

 

 

NAME

DESCRIPTION

VERSION

MEMORY (ROM)

 

 

 

 

 

 

 

 

SAA5290PS/nnn

SDIP52

plastic shrink dual in-line package; 52 leads

SOT247-1

16 kbytes

 

 

(600 mil)

 

 

 

 

 

 

 

SAA5291PS/nnn

SDIP52

plastic shrink dual in-line package; 52 leads

SOT247-1

32 kbytes

 

 

(600 mil)

 

 

SAA5296PS/nnn

 

 

 

 

 

 

 

 

 

 

 

 

SAA5296APS/nnn

 

 

 

 

 

 

 

 

 

SAA5491PS/nnn

 

 

 

 

 

 

 

 

 

SAA5496PS/nnn

 

 

 

 

 

 

 

 

 

SAA5491H/nnn

QFP80

plastic quad flat package; 80 leads (lead length

SOT318-2

32 kbytes and external

 

 

1.95 mm); body 14 × 20 × 2.8 mm

 

 

 

 

 

 

 

SAA5297PS/nnn

SDIP52

plastic shrink dual in-line package; 52 leads

SOT247-1

64 kbytes

 

 

(600 mil)

 

 

SAA5297APS/nnn

 

 

 

 

 

 

 

 

 

 

 

 

SAA5497PS/nnn

 

 

 

 

 

 

 

 

 

SAA5297AH/nnn

QFP80

plastic quad flat package; 80 leads (lead length

SOT318-2

64 kbytes or external

 

 

1.95 mm); body 14 × 20 × 2.8 mm

 

 

SAA5497H/nnn

 

 

 

 

 

 

 

 

 

 

 

 

Note

1. ‘nnn’ is a three-digit number uniquely referencing the microcontroller program mask and OSD mask.

4 QUICK REFERENCE DATA

SYMBOL

PARAMETER

MIN.

TYP.

MAX.

UNIT

 

 

 

 

 

 

VDDA

supply voltages

4.5

5.0

5.5

V

VDDM

 

 

 

 

 

VDDT

 

 

 

 

 

fxtal

crystal frequency

12

MHz

Tamb

operating ambient temperature

20

+70

°C

IDDM

microcontroller supply current

20

35

mA

SAA5290, SAA5290A, SAA5291, SAA5291A and SAA5491

 

 

 

 

 

 

 

 

 

 

IDDA

analog supply current

35

50

mA

IDDT

teletext supply current

40

65

mA

SAA5296, SAA5296A, SAA5297, SAA5297A, SAA5496 and SAA5497

 

 

 

 

 

 

 

 

 

IDDA

analog supply current

35

50

mA

IDDT

teletext supply current

50

80

mA

1998 Dec 14

5

Philips SAA5290PS-092, SAA5290PS-107, SAA5290PS-108, SAA5290PS-128, SAA5290PS-129 Datasheet

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

5 BLOCK DIAGRAM

 

 

BLACK

IREF

VDDA

VDDM

VDDT VSSA

VSSD

 

CVBS0,

 

DATA SLICER

TELETEXT

 

 

 

DISPLAY

R, G, B,

CVBS1

 

ACQUISITION

 

 

VDS,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

COR

 

 

 

 

 

 

PAGE

 

 

 

 

 

 

ACQUISITION

 

RAM

 

 

VSYNC

 

 

 

 

 

 

DISPLAY

 

 

 

TIMING

 

 

 

HSYNC

 

 

 

 

 

 

TIMING

 

 

 

 

 

 

 

 

FRAME

 

 

SAA5x9x

 

 

 

 

 

 

XTALIN

 

 

 

 

 

 

 

 

XTALOUT

OSCILLATOR

 

512 × 8

32K × 8

256 × 8

TEXT

 

 

 

 

 

 

 

 

 

OSCGND

 

AUX RAM

ROM

RAM

INTERFACE

 

 

 

data

 

 

 

 

 

 

 

RESET

8051

address

 

 

 

 

 

 

 

MICRO-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CONTROLLER

I2C-BUS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

int

INTERFACE

TIMER/

 

 

 

 

 

 

 

 

ADC

PWM

 

 

 

 

 

 

 

 

 

 

 

 

CTRS

 

 

 

 

 

 

 

 

 

 

 

 

 

PORT 1

 

PORT 0

 

PORT 3

 

PORT 2

 

 

 

 

 

 

 

 

 

 

MGK462

 

 

P1.0 to P1.7

 

P0.0 to P0.7

P3.0 to P3.7

 

P2.0 to P2.7

 

 

 

 

Fig.1

Block diagram.

 

 

 

 

 

1998 Dec 14

 

 

 

6

 

 

 

 

 

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

6 PINNING INFORMATION

6.1Pinning

handbook, halfpage

1

 

52

P1.5

P2.0/TPWM

 

 

 

 

 

 

 

 

P2.1/PWM0

2

 

51

P1.4

 

 

 

 

 

 

 

P2.2/PWM1

3

 

50

P1.7/SDA

 

 

 

49

 

 

 

P2.3/PWM2

4

 

P1.6/SCL

 

 

 

 

 

 

 

P2.4/PWM3

5

 

48

P1.3/T1

 

 

 

47

 

 

 

P2.5/PWM4

6

 

P1.2/INT0

 

 

 

46

P1.1/T0

P2.6/PWM5

7

 

 

 

 

45

 

 

 

P2.7/PWM6

8

 

P1.0/INT1

 

 

 

 

VDDM

P3.0/ADC0

9

 

44

 

 

 

 

 

 

 

P3.1/ADC1

10

 

43

RESET

 

 

 

 

 

 

 

P3.2/ADC2

11

 

42

XTALOUT

 

 

 

 

 

 

 

P3.3/ADC3

12

 

41

XTALIN

 

 

 

 

 

 

 

VSSD

13

SAA5x9x

40

OSCGND

P0.0

 

 

VDDT

14

 

39

P0.1

15

 

 

VDDA

 

38

P0.2

16

 

 

 

 

 

 

37

VSYNC

 

 

 

 

 

 

 

P0.3

17

 

36

HSYNC

 

 

 

 

 

 

 

P0.4

18

 

35

VDS

P0.5

19

 

 

 

 

 

 

34

R

P0.6

20

 

 

 

 

 

 

33

G

 

 

 

 

 

 

 

P0.7

21

 

32

B

VSSA

 

 

 

 

 

 

22

 

31

RGBREF

 

 

 

 

 

 

 

CVBS0

23

 

30

P3.4/PWM7

 

 

 

 

 

 

 

CVBS1

24

 

29

COR

BLACK

 

 

 

VSSD

25

 

28

IREF

 

 

 

 

 

 

26

 

27

FRAME

 

 

 

 

 

 

 

 

 

MGK461

 

 

 

Fig.2 Pin configuration (SDIP52).

1998 Dec 14

7

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

handbook, full pagewidth

P2.6/PWM5 1

P2.7/PWM6 2

P3.0/ADC0 3

n.c. 4

P3.1/ADC1 5

P3.2/ADC2 6

P3.3/ADC3 7

P2.5/PWM4 8

P2.4/PWM3 9

RD 10

WR 11

VSSD 12

EA 13

P0.0 14

P0.1 15

P0.2 16

PSEN 17

ALE 18

REF19

P0.3 20

P0.4 21

P3.7 22

n.c. 23

P0.5 24

P2.3/PWM2

 

P2.2/PWM1

 

P2.1/PWM0

 

P2.0/TPWM

 

AD7

 

AD6

 

AD5

 

AD4

 

AD3

 

AD2

 

AD1

 

AD0

 

P1.5

 

P1.4

 

P1.7/SDA

 

P1.6/SCL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

80

 

79

 

78

 

77

 

76

 

75

 

74

 

73

 

72

 

71

 

70

 

69

 

68

 

67

 

66

 

65

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SAA5x9x

25

 

26

 

27

 

28

 

29

 

30

 

31

 

32

 

33

 

34

 

35

 

36

 

37

 

38

 

39

 

40

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P0.6

 

P0.7

 

SSA

 

CVBS0

 

CVBS1

 

BLACK

 

IREF

 

A15

 

A14

 

A13

 

A12

 

FRAME

 

SSD

 

COR

 

RGBREF

 

B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

V

 

 

 

 

64 P1.1/T0

63 P1.0/INT1

62 VDDM

61 P1.3/T1

60 P1.2/INT0

59 RESET

58 XTALOUT

57 XTALIN

56 OSCGND

55 A8

54 A9

53 A10

52 A11

51 VDDT

50 REF+

49 VDDA

48 P3.6

47 VSYNC

46 P3.5

45 HSYNC

44 P3.4/PWM7

43 VDS

42 R

41 G

MGL157

Fig.3 Pin configuration (QFP80).

1998 Dec 14

8

Philips Semiconductors

 

 

 

Preliminary specification

 

 

 

 

 

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

 

 

 

 

 

6.2 Pin description

 

 

 

 

Table 1 SDIP52 and QFP80 packages

 

 

 

 

 

 

 

 

 

 

 

SYMBOL

 

PIN

DESCRIPTION

 

 

 

 

 

 

 

SDIP52

 

QFP80

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P2.0/TPWM

1

 

77

Port 2: 8-bit open-drain bidirectional port with alternative functions.

 

 

 

 

 

 

 

 

P2.1/PWM0

2

 

78

P2.0/TPWM is the output for the 14-bit high precision PWM.

 

 

 

 

 

 

 

P2.2/PWM1

3

 

79

P2.1/PWM0 to P2.7/PWM6 are the outputs for the 6-bit PWMs 0 to 6.

 

 

 

 

 

 

 

P2.3/PWM2

4

 

80

 

 

 

 

 

 

 

 

 

 

 

 

P2.4/PWM3

5

 

9

 

 

 

 

 

 

 

 

 

 

P2.5/PWM4

6

 

8

 

 

 

 

 

 

 

 

 

 

P2.6/PWM5

7

 

1

 

 

 

 

 

 

 

 

 

 

P2.7/PWM6

8

 

2

 

 

 

 

 

 

 

 

 

P3.0/ADC0

9

 

3

Port 3: 8-bit open-drain bidirectional port with alternative functions.

 

 

 

 

 

 

 

 

P3.1/ADC1

10

 

5

P3.0/ADC0 to P3.3/ADC3 are the inputs for the software ADC facility.

 

 

 

 

 

 

 

P3.2/ADC2

11

 

6

P3.4/PWM7 is the output for the 6-bit PWM7.

 

 

 

 

 

 

 

 

 

P3.3/ADC3

12

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.4/PWM7

30

 

44

 

 

 

 

 

 

 

 

 

 

P3.5

 

46

 

 

 

 

 

 

 

 

 

 

P3.6

 

48

 

 

 

 

 

 

 

 

 

 

P3.7

 

22

 

 

 

 

 

 

 

 

 

 

VSSD

13

 

12

Digital ground.

 

 

P0.0

14

 

14

Port 0: 8-bit open-drain bidirectional port.

 

 

 

 

 

 

 

 

 

P0.1

15

 

15

P0.5 and P0.6 have 10 mA current sinking capability for direct drive of LEDs.

 

 

 

 

 

 

 

P0.2

16

 

16

 

 

 

 

 

 

 

 

 

 

P0.3

17

 

20

 

 

 

 

 

 

 

 

 

 

P0.4

18

 

21

 

 

 

 

 

 

 

 

 

 

P0.5

19

 

24

 

 

 

 

 

 

 

 

 

 

P0.6

20

 

25

 

 

 

 

 

 

 

 

 

 

P0.7

21

 

26

 

 

 

 

 

 

 

 

 

 

VSSA

22

 

27

Analog ground.

 

 

CVBS0

23

 

28

Composite video inputs; a positive-going 1 V (peak-to-peak) input is required,

 

 

 

 

 

 

connected via a 100 nF capacitor.

 

 

CVBS1

24

 

29

 

 

 

 

 

 

 

 

 

 

 

 

BLACK

25

 

30

Video black level storage input: this pin should be connected to VSSA via a

 

 

 

 

 

 

100 nF capacitor.

 

 

 

 

 

 

 

 

IREF

26

 

31

Reference current input for analog circuits, connected to VSSA via a 27 kΩ

 

 

 

 

 

 

resistor.

 

 

 

 

 

 

 

 

FRAME

27

 

36

De-interlace output synchronised with the VSYNC pulse to produce a

 

 

 

 

 

 

non-interlaced display by adjustment of the vertical deflection circuits.

 

 

 

 

 

 

 

VSSD

28

 

37

Internally connected; this pin should be connected to digital ground.

 

 

 

29

 

38

Open-drain, active LOW output which allows selective contrast reduction of

 

COR

 

 

 

 

 

 

 

 

the TV picture to enhance a mixed mode display.

 

 

 

 

 

 

 

 

 

1998 Dec 14

9

Philips Semiconductors

 

 

 

Preliminary specification

 

 

 

 

 

 

 

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SYMBOL

 

PIN

DESCRIPTION

 

 

 

 

 

 

 

SDIP52

 

QFP80

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RGBREF

31

 

39

DC input voltage to define the output HIGH level on the RGB pins.

 

 

 

 

 

 

 

 

B

32

 

40

Pixel rate output of the BLUE colour information.

 

 

 

 

 

 

 

 

 

G

33

 

41

Pixel rate output of the GREEN colour information.

 

 

 

 

 

 

 

 

 

R

34

 

42

Pixel rate output of the RED colour information.

 

 

 

 

 

 

 

 

VDS

35

 

43

Video/data switch push-pull output for dot rate fast blanking.

 

 

 

 

 

 

 

HSYNC

36

 

45

Schmitt trigger input for a TTL level version of the horizontal sync pulse; the

 

 

 

 

 

 

 

 

polarity of this pulse is programmable by register bit TXT1.H POLARITY.

 

 

 

 

 

 

 

VSYNC

37

 

47

Schmitt trigger input for a TTL level version of the vertical sync pulse;

 

 

 

 

 

 

 

 

the polarity of this pulse is programmable by register bit TXT1.V POLARITY.

 

 

 

 

 

 

 

 

VDDA

38

 

49

+5 V analog power supply.

 

 

VDDT

39

 

51

+5 V teletext power supply.

 

 

OSCGND

40

 

56

Crystal oscillator ground.

 

 

 

 

 

 

 

 

 

XTALIN

41

 

57

12 MHz crystal oscillator input.

 

 

 

 

 

 

 

 

 

XTALOUT

42

 

58

12 MHz crystal oscillator output.

 

 

 

 

 

 

 

 

RESET

43

 

59

For a recommended reset circuit refer to the application diagram shown in

 

 

 

 

 

 

 

 

Fig.29.

 

 

 

 

 

 

 

 

 

VDDM

44

 

62

+5 V microcontroller power supply.

 

 

P1.0/INT1

45

 

63

Port 1: 8-bit open-drain bidirectional port with alternate functions.

 

 

 

 

 

 

 

 

P1.1/T0

46

 

64

P1.0/INT1 is external interrupt 1 which can be triggered on the rising and

 

 

 

 

 

 

 

 

 

P1.2/INT0

47

 

60

falling edge of the pulse.

 

 

 

 

 

 

 

 

 

P1.3/T1

48

 

61

P1.1/T0 is the counter/timer 0.

 

 

 

 

 

 

 

 

 

 

 

P1.6/SCL

49

 

65

P1.2/INT0 is external interrupt 0.

 

 

 

 

 

 

 

 

 

 

 

P1.7/SDA

50

 

66

 

 

 

P1.3/T1 is the counter/timer 1.

 

 

 

 

 

 

 

 

 

 

 

P1.4

51

 

67

 

 

 

 

 

 

 

 

 

 

 

 

 

P1.6/SCL is the serial clock input for the I2C-bus.

 

 

P1.5

52

 

68

 

 

 

 

 

 

 

 

 

 

 

 

 

P1.7/SDA is the serial data port for the I2C-bus.

 

 

REF+

 

50

Positive reference voltage for software driven ADC.

 

 

 

 

 

 

 

 

REF

 

19

Negative reference voltage for software driven ADC.

 

 

 

 

 

 

 

 

RD

 

10

Read control signal to external Data Memory.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

11

Write control signal to external Data Memory.

 

 

WR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

17

Enable signal for external Program Memory.

 

 

PSEN

 

 

 

 

 

 

 

 

 

 

 

ALE

 

18

External latch enable signal; active HIGH.

 

 

 

 

 

 

 

 

 

 

 

 

 

13

Control signal used to select external (LOW) or internal (HIGH) Program

 

EA

 

 

 

 

 

 

 

 

 

 

Memory.

 

 

 

 

 

 

 

 

AD0 to AD7

 

69 to 76

Address lines A0 to A7 multiplexed with data lines D0 to D7.

 

 

 

 

 

 

A8 to A15

 

55 to 52,

Address lines A8 to A15.

 

 

 

 

 

 

 

 

35 to 32

 

 

 

 

 

 

 

 

 

 

 

 

1998 Dec 14

10

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

7 FUNCTIONAL DESCRIPTION

7.1Microcontroller

The functionality of the microcontroller used in this family is described here with reference to the industry-standard 80C51 microcontroller. A full description of its functionality can be found in the “80C51-Based 8-Bit Microcontrollers; Data Handbook IC20”. Using the 80C51 as a reference, the changes made to this family fall into two categories:

Features not supported by the SAA529x, SAA529xA or SAA549x devices

Features found on the SAA529x, SAA529xA or SAA549x devices but not supported by the 80C51.

7.280C51 features not supported

7.2.1INTERRUPT PRIORITY

The IP SFR is not implemented and all interrupts are treated with the same priority level. The normal prioritisation of interrupts is maintained within the level.

Table 2 Interrupts and vectors address

INTERRUPT SOURCE

VECTOR ADDRESS

 

 

Reset

000H

 

 

External INT0

003H

 

 

Timer 0

00BH

 

 

External INT1

013H

 

 

Timer 1

01BH

 

 

Byte I2C-bus

02BH

Bit I2C-bus; note 1

053H

Note

1.SAA5290, SAA5290A, SAA5291, SAA5291A and SAA5491 only.

7.2.2OFF-CHIP MEMORY

The SDIP52 version does not support the use of off-chip program memory or off-chip data memory.

7.2.3IDLE AND POWER-DOWN MODES

As Idle and Power-down modes are not supported, their respective bits in PCON are not available.

7.2.4UART FUNCTION

The 80C51 UART is not available. As a consequence the SCON and SBUF SFRs are removed and the ES bit in the IE SFR is unavailable.

7.3Additional features

The following features are provided in addition to the standard 80C51 features.

7.3.1INTERRUPTS

The external INT1 interrupt is modified to generate an interrupt on both the rising and falling edges of the INT1 pin, when EX1 bit is set. This facility allows for software pulse width measurement for handling of a remote control.

7.3.2BIT LEVEL I2C-BUS INTERFACE

For reasons of compatibility with SAA5290 and SAA5290A, the SAA5291, SAA5291A and SAA5491 contain a bit level serial I/O which supports the I2C-bus. P1.6/SCL and P1.7/SDA are the serial I/O pins. These two pins meet the I2C-bus specification “The I2C-bus and how to use it (including specifications)” concerning the input levels and output drive capability. Consequently, these two pins have an open-drain output configuration. All the four following modes of the I2C-bus are supported.

Master transmitter

Master receiver

Slave transmitter

Slave receiver.

Three SFRs support the function of the bit-level I2C-bus hardware: S1INT, S1BIT and S1SCS and are enabled by setting register bit TXT8.I2C SELECT to logic 0.

7.3.3BYTE LEVEL I2C-BUS INTERFACE

The byte level serial I/O supports the I2C-bus protocol. P1.6/SCL and P1.7/SDA are the serial I/O pins. These two pins meet the I2C-bus specification concerning the input levels and output drive capability. Consequently, these two pins have an open-drain output configuration.

The byte level I2C-bus serial port is identical to the I2C-bus serial port on the 8xC552. The operation of the subsystem is described in detail in the 8xC552 data sheet found in

“80C51-Based 8-Bit Microcontrollers; Data Handbook IC20”.

Four SFRs support the function of the byte level I2C-bus hardware, they are S1CON, S1STA, S1DAT and S1ADR and are enabled by setting register bit TXT8.I2C SELECT to logic 1.

7.3.4LED SUPPORT

Port pins P0.5 and P0.6 have a 10 mA current sinking capability to enable LEDs to be driven directly.

1998 Dec 14

11

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

7.3.5 6-BIT PWM DACS

 

Eight 6-bit DACs are available to allow direct control of analog parts of the television.

 

Each low resolution 6-bit DAC is controlled by its associated Special Function Register (PWM0 to PWM7). The PWM outputs are alternative functions of Port 2 and Port 3.4. The PWE bit in the SFR for the port corresponding to the PWM output should be set to logic 1 for correct operation of the PWM output, e.g. if PWM0 is to be used, P2.1 should be set to logic 1 setting the port pin to high-impedance.

7.3.5.1Pulse Width Modulator Registers (PWM0 to PWM7)

Table 3 Pulse Width Modulator Registers (see Table 10 for addresses)

7

6

5

 

4

3

2

1

0

 

 

 

 

 

 

 

 

 

PWE

PV5

 

PV4

PV3

PV2

PV1

PV0

 

 

 

 

 

 

 

 

 

Table 4 Description of PWMn bits (n = 0 to 7)

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT

SYMBOL

 

 

 

DESCRIPTION

 

 

 

 

 

7

PWE

If PWE is set to a logic 1, the corresponding PWM is active and controls its assigned

 

 

port pin. If PWE is set to a logic 0, the port pin is controlled by the corresponding bit in

 

 

the port SFR.

 

 

 

 

 

 

 

 

 

 

 

 

 

6

Not used.

 

 

 

 

 

 

 

 

5

PV5

The output of the PWM is a pulse of period 21.33 μs with a pulse HIGH time determined

 

 

by the binary value of these 6-bits multiplied by 0.33 μs. PV5 is the most significant bit.

4

PV4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

PV3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

PV2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

PV1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

PV0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1998 Dec 14

12

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

7.3.614-BIT PWM DAC

One 14-bit DAC is available to allow direct control of analog sections of the television. The 14-bit PWM is controlled using Special Function Registers TDACL and TDACH.

The output of the TPWM is a pulse of period 42.66 μs. The 7 most significant bits, TDACH.TD13 (MSB) to TDACH.TD8 and TDACL.TD7, alter the pulse width between 0 and 42.33 μs, in much the same way as in the 6-bit PWMs.

7.3.6.1TPWM High Byte Register (TDACH)

The 7 least significant bits, TDACL.TD6 to TDACL.TD0 (LSB), extend certain pulses by a further 0.33 μs, e.g. if the 7 least significant bits are given the value 01H, then

1 in 128 cycles is extended. If the 7 least significant bits are given the value 02H, then 2 in 128 cycles is extended, and so forth.

The TPWM will not start to output a new value until after writing a value to TDACH. Therefore, if the value is to be changed, TDACL should be written to before TDACH.

Table 5 TPWM High Byte Register (SFR address D3H)

7

6

5

4

 

3

2

1

 

0

 

 

 

 

 

 

 

 

 

 

PWE

TD13

TD12

 

TD11

TD10

TD9

 

TD8

 

 

 

 

 

 

 

 

 

 

Table 6 Description of TDACH bits

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT

SYMBOL

 

 

 

DESCRIPTION

 

 

 

 

 

 

7

PWE

If PWE is set to a logic 1, the TPWM is active and controls port line P2.0. If PWE is set

 

 

to a logic 0, the port pin is controlled by the corresponding bit in the port SFR.

 

 

 

 

 

 

 

 

 

 

 

6

Not used.

 

 

 

 

 

 

 

 

 

 

5

TD13

These 6-bits along with bit TD7 in the TDACL register control the pulse width period.

 

 

TD13 is the most significant bit.

 

 

 

 

 

4

TD12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

TD11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

TD10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

TD9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

TD8

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7.3.6.2TPWM Low Byte Register (TDACL)

Table 7

TPWM Low Byte Register (SFR address D2H)

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

TD7

TD6

TD5

TD4

TD3

TD2

TD1

TD0

 

 

 

 

 

 

 

 

 

Table 8

Description of TDACL bits

 

 

 

 

 

 

 

 

 

 

 

 

BIT

SYMBOL

 

 

DESCRIPTION

 

 

 

 

 

 

7

 

TD7

This bit is used with bits TD13 to TD8 in the TDACH register to control the pulse width

 

 

 

period.

 

 

 

 

 

 

 

 

 

 

6 to 0

TD6 to TD0

These 7-bits extend certain pulses by a further 0.33 μs.

 

 

 

 

 

 

 

 

 

 

 

1998 Dec 14

13

Philips Semiconductors

Preliminary specification

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

7.3.7SOFTWARE ADC

Up to 4 successive approximation ADCs can be implemented in software by making use of the on-chip 8-bit DAC and multiplexed voltage comparator. The software ADC uses 4 analog inputs which are multiplexed with P3.0 to P3.3.

Table 9 ADC input channel selection

CH1

CH0

INPUT PIN

 

 

 

0

0

P3.3/ADC3

 

 

 

0

1

P3.0/ADC0

 

 

 

1

0

P3.1/ADC1

 

 

 

1

1

P3.2/ADC2

 

 

 

The control of the ADC is achieved using the Special Function Registers SAD and SADB.

SAD.CH1 and SAD.CH0 select one of the four inputs to pass to the comparator. The other comparator input comes from the DAC, whose value is set by SAD.SAD7 (MSB) to SAD.SAD4 and SADB.SAD3 to SADB.SAD0 (LSB).

The setting of the value SAD.SAD7 to SAD.SAD4 must be performed at least 1 instruction cycle before the setting of SAD.ST to ensure comparison is made using the correct SAD.SAD7 to SAD.SAD4 value.

The output of the comparator is SAD.VHI, and is valid after 1 instruction cycle following the setting of SAD.ST to a logic 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

handbook, halfpage

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.0

 

 

 

 

 

 

ST

 

 

 

C1

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.1

 

MULTIPLEXER

 

 

 

 

 

 

 

 

 

 

 

 

1D

 

VH1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3.3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

8-BIT DAC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CH1, CH0

REF

REF+

 

 

 

 

 

 

 

 

SAD7 to SAD0

MGL115

Fig.4 SAD block diagram.

1998 Dec 14

14

 

_

 

 

 

 

 

 

 

 

 

 

 

 

1998

7.4 Microcontroller interfacing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Dec

The 80C51 communicates with the peripheral functions using Special Function Registers (SFRs) which are addressed as RAM locations. The registers

in the teletext decoder appear as normal SFRs in the microcontroller memory map, but are written to using an internal serial bus. The SFR map is given

 

14

in Table 10.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7.4.1 SPECIAL FUNCTION REGISTER MAP

 

 

 

 

 

 

 

 

 

 

Table 10 Special Function Register map; note 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIRECT

 

 

BIT ADDRESS, SYMBOL OR ALTERNATIVE PORT FUNCTION

 

RESET

 

SYMBOL

NAME

ADDR.

 

 

 

 

 

 

 

 

 

VALUE

 

 

7

6

5

4

3

2

1

0

 

 

 

(HEX)

 

(HEX)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACC(2)

Accumulator

E0

 

E7

E6

E5

E4

E3

E2

E1

E0

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

B(2)

B register

F0

 

F7

F6

F5

F4

F3

F2

F1

F0

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DPTR

Data Pointer

 

 

 

 

 

 

 

 

 

 

 

 

 

(2 bytes)

 

 

 

 

 

 

 

 

 

 

 

 

DPH

High byte

83

 

00

15

DPL

Low byte

82

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IE(2)(3)

Interrupt

A8

 

AF

AE

AD

AC

AB

AA

A9

A8

00

 

 

Enable

 

 

EA

ES1

ES2

(1)

ET1

EX1

ET0

EX0

 

 

P0(2)

Port 0

80

 

87

86

85

84

83

82

81

80

FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P1(2)

Port 1

90

 

97

96

95

94

93

92

91

90

FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P2(2)

Port 2

A0

 

A7

A6

A5

A4

A3

A2

A1

A0

FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P3(2)(3)

Port 3

B0

 

B7

B6

B5

B4

B3

B2

B1

B0

FF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PCON(3)

Power Control

87

 

ARD

(1)

GF1

GF0

10

microcontrollers TV and teletext Economy

family SAA5x9x

Semiconductors Philips

specification Preliminary

 

_

 

 

 

 

 

 

 

 

 

 

 

1998

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIRECT

 

BIT ADDRESS, SYMBOL OR ALTERNATIVE PORT FUNCTION

 

RESET

 

 

 

 

 

14Dec

SYMBOL

NAME

ADDR.

 

 

 

 

 

 

 

 

VALUE

D7

D6

D5

D4

D3

D2

D1

D0

PSW(2)

Program

D0

00

 

 

 

(HEX)

7

6

5

4

3

2

1

0

(HEX)

 

 

 

 

 

 

 

 

 

 

 

 

 

Status Word

 

 

 

 

 

 

 

 

 

 

 

 

 

CY

AC

F0

RS1

RS0

OV

(1)

P

 

 

PWM0(3)

Pulse Width

D5

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM1(3)

Pulse Width

D6

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM2(3)

Pulse Width

D7

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM3(3)

Pulse Width

DC

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM4(3)

Pulse Width

DD

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 4

 

 

 

 

 

 

 

 

 

 

 

PWM5(3)

Pulse Width

DE

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM6(3)

Pulse Width

DF

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

16

 

Modulator 6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWM7(3)

Pulse Width

D4

PWE

(1)

PV5

PV4

PV3

PV2

PV1

PV0

40

 

 

Modulator 7

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1ADR(3)

Serial

DB

ADR6

ADR5

ADR4

ADR3

ADR2

ADR1

ADR0

GC

00

 

 

I2C-bus

 

 

 

 

 

 

 

 

 

 

 

 

address

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1CON

Serial

D8

DF

DE

DD

DC

DB

DA

D9

D8

 

 

(2)(3)(4)

I2C-bus

 

 

 

 

 

 

 

 

 

 

 

 

CR2

ENSI

STA

STO

SI

AA

CR1

CR0

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1SCS

Serial

D8

DF

DE

DD

DC

DB

DA

D9

D8

 

 

(2)(3)(5)

I2C-bus

 

 

 

 

 

 

 

 

 

 

 

 

SDI

SCI

CLH

BB

RBF

WBF

STR

ENS

E0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1DAT(3)(4)

Serial

DA

DAT7

DAT6

DAT5

DAT4

DAT3

DAT2

DAT1

DAT0

00

 

 

I2C-bus data

 

 

 

 

 

 

 

 

 

 

 

S1INT(3)(5)

Serial

DA

SI

7F

 

 

I2C-bus

 

 

 

 

 

 

 

 

 

 

 

 

Interrupt

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

microcontrollers TV and teletext Economy

family SAA5x9x

Semiconductors Philips

specification Preliminary

 

_

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1998

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIRECT

 

BIT ADDRESS, SYMBOL OR ALTERNATIVE PORT FUNCTION

 

RESET

 

 

 

 

 

14 Dec

SYMBOL

NAME

ADDR.

 

 

 

 

 

 

 

 

 

 

 

 

VALUE

7

6

 

5

4

3

2

 

1

0

 

 

(HEX)

 

 

(HEX)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1STA(3)(4)

Serial

D9

STAT4

STAT3

STAT2

STAT1

STAT0

0

 

0

0

F8

 

 

I2C-bus status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1BIT(3)(5)

Serial

D9

SDO/SDI

7F

 

 

I2C-bus data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SAD(2)(3)

Software

E8

EF

EE

ED

EC

EB

EA

E9

E8

00

 

 

ADC (MSB)

 

VHI

CH1

CH0

ST

SAD7

SAD6

SAD5

SAD4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SADB(2)(3)

Software

98

9F

9E

9D

9C

9B

9A

99

98

00

 

 

ADC (LSB)

 

SAD3

SAD2

SAD1

SAD0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SP

Stack Pointer

81

8F

8E

8D

8C

8B

8A

89

88

07

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TCON(2)

Timer/counter

88

TF1

TR1

TF0

TR0

IE1

IT1

IE0

IT0

00

 

 

control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TDACH

TPWM

D3

PWE

(1)

TD13

TD12

TD11

TD10

TD9

TD8

40

 

 

High byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TDACL

TPWM

D2

TD7

TD6

TD5

TD4

TD3

TD2

TD1

TD0

00

17

 

Low byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TH0

Timer 0

8C

TH07

TH06

TH05

TH04

TH03

TH02

TH01

TH00

00

 

 

 

High byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TH1

Timer 1

8D

TH17

TH16

TH15

TH14

TH13

TH12

TH11

TH10

00

 

 

High byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TL0

Timer 0

8A

TL07

TL06

TL05

TL04

TL03

TL02

TL01

TL00

00

 

 

Low byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TL1

Timer 1

8B

TL17

TL16

TL15

TL14

TL13

TL12

TL11

TL10

00

 

 

Low byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TMOD

Timer/counter

89

GATE

 

 

 

M1

M0

GATE

 

 

 

M1

M0

00

 

C/T

 

C/T

 

 

mode

 

 

 

 

Timer 1

 

 

 

 

Timer 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT0(3)(6)

Teletext

C0

X24 POSN

DISPLAY

AUTO

DISABLE

DISPLAY

DISABLE

VPS ON

INV ON

00

 

 

Register 0

 

 

X24

FRAME

HDR

STATUS

FRAME

 

 

 

 

 

 

 

 

 

 

 

 

ROLL

ROW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ONLY

 

 

 

 

 

 

 

TXT1(3)(6)

Teletext

C1

EXT PKT

8BIT

ACQ OFF

X26

FULL

FIELD

H

V

00

 

 

Register 1

 

OFF

 

 

 

 

OFF

FIELD

POLARITY

POLARITY

POLARITY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

microcontrollers TV and teletext Economy

family SAA5x9x

Semiconductors Philips

specification Preliminary

 

_

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1998

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIRECT

 

 

 

BIT ADDRESS, SYMBOL OR ALTERNATIVE PORT FUNCTION

 

 

 

RESET

 

 

 

 

 

 

 

 

 

14 Dec

SYMBOL

NAME

ADDR.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VALUE

7

6

 

5

 

4

 

 

3

2

1

0

 

 

 

(HEX)

 

 

 

 

 

(HEX)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT2(3)(6)

Teletext

C2

 

(1)

REQ3

 

 

REQ2

 

REQ1

REQ0

SC2

SC1

 

SC0

00

 

 

Register 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT3(3)(6)

Teletext

C3

 

(1)

(1)

 

 

(1)

 

PRD4

PRD3

PRD2

PRD1

 

PRD0

00

 

 

Register 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT4(3)(6)

Teletext

C4

 

OSD

QUAD

 

 

EAST/

DISABLE

B MESH

C MESH

TRANS

SHADOW

00

 

 

Register 4

 

 

BANK

WIDTH

 

 

WEST

 

DBL HT

ENABLE

ENABLE

ENABLE

ENABLE

 

 

 

 

 

ENABLE

ENABLE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT5(3)(6)

Teletext

C5

 

BKGND

BKGND IN

 

 

 

OUT

 

 

 

IN

TEXT

TEXT IN

PICTURE

PICTURE

03

 

 

 

COR

 

COR

 

 

Register 5

 

 

OUT

 

 

 

 

 

 

 

 

 

 

 

OUT

 

ON OUT

 

ON IN

 

 

TXT6(3)(6)

Teletext

C6

 

BKGND

BKGND IN

 

 

 

OUT

 

 

 

IN

TEXT

TEXT IN

PICTURE

PICTURE

03

 

 

 

COR

 

COR

 

 

Register 6

 

 

OUT

 

 

 

 

 

 

 

 

 

 

 

OUT

 

ON OUT

 

ON IN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT7(3)(6)

Teletext

C7

STATUS

CURSOR

 

REVEAL

 

 

 

 

 

DOUBLE

BOX ON

BOX ON

BOX ON

00

 

 

 

 

TOP/

 

 

 

Register 7

 

ROW TOP

ON

 

 

 

 

 

BOTTOM

HEIGHT

24

1-23

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT8(3)(6)

Teletext

C8

 

I2C

IDS

 

 

(1)

DISABLE

PKT26

WSS

WSS ON

 

 

 

00

 

 

 

 

CVBS0/

 

 

 

Register 8

 

SELECT

ENABLE

 

 

 

 

 

SPANISH

RECEIVE

RECEIVE

 

 

CVBS1

 

18

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT9(3)(6)

Teletext

C9

CURSOR

CLEAR

 

 

A0

 

 

R4

R3

R2

R1

 

R0

00

 

 

 

 

 

 

 

 

Register 9

 

FREEZE

MEMORY.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT10(3)(6)

Teletext

CA

 

(1)

(1)

 

 

C5

 

 

C4

C3

C2

C1

 

C0

00

 

 

Register 10

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT11(3)(6)

Teletext

CB

 

D7

D6

 

 

D5

 

 

D4

D3

D2

D1

 

D0

00

 

 

Register 11

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT12(3)(6)

Teletext

CC

 

 

 

ROM

 

 

ROM

 

ROM

ROM

ROM VER

TXT ON

 

VIDEO

0XXXX

 

 

625/525

 

 

 

 

 

 

Register 12

 

 

SYNC

VER R4

 

VER R3

VER R2

VER R1

R0

 

SIGNAL

X00B

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUALITY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT13(2)(3)

Teletext

B8

 

BF

BE

 

 

BD

 

 

BC

BB

BA

B9

 

B8

00

 

(6)

Register 13

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

VPS

PAGE

 

525

 

525 TEXT

625

PKT

FASTEXT

 

TIB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RECEIVE

CLEARIN

 

DISPLAY

 

 

 

 

 

TEXT

8/30

 

 

 

 

 

 

 

 

 

 

D

G

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT14(3)(6)

Teletext

CD

 

 

 

 

 

 

 

 

PAGE3

PAGE2

PAGE1

 

PAGE0

00

 

 

Register 14

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

microcontrollers TV and teletext Economy

family SAA5x9x

Semiconductors Philips

specification Preliminary

 

_

 

 

 

 

 

 

 

 

 

 

 

1998

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIRECT

 

BIT ADDRESS, SYMBOL OR ALTERNATIVE PORT FUNCTION

 

RESET

 

 

 

 

 

14 Dec

SYMBOL

NAME

ADDR.

 

 

 

 

 

 

 

 

VALUE

7

6

5

4

3

2

1

0

 

 

(HEX)

(HEX)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT15(3)(6)

Teletext

CE

BLOCK3

BLOCK2

BLOCK1

BLOCK0

00

 

 

Register 15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TXT16(3)(6)

Teletext

CF

Y2

Y1

Y0

X1

X0

00

 

 

Register 16

 

 

 

 

 

 

 

 

 

 

 

TXT17(3)(6)

Teletext

B9

FORCE

FORCE

FORCE

FORCE

SCREEN

SCREEN

SCREEN

00

 

 

Register 17

 

 

ACQ 1

ACQ 0

625

525

COL2

COL1

COL0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WSS1(3)(6)

WSS

BA

WSS0 to

WSS3

WSS2

WSS1

WSS0

00

 

 

Register 1

 

 

 

 

WSS3

 

 

 

 

 

 

 

 

 

 

 

 

ERROR

 

 

 

 

 

 

WSS2(3)(6)

WSS

BB

WSS4 to

WSS7

WSS6

WSS5

WSS4

00

 

 

Register 2

 

 

 

 

WSS7

 

 

 

 

 

 

 

 

 

 

 

 

ERROR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WSS3(3)(6)

WSS

BC

WSS11 to

WSS13

WSS12

WSS11

WSS8 to

WSS10

WSS9

WSS8

00

 

 

Register 3

 

WSS13

 

 

 

WSS10

 

 

 

 

 

 

 

 

ERROR

 

 

 

ERROR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

19

CLUT(3)(6)

CLUT

BD

CLUT

CLUT

B1 or

B0 or

G1 or

G0 or

R1 or

R0 or

00

 

Register

 

ENABLE

ADDRESS

 

 

ENTRY 3

ENTRY 2

ENTRY 1

ENTRY 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Notes

1.These bits are inactive and must be written to logic 0 for future compatibility.

2.SFRs are bit addressable.

3.SFRs are modified or added to the 80C51 SFRs.

4.This register used for Byte Orientated I2C-bus, TXT8.I2C SELECT = 1.

5.This register used for Bit Orientated I2C-bus, TXT8.I2C SELECT = 0.

6.Although the Teletext, WSS and CLUT registers are reset internally by hardware, it is advisable that these registers are explicitly reset by the software following initial power-up and returning from the standby condition.

microcontrollers TV and teletext Economy

family SAA5x9x

Semiconductors Philips

specification Preliminary

Philips Semiconductors

Preliminary specification

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

7.4.2 SPECIAL FUNCTION REGISTERS

 

Table 11 SFRs bit description

 

 

 

 

REGISTER

FUNCTION

 

 

 

 

Interrupt Enable Register (IE)

 

 

 

EA

disable all interrupts (logic 0) or use individual interrupt enable bits (logic 1)

 

 

 

ES1

bit I2C-bus interrupt enable (logic 1)

 

ES2

byte I2C-bus interrupt enable (logic 1)

 

ET1

enable timer 1 overflow interrupt (logic 1)

 

 

 

 

EX1

enable external interrupt 1 (logic 1)

 

 

 

 

ET0

enable timer 0 overflow interrupt (logic 1)

 

 

 

 

EX0

enable external interrupt 0 (logic 1)

 

 

 

 

Power Control Register (PCON)

 

 

 

ARD

AUX-RAM disable bit. Disables the 512 bytes of internal AUX-RAM (logic 1);

 

all MOVX-instructions access the external data memory

 

 

 

 

GF1

general purpose flag 1

 

 

 

 

GF0

general purpose flag 0

 

 

 

 

Program Status Word (PSW)

 

 

 

 

CY

carry flag

 

 

 

 

AC

auxiliary carry flag

 

 

 

 

F0

flag 0

 

 

 

 

RS1,RS0

register bank select control bits

 

 

 

 

OV

overflow flag

 

 

 

 

P

parity flag

 

 

 

 

6-bit Pulse Width Modulator Control Registers (PWM0 to PWM7)

 

 

 

 

PWE

activate this PWM and take control of respective port pin (logic 1)

 

 

 

 

PV5 to PV0

binary value sets high time of PWM output

 

 

 

 

Serial Interface Slave Address Register (S1ADR); note 1

 

 

 

 

ADR6 to ADR0

I2C-bus slave address to which the device will respond

 

GC

enables response to the I2C-bus general call address

 

Serial Interface Control Register (S1CON); note 1

 

 

 

 

CR2 to CR0

clock rate bits

 

 

 

 

ENSI

I2C-bus interface enable

 

STA

start condition flag

 

 

 

 

STO

stop condition flag

 

 

 

 

SI

interrupt flag

 

 

 

 

AA

assert acknowledge flag

 

 

 

 

1998 Dec 14

20

Philips Semiconductors

Preliminary specification

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

 

 

 

REGISTER

FUNCTION

 

 

 

 

Serial Interface Data Register (S1DAT); note 1

 

 

 

 

DAT7 to DAT0

I2C-bus data

 

Serial Interface Status Register (S1STA) - READ only; note 1

 

 

 

 

STAT4 to STAT0

I2C-bus interface status

 

Serial Interface Data Register (S1BIT) - READ; note 2

 

 

 

 

SDI

I2C-bus data bit input

 

Serial Interface Data Register (S1BIT) - WRITE; note 2

 

 

 

 

SDO

I2C-bus data bit output

 

Serial Interface Interrupt Register (S1INT); note 2

 

 

 

 

SI

I2C-bus interrupt flag

 

Serial Interface Control Register (S1SCS) - READ; note 2

 

 

 

 

SDI

serial data input at SDA

 

 

 

 

SCI

serial clock input at SCL

 

 

 

 

CLH

clock LOW-to-HIGH transition flag

 

 

 

 

BB

bus busy flag

 

 

 

 

RBF

read bit finished flag

 

 

 

 

WBF

write bit finished flag

 

 

 

 

STR

clock stretching enable (logic 1)

 

 

 

 

ENS

enable serial I/O (logic 1)

 

 

 

 

Serial Interface Control Register (S1SCS) - WRITE; note 2

 

 

 

 

SDO

serial data output at SDA

 

 

 

 

SCO

serial clock output at SCL

 

 

 

 

CLH

clock LOW-to-HIGH transition flag

 

 

 

 

STR

clock stretching enable (logic 1)

 

 

 

 

ENS

enable serial I/O (logic 1)

 

 

 

 

Software ADC Control Register (SAD)

 

 

 

VHI

comparator output indicating that analog input voltage greater than DAC voltage (logic 1)

 

 

 

CH1 and CH0

ADC input channel selection bits; see Table 11

 

 

 

ST

initiate voltage comparison (logic 1); this bit is automatically reset to logic 0

 

 

 

SAD7 to SAD4

4 MSBs of DAC input value

 

 

 

 

1998 Dec 14

21

Philips Semiconductors

 

Preliminary specification

 

 

 

 

 

Economy teletext and TV microcontrollers

SAA5x9x family

 

 

 

 

 

 

 

 

 

 

 

 

 

 

REGISTER

 

FUNCTION

 

 

 

 

Software ADC Control Register (SADB)

 

 

 

 

 

SAD3 to SAD0

4

LSBs of DAC input value

 

 

 

 

Timer/Counter Control Register (TCON)

 

 

 

 

TF1

Timer 1 overflow flag

 

 

 

 

TR1

Timer 1 run control bit

 

 

 

 

TF0

Timer 0 overflow flag

 

 

 

 

TR0

Timer 0 run control bit

 

 

 

 

IE1

interrupt 1 edge flag

 

 

 

 

IT1

interrupt 1 type control bit

 

 

 

 

IE0

interrupt 0 edge flag

 

 

 

 

IT0

interrupt 0 type control bit

 

 

 

 

14-bit PWM MSB Register (TDACH)

 

 

 

 

PWE

activate this 14-bit PWM and take over port pin (logic 1)

 

 

 

 

 

TD13 to TD8

6

MSBs of 14-bit number to be output by the 14-bit PWM

 

 

 

 

14-bit PWM LSB Register (TDACL)

 

 

 

 

 

TD7 to TD0

8

LSBs of 14-bit number to be output by the 14-bit PWM

 

 

 

 

Timer 0 High byte (TH0)

 

 

 

 

 

TH07 to TH00

8

MSBs of Timer 0 16-bit counter

 

 

 

 

Timer 1 High byte (TH1)

 

 

 

 

 

TH17 to TH10

8

MSBs of Timer 1 16-bit counter

 

 

 

 

Timer 0 Low byte (TL0)

 

 

 

 

 

TL07 to TL00

8

LSBs of Timer 0 16-bit counter

 

 

 

 

Timer 1 Low byte (TL1)

 

 

 

 

 

TL17 to TL10

8

LSBs of Timer 1 16-bit counter

 

 

 

 

Timer/Counter Mode Control Register (TMOD)

 

 

 

 

GATE

gating control

 

 

 

 

 

 

 

counter or timer selector

 

C/T

 

 

 

 

 

M1, M0

mode control bits

 

 

 

 

 

 

 

1998 Dec 14

22

Loading...
+ 50 hidden pages