| Electronic Components Datasheet Search |
|
ST92195D Datasheet(PDF) 155 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST92195D Datasheet(HTML) 155 Page - STMicroelectronics |
|
155 / 249 page ![]() 155/249 ST92195C/D - TELETEXT SLICER AND ACQUISITION UNIT TELETEXT SLICER AND ACQUISITION UNIT (Cont’d) 7.7.5 Hamming Decoding The Hamming Decoding Unit is a separate block that the application software can use to check and decode Hamming coded data groups of three bytes (Hamming 24/18 format) or one data byte (Hamming 8/4 format). The bytes must either be written to the three corre- sponding registers ACQHD2R, ACQHD1R and ACQHD0R or only to ACQHD0R. The bytes must be written in the correct order, where the last sig- nificant bit is the ACQHD0R (b0). Once the last byte is written, in the case of Hamming 24/18 check, the result is immediately available on 18 bits, plus one bit for validating the data. In the case of Hamming 8/4 check, the result is available on 4 bits, plus one bit for validating data. In order to detect uncorrected remaining errors, the ERR bit (bit 23 for Hamming 24/18 or bit 4 for Hamming 8/4) of the bytes word acts as an “Invalid Hamming Data” Flag upon being read (Hamming error detected when the flag is set). 7.7.5.1 Hamming 24/18 Decoding A1-A6 Row or column address M1-M5 Mode description bits D1-D6 Data bits P1-P6 Hamming protection bits Error Bit Address Calculation The error bit position pos is calculated as follows: pos = !P5*24+!P4*23+!P3*22+!P2*21+!P1*20 !Pi is Pi complemented. If pos > 23 and not equal to 0, then there is more than one error in the 3-byte group and the data group is to be rejected. To correct a single-bit error the specified bit is complemented. It is not neces- sary to correct a protection bit that is in error. byte 2 1 bit b23 b22 b21 b20 b19 b18 b17 b16 b15 b14 b13 b12 b11 b10 b9 b8 name P6 D7 D6 D5 D4 D3 D2 D1 P5 M5 M4 M3 M2 M1 A6 A5 byte 0 bit b7 b6 b5 b4 b3 b2 b1 b0 name P4 A4 A3 A2 P3 A1 P2 P1 Equation Number Equation (⊕ = xor) P1 =b0 ⊕ b2 ⊕ b4⊕ b6 ⊕ b8 ⊕ b10 ⊕ b12 ⊕ b14 ⊕ b16 ⊕ b18 ⊕ b20 ⊕ b22 P2 =b1 ⊕ b2 ⊕ b5 ⊕ b6 ⊕ b9 ⊕ b10 ⊕ b13 ⊕ b14 ⊕ b17 ⊕ b18 ⊕ b21 ⊕ b22 P3 =b3 ⊕ b4 ⊕ b5 ⊕ b6 ⊕ b11 ⊕ b12 ⊕ b13 ⊕ b14 ⊕ b19 ⊕ b20 ⊕ b21 ⊕ b22 P4 =b7 ⊕ b8 ⊕ b9 ⊕ b10 ⊕ b11 ⊕ b12 ⊕ b13 ⊕ b14 P5 =b15 ⊕ b16 ⊕ b17 ⊕ b18 ⊕ b19 ⊕ b20 ⊕ b21 ⊕ b22 P6 =b0 ⊕ b1 ⊕ b2 ⊕ b3 ⊕ b4 ⊕ b5 ⊕ b6 ⊕ b7 ⊕ b8 ⊕ b9 ⊕ b10 ⊕ b11 ⊕ b12 ⊕ b13 ⊕ b14 ⊕ b15 ⊕ b16 ⊕ b17 ⊕ b18 ⊕ b19 ⊕ b20 ⊕ b21 ⊕ b22 ⊕ b23 P1-P5 P6 Conclusion Handling ERR all 1 0 No errors in data bits, only in b23 accept data bits 0 all 1 1 No error in data bits accept data bits 0 don’t care 0 & 1 0 single bit error error bit ad- dress cal- culation see below 0 if pos is from 1 to 23, 1 if pos= 0 or >23 don’t care 0 & 1 1 double bit error rejected data bits 1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |