| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AD4062 bảng dữ liệu(PDF) 39 Page - Analog Devices |
|
|
|||||||||||||||||||||||||||||
AD4062 bảng dữ liệu(HTML) 39 Page - Analog Devices |
|
39 / 71 page ![]() Data Sheet AD4062 SERIAL INTERFACE analog.com Rev. 0 | 39 of 71 REGISTER ACCESS CRC The AD4062 includes optional error checking for register reads and writes based on CRC-8, using the following polynomial: x8+x2+x+1 (5) The CRC is enabled by setting the CRC_EN and CRC_EN_B bit fields to 0x1 and 0x2, respectively. When the CRC is enabled, an 8-bit checksum code is appended to each register data byte. The value of the checksum is calculated from the data read or written over the I3C bus, which allows the AD4062 and the controller to detect corrupted serial communications. The CRC bytes are half duplex and are only sent by the controller or the target at any one time. The CRC-8 calculation is seeded by a nonzero value to detect if the SDA is stuck low. The seed for the first CRC following each ACK bit is 0xA5. Table 20 summarizes the data and seed values for all possible register read and write transactions in configuration mode. When the AD4062 receives a checksum that is inconsistent with its corresponding I3C transaction, the transaction is considered invalid, and the CRC_ERR bit in the INTERFACE_STATUS register is set to 1. The CRC_ERR bit is a write-1-to-clear bit (R/W1C). When the CRC is enabled, it is recommended to check the CRC_ERR bit after each register read and write attempt. For register writes and ADDR_PTR writes, the controller must send a valid CRC byte following each byte of data. The CRC bytes following the register writes and ADDR_PTR writes also have a parity bit that the AD4062 verifies before updating the write data. When a register write has an invalid CRC, the contents of the register are not updated, and the CRC_ERR bit is asserted. For register reads, the AD4062 calculates and sends a CRC byte following the register data. The CRC byte transmitted by the AD4062 following the first register read data byte factors in its dynamic address so that the controller can validate that it is access- ing data from the intended device. When the controller receives an invalid CRC, the data must be assumed corrupted. The controller should ignore the received data and retry the register read. Table 20. CRC Data and Seed Values for I3C Writes Instruction Phase CRC Data Phase CRCs Seed Input Data Input Seed Input Data Input 0xA5 TGT_ADDR, RnW Bit, ADDR_PTR[7:0] Byte LSByte of Current Register Address Data Phase Byte(s) Table 21. CRC Data and Seed Values for I3C Reads First Data Phase CRC Subsequent Data Phase CRCs Seed Input Data Input Seed Input Data Input 0xA5 TGT_ADDR, RnW Bit, Data Phase Byte(s) LSByte of Current Register Address Data Phase Byte(s) |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |