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: µModule Solution for Intelligent Motion Control

    Precision feedback combined with advanced sensing, control, and seamless connectivity make up the building blocks for intelligent motion control. ADI offers...

    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

    • Upcoming Webinar: Simplify High-Accuracy Instrumentation Design with Latest Precision Data Converters
    • Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology
    • Upcoming Webinar: µModule Solution for Intelligent Motion Control
    • Accelerating Embedded System Development with CodeFusion Studio™︎
    • Power Industrial PC Solutions for Robust Intelligent Edge Computing
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ285 about analog voltmeter expertise

      1. Quote of the week: " If you think nobody cares if you're alive, try missing a few loan payments " - unknown Source: Wikimedia 2. New quiz...

    View All

    What's Brewing

      Read the Safety in Layers: Why a Hybrid Approach Works Blog and Test Your Knowledge

      Think you 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

    Can AI Unlock the Future for Condition-Based Monitoring at the Edge?

    In an era when equipment and energy costs are rising, industries are under increasing pressure to optimize their operations and reduce expenses. One effective...

     

    What Makes Field Bus Communication Unique

    Field bus communication protocols are widely used across industries due to their simplicity, reliability, and adaptability. These protocols enable seamless...

    Latest Blogs

    • An Interesting Power Supply Monitoring Example from a Functional Safety Standard
    • Breaking the Barriers – Why Buildings Need DAS for Cellular Connectivity: Part 1
    • Safety in Layers: Why a Hybrid Approach Works
    • What Are the 3 Essential RF Modulation Techniques You Need to Know?
    • How Does Functional Safety Drive Automotive Innovation?
    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 DACs
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
Precision DACs
  • Data Converters
Precision DACs
Documents Priority of the I/O Configuration Registers
  • Forums
  • File Uploads
  • FAQs/Docs
  • Members
  • Tags
  • More
  • Cancel
  • +Documents
  • +AD3552R: FAQ
  • +AD420: FAQ
  • +AD421: FAQ
  • +AD5024: FAQ
  • +AD5060: FAQ
  • +AD5065: FAQ
  • +AD5115: FAQ
  • +AD5116: FAQ
  • +AD511: FAQ
  • +AD5121: FAQ
  • +AD5141: FAQ
  • +AD5142: FAQ
  • +AD5160: FAQ
  • +AD5161: FAQ
  • +AD5203: FAQ
  • +AD5206: FAQ
  • +AD5222: FAQ
  • +AD5232: FAQ
  • +AD5235: FAQ
  • +AD5243: FAQ
  • +AD5245: FAQ
  • +AD5248: FAQ
  • +AD524: FAQ
  • +AD5251: FAQ
  • +AD5252: FAQ
  • +AD5254: FAQ
  • +AD5258: FAQ
  • +AD5259: FAQ
  • +AD5263: FAQ
  • +AD5270: FAQ
  • +AD5271: FAQ
  • +AD5272: FAQ
  • +AD527x: FAQ
  • +AD5290: FAQ
  • +AD5292: FAQ
  • +AD5293: FAQ
  • +AD5301: FAQ
  • +AD5318: FAQ
  • +AD5321: FAQ
  • +AD5323: FAQ
  • +AD5325: FAQ
  • +AD5331: FAQ
  • +AD5338: FAQ
  • +AD53500: FAQ
  • +AD5363: FAQ
  • +AD536x: FAQ
  • +AD5370: FAQ
  • +AD5383: FAQ
  • +AD5384: FAQ
  • +AD5405: FAQ
  • +AD5412: FAQ
  • +AD5413: FAQ
  • +AD5420: FAQ
  • +AD5421: FAQ
  • +AD5422: FAQ
  • +AD5429: FAQ
  • +AD5439: FAQ
  • +AD5440: FAQ
  • +AD5443: FAQ
  • +AD5446: FAQ
  • +AD5449: FAQ
  • +AD548B: FAQ
  • +AD549: FAQ
  • +AD5522: FAQ
  • +AD5544: FAQ
  • AD5546: FAQ
  • +AD5553: FAQ
  • +AD5554: FAQ
  • +AD5556: FAQ
  • +AD557: FAQ
  • -AD5592R: FAQ
    • AD5592R
    • Incorrect channel in the ADC conversion sequence
    • Priority of the I/O Configuration Registers
  • +AD5593R: FAQ
  • +AD5623R: FAQ
  • +AD5627: FAQ
  • +AD5640: FAQ
  • +AD565A: FAQ
  • +AD5660: FAQ
  • +AD5662: FAQ
  • +AD5664: FAQ
  • +AD5668: FAQ
  • +AD5669R: FAQ
  • +AD5696R: FAQ
  • +AD5700: FAQ
  • +AD5722R: FAQ
  • +AD5724: FAQ
  • +AD574: FAQ
  • +AD5750: FAQ
  • +AD5755: FAQ
  • +AD5761: FAQ
  • +AD5764: FAQ
  • +AD5780: FAQ
  • +AD5791: FAQ
  • ad667: FAQ
  • +AD674: FAQ
  • +AD688: FAQ
  • +AD693: FAQ
  • +AD694: FAQ
  • +AD698: FAQ
  • +AD8403: FAQ
  • +AD8842: FAQ
  • +AD9913: FAQ
  • +ADG506ATE: FAQ
  • +DAC Communication Troubleshooting: FAQ
  • +DAC Daisy Chain: FAQ
  • +DAC Power-up sequence and Biasing: FAQ
  • +DAC SPI: FAQ
  • +DAC8800: FAQ
  • +GENERAL: FAQ
  • +nanoDAC+: FAQ
  • +Precision Technology Learning Modules
  • +AD667: supply voltage
  • +AD1139: FAQ
  • +AD5535B: FAQ
  • AD5627R: FAQ
  • +AD5667R: FAQ
  • +AD5671R: FAQ
  • +AD5675: FAQ
  • +AD5684R: FAQ
  • +AD5754: FAQ
  • +AD5755-1: FAQ
  • +AD664: FAQ
  • +AD7305: FAQ
  • +AD7398: FAQ
  • +AD7541A: FAQ
  • +AD7547: FAQ
  • +AD7568: FAQ
  • +AD7805: FAQ
  • +AD7808: FAQ
  • +AD7809: FAQ
  • +AD7835: FAQ
  • +ADN8810: FAQ
  • +DAC08: FAQ
  • +DS4404K: FAQ
  • +DS4422N+: FAQ
  • +DS4424N+: FAQ
  • +General Digipot FAQs
  • +LTC2688: FAQ
  • MAX11300: FAQ
  • +MAX11300EVKIT#: FAQ
  • +MAX11300GCM+: FAQ
  • +MAX11300GTL+: FAQ
  • +MAX11300PMB1#: FAQ
  • +MAX11301: FAQ
  • MAX11311GTJ+: FAQ
  • +MAX11311GTJ+T: FAQ
  • +MAX5054BATA+: FAQ
  • +MAX5100BEUP: FAQ
  • MAX5113: FAQ
  • +MAX5113GTJ+: FAQ
  • +MAX5116: FAQ
  • +MAX5141: FAQ
  • MAX5214: FAQ
  • +MAX5214GUA+: FAQ
  • +MAX5215GUA+T: FAQ
  • +MAX5216: FAQ
  • +MAX5217: FAQ
  • +MAX5235AEUB+: FAQ
  • +MAX5259EEE+: FAQ
  • +MAX526CCNG+: FAQ
  • +MAX528CAG+: FAQ
  • +MAX5304: FAQ
  • +MAX5322: FAQ
  • +MAX543: FAQ
  • +MAX5525ETC+: FAQ
  • +MAX5533: FAQ
  • +MAX5541: FAQ
  • +MAX5550: FAQ
  • +MAX5715AAUD+: FAQ
  • MAX5719: FAQ
  • +MAX5719AGSD+: FAQ
  • +MAX5725AWP+: FAQ
  • MAX5774: FAQ
  • +MAX5774UCB+D: FAQ
  • +MAX5802BATB+T: FAQ

Priority of the I/O Configuration Registers

Question:

  • Wjhat is the priority list of the I/O configuration register settings? 
  • If I configure the channel 1 as both an ADC and DAC, can the ADC read back the voltage at the I/O pin 1 with whatever has been set by the DAC?
  • Is there any conflict having multiple configurations on the same I/O channel?

Answer:

As reproduced from the datasheet, page 27, second column 

In the event that the bit for an input/output channel is set in multiple configuration registers, the input/output channel takes the function dictated by the last write operation. The exceptions to this rule are that an I/Ox pin can be set as both a DAC and an ADC or as a digital input and output. When an I/Ox pin is configured as a DAC and ADC, its primary function is as a DAC, and the ADC can measure the voltage being provided by the DAC. This feature can monitor the output voltage to detect short circuits or overload conditions.


When a pin is configured as both a general-purpose input and output, the primary function is as an output pin. This configuration allows the status of the output pin to be determined by reading the GPIO register. Figure 43 shows a typical configuration example where I/O0 and I/O1 are configured as ADCs, I/O2 and I/O3 are configured as DACs, I/O4 is a general-purpose output pin, I/O5 is a general-purpose input pin, and I/O6 and I/O7 are three-state.

Do note that while applying multiple configurations on the same I/O channel, if the GPIO or other non-ADC/DAC configuration registers are updated between the DAC and the ADC configuration registers for the same I/O channel, it is the last DAC or the ADC configuration register that will be effected and not both the ADC and the DAC configuration registers. For example, if the configuration settings are as follows:

SOFTWARE_RESET_REG --> 0x0D 0xAC 
POWER_DOWN_REF_CTRL_REG --> 0x02 0x00
GEN_PURP_CTRL_REG --> 0x03 0x00
DAC_PIN_CFG_REG --> 0x00 0xC0
PULL_DOWN_CFG_REG --> 0x00 0x00
GPIO_WR_CFG_REG --> 0x00 0x00 
GPIO_RD_CFG_REG --> 0x00 0x00 
GPIO_OPEN_DRAIN_CFG_REG 0x00 0x00
THREE_STATECFG_REG --> 0x00 0x00
ADC_PIN_CFG_REG --> 0x00 0x3F
NOP_REG --> 0x00 0x00

In the above example, DAC_PIN_CFG_REG will be nullified by the PULL_DOWN_CFG_REG on the I/O channels 6 and 7. So, any update to the DAC register will be ignored for the channels 6 and 7. To ensure that it happens correctly, it is preferrable to have DAC_PIN_CFG_REG immediately before or after the ADC_PIN_CFG_REG in the above example.

  • ad5592r
  • ad5593r
  • AD5592R-1
  • Share
  • History
  • More
  • Cancel
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

©2024 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

©2024 Analog Devices, Inc. All Rights Reserved