Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Why doesn't ADS1256 LSB-first mode reverse the bytes with a good 7.68 MHz KDS clock?

The ADS1256 STATUS.ORDER bit controls the order of bits within each DOUT byte. Output bytes still arrive most significant byte first. Command and data input on DIN remain most significant byte and bit first. Correct CLKIN and DRDY signals cannot prevent wrong results if the host treats the three-byte result as little endian or switches outgoing commands to LSB first. The clock, byte order and bit order are separate settings.

Consider the example bytes 0x12, 0x34 and 0x56. When output is set to LSB first, 0x12 is still the first byte but its least significant bit is transmitted first; 0x56 remains the last byte. An analyzer left in MSB-first decoding may display 0x48 for the first byte because it has interpreted the reversed bit order within 0x12. That is not a reason to reverse the three bytes. These values illustrate decoding and are not required ADC conversion results.

Capture DIN and DOUT independently and determine whether the host SPI controller can set transmit and receive bit order separately. If not, keep the default output order or apply validated per-byte correction in the receive path; do not switch the entire bus unconditionally. Reassemble the signed 24-bit value before sign extension and test asymmetric positive and negative values. Verify the DSO321SR supply and logic levels separately rather than changing the oscillator to compensate for the decoder.

Related selection guide: MERLIN Crystal Timing: Converting ADS1256 RDATA Wait Cycles into Time with a 7.68 MHz Crystal Reference

Resource link: https://www.mecxtal.com.cn/en/handbook/ads1256-read-delay.html

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.