| Electronic Components Datasheet Search |
|
MAX17823BGCV Datasheet(PDF) 95 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
MAX17823BGCV Datasheet(HTML) 95 Page - Maxim Integrated Products |
|
95 / 121 page ![]() ________________________________________________________________________________________________________________________________________________________________ MAX17823B 12-Channel High-Voltage Data Acquisition System www.maximintegrated.com Maxim Integrated | 95 Error Checking Data integrity is provided by Manchester-encoding, parity, character framing, and Packet Error Checking (PEC). The combination of these features verify stage-to-stage communication both in the write and read directions with a HD (Hamming Distance) value of 6 for commands with a length up to 247 bits (counted prior to Manchester-encoding and character framing. This is equivalent to the longest possible command packet for a daisy-chain of up to 13 devices. The data-check byte is present in the READALL and READDEVICE commands to verify that the entire command propagated without errors. Using the data-check and PEC bytes, complete transaction integrity for READALL and READDEVICE command packets can be verified. PEC Errors If the device receiver receives an invalid PEC byte, the ALRTPEC bit is set in the STATUS register. A device does not execute any write command unless the received PEC matches the calculated PEC so to verify the write command execution, the host should perform a READALL to verify the contents of the written register. For returned read packets, the host should store the received data, perform the PEC calculation, and compare the results to the received PEC byte before considering the data to be valid. To support PEC, the host must implement a CRC-8 (8-bit cyclic redundancy check) encoding and decoding algorithm based on the following polynomial: Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Input Data Bitstream (LSb first) Figure 68. CRC Calculation The host uses the algorithm to process all bytes received in the command packet prior to the PEC byte itself. Neither the PEC nor the alive-counter bytes are part of the calculation. The bits are processed in the order they are received, LSB first. A byte-wise pseudo-code algorithm is shown in Figure 69, but lookup table solutions are also possible to reduce host calculation time. For commonly issued command packets, the host can pre-calculate (hard-code) the PEC byte. For commonly-used partial packets, the CRC value of a partial calculation may be used as the initial value for a subsequent run-time calculation. 1 ) ( 2 3 6 8 + + + + = x x x x x P |
|
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 |