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
8052 Core Products
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
8052 Core Products
  • Microcontrollers
8052 Core Products
Documents ADuC812: Status of the port on power-up
  • Q&A
  • Docs/FAQs
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • -ADuC812: FAQ
    • How to remove DAC zero Code error
    • ADUC812: Battery lifetime
    • ADuC812: Dealing with the interface I2C
    • Value of sample rate more higher that 200Ks are dangerous then customer never must use this value ?
    • ADuC812: enter serial download mode
    • ADuC812: Failure in restarting
    • ADUC812: Failure to Reset/Download
    • ADuC812: Flash reliability
    • ADuC812: glitches on the reset line
    • ADuC812: How to program external code space
    • ADuC812: latch-up
    • ADuC812: Measure ambient temperature
    • ADuC812: On Chip temperature sensor
    • ADuC812: Power down mode and choice of C compilers
    • ADuC812: Problems downloading to FLASH
    • ADuC812: PSEN pin
    • ADuC812: Reseting failure when downloading user program with WSD
    • ADuC812: serial interface
    • ADuC812: Status of the port on power-up
    • How do I migrate from ADuC812 to ADuC831 or ADu832?
  • +ADUC814: FAQ
  • +ADUC816: FAQ
  • +ADUC824: FAQ
  • +ADuC831: FAQ
  • +ADUC832: FAQ
  • +ADUC834: FAQ
  • +ADuC836: FAQ
  • +ADuC83x: FAQ
  • +ADUC841: FAQ
  • +ADuC842: FAQ
  • +ADUC845: FAQ
  • +ADuC847: FAQ
  • +ADUC848: FAQ
  • +ADuC84x: FAQ
  • +ADUC8xx: FAQ
  • +ADUCXX: FAQ

ADuC812: Status of the port on power-up

Q 

- I use AD812 and wonder must I set the port 2 and 3 to  input/output n SFR or
does it do that automaticly?

 

A 

Some information of the status of ports 0, 1, 2 and 3 on power up. Where the
ADuC812 deviates from the "standard" 8051, I will explain the standard
situation and the ADuC812 situation.

Port 0
In the standard 8051 microcontroller, port 0 is either a bidirectional I/O port
or a multiplexed data/address port for accessing external memory. This is also
the case for the ADuC812. As shown on the datasheet (p 18), the P0 SFR (addr
80h) powers up as all "1"s (FFh), i.e. configured as a digital input. In the
standard 8051 implementation, when port 1 is configured as an input it is an
open drain circuit with the pull-down FET turned off and with no pull-up FET.
This is also the case for the ADuC812 and so port 1 will power up as a high
impedance input with no internal pull up.

Port 1
Port 1 on the ADuC812 differs from the standard 8051 implementation.
In the standard AD8051 implementation, port 1 can be configured as either a
digital input of a digital output (writing a 1 to the port pin latch configures
the pin as an input, writing a 0 to the port pin latch configures the part as
an output).
In the ADuC812, writing a 1 to the SFR configures port1 as an analog
input.Writing a 0 to the SFR configures the port as a digital input. The
default power up condition for the Port 1 register is all "1"s (note the
datasheet on page 18 is contradictory as it gives the default Port 1 SFR
contents as all "0"s (incorrectly) but the hex value is correctly given as FFh.)
Therefore the ADuC812 port 1 powers up with port 1 as 8 analog inputs. The
input mulitplexer connects P1.0 (pin 1) to the input of the ADC, which will
look approximately like a 10k resistance to ground. The remaining pins of port
1 are high impedance inputs.

Port 2 and Port 3
Ports 2 and 3 on the ADuC812 are similar to the standard 8051 implementation.
They can be configured as inputs or outputs but also have secondary functions
associated with them. On power up, ports 2 and 3 are configured as inputs by
default and have an internal pull up resistor, which is capable of sourcing up
to 80uA of current e.g. if the input is connected to ground.

Tags: aduc8xx aduc812 aduc8x
  • 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