| 数据搜索系统,热门电子元器件搜索 |
|
DS2406/T 数据表(PDF) 27 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS2406/T 数据表(HTML) 27 Page - Dallas Semiconductor |
|
27 / 31 page ![]() DS2406 the command byte into the cleared CRC generator, followed by the two address bytes and the Redirection Byte. Subsequent passes through the Extended Read Memory flow chart will generate a 16-bit CRC that is the result of clearing the CRC generator and then shifting in only the Redirection Byte. When writing to the DS2406 (either data memory or status memory), the bus master receives a 16-bit CRC to verify that the data transfer was correct before applying the programming pulse. With the initial pass through the Write Memory/Status flow chart the 16-bit CRC will be generated by clearing the CRC- generator, shifting in the command, low address, high address and the data byte. Subsequent passes through the Write Memory/Status flow chart due to the DS2406 automatically incrementing its address counter will generate a 16-bit CRC that is the result of loading (not shifting) the new (incremented) address into the CRC generator and then shifting in the new data byte. When communicating with a PIO channel using the Channel Access command, one can select whether and how often a 16-bit CRC will be added to the data stream. This CRC selection is specified in the Channel Control byte 1 and may be changed with every execution of the Channel Access command. Depending on the CRC selection, the device can generate a CRC after every byte that follows the Channel Info byte, after each block of eight bytes or after each block of 32 bytes. If the CRC is enabled, with the initial pass through the Channel Access flow chart the 16-bit CRC will be generated by clearing the CRC-generator, shifting in the command, Channel Control Bytes 1 and 2, Channel Info Byte and the specified amount of data bytes (1, 8, or 32). Subsequent passes through the Channel Access flow chart will generate a 16-bit CRC that is the result of clearing the CRC generator and then shifting in the new data byte(s). This algorithm is valid for all accesses to the PIO channels, continuous reading or writing as well as toggling between read and write. The comparison of CRC values and decision to continue with an operation are determined entirely by the bus master. There is no circuitry on the DS2406 that prevents a command sequence from proceeding if a CRC error occurs. For more details on generating CRC values including example implementations in both hardware and software, see Application Note 27. CRC-16 HARDWARE DESCRIPTION AND POLYNOMIAL Figure 17 INPUT DATA R Polynomial = X16 + X15 + X2 + 1 X2 X1 X0 X8 X7 X6 X5 X4 X3 8TH STAGE 7TH STAGE 6TH STAGE 5TH STAGE 4TH STAGE 3RD STAGE 2ND STAGE 1ST STAGE S X15 X14 X13 X12 X11 X10 X9 9TH STAGE 10TH STAGE 11TH STAGE 12TH STAGE 13TH STAGE 14TH STAGE 15TH STAGE 16TH STAGE CRC OUTPUT X16 27 of 31 |
|
链接网址 |
| 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 |