P0.1/PWM1/PROG2P0.1: open-drain bidirectional port line;
P0.2/PWM2/ASEL3P0.2: open-drain bidirectional port line;
P0.3/PWM3
to
P0.7/PWM7
Port 1 (notes 1, 2 and 5)
P1.0/ADI0
to
P1.2/ADI2
P1.3/PWM012P1.3: open-drain bidirectional port line; PWM0: output for the 6-bit lower-precision
PP
1P0.0: open-drain bidirectional port line;
TDAC: output for the 14-bit high-precision PWM;
VPP: 12 V programming supply voltage during EPROM programming.
PWM1: output for the 6-bit lower-precision PWM;
PROG: input for EPROM programming pulses.
PWM2: output for the 6-bit lower-precision PWM;
ASEL: input indicating the EPROM address bits that are applied to Port 2.
4to8 P0.3 to P0.7: 5 open-drain bidirectional port lines;
PWM3 to PWM7: 5 outputs for the 6-bit lower-precision PWM.
9to11 P1.0 to P1.2: 3 open-drain bidirectional port lines;
ADI0 to ADI2: inputs for the software analog-to-digital facility.
PWM. PWM0 can be externally pulled up as high as +12 V ±5%
Port 2
P2.7 to P2.013 to 20 Port 2: 8-bit open-drain bidirectional port; P2.3 to P2.0 have high current capability
(10 mA at 0.5 V) for driving LEDs. Port 2 pins that have logic 1s written to them float,
and in that state can be used as high-impedance inputs. Any of the Port 2 pins are
driven LOW if the port register bit is written as a logic 0. The state of the pin can
always be read from the port register by the program.
Port 3 (note 1 and 3)
P3.034P3.0: open-drain bidirectional port line.
P3.1/INT135P3.1: open-drain bidirectional port line; INT1: External interrupt 1.
P3.2/T036P3.2: open-drain bidirectional port line; T0: Timer 0 external input.
P3.3/INT037P3.3: open-drain bidirectional port line; INT0: External interrupt 0.
P3.4 to P3.738 to 41 P3.4 to P3.7: 4 open-drain bidirectional port lines.
General
V
SS
VID2 to VID022 to 24 Digital Video bus: Three totem-pole outputs comprising digital RGB (or other colour
VCTRL25Video Control: A totem-pole output indicating whether the OSD facility is currently
21Ground: 0 V reference.
encoding) from the OSD facility. The polarity of these outputs is controlled by a
programmable register bit (register OSCON; bit Po).
presenting active video on the VID2 to VID0 outputs. Signal is used to control an
external multiplexer (mixer) between normal video and the video derived from VID2 to
VID0. The polarity of this output is controlled by a programmable register bit (register
OSCON; bit Pc).
1996 Mar 226
Page 7
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
SYMBOLPINDESCRIPTION
HSYNC26Horizontal Sync: A dedicated input for a TTL-level version of the horizontal sync
pulse. The polarity of this pulse is programmable; its trailing edge is used by the OSD
facility as the reference for horizontal positioning.
VSYNC27Vertical Sync: A dedicated input for a TTL-level version of the vertical sync pulse. The
polarity of this pulse is programmable, and either edge can serve as the reference for
vertical timing.
VCLK128VCLK1: Video Clock 1; input for the horizontal timing reference for the OSD facility.
VCLK229
BF30Background/Foreground: A totem-pole output which, when VCTRL is active,
XTAL131XTAL1: Input to the inverting (oscillator) amplifier and clock generator circuit that
XTAL232
RST33Reset: If this pin is HIGH for two machine cycles (24 oscillator periods) while the
V
DD
Notes
1. Port 0, Port 1 , and Port 3 pins that have logic 1s written to them float, and in that state can be used as
high-impedance inputs.
2. The state of the pin can always be read from the port register by the program.
3. P3.0, P3.4, and P3.7 can be externally pulled up as high as +12 V ±5%; while P3.5 and P3.6 have 10 mA drive
capability.
4. For each PWM block, a register bit (register PWMn; bit PWnE; n = 0 to 7) controls whether the corresponding pin is
controlled by the block or by Port 0; Port 0 controls the pin immediately after a reset. Regardless of how each pin is
controlled, it can be externally pulled up as high as +12 V ±5%.
5. Any of the Port 1 pins are driven LOW if the corresponding port register bit is written as a logic 0, or for P1.3 only, if
the TDAC module presents a logic 0.
VCLK2: Video Clock 2; output from the on-chip video oscillator. VCLK1 and VCLK2
are intended to be used with an external LC circuit to provide an on-chip oscillator. The
period of the video clock is determined such that the width of a pixel in the OSD is
equal to the inter-line separation of the raster.
indicates whether the current video data represents a Foreground (LOW) or
Background (HIGH) dot in a character. This signal can be used to reduce the intensity
of the background colour and thus emphasize the text.
provides the timing reference for all 83C055 logic other than the OSD facility.
XTAL2: Oscillator output terminal for system clock. XTAL1 and XTAL2 can be used
with a quartz crystal or ceramic resonator to provide an on-chip oscillator. Alternatively,
XTAL1 can be connected to an external clock, and XTAL2 left unconnected.
oscillator is running, the MTV is reset. This pin is also used as a serial input to enter a
test or EPROM programming mode, as on the 87C751.
42Power supply: for normal and Power-down operation.
1996 Mar 227
Page 8
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
7DESCRIPTION OF STANDARD FUNCTIONS
For a description of the standard functions please refer to
the
“Data Handbook IC20; Section 2: 80C51 Technical
Description”
8INPUT/OUTPUT (I/O)
The I/O structure of the 83C055 is similar to the standard
I/O structure in the 80C51, except for the points described
in Table 5.
9DESCRIPTION OF DERIVATIVE FUNCTIONS
9.1General description
Although the 83C055 is specifically referred to throughout
this data sheet, the information applies to all the devices.
The differences to 80C51 features and the derivative
functions are described in the following Sections and
Chapters.
Figure 1 shows the block diagram of the 83C055.
9.1.1N
Standard functions to the 80C51 that are not implemented
in the 83C055:
• As Data and Program Memory are not externally
expandable on the 83C055, the ALE, EA, and
PSEN signals are not implemented.
• Idle mode.
• Power-down mode.
.
OT IMPLEMENTED FUNCTIONS
83C145; 83C845
83C055; 87C055
• The IP register is not used, and the IE register (address
A8H) is similar to that on the 80C51;see Table 36.
• The VSYNC input used by the OSD facility can generate
an interrupt. The active polarity of the pulse is
programmable (see Section 13.7); interrupt occurs at
the leading edge of the pulse.
• Since there is no serial port, there are no interrupts nor
control bits relating to this interrupt. The interrupts and
their vector addresses are shown in Table 3.
• External Interrupt 1 is modified so that an interrupt is
generated when the input switches are in either direction
(on the 80C51, there is a programmable choice between
interrupt on a negative edge or a LOW level on INT1).
This facility allows for software pulse-width
measurement handling of a remote control.
Port 0external memory expansion8-bit open-drain bidirectional port; and includes:
Port 18-bit general purpose quasi-bidirectional4-bit open-drain port, and includes alternative uses
Port 2quasi-bidirectional and can be used for external
Port 3quasi-bidirectional; all eight bits have alternate uses 3 port bits have some of the same alternative uses
1996 Mar 228
NTERRUPT FACILITIES DIFFERENCES
I/OSTANDARD 80C5183C055
memory expansion
Table 4 PCON Register format (address 87H)
76543210
−−−−GF1GF0−−
alternative use for PWM outputs
for analog inputs and a PWM output
open-drain and general purpose
as on the 80C51 but not necessarily on the same
pins; 5 pins are open-drain and general purpose
Page 9
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
10 6-BIT PWM DACS
Figure 3 shows the 6-bit PWM DAC logic circuit, consisting
of 8 PWMn modules.
The basic MCU clock is divided by 4 to get a waveform that
clocks a 14-bit counter which is common to all the PWMs
(including the 14-bit PWM). This divided clock is hereafter
called the PWM clock.
As illustrated in Fig.3, the lower-precision (6-bit) PWMs
use the least significant part of the 14-bit counter.
Figure 4 shows the circuit diagram of a 6-bit PWM module.
Each PWM module has a Special Function Register
PWMn; n = 0 to 7. The register format is shown in Table 6.
10.1PWM DAC operation
Value field PVn5 to PVn0 of each PWMn register
(n = 0 to 7) is compared to the 6 LSBs of the common
counter (14-bit counter).
83C145; 83C845
83C055; 87C055
When the value matches, the output flip-flop is cleared, so
that the output pin is driven LOW.
When the value rolls over to zero, the output flip-flop is set,
so that the output pin is released. Thus the output
waveform has a fixed period of 64 PWM clock cycles; its
duty cycle is determined by contents of PWMn.5 to
PWMn.0 (PVn5 to PVn0).
Three of the nine total PWM modules (8 PWMn and the
14-bit PWM DAC) operate as previously described; for
three others, both the rising and falling edges of the output
are delayed by one PWM clock; for the remaining three,
both edges are delayed by two PWM clocks. This feature
reduces the radio-frequency emission that would
otherwise occur when the counter rolled over to zero and
all nine open-drain outputs were released.
10.2Special Function Register PWMn (n = 0 to 7)
Table 6 Special Function Register PWMn (n = 0 to 7; addresses D4H to DFH)
7 6 5 4 3 2 1 0
PWnE−PVn5PVn4PVn3PVn2PVn1PVn0
Table 7 Description of PWMn bits
BITSYMBOLDESCRIPTION
7PWnEPWM module enable bit. If for a particular PWM block (n) the bit:
PWnE = 1, then the block is active and controls its assigned port pin.
PWnE = 0, the corresponding port pin is controlled by the port.
6−Reserved.
5 to 0PVn5 to PVn0 Value field for PWMn register.
1996 Mar 229
Page 10
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
handbook, full pagewidth
ZERO
6
1st PWM MODULE (n = 0)
6
2nd PWM MODULE (n = 1)
6
3rd to 7th PWM MODULE (n = 2 to 6)
6
8th PWM MODULE (n = 7)
6
8
8
8
8
83C145; 83C845
83C055; 87C055
P1.3
PWM0/P1.3
P0.1
PWM1/P0.1
P0.2 to P0.6
PWM2/P0.2
to
PWM6/P0.6
P0.7
PWM7/P0.7
8
LS 6-bitsPWM clock
14-BIT COUNTER
handbook, full pagewidth
(1) This flip-flop occurs in 5 of the 8 PWMn modules.
(2) This flip-flop occurs in 3 of the 8 PWMn modules.
PWM module (n)
ZERO
LS 6-bits
6-bits (PVn0 to PVn5)
8
PVn0PVn1PVn2PVn3PVn4PVn5PWnE
internal bus
PWM clock
4
6-bit
COMPARATOR
f
xtal
14-BIT PWM
DAC BLOCK
Fig.3 6-bit PWM DAC logic circuit.
MBE771 - 1
(1)(2)
internal bus
I/O port
MBE770
PWMn
I/O pin
Fig.4 A 6-bit PWM module.
1996 Mar 2210
Page 11
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
11 14-BIT PWM DAC (TDAC)
11.114-bit counter
The 14-bit counter was already mentioned in Section 10.
The nature of the counter is such that it can achieve a
stable output value through its MSB, and the value can
propagate through logic like that shown in Fig.5. The logic
output can be stable within:
• one period of the PWM clock (e.g. 250 ns) if
edge-triggered logic is used to capture the logic output,
or
• one phase of the PWM clock (e.g. 125 ns) if a phase of
the PWM clock is used to capture the logic output.
The 14-bit (TDAC) counter is a ripple counter (cost and
die-size reasons).
The 14-bit PWM DAC is controlled by two special function
registers TDACL and TDACH.
11.214-bit DAC operation
When software wishes to change the 14-bit value
(TD0 to TD13), it should first write to TDACL and then
write to TDACH. Alternatively, if the required precision of
the duty cycle is satisfied by 6 bits or less, software can
simply write to TDACH (TD8 to TD13).
11.2.1L
Figure 5 shows that this block includes an ‘extra’ 14-bit
latch between TDACL - TDACH and the comparator and
other logic. The programmed value is clocked into the
operative latch when the 7 low-order bits of the counter roll
over to zero, provided that the software is not in the midst
of loading a new 14-bit value, i.e. it is not between writing
TDACL and writing TDACH.
In a similar fashion to the lower-precision PWMs, this
facility has an output flip-flop that is set when the lower
7 bits of the counter overflow/wrap. The more significant
7 bits of the operative latch’s programmed value are
compared for equality against the less significant 7 bits of
the counter, and the output FF is cleared when they match.
Thus this output has a fixed period of 128 PWM clock
cycles, and the duty cycle is determined by the
programmed value.
OW PRECISION OPERATION
83C145; 83C845
83C055; 87C055
11.2.2H
For the higher-precision aspect of this feature, the 7 MSBs
of the counter are used in a logic block with the 7 LSBs of
the programmed value.
The 7th LSB (binary value 64) of the programmed value is
ANDed with the 7th MSB (128) of the counter, the 6th LSB
of the value is ANDed with the counter’s 6th and 7th MSBs
being 10, and so on through the LSB of the programmed
value being ANDed with the counter’s 7 MSBs being
100000. Then these 7 ANDed terms are ORed. If the
result is true (logic 1) at the time the 7 LSBs of the counter
match the MSBs of the programmed value, the output is
forced high for 1 (additional) PWM clock cycle.
The result is that, if the value-64 bit of the 14-bit value is
programmed to a logic 1, every other cycle of 128 PWM
counter clocks has its duty cycle stretched by one counter
clock; if the value-32 bit is programmed to logic 1, every
th
cycle is stretched, and so on through, if the value-1 bit
4
is programmed to logic 1, one cycle out of each 128 is
stretched.
11.2.314Assuming the external integrator can handle all this, the
net effect is a PWM DAC that has the period of a 7-bit
design (which makes the integrator easier and more
feasible to design) with the accuracy of a 14-bit one.
An obvious prerequisite for such precision is that the load
on the voltage must be very light, like a single op-amp or
comparator.
11.2.3.1Note
The TDAC feature differs from the corresponding features
of predecessor parts in several ways:
1. The 14-bit value is functionally composed of major and
2. The 14-bit value is programmed as a contiguous
3. As discussed for the 6-bit DACs, both of the preceding
IGH PRECISION OPERATION
BIT DAC OUTPUT
minor portions of 7 bits each.
multi-register value that can be manipulated
straight-forwardly via arithmetic instructions.
parts had a feature whereby the PWM output could be
inverted, redundantly with complementing the 14-bit
value. This feature has been eliminated.
1996 Mar 2211
Page 12
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
11.3Special Function Register TDACL
Table 8 Special Function Register TDACL format (address D2H)
76543210
TD7TD0TD1TD2TD3TD4TD5TD6
Table 9 Description of TDACL bits
BITSYMBOLDESCRIPTION
7 to 0TD7, TD0 to TD6 8 LSBs of the 14-bit value.
11.4Special Function Register TDACH
Table 10 Special Function Register TDACH format (address D3H)
76543210
TDE−TD13TD12TD11TD10TD9TD8
Table 11 Description of TDACH bits
BITSYMBOLDESCRIPTION
7TDEEnable bit.
6−Reserved.
5 to 0TD13to TD8 6 MSBs of the 14-bit value.
1996 Mar 2212
Page 13
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
handbook, full pagewidth
77
TDACH
8
7 MSB
7-BIT COMPARATOR
7
7
14-BIT LATCH
TDACL
7 LSB
8
88
7
83C145; 83C845
83C055; 87C055
INTERNAL BUS
7 LSB
7
14-BIT COUNTER
7
7 MSB
PWM clock
TDACH.7
TDAC/
P0.0
P0.0
4
f
xtal
MBE774
Fig.5 14-bit PWM logic circuit.
1996 Mar 2213
Page 14
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
12 SOFTWARE ANALOG-TO-DIGITAL FACILITY
Figure 6 shows the software analog-to-digital facility block diagram. The block includes Special Function Register SAD.
12.1Special Function Register SAD
Table 12 Special Function Register SAD format (address D8H)
76543210
VHiCH1CH0StSAD3SAD2SAD1SAD0
Table 13 Description of SAD bits
BITSYMBOLDESCRIPTION
7VHiThe comparator output bit; bit addressable.
6CH1The channel field controls which pin, if any, is connected to this facility; see Table 14.
5CH0
4StThe St bit should be written as a logic 1 in order to initiate a voltage comparison.
3 to 0SAD3 to SAD0 4 LSBs of the SAD register.
12.2Software ADC operation
Port pins P1.0/ADI0 to P1.2/ADI2 can be alternately
selected as inputs of a linear voltage comparator. The
other input of the comparator is connected to a 4-bit DAC.
This DAC is controlled by bits SAD3 to SAD0 and
produces a reference voltage:
nominally 0.15625 to 4.84375 V in increments of
0.3125 V.
The output of the comparator (HIGH or LOW) can be read
by the program as the MSB of the SAD register i.e. bit VHi.
After writing St = 1, the program should include intervening
instructions totalling at least 6 machine cycles (72 clock
periods or 6 µs at 12 MHz), before the instruction that
accesses and tests VHi.
Table 14 Pin selection: P1.n/ADIn
CH1CH0P1.n/ADIn
00none
01P1.0/ADI0
10P1.1/ADI1
11P1.2/ADI2
Note
1. Port 1 has open-drain drivers which will not materially
affect an analog voltage as long as any and all pins
used for software analog-to-digital measurement have
corresponding logic 1s in the port register; n = 0, 1, 2.
(1)
1996 Mar 2214
Page 15
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
internal bus
I/O PORT
I/O PORT
I/O PORT
ANALOG
MUX
SAD.6:5SAD.3:0
handbook, full pagewidth
P1.0/ADI0
P1.1/ADI1
P1.2/ADI2
4-BIT
DAC
VOLTAGE
COMPARATOR
83C145; 83C845
83C055; 87C055
MBE772
Fig.6 Software analog-to-digital facility.
1996 Mar 2215
Page 16
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
13 ON SCREEN DISPLAY (OSD)
Figure 7 shows the OSD block diagram. It shows the CPU
writing into the 128 × 10 display RAM, which is dual-ported
to allow the CPU to write into it at any time, including when
it is being read out by the OSD logic. The 10-bit wide data
coming out of the display RAM is used to access the
appropriate character in the Character Generator memory
(6-bits) and to specify character and display control
functions (4-bits).
Timing for the OSD is controlled by the HSYNC, VSYNC,
and dot clock input VCLK1.
13.1OSD features
The 83C055 features an advanced OSD function with
some unique features as described in Sections 13.1.1 to
13.1.10.
13.1.1U
The OSD does not restrict the user to a fixed number of
lines with a fixed number of characters per line:
• Using a fixed number of lines restricts the generation of
displays that can be differentiated from others that use
the same chip and places limits on screen content.
• Using a fixed number of characters per line wastes
display RAM if a line has less than the full number of
displayable characters (it has to be padded with
non-visible characters).
SER-DEFINABLE DISPLAY FORMAT
83C145; 83C845
83C055; 87C055
13.1.3D
The OSD has a true display RAM instead of a character
line buffer. This display RAM is dual-ported to allow
updating the display RAM at any time instead of having to
wait for a vertical retrace.
Vertical Sync (VSYNC) interrupts are supported if
flicker-free updates are required.
13.1.4P
• Normal characters are displayed as 18 × 14 bit maps.
• In an interlaced display:
– 2 fields are displayed so that one actually sees a
– The part has a double height and width mode which
• For use in non-interlaced systems, the part has a double
height mode so that the displayed characters have the
same pixel size (36 × 14) as on an interlaced display.
13.1.5C
When characters are displayed overlaid on a background
of base video, a black border around the characters makes
them highly legible. This feature is called shadowing. The
83C055 has 8 shadowing modes to allow the user to select
various partial shadow modes as well as full surround
shadow; see Fig.8 and Table 28.
UAL-PORTED DISPLAY RAM
ROGRAMMABLE CHARACTER SIZE
36 × 14 pixel size character.
displays 36 × 28 pixel size bit maps per field.
HARACTER SHADOWING
The OSD on the 83C055 defines a control character:
• New Line, that has the same function as a Carriage
Return and Line Feed.
When the OSD circuitry fetches this character from display
RAM it stops displaying further characters, waits for the
next horizontal scan line, and starts displaying the next
character in display RAM after the New Line character was
received.
The number of lines is thus up to the user, within the limits
of the display and memory, as are the number of
characters per line. This allows far better control of the
appearance of the OSD.
13.1.2C
OLOURS SELECTABLE BY CHARACTER
Characters can be displayed on a background of the base
video or a programmable background colour.
The background colour is selectable by word and the
choice of background (base video/user programmed
colour) by character.
1996 Mar 2216
13.1.6P
ROGRAMMABLE POLARITIES
Inputs to and outputs from the OSD can be programmed
to be recognized as active LOW or HIGH. In conjunction
with the 12 V outputs, this allows direct interfacing to most
video signal processing circuits.
13.1.7C
HARACTER GENERATOR MEMORY IN EPROM
On the 87C055, the Character Generator memory is in
EPROM. This feature allows quick and inexpensive font
development and refinement against the alternative of
creating a masked ROM version to see how the final fonts
will appear.
13.1.8HSYNC
LOCKED DOT CLOCK OSCILLATOR
The 83C055 is designed to use an LC oscillator circuit that
is started at the trailing edge of HSYNC and stopped at its
leading edge. In practice, this gives a highly consistent
delay from HSYNC to oscillator start and is stable from
scan line to scan line so that no left margin effects are
seen.
Page 17
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
13.1.9SHORT ROWS
This mode only displays 4 horizontal lines and is used for
generating underlines.
13.1.10 PROGRAMMABLE HORIZONTAL AND VERTICAL
POSITIONS
Bit pairs HS4 to HS0 and VS2 to VS0 in register OSORG
(Table 30) define the starting point of the display.
13.2General description of the OSD module
This block is the largest of the additions that are specific to
this product. Its basic function is to superimpose text on
the television video image, to indicate various parameters
and settings of the receiver or tuner. External circuitry
handles the mixing (multiplexing) of the text and the TV
video. The OSD block has 4 input pins:
• Two for a video clock: VCLK1 and VCLK2
• Horizontal sync signal: HSYNC
• Vertical sync signal: VSYNC.
The block has 4 outputs:
• 3 colour video signals
• a control signal.
Since this block is the major feature of the part, its main
inputs and outputs are dedicated pins, without alternate
port bits. The OSD of the 83C055 differs from that in
preceding devices in one major way:
• It does not fix the number and size of displayed rows of
text.
Several predecessor parts allowed two displayed rows of
16 characters each. The 83C055 simply has 128 locations
of Display RAM, each of which can contain:
• a displayed character, or
• a New Line character that indicates the end of a row.
A variant of the New Line character is used to indicate
the end of displayed data.
A number of changes in the OSD architecture have
reduced the number of other Special Function Registers
involved in the feature, below the number needed with
predecessor devices:
1. The elimination of certain options such as 4, 6, or
8 × character sizes and alternate use of two of the
video outputs.
2. The moving of certain other options from central
registers to Display RAM, such as foreground colour
codes (Fcolor) and background (B) selection.
83C145; 83C845
83C055; 87C055
Figure 7 shows the 3 major elements of the OSD facility:
• OSD logic
• Display RAM
• Character Generator ROM.
13.3OSD logic
For a standard NTSC TV signal with an HSYNC frequency
of 15.750 kHz and a VSYNC frequency of nominally
60 Hz, there are roughly 50 µs of active horizontal scan
line available.
A typical pixel clock frequency is 8 MHz, and therefore
roughly 400 pixels of resolution can be obtained. At
14 dots per character, this means 28 character per
horizontal scan line. If the 12 dot per character display
mode is used, that means 33 character per horizontal scan
line. Allowing for edge effects, 26 characters (14 across) or
31 characters (12 across) can be displayed.
Note that VGA rates and higher can be used. The
minimum character dot size will be a function of the VGA
frequency used. For a 640 × 480 display, running at
33 kHz, the equivalent 83C055 pixel resolution is about
160 across (because of the 8 MHz clock and allowing for
overscan). This means that status and diagnostic
information can be displayed on video monitors.
13.3.1
The video clock pins (VCLK1 and VCLK2) are used to
connect a LC circuit to an on-chip video oscillator that is
independent of the normal MCU clock.
The L and C values are chosen so that a video pulse, of a
duration equal to the VCLK period, will produce a
more-or-less square dot on the screen, that is, a dot having
a width approximately equal to the vertical distance
between consecutive scan lines.
The video oscillator is stopped (with VCLK2 = LOW) while:
• HSYNC (Horizontal Sync) is maintained, and
• is released to operate at the trailing edge of HSYNC.
This technique helps provide uniform horizontal
positioning of characters/dots from one scan line to the
next.
ON-CHIP VIDEO OSCILLATOR
1996 Mar 2217
Page 18
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
13.4Character Generator ROM
Character Generator ROM. Containing 60 displayable bit
maps, i.e. 64 minus 4, comprising:
• One for each of new line: New Line, and
• Three space characters:
– Space
– BSpace
– SplitBSpace.
Each bit map includes 18 scan lines by 14 dots.
The Character Generator ROM is maskable or
programmable along with the Program ROM to allow for
various character sets and languages.
book, full pagewidth
HSYNC
OSD LOGIC
VSYNC
83C145; 83C845
83C055; 87C055
13.5Display RAM organization
Each Display RAM location includes:
• 6 data bits, and
• 4 attribute bits.
The 6 data bits from Display RAM, along with a
line-within-row count, act as addresses into the Character
Generator ROM. Except in special test modes that are
beyond the scope of this data sheet, Display RAM cannot
be read by the MCU program.
VCLK2
VCLK1
internal
bus
7
7
OSD RAM
128 × 10
6
CHARACTER
GENERATOR
ADDRESS LOGIC
4
6
ATTRIBUTE
CONTROL
CHARACTER
GENERATOR
60 × 18 × 14
Fig.7 OSD block diagram.
RGB
DIGITAL
VIDEO OUT
MBG323
VCTRL
VID2
VID1
VID0
1996 Mar 2218
Page 19
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
13.6OSD Special Function Registers
The programming interface to Display RAM is provided by
three Special Function Registers as shown in Tables 15,
17 and 20.
Writing OSAT simply latches the attribute bits into a
register, while writing OSDT causes the data bus
information, plus the contents of the OSAT register, to be
written into display RAM.
Thus, for a given Display RAM location, OSAT should be
written before OSDT. If successive characters are to be
written into Display RAM with the same attributes, OSAT
13.6.1S
Table 15 Special Function Register OSAD (On Screen ADdress; address 9AH)
PECIAL FUNCTION REGISTER OSAD
76543210
−OSAD6OSAD5OSAD4OSAD3OSAD2OSAD1OSAD0
need not be rewritten for each character, only prior to
writing OSDT for the first character with those particular
attributes.
The OSAT attribute bits associated with the BSpace,
SplitBSpace and New Line characters (see Table 19) are
interpreted differently from those that accompany other
data characters. With BSpace and SplitBSpace, B is
interpreted as described above, but the 3 colour bits
specify the background colour (Bcolor) for subsequent
characters. For BSpace, a change in B and Bcolor
becomes effective at the left edge of the character’s bit
map.
Table 16 Description of OSAD bits
BITSYMBOLDESCRIPTION
7−Reserved.
6 to 0OSAD6 to OSAD0These 7-bits hold the Display RAM address into which data will be
loaded. OSAD is automatically incremented by one each time OSDT and
Display RAM are written to.
13.6.2S
Writing OSDT causes the data bus information, plus the contents of the OSAT register, to be written into display RAM.
Table 17 Special Function Register OSDT (On Screen DaTa; address 99H)
Table 18 Description of OSDT bits
PECIAL FUNCTION REGISTER OSDT
76543210
−−OSDT5OSDT4OSDT3OSDT2OSDT1OSDT0
BITSYMBOLDESCRIPTION
7to6−Reserved.
5 to 0OSDT5 to OSDT0Character data; see Table 19. In reality, there is a potential conflict
between the timing of a write to OSDT and an access to display RAM by
the OSD logic for data display. This is resolved by the use of a true
dual-ported RAM for display memory.
1996 Mar 2219
Page 20
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
Table 19 Special characters related to OSDT register
SPECIAL CHARACTEROSDT5OSDT4OSDT3OSDT2OSDT1OSDT0
New Line111101
Space (normal)111100
BSpace111110
SplitBspace111111
13.6.3S
Table 20 Special Function Register OSAT ( OnScreen ATtributes; address 98H)
New Line−−−E−SRDSh
BSpace−−−B−BC2BC1BC0
SplitBSpace−−−B−BC2BC1BC0
Any other character−−−B−FC2FC1FC0
Table 21 Description of OSAT bits
PECIAL FUNCTION REGISTER OSAT
WITH OSDT =76543210
BITSYMBOLDESCRIPTION
7 to 5, 3−Reserved.
With OSDT = New Line; note 1
4EEnd; If the E bit is 1, no further rows are displayed on the screen.
2SRShort row; If E = 0 and SR = 1, the next row is a ‘short row’, i.e. it is only 4 or 8 scan lines high
rather than 18 or 36. Short rows can be used for underlined text.
1DDouble height; If E = 0 and D = 1, all of the characters in the following row are displayed with
‘double height and width’.
0ShShadowing; If E = 0 and Sh = 1, all of the characters in the following row are displayed with
‘shadowing’; see Section 13.8.
With OSDT = BSpace or SplitBspace; note 2
4BBackground; B indicates whether ‘background pixels’ should show the current background
colour (B = 1), or television video (B = 0).
2 to 0BC2 to BC0 Bcolor: Background colour (notes 3 and 4; see Table 22).
With OSDT = Any other character
4BBackground; B indicates whether ‘background pixels’ should show the current background
colour (B = 1), or television video (B = 0).
2 to 0FC2 to FC0 Fcolor: Foreground colour. Fcolor indicates the colour of ‘foreground pixels’ in the ROM bit
map for this character (see Table 22).
1996 Mar 2220
Page 21
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
Notes to the description of OSAT bits
1. The latches in which the E,SR, D, and Sh bits are captured are cleared to zero at the start of each vertical scan. This
means that if the first text line on the screen is a short row, or if it contains either double size or shadowing, the text
must be preceded by a New Line character. Like all such characters, this initial New Line advances the vertical
screen position; the VStart value (see register OSORG; Section 13.9) should take this fact into account.
2. For SplitBSpace, a change in B and Bcolor occurs halfway through the character horizontally.
3. The normal Space character has no effect on the Bcolor value.
4. The Bcolor value is not cleared between vertical scans, so that if a single background colour is all that is needed in
an application, it can be set via a single BSpace character during program initialization, and never changed
thereafter. In order for such a BSpace to actually affect the 83C055 internal Bcolor register the Mode field of the
OSMOD register must be set to ‘01B’ (or higher) so that the OSD hardware is operating (see register OSMOD;
Section 13.8).
Table 22 OSD outputs related to character bit map value, Fcolor, Bcolor and B bits
CHARACTER BIT MAP VALUE
VID2VID1VID0VCTRL
logic 1FC2FC1FC0driven active
logic 0BC2BC1BC0B
OSD OUTPUTS (notes 1 and 2)
Notes
1. Bcolor (BC2,BC1,BC0) values ‘000’ and ‘111’ minimize the occurrence of transient states among the VID2 to VID0
outputs.
2. The background colour defined by the most recently encountered BSpace or SplitBSpace character is maintained
on the VID2 to VID0 pins except at the following times:
a) During the active time of HSYNC.
b) During the active time of VSYNC.
c) During those pixels of an active character that correspond to a logic 1 in the character’s bit map.
d) During a ‘shadow’ bit.
1996 Mar 2221
Page 22
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
13.7OSD Control Register OSCON
Table 23 OSD Control Register OSCON (address C0H)
76543210
IVPvLvPhPcPoDHBFe
Table 24 Description of OSCON bits (see note 1)
BITSYMBOLDESCRIPTION
7IVInterrupt flag for the OSD feature. Bit IV is set by the leading edge of the VSYNC pulse,
and is cleared by the hardware when the VSYNC interrupt routine is vectored to. It can
also be set or cleared by software writing a logic 1 or logic 0 to this bit.
6PvPv defines the active VSYNC input polarity. If Pv = 0, then VSYNC input is active HIGH;
if Pv = 1, then VSYNC input is active LOW.
One effect of bit Pv is that the VID2 to VID0 and VCTRL outputs are blocked (held at
black/inactive) during the active time of VSYNC. The IV bit is set on the leading edge of
the VSYNC pulse; thus Pv controls whether the OSD interrupt occurs in response to a
HIGH-to-LOW or LOW-to-HIGH transition on VSYNC.
5LvLv defines the active edge of VSYNC. The active edge (leading or trailing) of VSYNC
(as defined by Pv), clears the state counter which determines the vertical start of on
screen data. Time reference for the video field is the leading edge of VSYNC, if Lv = 0,
or the trailing edge of VSYNC, if Lv = 1.
4PhPh defines the active HSYNC input polarity. If Ph = 0, then HSYNC input is active HIGH;
if Ph = 1, then HSYNC input is active LOW.
3PcPc defines the active VCTRL output polarity; VCTRL output active means: show the
colour on VID2 to VID0. If Pc = 0, then VCTRL output is active HIGH; If Pc = 1, then
VCTRL output is active LOW.
2PoPo defines the VID2 to VID0 outputs polarity; bit is needed only because the Shadowing
feature needs to generate black pixels without reference to a register value. Internally,
the 3-bit code ‘000B’ always designates black.
If Po = 0, a logic 0 internal to the 83C055 corresponds to a LOW on one of the
VID2 to VID0 pins.
If Po = 1, a logic 1 internal to the 83C055 corresponds to a LOW on one of the
VID2 to VID0 pins.
1DHIf DH = 1, character sizes are doubled vertically but not horizontally. This feature allows
the 83C055 to be used in ‘improved definition’ systems that are not interlaced.
The vertical doubling imposed by DH does not affect the VStart logic as described in
Table 30; it operates in HSync units regardless of DH or D.
0BFeBackground/Foreground enable; output BF. If BFe = 1, then the BF output tracks
whether each bit in displayed characters is a Foreground bit (LOW), or a Background bit
(HIGH). If BFe = 0, then the BF pin remains HIGH.
Note
1. It is theoretically possible that a VSYNC interrupt could be missed, or an extra one generated, if OSCON is read,
then modified internally (e.g. in ACC), and the result written back to OSCON. However, none of the other bits in
OSCON are reasonable candidates for dynamic change. Special provisions are included in the 83C055 logic so that
IV will not be changed by a single ‘read-modify-write’ instruction such as SETB or CLR, unless the instruction
specifically changes IV.
1996 Mar 2222
Page 23
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
13.8OSD Control Register OSMOD
Under some conditions writing to OSMOD while the display is active can cause a temporary flicker during that display
field. This can be avoided by only writing to OSMOD during the vertical sync interval.
Table 25 OSD Control Register OSMOD (address C1H)
76543210
Wc−Mode1Mode0−SHM2SHM1SHM0
Table 26 Description of OSMOD bits (see note )
BITSYMBOLDESCRIPTION
7WcIf Wc = 1, then each displayed character is horizontally terminated after
12 bits have been output, as opposed to after 14 bits if Wc = 0. This
allows text to be ‘packed’ more tightly so that more characters can be
displayed per line. In effect, the 2 bits out of the display ROM, which
would otherwise be the rightmost 2 of the 14, are ignored when Wc is 1.
Clearly, if this feature is to be used, it must be accounted for in the design
of the bit maps in the display ROM.
6−Reserved.
5Mode1Display mode select bits; see Table 27.
4Mode0
3−Reserved.
2 to 0SHM2 to SHM0Shadowing mode (ShMode); determines how characters are shadowed
in rows for which the row attribute Sh = 1 (register OSAT; see Table 21);
for the shadowing modes see Fig.8 and Table 28.
Table 27 Selection of Display Modes
Mode1 Mode0DISPLAY MODE
00Mode 0 The OSD feature is disabled. VCLK oscillator is disabled, VID2 to VID0 are set to black, and
VCTRL is held inactive.This is the mode to which the 83C055 OSD logic is reset; note 1.
01Mode 1 The VCLK oscillator is enabled and the OSD logic operates normally internally, but
VID2 to VID0 are set to black and VCTRL is held inactive; note 2.
10Mode 2 Normal OSD operation. Active characters can be shown against TV video (for characters
with B = 0) or (for characters with B = 1) against a background of the colour defined as an
attribute of BSpace and SplitBSpace characters.
11Mode 3 Characters can be displayed but all of the receiver’s normal video is inhibited by holding
VCTRL asserted throughout the active portion of each scan line; see note 3.
Notes
1. A direct transition from this mode to ‘active display’ (Mode1, Mode0 = 1X) would result in undefined operation and
visual effects for the duration of the current video field (until the next VSYNC).
2. The OSD feature can be toggled between this state and ‘active display’ as desired to achieve real-time special effects
such as ‘vertical wiping’.
3. Since VID2 to VID0 are driven with the current background colour during this time, except during the foreground
portion of displayed characters, this produces text against a solid background. This mode is useful for extensive
displays that require user concentration.
1996 Mar 2223
Page 24
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
Table 28 Shadowing modes determined by bits SHM2 to SHM0 (register OSMOD) and Sh (register OSAT)
1. The mode names are based on the position of an apparent light source, ranging from the lower left (South-west)
clockwise to the lower right (South-east); see Fig.8.
13.9OSD Control Register OSORG
(1)
Table 29 OSD Control Register OSORG (address C2H)
76543210
HS4HS3HS2HS1HS0VS2VS1VS0
Table 30 Description of OSORG bits (note 1)
BITSYMBOLDESCRIPTION
7 to 3HS4 to HS0 HStart field; defines the horizontal start position of all the on-screen character rows, as
approximately a multiple of 4 VCLK clock cycles. Active display begins after the trailing
edge of HSYNC at the position:
HP4HStart()×1+[]VCLK clock cycle×one single-sized character width()+=
Where (HStart) is the decimal value of bits (HS4 to HS0); note 2.
2 to 0VS2 to VS0 VStart field; defines the vertical start position of the first on-screen character row, as
approximately a multiple of 4 HSYNC pulses. Active display begins after the field’s time
reference point (a range of 3 to 31)at the position:
VP4VStart()×1–[]HSYNC pulses×=
Where (VStart) is the decimal value of bits (VS2 to VS0); note 3.
Notes
1. Neither the Hstart nor Vstart parameter is affected by the D line attribute that is used to display double-sized
characters.
2. Counting variations in Wc, there may be 17 to 143 VCLK clock cycles from the end of HSYNC to the start of the first
character of each row.
3. Subsequent character rows occur directly below the first, such that the last scan line of one row is directly followed
by the first scan line of the next row. Successive New Line characters (with or without the Short Row designation)
can be used to vertically separate text rows on the screen.
1996 Mar 2224
Page 25
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
handbook, full pagewidth
83C145; 83C845
83C055; 87C055
foreground
colour pixel
black pixel
background
colour pixel
apparent light
source
ShMode = 100ShMode = 011ShMode = 010
ShMode = (SHM2, SHM1, SHM0)
ShMode = 101No ShadowingShMode = 001
ShMode = 110ShMode = 111ShMode = 000
Fig.8 Effect of shadowing on the letter ‘E’.
MBE773
1996 Mar 2225
Page 26
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
14 PROGRAMMING CONSIDERATIONS
14.1EPROM Characteristics
The 87C055 is programmed by using a modified Quick-Pulse Programming algorithm similar to that used for devices
such as the 87C751. It differs from these devices in that a serial data stream is used to place the 87C055 in the
programming mode.
Figure 9 shows a block diagram of the programming configuration for the 87C055.
Table 31 Pin usage for Programming
PINUSAGE
XTAL1Oscillator input and receives the master system clock. This clock should be between
1.2 and 6 MHz.
RESETUsed to accept the serial data stream that places the 87C055 into various programming modes.
This pattern consists of a 10-bit code with the LSB sent first. Each bit is synchronized to the
clock input, XTAL1.
Port 0
/TDAC/P0.0Used as the programming voltage supply input (VPP signal).
V
PP
PROG/PWM1/P0.1 Used as the program PROG signal. This pin is used for the 25 programming pulses.
Port 2
P2.7 to P2.0Address input for the byte to be programmed and accepts both the high- and low-order
components of the 11-bit address; note 1.
Port 3
P3.7 to P3.0Used as a bidirectional data bus during programming and verify operations. During programming
mode, it accepts the byte to be programmed. During verify mode, it provides the contents of the
EPROM location specified by the address which has been supplied to Port 2.
Note
1. Multiplexing of these address components is performed using the ASEL input:
a) ASEL input is driven HIGH and then drive Port 2 with the high-order bits of the address. ASEL should remain
HIGH for at least 13 clock cycles.
b) ASEL may then be driven LOW which latches the high-order bits of the address internally. The high-order address
should remain on Port 2 for at least 2 clock cycles after ASEL is driven LOW.
c) Port 2 may then be driven with the low byte of the address. The low-order address will be internally stable 13 clock
cycles later. The address will remain stable provided that the low byte placed on Port 2 is held stable and ASEL
is kept LOW.
d) ASEL needs to be pulsed HIGH only to change the high byte of the address.
1996 Mar 2226
Page 27
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
14.2Programming operation
Figures 10 and 11 show the timing diagrams for the
Program/Verify cycle. Programming operation:
1. RST should initially be held HIGH for at least
2 machine cycles. P0.1 (PROG) and P0.0 (VPP) will be
at VOH as a result of the RST operation. At this point,
these pins function as normal quasi-bidirectional I/O
ports and the programming equipment may pull these
lines LOW. However, prior to sending the 10-bit code
on the RST pin, the programming equipment should
drive these pins HIGH (V
2. The RST pin may now be used as the serial data input
for the data stream which places the 87C055 in the
Programming Mode. Data bits are sampled during the
clock HIGH time and thus should only change during
the time that the clock is LOW. Following transmission
of the last data bit, the RST pin should be held LOW.
3. Next the address information for the location to be
programmed is placed on Port 2 and ASEL is used to
perform the address multiplexing, as previously
described (see Table 31; note 1).
a) At this time, Port 1 functions as an output.
b) A high voltage VPP level is then applied to the V
input (P0.0). This sets Port 1 as an input port.
c) The data to be programmed into the EPROM array
is then placed on Port 3. This is followed by a
series of programming pulses applied to the PROG
pin (P0.1). These pulses are created by driving
P0.1 LOW and then HIGH. This pulse is repeated
until a total of 25 programming pulses have
occurred. At the conclusion of the last pulse, the
PROG signal should remain HIGH.
4. The VPP signal may now be driven to the VOH level,
placing the 87C055 in the Verify Mode; Port 3 is now
used as an output port. After four machine cycles
(48 clock periods), the contents of the addressed
location in the EPROM array will appear on Port 3.
5. The next programming cycle may now be initiated by:
a) Placing the address information at the inputs of the
multiplexed buffers.
b) Driving the VPP pin to the VPP voltage level.
c) Providing the byte to be programmed to Port 3 and
issuing the 26 programming pulses on the PROG
pin.
d) Bringing VPP back down to the VOH level and
verifying the byte (see Table 33).
).
IH
PP
83C145; 83C845
83C055; 87C055
14.3Erasure Characteristics
Erasure of the EPROM begins to occur when the chip is
exposed to light with wavelengths shorter than
approximately 4000 Angstroms. Since sunlight and
fluorescent lighting have wavelengths in this range,
exposure to these light sources over an extended time
(about 1 week in sunlight, or 3 years in room level
fluorescent lighting) could cause inadvertent erasure.
For this and secondary effects, it is recommended that an
opaque label be placed over the window. For elevated
temperature or environments where solvents are being
used, apply Kapton tape Fluorless (part number 2345-5) or
equivalent.
The recommended erasure procedure is exposure to
ultraviolet light (at 2537 Angstroms) to an integrated dose
of at least 15 Ws/cm2.
Exposing the EPROM to an ultraviolet lamp of
12000 µW/cm2 rating for 20 to 39 minutes, at a distance of
about 1 inch, should be sufficient. Erasure leaves the array
in an all logic 1s state.
14.4Reading Signature Bytes
The Signature Bytes are read by the same procedure as a
normal verify of locations 30H and 31H (the values are
shown in Table 32), except that the serial code indicated in
Table 33 for reading signature bytes should be used.
Table 32 Programming and Verification codes
ADDRESSCONTENTINDICATION
30H15Hmanufactured by Philips
31H4BH87C055
Table 33 Implementing Program/Verify Modes
OPERATION
SERIAL
CODE
Program user EPROM286H−
Verify user EPROM286HV
Read Signature Bytes280HV
Note
1. Pulsed from VIH to VIL and returned to VIH.
P0.1
(PROG)
(1)
IH
IH
P0.0
(V
PP
V
PP
V
V
)
IH
IH
1996 Mar 2227
Page 28
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
handbook, full pagewidth
PROGRAMMING
PULSES
VPP/VIH VOLTAGE
SOURCE
CLK SOURCE
A0-A15P2.0-2.7
ADDRESS STROBE
RESET
CONTROL
LOGIC
8
P0.2/ASEL
P0.1
P0.0
XTAL1
RESET
87C055
V
DD
V
SS
P3.0-P3.7
83C145; 83C845
83C055; 87C055
5V
8
DATA BUS
MBE767
handbook, full pagewidth
XTAL1
RESET
P0.0
P0.1
min 2 machine
cycles
undefined
undefined
Fig.9 Programming Configuration.
10-bit serial code
BIT 0 BIT 1 BIT 2 BIT 3 BIT 4 BIT 5 BIT 6 BIT 7 BIT 8 BIT 9
MBE768
Fig.10 Entry into Program/Verify Modes.
1996 Mar 2228
Page 29
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
14.5EPROM Programming and Verification
V
=5V±10%; VSS=0V; T
DD
SYMBOLPARAMETERMIN.MAX.UNIT
1/t
CLCL
(1)
t
AVGL
t
GHAX
t
DVGL
t
GHDX
t
SHGL
t
GHSL
t
GLGH
(1)
t
AVQV
t
GHGL
t
SYNL
t
SYNH
t
MASEL
t
HAHLD
t
HASET
t
ADSTA
Oscillator/clock frequency1.26MHz
Address setup to P0.1 (PROG) LOW10 + 24t
Address hold after P0.1 (PROG) HIGH48t
Data setup to P0.1 (PROG) LOW38t
Data hold after P0.1 (PROG) HIGH36t
VPP setup to P0.1 (PROG) LOW10−µs
VPP hold after P0.1 (PROG) HIGH10−µs
P0.1 (PROG) width90110µs
VPP (VDD) LOW to data valid−48t
P0.1 (PROG) HIGH to P0.1 (PROG) LOW10−µs
P0.0 (sync pulse) LOW4t
P0.0 (sync pulse) HIGH8t
ASEL HIGH time13t
Address hold time2t
Address setup to ASEL13t
Low address to address stable13t
=21to27°C.
amb
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
CLCL
−µs
−µs
−µs
−µs
CLCL
−µs
−µs
−µs
−µs
−µs
−µs
µs
Note
1. Address should be valid at least 24t
andbook, full pagewidth
PORT 2
PORT 3
5 V
t
MASEL
t
HASET
HIGH ADDRESSLOW ADDRESS
t
ADSTA
INVALID DATAVALID DATAVALID DATAINVALID DATA
verify modeverify mode
P0.0 [V (p-p)]
P0.1 (PROG)
P0.2 (ASEL)
before the rising edge of P0.0 (VPP).
CLCL
12.75 V
t
SHGL
25 PULSES
t
GLGH
98µs MIN10µs MIN
t
HAHLD
t
DVGL
DATA TO BE
PROGRAMMED
program mode
t
GHGL
t
GHDX
5 V
t
GHSL
t
AVQV
MBE769
Fig.11 Program/Verify cycle.
1996 Mar 2229
Page 30
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
15 PROGRAMMING THE OSD EPROM
15.1Overview
The OSD EPROM space starts at location C000H and
ends at location CFFFH. However, due to the addressing
scheme of the OSD, not all locations within this space are
used.The start location of the next character can be
calculated by adding 40H to the start location of the
previous character. For example, character 1 starts at
C000H; then characters 2, 3, and 4 start at C040H,
C080H, and C0C0H, respectively.
15.2Character description and programming
An example of an OSD character bit map, and the program
data to obtain that character is shown in Table 34.
15.3OSD EPROM bit map
The mapping for the full OSD EPROM is shown in Table 35. To program the example character into the first character
location of the OSD EPROM would require the data at the address as shown in Table 34.
Each character is 14 bits wide by 18 lines high.A character
is split about a vertical axis into two sections UPPER and
LOWER as illustrated in Table 34:
• Each section contains 7 bits of the character, such that:
– the LOWER section contains bits 7 to 1, and
– the UPPER section contains bits 14 to 8.
• The LOWER section of the character is programmed
when the LSB of the program address equals a logic 0,
and the UPPER section when the LSB equals a logic 1.
During Programming and Verification, each section is
programmed using bytes of program data. The MSB of the
program data is not used; however, the MSB location
physically exists, and so will Program and Verify.
Table 34 Example of an OSD Character Bit Map (note 1)
CHARACTER BIT MAPPROGRAM DATAADDRESS (HEX)
LINE
Line 100000000000000X0000000X0000000C001C000
Line 200000000000000X0000000X0000000C003C002
Line 300111100001100X0011110X0001100C005C004
Line 400111100001100X0011110X0001100C007C006
Line 500111100001100X0011110X0001100C009C008
Line 600111100001100X0011110X0001100C00BC00A
Line 700111100001100X0011110X0001100C00DC00C
Line 800111100001100X0011110X0001100C00FC00E
Line 900111111111100X0011111X1111100C011C010
Line 1000111111111100X0011111X1111100C013C012
Line 1100111111111100X0011111X1111100C015C014
Line 1200111100001100X0011110X0001100C017C016
Line 1300111100001100X0011110X0001100C019C018
Line 1400111100001100X0011110X0001100C01BC01A
Line 1500111100001100X0011110X0001100C01DC01C
Line 1600111100001100X0011110X0001100C01FC01E
Line 1700000000000000X0000000X0000000C021C020
Line 1800000000000000X0000000X0000000C023C022
UPPER
(BIT 14 TO 8)
LOWER
(BIT 7 TO 1)
UPPERLOWERUPPERLOWER
Note
1. X can be a logic 0 or logic 1, and will Program and Verify correctly.
1996 Mar 2230
Page 31
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
Table 35 OSD EPROM Bit Map
CHARACTER NO.
0C000C0011
(1)
1
(1)
2
(1)
3to59
(2)
60
(2)
61
(2)
62
(2)
63
LOWER BYTEUPPER BYTE
ADDRESS (HEX)
C002C0032
C004C0053
C006C0074
C008C0095
C00AC00B6
C00CC00D7
C00EC00F8
C010C0119
C012C01310
C014C01511
C016C01712
C018C01913
C01AC01B14
C01CC01D15
C01EC01F16
C020C02117
C022C02318
C024 to C03Fnot used
C040 to C0631 to 18
C064 to C07Fnot used
C080 to C0A31 to 18
C0A4 to C0BFnot used
−−
CF00 to CF231 to 18
CF24 to CF3Fnot used
CF40 to CF631 to 18
CF64 to CF7Fnot used
CF80 to CFA31 to 18
CFA4 to CFBFnot used
CFC0 to CFE31 to 18
CFE4 to CFFFnot used
83C145; 83C845
83C055; 87C055
CHARACTER LINE NO.
Notes
1. Characters 1 to 59 are setup in the similar way as character 0; due to space and simplicity this is not fully displayed.
2. Locations 60, 61, 62 and 63 should be programmed to logic 0s. The character names are: character no. 60 = Normal
Space; character no. 61 = New Line; character no. 62 = BSpace; character no. 63 = SplitBSpace.
1996 Mar 2231
Page 32
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
16 REGISTER MAP
Table 36 Register map
Values within parenthesis show the bit state after a reset operation; ‘X’ denotes an undefined state.
ADDR.
(HEX)
E0ACC
F0B
83DPHDPH7
82DPLDPL7
A8IE
9AOSAD−
9F to 98 OSAT
99OSDT−
C0OSCON
C1OSMODWc
C2OSORGHS4
80P0
90P1
A0P2
B0P3
87PCON−
D0PSW
D4PWM0PW0E
REGISTER76543210
(1)
(1)
OSAT
OSAT
(1)
(1)
(1)
(1)
(1)
(1)(2)
(1)(3)
(1)(4)
(1)
(1)
ACC7
(0)
B7
(0)
(0)
(0)
EA
(0)
(X)
−
(X)
−
(X)
−
(X)
(X)
IV
(X)
(X)
(X)
P07
(1)
P17
(1)
P27
(1)
P37
(1)
(0)
CY
(0)
(0)
ACC6
(0)
B6
(0)
DPH6
(0)
DPL6
(0)
−
(X)
OSAD6
(X)
−
(X)
−
(X)
−
(X)
−
(X)
Pv
(X)
−
(X)
HS3
(X)
P06
(1)
P16
(1)
P26
(1)
P36
(1)
−
(X)
AC
(0)
−
(0)
ACC5
(0)
B5
(0)
DPH5
(0)
DPL5
(0)
−
(0)
OSAD5
(X)
−
(X)
−
(X)
−
(X)
OSDT5
(X)
Lv
(X)
Mode1
(X)
HS2
(X)
P05
(1)
P15
(1)
P25
(1)
P35
(1)
−
(X)
F0
(0)
PV05
(0)
ACC4
(0)
B4
(0)
DPH4
(0)
DPL4
(0)
EVS
(0)
OSAD4
(X)
E
(X)
B
(X)
B
(X)
OSDT4
(X)
Ph
(X)
Mode0
(X)
HS1
(X)
P04
(1)
P14
(1)
P24
(1)
P34
(1)
−
(X)
RS1
(0)
PV04
(0)
ACC3
(0)
B3
(0)
DPH3
(0)
DPL3
(0)
ET1
(0)
OSAD3
(X)
−
(X)
−
(X)
−
(X)
OSDT3
(X)
Pc
(X)
−
(X)
HS0
(X)
P03
(1)
P13
(1)
P23
(1)
P33
(1)
GF1
(X)
RS0
(0)
PV03
(0)
ACC2
(0)
B2
(0)
DPH2
(0)
DPL2
(0)
EX1
(0)
OSAD2
(X)
SR
(X)
BC2
(X)
FC2
(X)
OSDT2
(X)
Po
(X)
SHM2
(X)
VS2
(X)
P02
(1)
P12
(1)
P22
(1)
P32
(1)
GF0
(X)
OV
(0)
PV02
(0)
ACC1
(0)
B1
(0)
DPH1
(0)
DPL1
(0)
ET0
(0)
OSAD1
(X)
D
(X)
BC1
(X)
FC1
(X)
OSDT1
(X)
DH
(X)
SHM1
(X)
VS1
(X)
P01
(1)
P11
(1)
P21
(1)
P31
(1)
−
(X)
−
(0)
PV01
(0)
ACC0
(0)
B0
(0)
DPH0
(0)
DPL0
(0)
EX0
(0)
OSAD0
(X)
Sh
(X)
BC0
(X)
FC0
(X)
OSDT0
(X)
BFe
(X)
SHM0
(X)
VS0
(X)
P00
(1)
P10
(1)
P20
(1)
P30
(1)
−
(X)
P
(0)
PV00
(0)
1996 Mar 2232
Page 33
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
ADDR.
(HEX)
D5PWM1PW1E
D6PWM2PW2E
D7PWM3PW3E
DCPWM4PW4E
DDPWM5PW5E
DEPWM6PW6E
DFPWM7PW7E
D8SAD
81SPSP7
D3TDACHTDE
D2TDACLTD7
8FTCON
8CTH0TH07
8DTH1TH17
8ATL0TL07
8BTL1TL17
89TMODGATE
C3RAMCHRfor test purposes only
C4RAMATTfor test purposes only
REGISTER76543210
(1)
(1)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
VHi
(0)
(0)
(0)
(0)
TF1
(0)
(0)
(0)
(0)
(0)
(0)
−
(0)
−
(0)
−
(0)
−
(0)
−
(0)
−
(0)
−
(0)
CH1
(0)
SP6
(0)
−
(0)
TD0
(0)
TR1
(0)
TH06
(0)
TH16
(0)
TL06
(0)
TL16
(0)
C/T
(0)
PV15
(0)
PV25
(0)
PV35
(0)
PV45
(0)
PV55
(0)
PV65
(0)
PV75
(0)
CH0
(0)
SP5
(0)
TD13
(0)
TD1
(0)
TF0
(0)
TH05
(0)
TH15
(0)
TL05
(0)
TL15
(0)
M1
(0)
PV14
(0)
PV24
(0)
PV34
(0)
PV44
(0)
PV54
(0)
PV64
(0)
PV74
(0)
St
(0)
SP4
(0)
TD12
(0)
TD2
(0)
TR0
(0)
TH04
(0)
TH14
(0)
TL04
(0)
TL14
(0)
M0
(0)
PV13
(0)
PV23
(0)
PV33
(0)
PV43
(0)
PV53
(0)
PV63
(0)
PV73
(0)
SAD3
(0)
SP3
(0)
TD11
(0)
TD3
(0)
IE1
(0)
TH03
(0)
TH13
(0)
TL03
(0)
TL13
(0)
GATE
(0)
83C145; 83C845
83C055; 87C055
PV12
(0)
PV22
(0)
PV32
(0)
PV42
(0)
PV52
(0)
PV62
(0)
PV72
(0)
SAD2
(0)
SP2
(0)
TD10
(0)
TD4
(0)
IT1
(0)
TH02
(0)
TH12
(0)
TL02
(0)
TL12
(0)
C/T
(0)
PV11
(0)
PV21
(0)
PV31
(0)
PV41
(0)
PV51
(0)
PV61
(0)
PV71
(0)
SAD1
(0)
SP1
(0)
TD9
(0)
TD5
(0)
IE0
(0)
TH01
(0)
TH11
(0)
TL01
(0)
TL11
(0)
M1
(0)
PV10
(0)
PV20
(0)
PV30
(0)
PV40
(0)
PV50
(0)
PV60
(0)
PV70
(0)
SAD0
(0)
SP0
(0)
TD8
(0)
TD6
(0)
IT0
(0)
TH00
(0)
TH10
(0)
TL00
(0)
TL10
(0)
M0
(0)
Notes
1. Bit addressable.
2. With OSDT = New Line.
3. With OSDT = BSpace or SplitBSpace.
4. With OSDT = Any other character.
1996 Mar 2233
Page 34
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
17 LIMITING VALUES
In accordance with the Absolute Maximum Rating System (IEC 34); see notes 1 and 2.
SYMBOLPARAMETERMIN.MAX.UNIT
V
DD
V
I
I
OH
I
OL
P
tot
T
amb
T
stg
Notes
1. Stresses above those listed under Limiting Values may cause permanent damage to the device.
2. Parameters are valid over operating temperature range unless otherwise specified. All voltages are with respect to
V
unless otherwise noted.
SS
18 HANDLING
supply voltage4.55.5V
input voltage on any pin with respect to ground (VSS)−0.56.5V
maximum source current for all port lines−−1.5mA
maximum sink current for all port lines−15mA
total power dissipation−1.5W
operating ambient temperature070°C
storage temperature−65150°C
Inputs and outputs are protected against electrostatic discharge in normal handling. However it is good practice to take
normal precautions appropriate to handling MOS devices (see
HIGH level input voltage; P1.2 to P1.0,
P3.6 to P3.5 and P3.3 to P3.1
V
IH2
HIGH level input voltage;
P1.3, P3.7,P3.4 and P3.0
V
IH3
HIGH level input voltage; VSYNC and
HSYNC
V
− VDDHIGH level input voltage with respect
IH
to VDD; Port 0, P1.3, P3.7, P3.4 and
P3.0
V
OL1
LOW level output voltage; P2.7 to P2.0
and P3.6 to P3.5
V
OL2
LOW level output voltage;
TDAC and PWM0 to PWM7
V
OL3
LOW level output voltage; all other
outputs
V
OH
HIGH level output voltage;
Port 1, VID2 to VID0, VCTRL and BF
R
RST
C
IO
Reset (RST) pull-down resistor50−300kΩ
Pin capacitance; except P0.0 and P0.7 test freq. = 1 MHz;
HYSHysteresis; VSYNC and HSYNC0.8−−V
= 0 to +70 °C; all voltages with respect to VSS; unless otherwise specified.
amb
−0.5−0.15V
0.7V
DD
0.2VDD+ 0.9 −VDD+ 0.5V
0.2VDD+ 0.9 −12.6V
0.67V
DD
note 20.7V
DD
IOL= 10 mA; note 3−−0.5V
IOL= 700 µA; note 4−−0.5V
IOL= 1.6 mA−−0.45V
IOH= −60 µA2.4−−V
−−10pF
=25°C; note 5
T
amb
DD
−VDD+ 0.5V
−VDD+ 0.5V
−VDD+ 0.5V
V
Notes
1. I
measured with OSD block initialized and RST remaining LOW.
DD
2. This maximum applies at all times, including during power switching, and must be accounted for in power supply
design. During a Power-on process, the +12 V source used for external pull-up resistors should not precede the V
DD
of the 83C055 up their respective voltage ramps by more than this margin, nor, during a Power-down process, should
VDD precede +12 V down their respective voltage ramps by more than this margin.
3. No more than 6 (any 6) of these 10 high current outputs may be used at the V
The other 4 should comply with the V
specification (IOL= 1.6 mA).
OL3
(IOL= 10 mA) specification.
OL1
4. The specified current rating applies when any of these pins is used as a Pulse Width Modulated (PWM) output.
For use as a port output, the rating is as given subsequently.
5. The capacitance of pins P0.0 and P0.7 for the 87C055 exceeds 10 pF; for P0.0 this is maximum 40 pF, while for P0.7
it is maximum 20 pF.
1996 Mar 2235
Page 36
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
83C145; 83C845
83C055; 87C055
20 AC CHARACTERISTICS
V
=5V±10%; T
DD
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
1/t
CLCL
t
CHCX
t
CLCX
t
CLCH
t
CHCL
1/t
VCLCL
t
VCOH
t
VCOH1
t
VCOL1
− t
Rise versus fall time skew on any one of
VCOL
− t
VCOH2
− t
VCOL2
Notes
1. The 83C055 is tested at its maximum XTAL frequency, but not at any other (lower) rate.
2. These parameters apply only when an external clock signal is used.
3. These parameters assume equal loading at C
specified but not tested.
= 0 to +70 °C; all voltages with respect to VSS; unless otherwise specified.
1. Plastic or metal protrusions of 0.25 mm maximum per side are not included.
OUTLINE
VERSION
SOT270-1
IEC JEDEC EIAJ
REFERENCES
1996 Mar 2237
EUROPEAN
PROJECTION
ISSUE DATE
90-02-13
95-02-04
Page 38
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
22 SOLDERING
22.1Introduction
There is no soldering method that is ideal for all IC
packages. Wave soldering is often preferred when
through-hole and surface mounted components are mixed
on one printed-circuit board. However, wave soldering is
not always suitable for surface mounted ICs, or for
printed-circuits with high population densities. In these
cases reflow soldering is often used.
This text gives a very brief insight to a complex technology.
A more in-depth account of soldering ICs can be found in
our
“IC Package Databook”
22.2Soldering by dip or wave
The maximum permissible temperature of the solder is
260 °C; solder at this temperature must not be in contact
with the joint for more than 5 seconds. The total contact
time of successive solder waves must not exceed
5 seconds.
(order code 9398 652 90011).
83C145; 83C845
83C055; 87C055
The device may be mounted to the seating plane, but the
temperature of the plastic body must not exceed the
specified storage maximum. If the printed-circuit board has
been pre-heated, forced cooling may be necessary
immediately after soldering to keep the temperature within
the permissible limit.
22.3Repairing soldered joints
Apply a low voltage soldering iron (less than 24 V) to the
lead(s) of the package, below the seating plane or not
more than 2 mm above it. If the temperature of the
soldering iron bit is less than 300 °C it may remain in
contact for up to 10 seconds. If the bit temperature is
between 300 and 400 °C, contact may be up to 5 seconds.
23 DEFINITIONS
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.
24 LIFE 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.
1996 Mar 2238
Page 39
Philips SemiconductorsProduct specification
Microcontrollers for TV and video (MTV)
NOTES
83C145; 83C845
83C055; 87C055
1996 Mar 2239
Page 40
Philips Semiconductors – a worldwide company
Argentina: see South America
Australia: 34 Waterloo Road, NORTH RYDE, NSW 2113,
All rights are reserved. Reproduction in whole or in part is prohibited without the
prior written consent of the copyright owner.
The information presented in this document does not form part of any quotation
or contract, is believed to be accurate and reliable and may be changed 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.
Printed in The Netherlands
457041/1100/01/pp40Date of release: 1996 Mar 22
Document order number:9397 750 00752
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.