| Motore di ricerca datesheet componenti elettronici |
|
DS2502S/R Scheda tecnica(PDF) 18 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS2502S/R Scheda tecnica(HTML) 18 Page - Dallas Semiconductor |
|
18 / 22 page ![]() DS2502 CRC GENERATION The DS2502 has an 8-bit CRC stored in the most significant byte of the 64-bit ROM. The bus master can compute a CRC value from the first 56 bits of the 64-bit ROM and compare it to the value stored within the DS2502 to determine if the ROM data has been received error-free by the bus master. The equivalent polynomial function of this CRC is: X8 + X5 + X4 +1. Under certain conditions, the DS2502 also generates an 8-bit CRC value using the same polynomial function shown above and provides this value to the bus master to validate the transfer of command, address, and data bytes from the bus master to the DS2502. The Memory Function Flow Chart of Figure 6 indicates that the DS2502 computes an 8-bit CRC for the command, address, and data bytes received for the Write Memory and the Write Status commands and then outputs this value to the bus master to confirm proper transfer. Similarly the DS2502 computes an 8-bit CRC for the command and address bytes received from the bus master for the Read Memory, Read Status, and Read Data/Generate 8-Bit CRC commands to confirm that these bytes have been received correctly. The CRC generator on the DS2502 is also used to provide verification of error-free data transfer as each page of data from the 1024- bit EPROM is sent to the bus master during a Read Data/Generate 8-Bit CRC command, and for the 8 bytes of information in the status memory field. In each case where a CRC is used for data transfer validation, the bus master must calculate a CRC value using the polynomial function given above and compare the calculated value to either the 8-bit CRC value stored in the 64-bit ROM portion of the DS2502 (for ROM reads) or the 8-bit CRC value computed within the DS2502. 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 DS2502 that prevents a command sequence from proceeding if the CRC stored in or calculated by the DS2502 does not match the value generated by the bus master. Proper use of the CRC as outlined in the flow chart of Figure 6 can result in a communication channel with a very high level of integrity. For more details on generating CRC values including example implementations in both hardware and software, see Application Note 27. INITIALIZATION PROCEDURE “RESET AND PRESENCE PULSES” Figure 10 RESISTOR MASTER DS2502 * In order not to mask signaling by other devices on the 1-Wire bus, tRSTL + tR should always be less than 960 µs. 18 of 22 |
|
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |