Analog Devices AN-626 Application Note Using the AD7738 Checksum Register

This application note explains the use of the AD7738's checksum register to verify data integrity. In noisy electrical environments, the checksum register can be used to confirm the correct reception of data.


Analog Devices AN-626 Application Note Using the AD7738 Checksum Register - cover page
Brand
Analog Devices
Category
Other Electronics
Document type
Application Note
Language
English
Pages
4
File format
PDF
File size
106 KB
Published
02 August, 2012
Updated
28 September, 2023
Model
AD7738
MD5 checksum
3993354ABD336B8F760D85C71CDA7ADD

About this manual

This application note describes the use of the AD7738's checksum register to verify data integrity in noisy electrical environments. The document explains that the checksum register functions as a 16-bit linear feedback shift register (LFSR) that updates predictably based on data written to or read from the ADC. By monitoring this register, users can confirm that configuration data or conversion results have been received correctly without reading back every individual byte.

What's inside

  • Using the Checksum Register
  • LFSR Operation
  • Verifying Configuration Data
  • Monitoring Conversion Results
  • Resetting the Checksum Register
  • C Code Implementation
  • Data Aliasing

Specifications

Checksum Register Size16-bit
LFSR Cycle Length65,535 cycles
Feedback PositionsBits 0, 1, 2, and 5

Frequently asked questions

Which devices does this application note cover?

The note refers solely to the AD7738 but is fully applicable to the AD7732, AD7734, and AD7739.

What value is read back after a 32 ones reset?

After a 32 ones reset or a reset using the RESET pin, the register should read back 0xE45E.

How does the checksum register verify data integrity?

It acts as an LFSR that updates predictably when data is written to the ADC, allowing the user to confirm data was received correctly by reading just two bytes.

Download PDF (106 KB)

More Analog Devices Manuals


View all Analog Devices manuals →