
ADV7184
I
2
C READBACK REGISTERS
Teletext
Because teletext is a high data rate standard, the decoded bytes
are available only as ancillary data. However, a TTX_AVL bit
has been provided in I
2
C so that the user can check whether or
not the VDP has detected teletext. Note that the TTXT_AVL bit
is a plain status bit and does not use the protocol identified in
the I
2
C Interface section.
Rev. 0 | Page 57 of 108
TTXT_AVL Teletext Detected Status bit, Address 0x78 [7],
User Sub Map, Read Only
0—Teletext was not detected.
1—Teletext was detected.
WST Packet Decoding
For WST ONLY, the VDP decodes the Magazine and Row
address of WST teletext packets and further decodes the
packet’s 8x4 hamming coded words. This feature can be
disabled using WST_PKT_ DECOD_ DISABLE
bit (Bit 3,
register 0x60, User Sub Map). The feature is valid for WST only.
WST_PKT_DECOD_DISABLE Disable Hamming Decoding
of Bytes in WST, Address 0x60 [3], User Sub Map
0—Enables hamming decoding of WST packets
1 (default)—Disables hamming decoding of WST packets.
For hamming coded bytes, the dehammed nibbles are output
along with some error information from the hamming decoder
as follows.
Input Hamming Coded byte: {D3, P3, D2, P2, D1, P1, D0,
P0} (bits in decoded order)
Output Dehammed byte: {E1, E0, 0, 0, D3’ D2’, D1’ D0’}
(Di’ – corrected bits, Ei error info).
Table 74. Explanation of Error Bits in the Dehammed
Output Byte
E[1:0]
Error Information
00
No errors detected
01
Error in P4
10
Double error
11
Single error found and
corrected
Table 75 describes the different WST packets that are decoded.
Output Data Bitsin Nibble
OK
OK
BAD
OK
Table 75. WST Packet Description
Packet
Header Packet
(X/00)
Byte
1P
st
Byte
2P
nd
Byte
3
rd
Byte
4
th
Byte
5
th
to 10
th
Byte
11
th
to 42
nd
Byte
1
st
Byte
2
nd
Byte
3
rd
to 42
nd
Byte
1
st
Byte
2
nd
Byte
3
rd
Byte
4
th
Byte to 10
th
Byte
11
th
to 23
rd
Byte
24
th
to 42
nd
Byte
1
st
Byte
2
nd
Byte
3
rd
Byte
4
th
Byte to 10
th
Byte
11
th
to 23
rd
Byte
24
th
to 42
nd
Byte
1
st
Byte
2
nd
Byte
3
rd
Byte
4
th
to 42
nd
Byte
Description
Mag No. – Dehammed Byte 4.
Row No. – Dehammed Byte 5.
Page No. – Dehammed Byte 6.
Page No. – Dehammed Byte 7.
Control Bytes – Dehammed Byte 8 to Byte 13.
Raw data bytes.
Mag No. – Dehammed Byte 4.
Row No. – Dehammed Byte 5.
Raw data bytes.
Mag No. – Dehammed Byte 4.
Row No. – Dehammed Byte 5.
Desig Code. – Dehammed Byte 6.
Dehammed Initial Teletext Page Byte 7 to Byte 12.
UTC bytes – Dehammed Bytes 13 to Byte 25.
Raw status bytes.
Mag No. – Dehammed Byte 4.
Row No. – Dehammed Byte 5.
Desig Code. – Dehammed Byte 6.
Dehammed Initial Teletext Page Byte 7 to Byte 12.
PDC bytes – Dehammed Byte 13 to Byte 25.
Raw status bytes.
Mag No. – Dehammed Byte 4.
Row No. – Dehammed Byte 5.
Desig Code. – Dehammed Byte 6.
Raw data bytes.
Text Packets
(X/01 to X/25)
8/30 (Format 1) packet
Desig Code = 0000 or 0001
UTC
8/30 (Format 2) packet
Desig Code = 0010 or 0011
PDC
X/26, X/27, X/28, X/29, X/30, X/31
1
1
For X/26, X/28 and M/29, further decoding needs 24x18 hamming decoding. Not supported at present.