SAA5500PS Philips Semiconductors, SAA5500PS Datasheet - Page 36

no-image

SAA5500PS

Manufacturer Part Number
SAA5500PS
Description
Standard TV Microcontrollers with On-Screen Display(OSD)
Manufacturer
Philips Semiconductors
Datasheet
Philips Semiconductors
15.2
The device has a single 14-bit PWM that can be used for
Voltage Synthesis Tuning. The method of operation is
similar to the normal PWM except the repetition period is
42.66 s.
15.2.1
Two SFRs are used to control the TPWM, they are TDACL
and TDACH. The TPWM is enabled by setting the
TPWE bit in the TDACH SFR. The most significant bits
TD<13:7> alter the high period between 0 and 42.33 s.
The 7 least significant bits TD<6:0> extend certain pulses
by a further 0.33 s, e.g. if TD<6:0> = 01H then
1 in 128 periods will be extended by 0.33 s, if
TD<6:0> = 02H then 2 in 128 periods will be extended.
The TPWM will not start to output a new value until TDACH
has been written to. Therefore, if the value is to be
changed, TDACL should be written before TDACH.
15.3
Four successive approximation Analog-to-Digital
Converters can be implemented in software by making use
of the on-board 8-bit Digital-to-Analog Converter and
Analog Comparator.
15.3.1
The control of the required analog input is done using the
channel select bits CH<1:0> in the SAD SFR, this selects
the required analog input to be passed to one of the inputs
of the comparator. The second comparator input is
generated by the DAC whose value is set by the bits
SAD<7:0> in the SAD and SADB SFRs. A comparison
between the two inputs is made when the start compare
bit ST in the SAD SFR is set, this must be at least one
instruction cycle after the SAD<7:0> value has been set.
The result of the comparison is given on VHI one
instruction cycle after the setting of ST.
15.3.2
The external analog voltage that is used for comparison
with the internally generated DAC voltage does not have
the same voltage range. The DAC has a lower reference
level of V
1999 Oct 27
Standard TV microcontrollers with
On-Screen Display (OSD)
Tuning Pulse Width Modulator (TPWM)
Software ADC (SAD)
TPWM
SAD
SAD I
SSA
and an upper reference level of V
CONTROL
NPUT
CONTROL
V
OLTAGE
SSP
.
36
The resolution of the DAC voltage with a nominal value is
3.3
value equivalent to V
V
Metal Oxide Semiconductor transistor. The reason for this
is that the input pins for the analog signals (P3.0 to P3.3)
are 5 V tolerant for normal port operations, i.e. when not
used as analog input. To protect the analog multiplexer
and comparator circuitry from the 5 V, a series transistor is
used to limit the voltage. This limiting introduces a voltage
drop equivalent to V
Therefore, for an input voltage in the range V
V
15.3.3
The SAD module incorporates a DC Comparator mode
which is selected using the DC_COMP control bit in the
SADB SFR. This mode enables the microcontroller to
detect a threshold crossing at the input to the selected
analog input pin (P3.0/ADC0, P3.1/ADC1, P3.2/ADC2 or
P3.3/ADC3) of the Software ADC. A level sensitive
interrupt is generated when the analog input voltage level
at the pin falls below the analog output level of the SAD
DAC.
This mode is intended to provide the device with a
wake-up mechanism from Power-down or Idle mode when
a key-press on the front panel of the TV is detected.
The following software sequence should be used when
utilizing this mode for Power-down or Idle:
1. Disable INT1 using the IE SFR.
2. Set INT1 to level sensitive using the TCON SFR.
3. Set the DAC digital input level to the desired threshold
4. Enter DC Compare mode by setting the DC_COMP
5. Enable INT1 using the IE SFR.
6. Enter Power-down or Idle mode. Upon wake-up the
DDP
DDP
256
level using SAD/SADB SFRs and select the required
input pin (P3.0/ADC0, P3.1/ADC1, P3.2/ADC2 or
P3.3/ADC3) using CH<1:0> in the SAD SFR.
enable bit in the SADB SFR.
SAD should be restored to its conventional operating
mode by disabling the DC_COMP control bit.
V
V
13 mV. The external analog voltage has a lower
SAD DC C
tn
tn
, where V
the SAD returns the same comparison value.
tn
OMPARATOR
tn
SSA
is the threshold voltage for an N type
( 0.6 V) on the input voltage.
and an upper value equivalent to
M
Preliminary specification
ODE
SAA55xx
DDP
to

Related parts for SAA5500PS