p87c770aar NXP Semiconductors, p87c770aar Datasheet
p87c770aar
Available stocks
Related parts for p87c770aar
p87c770aar Summary of contents
Page 1
DATA SHEET P8xCx70 family Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Product specification Supersedes data of 1999 May 17 File under Integrated Circuits, IC20 INTEGRATED CIRCUITS 1999 Jun 11 ...
Page 2
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAM 5 PINNING INFORMATION 6 MEMORY ORGANIZATION 7 I/O FACILITY 8 WATCHDOG TIMER (T3) 9 ...
Page 3
... ORDERING INFORMATION TYPE NUMBER NAME P83C270AAR SDIP52 P83C370AAR P83C570AAR P83C770AAR P87C770AAR 1999 Jun 11 2 GENERAL DESCRIPTION The P8xCx70 family consists of the following devices: P83C270 P83C370 P83C570 P83C770 P87C770. The term P8xCx70 is used throughout this data sheet to refer to all family members ...
Page 4
Acrobat reader. white to force landscape pages to be ... V SSD V DDP V DDA V DDC V SSA XI TWO 16-BIT XO ...
Page 5
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 5 PINNING INFORMATION 5.1 Pinning handbook, halfpage 1999 Jun 11 P0.0/PWM8 1 52 P3.7 P0.1/PWM7 2 51 P3.6 P0.2/PWM6 3 50 P3.5/SDA P0.3/PWM5 4 49 P3.4/SCL ...
Page 6
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 5.2 Pin description Table 1 SDIP52 package SYMBOL PIN I/O P0.0/PWM8 I/O to P0.7/PWM1 P1.0/AFT0 9 I/O P1.1/AFT1 10 I/O P1.2/AFT2 11 I/O ...
Page 7
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) SYMBOL PIN I/O P3.4/SCL 49 I/O P3.5/SDA 50 I/O P3.6 51 I/O P3.7 52 I/O 1999 Jun 11 Port 3 line P3.4 (open-drain, bidirectional); alternative function ...
Page 8
MEMORY ORGANIZATION The P8xCx70 family offers a choice of different RAM and ROM configurations; see “Ordering information”. The device has no external memory capability, consequently the RD (read) and WR (write) signals are not bonded out. EA (External Access), ...
Page 9
ADDRESS REGISTER NAME (1) D0H Program Status Word (PSW) D6H PWM5 (7-bit PWM) D7H Closed Caption Data 1 (CCData1) D8H Serial Control Register (S1CON) (2) D9H Status Register (S1STA) DAH Data Shift Register (S1DAT) DBH Slave Address Register (S1ADR) E0H ...
Page 10
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 6.2 Display control registers map The display control registers can only be addressed using MOVX instructions. Table 3 Display control register map ADDRESS REGISTER NAME (HEX) ...
Page 11
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 8 WATCHDOG TIMER (T3) In addition to the standard timers, an 8-bit Watchdog Timer is also incorporated. When a timer overflow occurs, the microcontroller is reset. ...
Page 12
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 9 REDUCED POWER MODES In order to reduce power consumption three reduced power modes are available: Standby, Idle and Power-down. 9.1 Standby mode In Standby mode ...
Page 13
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 9.4 Control registers 9.4 TANDBY ONTROL EGISTER Table 6 Standby Control Register (SFR address 92H Table 7 Description of STBCON bits ...
Page 14
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth XO 1999 Jun 11 XI OSCILLATOR CLOCK GENERATOR P8xCx70 family PD Fig.5 Idle and Power-down circuit. 14 Product specification P8xCx70 family interrupts serial ...
Page 15
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC C-BUS SERIAL I/O 2 10.1 The I C-bus This serial port supports the twin line I consists of a serial data line (SDA) ...
Page 16
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 10.3 Serial Control Register (S1CON) Table 10 Serial Control Register (SFR address D8H CR2 ENS1 Table 11 Description of S1CON bits BIT SYMBOL 6 ...
Page 17
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 12 Selection of SCL frequency in Master mode CR2 CR1 ...
Page 18
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 16 Status codes S1STA VALUE MST/TRX mode 08H a START condition has been transmitted 10H a repeated START condition has been transmitted 18H SLA and ...
Page 19
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 10.5 Data Shift Register (S1DAT) This register contains the serial data to be transmitted or data has just been received. Bit 7 is transmitted or received ...
Page 20
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 11 INTERRUPT SYSTEM The P8xCx70 has seven interrupt sources, each of which can be assigned one of two priority levels as shown in Fig.7. The four ...
Page 21
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) INTERRUPT handbook, full pagewidth SOURCES PX0 S1 T0 PX1 BUSY T1 CC 1999 Jun 11 IEN0/1 IP0/1 REGISTERS REGISTERS GLOBAL ENABLE Fig.7 The interrupt structure. 21 ...
Page 22
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 11.2 Interrupt enable structure Each interrupt source can be individually enabled or disabled by setting or clearing its associated bit in the Interrupt Enable Registers (IEN0 ...
Page 23
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 11.3 Interrupt priority structure Each interrupt source can be assigned one of two priority levels. Interrupt priority levels are defined by the Interrupt Priority Registers (IP0 ...
Page 24
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 11.3 NTERRUPT RIORITY EGISTER Table 28 Interrupt Priority Register 1 (SFR address F8H PCC Table 29 Description of the IP1 bits ...
Page 25
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 11.5 Busy interrupt and Watchdog Timer control 11.5.1 BUSY W INTERRUPT AND The BUSY signal can generate an interrupt (PX7) to the CPU if enabled by ...
Page 26
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 12 OSCILLATOR CIRCUITRY The on-chip oscillator circuitry of the P8xCx70 is a single-stage inverting amplifier biased by an internal feedback resistor. For operation as a standard ...
Page 27
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth handbook, full pagewidth Supply voltage Power-on- reset Oscillator CPU running T p 1999 Jun 11 SCHMITT TRIGGER RESET 8 ...
Page 28
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 34 The reset value of the SFRs SFR ADDR REGISTER 80H P0 81H SP 86H PWM0 87H PCON 88H TCON 89H TMOD 8AH TL0 8BH ...
Page 29
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 14 PIN FUNCTION SELECTION Ports 0, 1 and 3 are dual purpose ports and can be configured as port lines or selected as alternative functions. Selection ...
Page 30
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 14.3 Port 3 pin function selection Port 8-bit port which can be configured as eight bidirectional port lines (P3.0 to P3. ...
Page 31
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 15 7-BIT PWM DAC The P8xCx70 has nine PWM DAC outputs (PWM0 to PWM8) for analog control e.g. volume, balance, bass, treble, brightness, contrast, sharpness, hue ...
Page 32
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 16 AFT INPUTS (ADC) The P8xCx70 has 3 ADC channels each with 4-bit resolution. One channel is intended to measure the level of the key pad ...
Page 33
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 16.1 AFT Control Register (AFCON) Table 40 AFT Control Register (SFR address EAH AFTH1 Table 41 Description of AFCON bits BIT SYMBOL 7 Reserved. ...
Page 34
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 17 DATA SLICER AND CC COMMAND INTERPRETER The P8xCx70 family contains a Data Slicer which slices Closed Caption data from the CVBS signal. The slice line ...
Page 35
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth CVBS handbook, full pagewidth clock pulse clock run- Program colour burst Hsync IRE units 1999 Jun 11 ...
Page 36
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 17.3 Closed Caption registers 17.3 (SL) LICE INE EGISTER The Data Slicer contains a software programmable Slice Line Register to extract data from ...
Page 37
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18 CC/OSD DISPLAY FUNCTION P8xCx70 contains a display function which covers both OSD and Closed Caption display requirements. The design is targeted for the US market. ...
Page 38
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Automatic soft scroll – Programmable soft scroll display area height rows – Programmable soft scroll display area top row – Programmable row range ...
Page 39
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth field 1 field 2 handbook, full pagewidth 1999 Jun ...
Page 40
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.2 OLOUR OOK UP ABLE A Colour Look-up Table with 16 colours is provided. The colours are programmable from a palette of ...
Page 41
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.2.9 F OREGROUND COLOUR The foreground colour can be chosen from 8 colours on a character-by-character basis. Two sets of 8 colours are provided. A serial ...
Page 42
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) If some of the characters are not used for depicting special characters they may be used as normal. In this case they are accessible via the ...
Page 43
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.3 Character and attribute coding Character coding is split into character oriented attributes (parallel) and character group coding (serial). The serial attributes take effect at the ...
Page 44
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.4 Screen controls A number of 8-bit registers are provided which are used to select various parameters for the whole screen. 18.4.1 D ISPLAY MODES When ...
Page 45
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.5 Text display controls These controls are used for defining the display areas. Two types of areas are possible. One area is static and controlled via ...
Page 46
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.5.1.3 Top display row select The top display row of the scroll area is set using the SSP0 to SSP3 bits in the Soft Scroll Area ...
Page 47
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.5.2 S CROLL MAP The scroll map allows a flexible allocation of data in the memory, to individual rows. Sixteen 12-bit words are provided in the ...
Page 48
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.6 Memory mapping All registers and RAM in the display section are mapped into the upper 32-kbyte external RAM range of the 80C51 core. When writing ...
Page 49
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.7 Display positioning The positioning of the display is relative to the vertical and horizontal sync pulses. The display consists of the screen colour covering the ...
Page 50
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.7.1 S CREEN COLOUR DISPLAY AREA The screen colour display area starts with a fixed offset from the leading edge of the horizontal ...
Page 51
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.8 General controls 18.8.1 P HSYNC OLARITY OF AND The horizontal and vertical input sync signals can be inverted by setting the HPOL and VPOL bits ...
Page 52
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9 Register descriptions All registers are read/writeable. When the registers are read a value will be returned that will correspond to the written data. There is ...
Page 53
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9 EXT ORIZONTAL OSITION Table 79 Text Horizontal Position Register (address 87F2H HOP1 HOP0 Table 80 Description of THPR bits BIT ...
Page 54
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9 EXT REA ND EGISTER Table 83 Text Area End Register (address 87F4H Table 84 Description of TAER bits BIT ...
Page 55
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9 CROLL OWS ANGE Table 87 Scroll Rows Range Register (address 87F6H SPS3 SPS2 Table 88 Description of SRRR bits ...
Page 56
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9 (SR) TATUS EGISTER A status register is provided that holds information that the processor can use to regulate the way data is written ...
Page 57
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 93 Status Register (address 87F8H); write only 7 6 H/V Table 94 Description of SR bits BIT SYMBOL 7 This bit is not used and ...
Page 58
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9. VEN LIGN EGISTER Table 97 Odd/Even Align Register (87FDH OEA6 Table 98 Description of OEAR bits BIT SYMBOL ...
Page 59
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.9. ONFIGURATION EGISTER The Configuration Register is provided for special purposes and to program the delay between the RGB and FBL output. Table 99 ...
Page 60
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.10 Character font format The character font (horizontal (vertical) matrix. The ROM contents have two extra lines in each field to ...
Page 61
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 18.10.2 ROM ADDRESSING Figures 25 and 26 illustrate the addressing schemes used to access the different character formats. Figure 25 shows the ROM organization of the ...
Page 62
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 19 MEMORY DATA BIT ALLOCATION Table 102 Register map bit allocation ADDR. REGISTER NAME 87F0H Display Control 87F1H Text Vertical Position 87F2H Text Horizontal Position 87F3H ...
Page 63
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 20 PROGRAMMER The P87Cx70 OTP contains two EPROM modules, one 64-kbyte system EPROM and one 8-kbyte character EPROM. Users can program or verify both system and ...
Page 64
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 105 Pin assignment during programming and verification operations SYMBOL P0.0 P0.1 P0.2 P0.3 P0.4 P0.5 P0.6 P0.7 P1.0 P1.1 P1.2 P1.3 P1.4 P2.0 P2.1 P2.2 ...
Page 65
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth handbook, full pagewidth 1999 Jun 11 P2.7 to P2.0 1 RESET L-pulse ALE/PROG P0.7 to P0.0 ...
Page 66
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) OSDH handbook, full pagewidth <3 to 0> :10 C000 00 :10 C010 00 :10 CFFF 00 1999 Jun 11 OSDL ...
Page 67
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 20.5 EPROM timing characteristics Table 106 EPROM programming timing SYMBOL t address set-up time su(A) t address hold time h(A) t output enable set-up time su(OE) ...
Page 68
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, halfpage 1999 Jun A10 A11 A12 A13 ...
Page 69
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) Table 107 Programming configuration pin descriptions SYMBOL PIN I/O P0 I/O P1.0/AFT0 9 I/O P1.1/AFT1 10 I/O P1.2/AFT2 11 I/O P1.3/PWM0 ...
Page 70
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 21 LIMITING VALUES SYMBOL PARAMETER V supply voltage DD V input voltage on any pin with respect to i ground ( total power ...
Page 71
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) SYMBOL PARAMETER AFT inputs: P1.0/AFT0, P1.1/AFT1 and P1.2/AFT2 V comparator analog input ai voltage V conversion error range and B outputs (4-bit DAC ...
Page 72
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) handbook, full pagewidth V DD (volts 1/16 3/16 handbook, full pagewidth ADC error (LSB) 0.7 0.5 0.3 0.1 0 1/16 ...
Page 73
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC CHARACTERISTICS V = 4 amb SYMBOL PARAMETER Ports 0, 1 and 3 outputs (open-drain) ...
Page 74
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 24 APPLICATION INFORMATION handbook, full pagewidth GND D GND A CVBS signal 100 nF GND A GND A 1999 Jun 11 P0.0/PWM8 1 52 P0.1/PWM7 51 ...
Page 75
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 25 RELEASE LETTER OF ERRATA 25.1 Bugs with a software workaround The soft scroll active bit and the top scroll row are not synchronized. Therefore, it ...
Page 76
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 26 PACKAGE OUTLINE SDIP52: plastic shrink dual in-line package; 52 leads (600 mil pin 1 index 1 DIMENSIONS (mm are the original dimensions) ...
Page 77
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 27 SOLDERING 27.1 Introduction to soldering through-hole mount packages This text gives a brief insight to wave, dip and manual soldering. A more in-depth account of ...
Page 78
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 28 DEFINITIONS Data sheet status Objective specification This data sheet contains target or goal specifications for product development. Preliminary specification This data sheet contains preliminary data; ...
Page 79
Philips Semiconductors Microcontrollers for NTSC TVs with On-Screen Display (OSD) and Closed Caption (CC) 1999 Jun 11 NOTES 79 Product specification P8xCx70 family ...
Page 80
Philips Semiconductors – a worldwide company Argentina: see South America Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113, Tel. +61 2 9805 4455, Fax. +61 2 9805 4466 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. + ...