Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters

    Join us for an insightful webinar on how ADI’s Precision technology is transforming the landscape of high accuracy instrument design with cutting-edge...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Simplifying Connectivity - Remote Controlled (RC) Nodes in a Software Defined Vehicle (SDV)
    • Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters
    • Design High Performance Power Systems with Ultralow Noise Technology
    • µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ286 about Right Labels on the Right Boxes containing colored balls

      1. Quote of the week: "Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad" - unknown Sources: commons.wikimedia...

    View All

    What's Brewing

      Quiz! Why a Hybrid Approach Works Blog and Test Your Knowledge

      Quiz! Understand ISO 26262 Compliance Test your knowledge with our quick quiz , based on the blog " Safety in Layers: Why a Hybrid Approach Works ...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    GMSL Debugging: Getting a Lock

    Imagine a scenario where you have a brand-new board design or are excited to try out some evaluation kits only to find out that the two devices can’t talk...

     

    Exploring DCM and CCM in SMPS: Part 1 of 6

    Power supplies are the unsung heroes of electronic devices, ensuring that they receive the precise, stable, and clean DC voltages they need to function...

    Latest Blogs

    • Let’s Take a Field-Bus Trip
    • Countable vs Non-countable Faults
    • Power Your Signal: DAS Networks Unleashed: Part 2 of 4
    • Combining Functional Safety and Availability Using Redundancy
    • Top 3 Engineering Blogs That Captivated Minds on EngineerZone
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Internet of Things (IoT)
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
EngineerZone
EngineerZone
Precision ADCs
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Precision ADCs
  • Data Converters
Precision ADCs
Documents AD7799: SPI issue
  • Forums
  • File Uploads
  • FAQs/Docs
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +General: FAQ
  • +AD1139: FAQ
  • +AD7091R Conversion Result Change
  • +AD1556: FAQ
  • +AD1580: FAQ
  • +AD1582: FAQ
  • +AD2S1200: FAQ
  • +AD2S1205: FAQ
  • +AD2S1210: FAQ
  • +AD2S75: FAQ
  • +AD2S80: FAQ
  • +AD2S80A: FAQ
  • +AD2S82A: FAQ
  • +AD2S83: FAQ
  • +AD2S90: FAQ
  • +AD2S99: FAQ
  • +AD4110-1: FAQ
  • +AD411x: FAQ
  • +AD5940: FAQ
  • +AD598: FAQ
  • +AD650: FAQ
  • +AD652: FAQ
  • +AD654: FAQ
  • +AD7091: FAQ
  • +AD7091R-X: FAQ
  • +AD711: FAQ
  • +AD7124-4: FAQ
  • +AD7124-8: FAQ
  • +AD7134: FAQ
  • +AD713: FAQ
  • +AD7142: FAQ
  • +AD7147: FAQ
  • +AD7148: FAQ
  • +AD7150: FAQ
  • +AD7151: FAQ
  • +AD7175-2: FAQ
  • +AD7176-2: FAQ
  • +AD7176: FAQ
  • +AD717x: FAQ
  • +AD7190: FAQ
  • +AD7192: FAQ
  • +AD7193: FAQ
  • +AD7195: FAQ
  • +AD719x: FAQ
  • +AD7265: FAQ
  • +AD7266: FAQ
  • +AD7280: FAQ
  • +AD7291: FAQ
  • +AD7298: FAQ
  • +AD7305: FAQ
  • +AD7321: FAQ
  • +AD7323: FAQ
  • +AD7328: FAQ
  • +AD7366-5: FAQ
  • +AD7367: FAQ
  • +AD736ARZ: FAQ
  • +AD737: FAQ
  • +AD738x : FAQ
  • +AD7398: FAQ
  • +AD7400A: FAQ
  • +AD7401: FAQ
  • +AD7403: FAQ
  • +AD74111: FAQ
  • +AD7415: FAQ
  • +AD7416: FAQ
  • +AD7417: FAQ
  • +AD7418: FAQ
  • +AD7450: FAQ
  • +AD7475: FAQ
  • +AD7484: FAQ
  • +AD7490: FAQ
  • +AD7492: FAQ
  • +AD75019: FAQ
  • +AD7503: FAQ
  • +AD7541A: FAQ
  • +AD7546: FAQ
  • AD7547: FAQ
  • +AD7568: FAQ
  • +AD7578: FAQ
  • +AD7606-4: FAQ
  • +AD7606: FAQ
  • +AD7606B: FAQ
  • +AD7606C: FAQ
  • +AD7608: FAQ
  • +AD7616 FAQ
  • +AD7616-P: FAQ
  • +AD7621: FAQ
  • +AD7625: FAQ
  • +AD7626: FAQ
  • +AD7631: FAQ
  • +AD7653: FAQ
  • +AD7654: FAQ
  • +AD7655: FAQ
  • +AD7656: FAQ
  • +AD7657-1: FAQ
  • +AD7663: FAQ
  • +AD7674: FAQ
  • +AD7675: FAQ
  • +AD7678: FAQ
  • +AD7682: FAQ
  • +AD7683: FAQ
  • +AD7684: FAQ
  • +AD7685: FAQ
  • +AD7688: FAQ
  • +AD7689: FAQ
  • +AD7690: FAQ
  • +AD7691: FAQ
  • +AD7705: FAQ
  • +AD7706: FAQ
  • +AD7707: FAQ
  • +AD7708: FAQ
  • +AD7709: FAQ
  • +AD7710: FAQ
  • +AD7711A: FAQ
  • +AD7712: FAQ
  • +AD7713: FAQ
  • +AD7714: FAQ
  • +AD7714YN: FAQ
  • +AD7715: FAQ
  • +AD7716: FAQ
  • +AD7718: FAQ
  • +AD7719: FAQ
  • +AD7720: FAQ
  • +AD7722: FAQ
  • +AD7725: FAQ
  • +AD7730: FAQ
  • +AD7731: FAQ
  • +AD7732: FAQ
  • +AD7738: FAQ
  • +AD7740: FAQ
  • +AD7741: FAQ
  • +AD7745: FAQ
  • +AD7746: FAQ
  • +AD7747: FAQ
  • +AD7760: FAQ
  • +AD7763: FAQ
  • +AD7766: FAQ
  • +AD7768: FAQ
  • +AD777x: FAQ
  • +AD7780: FAQ
  • +AD7785: FAQ
  • +AD7787: FAQ
  • +AD7788: FAQ
  • +AD7790: FAQ
  • +AD7792: FAQ
  • +AD7793: FAQ
  • +AD7794: FAQ
  • +AD7795: FAQ
  • +AD7798: FAQ
  • -AD7799: FAQ
    • AD7799: Changing channels
    • AD7799 AVDD Monitor 1.17V Internal Reference
    • AD7799: Problems with communications via serial interface
    • AD7799: SPI issue
    • I have a question about the timing of AD7799.
    • Gain Drift over time
    • Cypress USB Code - USB-cy7c68013A
  • +AD7805: FAQ
  • +AD7808: FAQ
  • +AD7809: FAQ
  • +AD780: FAQ
  • +AD7811: FAQ
  • +AD7812: FAQ
  • +AD7817: FAQ
  • +AD7819: FAQ
  • +AD7821: FAQ
  • +AD7825: FAQ
  • +AD7829: FAQ
  • +AD7835: FAQ
  • +AD7849: FAQ
  • +AD7851: FAQ
  • +AD7854: FAQ
  • +AD7856: FAQ
  • +AD7858: FAQ
  • +AD7859: FAQ
  • +AD7864: FAQ
  • +AD7865 : FAQ
  • +AD7872: FAQ
  • +AD7874: FAQ
  • +AD7879: FAQ
  • +AD7887: FAQ
  • +AD7888: FAQ
  • +AD7891-1: FAQ
  • +AD7891: FAQ
  • +AD7893-2: FAQ
  • +AD7895: FAQ
  • +AD7896: FAQ
  • +AD7899: FAQ
  • +AD7912: FAQ
  • +AD7921: FAQ
  • +AD7924: FAQ
  • +AD7927: FAQ
  • +AD7938: FAQ
  • +AD7942: FAQ
  • +AD7949: FAQ
  • +AD7960: FAQ
  • +AD7961: FAQ
  • +AD797: FAQ
  • +AD7980: FAQ
  • +AD7982: FAQ
  • +AD7984: FAQ
  • +AD7986: FAQ
  • +AD7988-1: FAQ
  • +AD7993: FAQ
  • +AD7994: FAQ
  • +AD7997: FAQ
  • +AD7998: FAQ
  • +ADA2200: FAQ
  • +ADAS1000: FAQ
  • +ADAS3022: FAQ
  • +ADAS3023: FAQ
  • +ADC: FAQ
  • +ADVFC32: FAQ
  • +EVAL-AD7719-EB: FAQ
  • +EVAL-ADAS3022EDZ: FAQ
  • +RDC1740: FAQ
  • +AD4080: FAQ
  • +AD4114: FAQ
  • +AD4116: FAQ
  • +AD4130-8 FAQ
  • +AD4134 FAQ
  • +AD4170: FAQ
  • +AD4858
  • +AD7175-8: FAQ
  • AD73360: FAQ
  • +AD73360AR: FAQ
  • +AD73360L: FAQ
  • +AD7357: FAQ
  • +AD7386-4: FAQ
  • +AD738x-4: FAQ
  • AD7398 SPI Voltage vs VCC
  • +AD7457: FAQ
  • +AD7609: FAQ
  • +AD7656-1: FAQ
  • AD7660: FAQ
  • +AD7665: FAQ
  • +AD7680: FAQ
  • +AD7764: FAQ
  • +AD7778: FAQ
  • AD7892: FAQ
  • +AD7980SRMZ-EP: FAQ
  • +AD7991: FAQ
  • +AD9243: FAQ
  • +AD9260: FAQ
  • +AD9261: FAQ
  • +AD9262: FAQ
  • +AD974: FAQ
  • +AD976A: FAQ
  • +AD977A: FAQ
  • +ADAQ4003: FAQ
  • +ADAQ7768-1: FAQ
  • +ADAQ8092 FAQ
  • +DC590, DC2026, QuikEval: FAQs
  • +Legacy LTC - Sigma Delta ADCs FAQ
  • +LTC2408: FAQ
  • +LTC2497: FAQ
  • +MAX1028: FAQ
  • +MAX1036: FAQ
  • +MAX1037EKA+: FAQ
  • +MAX11040GUU+: FAQ
  • +MAX11043: FAQ
  • +MAX11045: FAQ
  • +MAX11046 16-BIT AD: FAQ
  • +MAX11048: FAQ
  • +MAX11100EUB+: FAQ
  • +MAX11101: FAQ
  • +MAX11103: FAQ
  • +MAX11108: FAQ
  • MAX11125: FAQ
  • +MAX11125ATI+: FAQ
  • +MAX11130: FAQ
  • +MAX11131ATI+: FAQ
  • +MAX11136ATI+: FAQ
  • +MAX11150EVKIT#: FAQ
  • +MAX11154: FAQ
  • MAX11156: FAQ
  • +MAX11156ETC+: FAQ
  • +MAX11158: FAQ
  • +MAX11163: FAQ
  • +MAX11168EUB+: FAQ
  • +MAX11169EUB+: FAQ
  • +MAX11190: FAQ
  • +MAX11190ATE+: FAQ
  • MAX11192: FAQ
  • +MAX11192EVKIT#: FAQ
  • +MAX11200: FAQ
  • +MAX11200EEE+: FAQ
  • +MAX11201: FAQ
  • +MAX11203EEE+: FAQ
  • +MAX11206: FAQ
  • +MAX11207EEE+: FAQ
  • MAX11210: FAQ
  • +MAX11210EEE+: FAQ
  • +MAX11213EEE+T: FAQ
  • MAX11214: FAQ
  • MAX11214EUG+: FAQ
  • +MAX11214EUG+_T1: FAQ
  • +MAX11216: FAQ
  • +MAX11254ATJ+: FAQ
  • +MAX11254EVKIT#: FAQ
  • +MAX11259AWX+T: FAQ
  • +MAX11259PMB#: FAQ
  • +MAX11261BOB#: FAQ
  • +MAX11261ENX+: FAQ
  • +MAX11270EUG+: FAQ
  • +MAX11337ATJ+: FAQ
  • +MAX11410ATI+: FAQ
  • +MAX11608: FAQ
  • +MAX11609EEE+: FAQ
  • +MAX11612EUA+: FAQ
  • +MAX11612EVSYS: FAQ
  • +MAX11614EEE+: FAQ
  • +MAX11615EEE+C78: FAQ
  • +MAX11615EWE+: FAQ
  • +MAX11616EEE+: FAQ
  • +MAX11617EWE+: FAQ
  • +MAX11625: FAQ
  • +MAX11629EEE+: FAQ
  • +MAX11645EWC+T: FAQ
  • +MAX11647EUA+: FAQ
  • +MAX11900: FAQ
  • MAX11905: FAQ
  • +MAX11905EVKIT#: FAQ
  • +MAX1202AEAP+: FAQ
  • +MAX1220: FAQ
  • +MAX1229: FAQ
  • +MAX1230BCEG+: FAQ
  • +MAX1231AEEG+: FAQ
  • +MAX1239EEE+: FAQ
  • +MAX1239KEEE+: FAQ
  • +MAX1239LEEE+: FAQ
  • +MAX1258: FAQ
  • +MAX1271ACNG+: FAQ
  • MAX1300: FAQ
  • +MAX1300BEUG+: FAQ
  • +MAX1301AEUP+: FAQ
  • +MAX13171: FAQ
  • MAX1343: FAQ
  • +MAX1343BETX+: FAQ
  • +MAX13487: FAQ
  • +MAX13488: FAQ
  • +MAX1379ATP+: FAQ
  • +MAX1383: FAQ
  • +MAX1447ECJ+: FAQ
  • MAX14571: FAQ
  • +MAX14571EUD+: FAQ
  • MAX14574EWL+: FAQ
  • +MAX14574EWL+T: FAQ
  • +MAX14578: FAQ
  • +MAX14579EEVKIT#: FAQ
  • +MAX14588ETE+T: FAQ
  • +MAX145ACPA+: FAQ
  • +MAX1474: FAQ
  • +MAX14783: FAQ
  • +MAX14805: FAQ
  • +MAX14807ECB+: FAQ
  • +MAX14900D: FAQ
  • +MAX1645AEEI+: FAQ
  • +MAX16600GGN+: FAQ
  • +MAX17823AGCB+: FAQ
  • MAX17823AGCB/V+: FAQ
  • +MAX17823AGCB/V+T: FAQ
  • +MAX17823GCB+: FAQ
  • +MAX182BEWI+T: FAQ
  • +MAX19777AZA+: FAQ
  • +MAX31865: FAQ
  • +MAX31865AAP+: FAQ
  • +Precision Technology Learning Modules
  • Programming FMC FRU ID EEPROM on Linux

AD7799: SPI issue

Question

My customer has problems with the SPI interface of the AD7799. When he wants
to read out e.g. the status register, he gets as a response two bytes with the
value "0". The schematic was checked two times, so we are quite sure that there
might be a configuration problem of the SPI interface.

Furthermore, is it possible that CS/ is high between two conversions?

Answer

When the device is powered up and the power supply has settled, 32 1s should be
written to the device. This will reset all registers to their default values.
When CS is low, you should see the DRDY line pulsing at 16.7Hz. As Brigid-Anne
suggested, the customer should then try to read one of the registers. Can you
confirm that the customer is writing to the communications register to inform
the AD7799 that a read of one of the on-chip registers is being requested.
After writing this instruction, the customer should then apply the correct
number of SCLK pulses to the part. The register value will be placed on the
DOUT line.

Is the customer bit-banging a port or is a dedicated serial interface being
used. If bit-banging, the customer should check the signals to ensure that the
correct number of SCLK pulses is being applied to the AD7799 during the read
and write operations.

As Brigid-Anne suggested, DIN should be pulled high when it is not being used.
Also, SCLK should idle high between read and write operations. Can you also
ask the customer to check the SPI pins to ensure that there is no large
glitches appearing as the AD7799 may see these as SCLK pulses.

There are no known issues with the serial interface. Usually, problems are due
to incorrect number of SCLK pulses or noise on the SPI lines.

Yes - CS can be taken high between conversion start and data read. After
initiating the single conversion, CS can be taken high. The ADC will continue
the conversion and return to powerdown mode after the conversion is completed.
Since CS is high, the DRDY pin is tri-stated so it will not indicate when the
conversion is complete. To initiate a single conversion, code 08 hex is
written to the AD7799. This informs the AD7799 that a word is being written to
the Mode Register. The value written to the Mode register is 200A hex (A is
the update rate). When the conversion is complete, the value 58 hex is written
to the AD7799. The customer can then apply 24 SCLK pulses to the AD7799 and
the 24-bit conversion is placed on the DOUT line.

There is no special power up sequence after power up. The customer should
write 32 1s to the device to reset the registers. The user can then configure
the part for their application i.e. channel, update rate, gain, etc. However,
the power supplies must have powered up and settled and the uC should also have
powered up and settled before the 32 1s are written as any 'invalid' data which
may be present on the uC's SPI pins during power up may corrupt the AD7799's
registers.

The on-chip oscillator only takes a few ms to power up and settle.

So, can you ask the customer to reset the device after power up and check the
DRDY line (CS needs to be low) to see if it is pulsing at 16.7Hz.

Check whether a dedicated serial interface is being used or whether bit-banging
is being used.

Confirm that there is no glitches on the SPI lines which could be causing the
problem.

Tags: precision adcs 5FWN5334 ad7799
  • Share
  • History
  • Cancel
 
Related Content
  • AD7799: Problems with communications via serial interface
    MSDAPI
    Question I use AD7799 in recommended circuit in continuous conversion mode on 1 channel (1st). Sometimes (perhaps due to EMI) I have some problems with serial interface. recommended way of reset (32...
  • RE: Digital Interface FAQ - Sigma Delta ADC
    JellenieR
    1. How does the serial interface operate? The serial interface on these families of converters is implemented as a state machine. The interface works by counting clocks on each data transfer. Therefore...
  • RE: ADC7172-2 randomly converts 0x000000 or 0xFFFFFF
    JellenieR
    Hi, I've checked your register map settings and analog inputs, everything is valid except for one thing, I noticed your channel register setting is 0x8101, is that a typo and supposed to be 0x8001? Can...
 
Related Content
  • AD7799: Problems with communications via serial interface
    MSDAPI
    Question I use AD7799 in recommended circuit in continuous conversion mode on 1 channel (1st). Sometimes (perhaps due to EMI) I have some problems with serial interface. recommended way of reset (32...
  • RE: Digital Interface FAQ - Sigma Delta ADC
    JellenieR
    1. How does the serial interface operate? The serial interface on these families of converters is implemented as a state machine. The interface works by counting clocks on each data transfer. Therefore...
  • RE: ADC7172-2 randomly converts 0x000000 or 0xFFFFFF
    JellenieR
    Hi, I've checked your register map settings and analog inputs, everything is valid except for one thing, I noticed your channel register setting is 0x8101, is that a typo and supposed to be 0x8001? Can...
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2025 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2025 Analog Devices, Inc. All Rights Reserved