| Electronic Components Datasheet Search |
|
ADBMS6830BCSWZ Datasheet(PDF) 53 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
ADBMS6830BCSWZ Datasheet(HTML) 53 Page - Analog Devices |
|
53 / 83 page ![]() Data Sheet ADBMS6830B NETWORK LAYER analog.com Rev. 0 | 53 of 83 COMMAND PEC The command PEC is a 15-bit cyclic redundancy check (CRC) value calculated for all 16 bits of a command, using the initial PEC value of 000000000010000 and the following characteristic polynomial: x15 + x14 + x10 + x8 + x7 + x4 + x3 + 1. The ADBMS6830B calculates the command PEC for any command received and compares it with the PEC following the command. The command is regarded as valid only if the PEC matches. Table 41 shows the format of the command PEC. Table 41. Command PEC Format Name RD/WR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEC0 RD/WR PEC[14] PEC[13] PEC[12] PEC[11] PEC[10] PEC[9] PEC[8] PEC[7] PEC1 RD/WR PEC[6] PEC[5] PEC[4] PEC[3] PEC[2] PEC[1] PEC[0] 0 DATA PEC The data PEC is a 10-bit CRC value calculated for all bits read from a register and the command counter bits. The initial PEC value is 0000010000 and the following characteristic polynomial: x10 + x7 + x3 + x2 + x + 1. Data is regarded as valid only if the data PEC matches. For write commands and the CLRFLAG command, data is sent to the ADBMS6830B followed by the data PEC. For example, when writing to the Configuration Register Group A, the data is sent in the following order: CFGAR0, …, CFGAR5, PEC0, PEC1. Table 42 shows the format for the data PEC when writing data. Table 42. Write Data PEC Format Name RD/WR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEC0 RD/WR 0 0 0 0 0 0 PEC[9] PEC[8] PEC1 RD/WR PEC[7] PEC[6] PEC[5] PEC[4] PEC[3] PEC[2] PEC[1] PEC[0] COMMAND COUNTER A command counter enhances system level software diagnostics and communication integrity. The command counter is initialized to 0 on power cycling, transition to sleep, or by the RSTCC or SRST commands. The command counter increments if the ADBMS6830B receives a command indicated by the INC column of Table 50. When the command counter increments past the maximum value of 63, it rolls over to a value of 1, not 0. The 0 value is reserved for the specific reset cases listed previously. All read commands return the register data followed by the command counter and data PEC. Table 43 shows the format for the command counter and data PEC when reading data. The host can initialize the command counter in the ADBMS6830B and then verify the command counter value from the ADBMS6830B against an expected value after sending a sequence of commands. Table 43. Read Data PEC Format Name RD/WR Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 PEC0 RD/WR CCNT[5] CCNT[4] CCNT[3] CCNT[2] CCNT[1] CCNT[0] PEC[9] PEC[8] PEC1 RD/WR PEC[7] PEC[6] PEC[5] PEC[4] PEC[3] PEC[2] PEC[1] PEC[0] |
|
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 |