The CMOS circuit SDA 5649 is intended for use in video cassette recorders to retrieve control data
of the PDC system from the data lines broadcast during the vertical blanking interval of a standard
video signal.
The SDA 5649 is devised to handle PDC data transported either in Broadcast Data Service Packet
(BDSP) 8/30 format 2 (bytes no. 13 through 25) of CCIR teletext system B or in the dedicated data
line no. 16 in the case of VPS.
Semiconductor Group4412.94
SDA 5649
SDA 5649X
Furthermore it is able to receive the Unified Date and Time (UDT) information transmitted in bytes
no. 15 through 21, the Network Identification code (NIC) carried in bytes no. 13 and 14, and the
Short Program Label carried in bytes no. 22 through 25 of packet 8/30 format 1.
For reception of clock time when no BDSP 8/30/1 is present the SDA 5649 can be enabled to extract
bytes no. 38 through 45 of the teletext header row.
All operating modes (PDC/VPS) are selected by a control register which can be written to via the
I2C-Bus interface.
Pin Configuration
(top view)
P-DIP-14-3
P-DSO-20-1
Semiconductor Group45
Pin Definitions and Functions
SDA 5649
SDA 5649X
Pin No.
P-DIP-14-3
1
Pin No.
P-DSO-20-1
1
2
SymbolFunction
V
SS
V
SSA
V
SSD
Ground (0 V)
Analog ground (0 V)
Digital ground (0 V)
3N.C.Not connected
24SCLSerial clock input of I
35SDASerial data input of I
46CS0Chip select input determining the I
2
C-Bus.
2
C-Bus.
2
C-Bus addresses:
20H / 21H, when pulled low
22H / 23H, when pulled high.
57VCSVideo Composite Sync output from sync slicer used for
PLL based clock generation.
8N.C.Not connected
69DAVNData available output active low, when PDC/VPS data
is received.
710EHBOutput signaling the presence of the first field active
high.
811TITest input; activates test mode when pulled high.
connect to ground for operating mode.
912PD1Phase detector/charge pump output of data PLL
(DAPLL).
13N.C.Not connected
1014PD2/
Connector of the loop filter for the SYSPLL.
VCO2
1115VCO1Input to the voltage controlled oscillator #1 of the
DAPLL.
1216
I
REF
Reference current input for the on-chip analog circuit.
1317CVBSComposite video signal input.
18N.C.Not connected
14
19
V
DD
V
DDD
Positive supply voltage (+ 5 V nom.).
Positive supply voltage for the digital circuits
(+ 5 V nom.).
20
V
DDA
Positive supply voltage for the analog circuits
(+ 5 V nom.).
Semiconductor Group46
SDA 5649
SDA 5649X
Block Diagram
Semiconductor Group47
SDA 5649
SDA 5649X
Circuit Description
Referring to the functional block diagram of the PDC / VPS decoder, the composite video signal with
negative going sync pulses is coupled to the pin CVBS through a capacitor which is used for
clamping the bottom of the sync pulses to an internally fixed level. The signal is passed on to the
slicer, an analogue circuitry separating the sync and the data parts of the CVBS signal, thus yielding
the digital composite sync signal VCS and a digital data signal for further processing by comparing
those signals to internally generated slicing levels.
The output of the sync separator is forwarded, on one hand, to the output pin VCS, and on the other
hand, to the clock generator and the Timing block. The VCS signal represents a key signal that is
used for deriving a system clock signal by means of a PLL and all other timing signal.
The output of the sync separator is forwarded, on one hand, to the output pin VCS, and on the other
hand, to the clock generator and the Timing block. The VCS signal represents a key signal that is
used for deriving a system clock signal by means of a PLL and all other timing signal.
The data slicer separates the data signal from the CVBS signal by comparing the video voltage to
an internally generated slicing level which is found by averaging the data signal during TV line no.
16 in the VPS mode or by averaging the data signal during the clock run-in period of the teletext
lines during the data entry window (DEW) in PDC mode.
The clock generator delivers the system clock needed for the basic timing as well as for the
regeneration of the dataclock. It is based on two phase locked loops (PLL’s) all parts of which are
integrated on chip with the exception of the loop filter components. Each of the PLL’s is composed
of a voltage controlled relaxation oscillator (VCO), a phase/frequency detector (PFD), and a charge
pump which converts the digital output signals of the PFD to an analogue current. That current is
transformed to a control voltage for the VCO by the off-chip loop filter. The generated VCO
frequencies are 10 MHz and 13.875 MHz for VPS mode and PDC mode, respectively.
All signals necessary for the control of sync and data slicing as well as for the data acquisition are
generated by the Timing block.
Depending on the selected operating mode, either teletext lines carrying 8/30 packages or the
dedicated TV line no. 16 are acquired.
In PDC mode, only teletext rows 8/30 containing Broadcast Data Service Package (BDSP)
information are acquired. The relevant bytes of 8/30 format 1 (8/30/1) and 8/30 format 2 (8/30/2) are
extracted. The 8/30/1-bytes are stored in the acquisition register in a transparent way without any
bit manipulation, whereas the Hamming coded bytes of packet 8/30/2 are Hamming-checked and
bytes with one bit error are corrected. The storage of error free or corrected 8/30/2-data bytes in the
transfer register to the I2C-Bus is signalled by the DAVN output going low.
In VPS mode, the extracted data bits of TV line no. 16 are checked for biphase errors. With no
biphase errors encountered, the acquired bytes are stored in the transfer register to the I2C-Bus.
That transfer is signalled by a H/L transition of the DAVN output, as well.
In both operating modes data are updated when a new data line has been received, provided that
the chip is not accessed via the I2C-Bus at the same time.
A micro controller can read the stored bytes via the I2C-Bus interface at any time. However, one
must be aware that the storage of new data from the acquisition interface is inhibited as long as the
PDC decoder is being accessed via the I2C-Bus.
Semiconductor Group48
SDA 5649
SDA 5649X
I2C-Bus
General Information
The I2C-Bus interface implemented on the PDC decoder is a slave transmitter/receiver, i.e., both
reading from and writing to the PDC / VPS decoder is possible. The clock line SCL is controlled only
by the bus master usually being a micro controller, whereas the SDA line is controlled either by the
master or by the slave. A data transfer can only be initiated by the bus master when the bus is free,
i.e., both SDA and SCL lines are in a high state. As a general rule for the I2C-Bus, the SDA line
changes state only when the SCL line is low. The only exception to that rule are the Start Condition
and the Stop Condition. Further Details are given below. The following abbreviations are used:
START :Start Condition generated by master
AS :Ackknowledge by slave
AM :Ackknowledge by master
NAM :No Ackknowledge by master
STOP :Stop Condition generated by master
Chip Address
There are two pairs of chip addresses, which are selected by the CS0-input pin according to the
following table:
CS0 InputWrite ModeRead Mode
Low20 (hex)21 (hex)
High22 (hex)23 (hex)
Write Mode
For writing to the PDC decoder, the following format has to be used.
STARTChipadress Write ModeASByte Set Control RegisterASSTOP
Data Transfer (Write Mode)
Step1
: In order to start a data transfer the master generates a Start Condition on the bus by pulling
the SDA line low while the SCL line is held high.
Step 2
: The bus master puts the chip address on the SDA line during the next eight SCL pulses.
Step 3
Step 4
Step 5
Step 6
The write mode is used to set the I2C-Bus control register which determines the operating mode:
Semiconductor Group49
: The master releases the SDA line during the ninth clock pulse. Thus the slave can generate
an acknowledge (AS) by pulling the SDA line to a low level.
: The controller transmits the data byte to set the Control register.
: The slave acknowledges the reception of the byte.
: The master concludes the data communication by generating a Stop Condition.
SDA 5649
SDA 5649X
Control Register
Bit Number76543210
T4T3T2T1T0HDTPDC/
VPS
Default: All bits are set to 0 on power-up.
Bits 3 through 7 are used for test purposes and must not be changed for normal operation by user
software!
Bit 0:Determines, which kind of data is accessed via the I2C-Bus when PDC mode is active.
Value
01
BDSP
8/ 30/ 2
data accessible
Bit 1:Determines the operating mode.
BDSP 8/ 30/ 1 or
header row
data accessible (refer to description of Bit 2)
Value
FOR1/
FOR2
01
VPS mode activePDC mode active
Bit 2:Determines whether BDSP 8/30/1-data or header row data is accessible.
Value
01
BDSP 8/30/1 data accessibleBytes no.38 through 45 of the header row
containing clock time accessible
Read Mode
For reading from the PDC decoder, the following format has to be used.
The contents of up to 13 registers (bytes) can be read starting with byte 1 bit 7 (refer to the table
Order of Data Output on the I2C-Bus and …) depending on the selected operating mode.
Semiconductor Group50
SDA 5649
SDA 5649X
Data Transfer (Read Mode)
Step1
: To start a data transfer the master generates a Start Condition on the bus by pulling the
SDA line low while the SCL line is held high. The byte address counter in the decoder is
reset and points to the first byte to be output.
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Step 9
: The bus master puts the chip address on the SDA line during the next eight SCL pulses.
: The master releases the SDA line during the ninth clock pulse. Thus the slave can generate
an acknowledge (AS) by pulling the SDA line to a low level. At this moment, the slave
switches to transmitting mode.
: During the next eight clock pulses the slave puts the addressed data byte onto the SDA
line.
: The reception of the byte is acknowledged by the master device which, in turn, pulls down
the SDA line during the next SCL clock pulse. By acknowledging a byte, the master
prompts the slave to increment its internal address counter and to provide the output of the
next data byte.
: Steps no. 4 and no. 5 are repeated, until the desired amount of bytes have been read.
: The last byte is output by the slave since it will not be acknowledged by the master.
: To conclude the read operation, the master doesn’t acknowledge the last byte to be
received. A No Acknowledge by the master (NAM) causes the slave to switch from
transmitting to receiving mode. Note that the master can prematurely cease any reading
operation by not acknowledging a byte.
: The master gains control over the SDA line and concludes the data transfer by generating
a Stop Condition on the bus, i. e., by producing a low/high transition on the SDA line while
the SCL line is in a high state. With the SDA and the SCL lines being both in a high state,
the I2C-Bus is free and ready for another data transfer to be started.
Semiconductor Group51
Loading...
+ 18 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.