| 数据搜索系统,热门电子元器件搜索 |
|
ICS1889 数据表(PDF) 5 Page - Integrated Circuit Systems |
|
|
|||||||||||||||||||||||||||||
ICS1889 数据表(HTML) 5 Page - Integrated Circuit Systems |
|
5 / 35 page ![]() 5 ICS1889 4B/5B Encoder/Decoder The ICS1889 uses a 4B5B coding scheme. This maps a 4-bit nibble to a 5-bit code group called a symbol. Five bits allow 32 possible symbols, 16 are used for data encoding, 6 are used for control and 10 are not used and are invalid. The control symbols used are JK as the SSD, TR as the ESD, I as the IDLE symbol and H to signal an error. All other symbols are invalid and, if detected, will set the receive error bit in the status register, and cause the RXER signal to be asserted (see Table 1 below). When transmitting, nibbles from the MII are converted to a 5- bit code groups. During transmission, the first 16 nibbles obtained from the MII are the MAC frame preamble. The ICS1889 replaces the first two nibbles with the start-of- stream delimiter (the JK symbol pair). Following the last nibble, the ICS1889 adds the end-of-stream delimiter (the TR symbol pair). When receiving, 5-bit code groups are converted to nibbles and presented to the MII. If the ICS1889 detects one or more invalid symbols, it sets the Invalid Symbol bit (17:7) in the QuickPoll Status Register. When receiving a frame, the first two 5-bit code groups received are the start-of-stream delimiter (the JK symbol pair), the ICS1889 strips them and substitutes two nibbles of the normal preamble pattern. The last two 5-bit code groups are the end-of-stream delimiter (the TR symbol pair), these are stripped from the nibbles presented to the MAC. 1. The IDLE symbol is sent continuously between frames. 2. J and K are the SSD and are always sent in pairs. 3. K always follows J. 4. T and R are the ESD and are always sent in pairs. 5. R always follows T. 6. A HALT symbol is used to signal an error condition. Table 1: 4B5B Encoding Symbol Meaning 4B Code 3 2 1 0 5B Code 4 3 2 1 0 Symbol Meaning 4B Code 3 2 1 0 5B Code 4 3 2 1 0 0 Data 0 0 0 0 0 1 1 1 1 0 8 Data 8 1 0 0 0 1 0 0 1 0 1 Data 1 0 0 0 1 0 1 0 0 1 9 Data 9 1 0 0 1 1 0 0 1 1 2 Data 2 0 0 1 0 1 0 1 0 0 A Data A 1 0 1 0 1 0 1 1 0 3 Data 3 0 0 1 1 1 0 1 0 1 B Data B 1 0 1 1 1 0 1 1 1 4 Data 4 0 1 0 0 0 1 0 1 0 C Data C 1 1 0 0 1 1 0 1 0 5 Data 5 0 1 0 1 0 1 0 1 1 D Data D 1 1 0 1 1 1 0 1 1 6 Data 6 0 1 1 0 0 1 1 1 0 E Data E 1 1 1 0 1 1 1 0 0 7 Data 7 0 1 1 1 0 1 1 1 1 F Data F 1 1 1 1 1 1 1 0 1 I Idle Undefined 1 1 1 1 1 V Invalid Undefined 0 0 0 1 0 J SSD 0 1 0 1 1 1 0 0 0 V Invalid Undefined 0 0 0 1 1 K SSD 0 1 0 1 1 0 0 0 1 V Invalid Undefined 0 0 1 0 1 T ESD Undefined 0 1 1 0 1 V Invalid Undefined 0 0 1 1 0 R ESD Undefined 0 0 1 1 1 V Invalid Undefined 0 1 0 0 0 H Error Undefined 0 0 1 0 0 V Invalid Undefined 0 1 1 0 0 V Invalid Undefined 0 0 0 0 0 V Invalid Undefined 1 0 0 0 0 V Invalid Undefined 0 0 0 0 1 V Invalid Undefined 1 1 0 0 1 Invalid Error Code Test TXER asserted I Idle 1 1 1 1 1 1 1 1 1 V Invalid 0 0 1 0 0 0 0 1 0 J SSD 1 1 1 0 1 1 0 0 0 V Invalid 0 0 1 1 0 0 0 1 1 K SSD 1 0 1 1 1 0 0 0 1 V Invalid 0 1 0 1 0 0 1 0 1 T ESD 1 0 0 1 0 1 1 0 1 V Invalid 0 1 1 0 0 0 1 1 0 R ESD 0 1 1 1 0 0 1 1 1 V Invalid 1 0 0 0 0 1 0 0 0 H Error 0 1 0 0 0 0 1 0 0 V Invalid 1 0 1 0 0 1 1 0 0 V Invalid 0 0 0 0 0 0 0 0 0 V Invalid 1 1 0 0 1 0 0 0 0 V Invalid 0 0 0 1 0 0 0 0 1 V Invalid 1 1 0 1 1 1 0 0 1 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |