Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • Video
    • Power Management
    • RF & Microwave
    • Precision ADCs
    • FPGA Reference Designs

    Product Forums

    • Amplifiers
    • Clocks & Timers
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors & DSP
    • Processors & Microcontrollers
    • Switches & Multiplexers
    • Sensors
    • Voltage References
    View All

    Application Forums

    • A2B Audio Bus
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • LiDAR Solutions
    • Motor Control Hardware Platforms
    • Speech Processing Solutions
    • Video

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools & Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Precision Studio
    • Power Studio Designer
    • Power Studio Planner
    • Reference Designs
    • Robot Operating System (ROS) SDK
    • Signal Chain Designer
    • Software Interface Tools
  • Learn

    Highlighted Webinar

    Open RAN 5G Radio Design: SDR SoCs for Energy-Efficient, Secure Deployments

    Building Secure and Energy‑Efficient 5G Networks with Software Defined Radios. The rapid evolution of 5G networks is driving new requirements for performance...

    Places

    • ADI Academy
    • ADI Webinars
    • EZ Blogs
    • 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
    • Other Products Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Upcoming Learning & Events

    • Humanoid Robotics: Deterministic Motion Control & Edge AI Systems
    • Power Integrity for High Performance Measurement Systems
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC Quizzes AQQ302 about Bang Gap Reference Generation

      1.Quote of the month: "People Who Say They Sleep Like a Baby usually don't have one" - unknown 2. New quiz AQQ302 about Band Gap Reference Voltage...

    View All

    What's Brewing

      Read a Blog, Take this Quiz for Another Chance to Win a Gift Card! - Watts Going On? — The AI Power Delivery Quiz

      Important: Read the blog first . The quiz questions are all based on the content of the blog: Reimagining Power for AI: Shaping the Future of AI Acceleration...

    View All

    Places

    • Community Help
    • Analog Dialogue Quiz
    • 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
  • ContentZone

    Visit ContentZone

    Search content by industry or technology.
    • Blogs
    • Technical Articles
    • Tutorials
    • Videos
    • Webinars
    Your ADI content all in one place.
    View ContentZone

    The Latest Read

    JESD204 Bring-Up: From Link-Up to Data Integrity

    This blog presents a structured bring-up methodology for the ZCU102 + ADRV9009 platform, stepping through each initialization phase in sequence and identifying...

    New Release

    Signal Chain Designer: DC Error Simulation
    Signal Chain Designer: DC Error Simulation

    This video covers the DC error calculation capabilities of Signal Chain Designer. DC error is unique in that often requires calibration and has so many...

    Recent Technical Insights

    Latest Technical Article from Analog.com
    Game of DronesPart 1: How IMU Navigation Architectures Make or Break a Drone

    This article explains why industrial-grade UAVs require fundamentally different architectures than consumer drones. It highlights the need for inertial...

EngineerZone
EngineerZone
8052 Core Products
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
8052 Core Products
  • Processors & Microcontrollers
8052 Core Products
Documents ADUC847: Detecting the stop condition in slave mode
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • Cancel
  • Documents
  • +ADuC812: FAQ
  • +ADUC814: FAQ
  • +ADUC816: FAQ
  • +ADUC824: FAQ
  • +ADuC831: FAQ
  • +ADUC832: FAQ
  • +ADUC834: FAQ
  • +ADuC836: FAQ
  • +ADuC83x: FAQ
  • +ADUC841: FAQ
  • +ADuC842: FAQ
  • +ADUC845: FAQ
  • -ADuC847: FAQ
    • ADuC847: Crystal start up
    • ADUC847: Detecting the stop condition in slave mode
    • ADUC847 External reference voltage range
    • ADuC847: Noise perfomance
    • ADuC847: Using aspire in debug run mode
    • Recommended programming socket for ADuC847
    • I tested ADuC847 Burnout current to detect the short/open circuit. But it doesn't work
    • Model on Eval board - flash and supply - EVAL-ADuC847
    • What is the maximum Source current, that port P2.5 and P2.6 can deliver?
  • +ADUC848: FAQ
  • +ADuC84x: FAQ
  • +ADUC8xx: FAQ
  • +ADUCXX: FAQ

ADUC847: Detecting the stop condition in slave mode

Q 

I need technical informations about Analogue Device ADuc847

I want to use it in I2C hardware slave mode

Is it possible to detect I2C Stop sequence in software ?

The problem is when the master abort the communication sequence before the
normal end The slave couldn't detect de stop sequence in software point of view

 

A 

There is no register or indicator on the ADUC847 that you can read to tell that
the I2C interface has received a valid stop condition 

Note that the ADuc841/2 has a Stop detection(see p48 of datasheet, BIT7),
although the ADC is much different to the ADuc845.

Here are some notes that may help;


STOP CONDITION:

The I2CI interrupt bit (Bit 0) is set by the user every time the byte is
transmitted or received.

Bits I2CTX2 (Bit 2) will indicate whether the Micro-controller is transmitting
or receiving. I2CTX=0, means that the micro-controller is receiving.

From these 2 bits, we have the following: once the I2CTX = 0 ( receiving ) and
once the I2CI =1, then the byte has been received, the user can read the data
and the interrupt is cleared.

The interrupts will continue to occur while the data is being received. And
will continue to be cleared while the user reads the data. Once the user reads
the data and no interrupt occurs, then a STOP Condition has occurred. ( Timeout
will be required here, I’m not too sure how long ).

The only issue is that there is no guarantee that the last data byte is valid.
You will have to make that verification with software also. So care will be
needed.

From this also, the interface return to an IDLE state. So you are now sure what
state the controller is in.

Tags: aduc8xx aduc8x aduc847
  • 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
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 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
  • ADI Developer PortalExternalLink

myAnalog

Interested in the latest news and articles about ADI products, design tools, training, and events?

Go to myAnalog
Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings

©2026 Analog Devices, Inc. All Rights Reserved