工业控制 | 能源技术 | 汽车电子 | 通信网络 | 安防监控 | 智能电网 | 移动手持 | 无线技术 | 家用电器 | 数字广播 | 消费电子 | 应用软件 | 其他方案

电路设计->综合电路图->综合电路图->了解直流电气特性的微控制器-Understanding DC

了解直流电气特性的微控制器-Understanding DC

作者:fanxiaoxi时间:2022-12-09

Abstract: This tutorial explains all of the DC characterisTIcs as found in the Dallas Semiconductor DS80C320 high-speed microcontroller data sheet. This informaTIon is also applicable to other Dallas Semiconductor microcontrollers, such as the DS80C310, DS87C520, DS87C530, DS80C390 and DS89C450.

Overview

For the inexperienced designer, understanding the electrical characterisTIcs presented in an integrated circuit data sheet can be confusing. If misinterpreted, a new design could prove disastrous. This tutorial is intended to demysTIfy the steady state characteristics of the Maxim microcontroller product family.

The DS80C320 is only one of numerous high-speed microcontrollers Maxim offers. By understanding the DC characteristics of this microcontroller, the novice designer has a better appreciation for other microcontrollers with added features.

Absolute Maximum Rating

The Absolute Maximum Rating section of the DS80C320 data sheet describes the stress conditions relative to the device. These parameters do not set the maximum and minimum operating conditions the device tolerates over extended periods of time. Instead, they are the limiting operational and environmental conditions the device was stressed. If the device is exposed to these parameters for extended periods of time, no guarantee is made and device reliability device can be affected. For example, during the assembly process of a printed circuit board, the microcontroller was exposed to a solder temperature of +180°C for 15 seconds. The absolute maximum rating states soldering temperature is +160°C for 10 seconds. In this case, the microcontroller's reliability has been compromised.

DC Electrical Characteristics

The DC Electrical Characteristics found in the table are specific to a temperature range and operating voltage. The temperature range applies to both the commercial (0°C to +70°C) and industrial specifications (-40°C to +85°C).

This application note looks at the DC Electrical Characteristics table for the DS80C320 microcontroller and examines all of the parameters of this device and what they mean to designers.

The table is broken into seven columns labeled Parameter, Symbol, Minimum (Min), Typical (Typ), Maximum (Max), Unit, and Notes. The numbers in the Notes column point to a description of conditions associated with the values given in the table. These are found immediately following the DC Electrical Characteristics table. It is important to understand these conditions.

DS80C320 DC Electrical Characteristics

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Operating Supply VoltageVCC4.55.05.5V1


The operating supply voltage is the voltage applied to the VCC pin on the microcontroller from the power supply. Typical voltage for a digital device is +5.0V ±10%, thus the min and max rating. It should be noted that a clean, regulated supply should be used in any digital design. Noise, such as voltage spikes, affect the reliability of the device if it exceeds the absolute maximum rating established at the beginning of the data sheet. Note 1 specifies all voltages are referenced to ground.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Power-Fail WarningVPFW4.254.384.55V1


The DS80C320 incorporates a precision bandgap voltage reference to determine when VCC is out of tolerance. The bandgap reference provides a precise voltage to compare with VCC. If VCC should fall, the power monitor compares it to the bandgap reference. Analog circuits internal to the microcontroller detect when VCC crossed the predetermined power-fail warning threshold. An optional early warning power-fail interrupt can be generated in the event of a low power-supply voltage. When VCC reaches VPFW threshold, the device generates a power-fail interrupt.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Minimum Operating VoltageVRST4.04.14.25V1, 12


The minimum operating voltage parameter describes the power-supply voltage range that invokes a power-fail reset. Prior to this condition, the power-supply voltage must pass through the power-fail warning minimum voltage. If the power-fail warning interrupt is not enabled and VCC crosses the threshold of minimum operating voltage, a power-fail reset occurs. Upon a power-fail reset, the device halts operations and places all the output pins to the reset state. When the VCC voltage is restored and exceeds VRST, the internal detection circuits activate the on-chip crystal oscillator and count 65,536 oscillator clocks. If VCC falls below the VRST threshold during this startup period, the process restarts.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Supply Current Active Mode at 25MHzICC3045mA2


If a milliampere meter were connected in series with the VCC pin, it would indicate the total device current draw, ICC. The supply current is a function of the operating frequency. Following the DC Characteristics table in the DS80C320 data sheet is an ICC versus frequency curve. Notice how ICC increases as frequency is increased. Also notice VCC is held constant. The values of ICC found in the data sheet is measured under a controlled condition. An external 25MHz clock source drives the XTAL1 pin of the microcontroller. The VCC and RST pins are connected to 5.5V. All other pins on the DS80C320 are disconnected.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Supply Current Idle Mode at 25MHzIIDLE1525mA3


When idle mode is invoked by software, internal clocks, serial ports, and timers will remain running. However, no memory access is performed in this mode. As stated earlier, power consumption is related to crystal frequency. Idle mode current is a function of the crystal frequency in the final circuit design. The supply current in idle mode is measured the same way as the supply current in active mode, except the RST pin is grounded.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Supply Current Stop Mode, Bandgap Reference DisabledISTOP0.011µA4


Stop mode provides lower power consumption than idle mode due to the halting of all clock operations. To achieve even more power reduction, the bandgap reference can be disabled by software. This is the default state for stop mode. This current is measured the same way as active and idle modes, except there is no clock source. The XTAL1 pin and RST pin is grounded, VCC is 5.5V and all other pins are disconnected.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Supply Current Stop Mode, Bandgap Reference EnabledISPBG5080µA4, 10


When stop mode is invoked, it puts the microcontroller into the lowest power state. A static condition exists, whereas timers and serial communications are stopped and processing is halted. To exit stop mode, a power-fail interrupt or a non-clocked external interrupt can be used. The bandgap reference must be enabled if a power-fail interrupt is used to exit stop mode. In this case, supply current is higher due to the current requirements of the bandgap reference circuit. The DS80C320 typically draws 50µA in this condition and 80µA maximum. Notes 4 and 10 state XTAL1 and RST pins are grounded, VCC is 5.5V and if the device is used over the industrial temperature range, the maximum current could be as high as 200µA.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input Low LevelVIL-0.3+0.8V1


The input low level is the voltage range for all input pins at a logic level low. Notice the minimum voltage is -0.3V. Because the DS80C320 is powered by +VCC and referenced to ground, negative voltages in access of -0.3V can cause unreliable operation of the microcontroller or worse yet, damage the device. Voltages greater than +0.8V can be interpreted as an undefined state or logic level high.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input High Level (Except XTAL1 and RST)VIH12.0VCC+0.3V1


The input high level is the voltage range for all input pins except XTAL1 and RST at logic level high. Voltages less than the minimum stated value can be interpreted as an undefined state or logic level low and voltages exceeding the maximum value, VCC + 0.3V can cause damage to the microcontroller.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input High Level, XTAL1 and RSTVIH23.5VCC+0.3V1


This parameter is specific to the XTAL1 and RST pins. Notice the minimum voltage is higher for these two pins as compared to the other pins on the microcontroller. This was done to improve the noise immunity for the XTAL1 and RST pins as compared to the rest of the pins on the device. If the maximum voltage is exceeded, the microcontroller can be damaged.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Output Low Voltage Ports 1, 3 at IOL = 1.6mAVOL10.45V1


When the pins associated with Ports 1 and 3 are at a logic low state, they sink current from an external source. The source could be the input of a logic gate or a device such as a pullup resistor. This parameter states the voltage measured at the port pin is no more than 0.45V when sinking 1.6mA.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Output Low Voltage Ports 0, 2, ALE, active-low PSEN at IOL = 3.2mAVOL20.45V1, 5




PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Output High Voltage Ports 1, 3, ALE, active-low PSEN at IOH = -50µAVOH12.4V1, 6


When the DS80C320 outputs a logic high level, the load connected to the port pin or ALE or active-low PSEN pins cause a current flow from the microcontroller to the load. The negative number for IOH indicates the current is sourced from the microcontroller. If the external load does not sink more than 50µA, the minimum output voltage measured at the pins are equal to or greater than 2.4V. The test condition used for this parameter assumes RST and VCC are at the same potential. This condition mimics operation of the pins in I/O mode.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Output High Voltage Ports 1, 3, at IOH = -1.5mAVOH22.4V1, 7


This condition reflects the port in transition mode, i.e., changing from a 0 to 1 state. When the port pins are changed from 0 to 1, a one-shot circuit drives the port pins hard for two clock cycles to assist in a strong pullup. At the end of the two-cycle transition, a weak pullup replaces the strong pullup to hold the port in a logic 1 state. This weak pullup remains until the next 1-to-0 transition. During the 0-to-1 transition, the voltage at these pins is not less than 2.4V, provided the load does not draw more than 1.5mA from the microcontroller.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Output High Voltage Ports 0, 2, ALE, active-low PSEN at IOH = -8mAVOH32.4V1, 5


This parameter states the minimum high-output voltage on Port 0 and Port 2 pins and ALE and active-low PSEN is not less than 2.4V when addressing external memory and the microcontroller is sourcing a current of 8mA.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input Low Current Ports 1, 3 at 0.45VIIL-55µA11


When the port pin is configured as an input, it is internally pulled to logic 1. Depending on the external load, the port pin sources current. In this case, a maximum current is sourced from the microcontroller port pins when the pin is loaded to an external voltage drop of 0.45V. When 0.45V is present at the port pin, a maximum current of 55µA flows from the pin.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Transition Current from 1 to 0 Ports 1, 3 at 2VITL-650µA8


When the port pins switch states from logic 1 to logic 0, current flows out of the pins to the external load. The maximum current occurs at approximately 2V during the transition from VCC to 0V.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
Input Leakage Port 0, Bus ModeIL-300+300µA9


When port 0 is used as an address bus for an external device, a leakage current flows when the input voltage is between VCC and 0.45V. A weak holding latch is employed in Port 0 during bus mode. During the voltage transition, the port pins can either sink or source current. The peak current occurs at approximately 2V during the transition.

PARAMETERSYMBOLMINTYPMAXUNITSNOTES
RST Pulldown ResistanceRRST50170


The reset pin on the DS80C320 has an internal pulldown resistor. The minimum resistance is 50kΩ and the maximum resistance is 170kΩ. This allows the user to incorporate various wired-OR conditions for reset. On some versions of 8051-type microcontrollers, an external RC combination is required to implement a power-up reset. This function is provided internal to the DS80C320.

关键词: 微控制器

评论

技术专区