English
Language : 

P83CX80 Datasheet, PDF (31/84 Pages) NXP Semiconductors – 80C51 type core
Philips Semiconductors
Microcontrollers for monitors with DDC
interface, auto-sync detection and sync proc.
Product specification
P83Cx80; P87C380
handbook,ffcullkl pagewidth
4
256
1
2
3
m
m+1 m+2
256
1
00
01
m
255
decimal value PWM data latch
Fig.14 PWM0 to PWM9 output patterns.
MGG043
14.2 14-bit PWM output (PWM10)
PWM10 shares the same pin as port line P1.7. Selection
of the pin function as either a PWM output or as a port line
is achieved using the PWME2.0 bit in SFR PWME2
(address E8H); see Table 4.
The block diagram for the 14-bit PWM output is shown in
Fig.15 and comprises:
• Two 7-bit latches; SFRs PWM10H and PWM10L
• 14-bit data latch (PWMREG)
• 14-bit counter
• Coarse pulse controller
• Fine pulse controller
• Mixer.
Data is loaded into the 14-bit data latch (PWMREG) from
the two 7-bit data latches (PWM10H and PWM10L) when
PWM10H is written to. The upper seven bits of PWMREG
are used by the coarse pulse controller and determine the
coarse pulse width; the lower seven bits are used by the
fine pulse controller and determine in which subperiods
fine pulses will be added.
The outputs OUT1 and OUT2 of the coarse and fine pulse
controllers are then ‘ORed’ in the mixer to give the PWM10
output. The polarity of the PWM10 output is programmable
and is selected by the P14LVL bit in SFR DFCON (address
C0H); see Section 7.3.2.
As the 14-bit counter is clocked by 1⁄4fclk, the repetition
times of the coarse and fine pulse controllers may be
calculated as shown below.
Coarse controller repetition time: tsub = 128 × f--c-4--l-k
Fine controller repetition time: tr = 128 × 128 × -f-c-4--l-k
Figure 16 shows typical PWM10 outputs, with coarse
adjustment only, for different values held in PWM10H,
when P14LVL = 1. Figure 17 shows typical PWM10
outputs when P14LVL = 1, with coarse and fine
adjustment, after the coarse and fine pulse controller
outputs have been ‘ORed’ by the mixer.
When P14LVL = 1, the PWM10 output is inverted.
1997 Dec 12
31