1996 Jan 08
44
Philips Semiconductors
Preliminary specification
Microcontroller for monitor OSD
and auto-sync applications
PCE84C882
13 TO FORMAT THE OSD
13.1
Number of characters per row
The number of characters per row is a function of
character width. The width of the character displayed is
only dependent upon the value held in the 7-bit
programmable counter (PLLCN) and is not affected by a
change in horizontal resolution (any change in f
Hsync
will be
reflected by a linear change in the frequency of the OSD
clock).
The maximum number of characters per row can be
determined by calculating the number of OSD clock pulses
that occur during the Hsync active period and dividing the
result by the number of horizontal dots in the character
matrix (which is 12). If Hsync is assumed to be active for
85% of its cycle period then the maximum number of
characters per row (N) can be calculated as follows:
13.2
Number of rows per frame
The number of rows per frame is a function of character
height and the spacing between the rows of characters.
The height of a character displayed on the screen is
determined by the number of visible scan lines per frame
and the character size. The number of scan lines is
dependent upon the resolution of the monitor; character
size is selected by the user (see Section 10.1.2). The
PCE84C882 also provides a choice of four inter-line
spaces: 0H, 4H, 8H and 12H (see Section 10.1.2).
If the inter-line spacing is assumed to be zero then the
number of rows per frame (R) can be calculated by dividing
the number of visible scan lines (SL) by the character size
(CS) and dividing the result by the number of vertical dots
in the character matrix (which is 18). This can be
expressed mathematically as follows:
Table 35 shows the number of rows per frame for different
horizontal resolutions.
N
0.85
12
OSD
f
Hsync
×
----------------f
=
R
18
CS
-----SL
=
13.3
Character size selection for different display
resolutions
To cater for the variable display resolutions (i.e. 640 x 400,
640
×
480, 800
×
600, 1024
×
768 and 1280
×
1024) of
auto-sync monitors, the PCE84C882 offers a choice of 4
different character sizes: 1H/1V, 1H/2V, 1H/3V and 1H/4V.
This allows the height of displayed characters to be of
similar size even when the monitors resolution is changed
(see Table 35).
Table 35
Recommended character size selection for
different display resolutions
14 I
2
C-BUS INTERFACE
The PCE84C882 has an on-chip I
2
C-bus interface that can
be used in master or slave mode. Full details of the I
2
C-bus
are given in the document “The I
2
C-bus and how to use it”
This document may be ordered using the code
9398 393 40011.
The I
2
C-bus interface lines SDA and SCL share the same
pins as Derivative Port lines DP20 and DP21 respectively.
Selection of the pin function as either an I
2
C-bus line or a
Derivative Port line is achieved using the SDAE and SCLE
bits in Derivative Register 22 (see Section 12.1). Only port
Option 2 is available for both of these pins.
RESOLUTION
CHARACTER
SIZE
ROWS/FRAME
640
×
400
640
×
480
800
×
600
1024
×
768
1280
×
1024
1H/2V
1H/3V
1H/3V
1H/4V
1H/4V
11
13
11
10
14