AN2434 Freescale Semiconductor / Motorola, AN2434 Datasheet

no-image

AN2434

Manufacturer Part Number
AN2434
Description
Input/Output (I/O) Pin Drivers
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Freescale Semiconductor
Application Note
Input/Output (I/O) Pin Drivers on
HCS12 Family MCUs
By: Paul Atkinson
Introduction
Most microcontroller units (MCUs) must connect to other devices. The input/output (I/O) pins provide this
connection. I/O pins are driven by pad drivers which must provide for logic level translation, protection
against potentially damaging static charges, and amplification of the internal signals to provide sufficient
current drive to be useful outside the integrated circuit.
Generally, microcontrollers interface with high-impedance and well-behaved loads such as other logic
circuits. However, users often consider driving other devices such as light-emitting diodes (LEDs) and
printed circuit board (PCB) relays.
This application note:
© Freescale Semiconductor, Inc., 2004. All rights reserved.
8/16 Bit Division Applications Engineering
Austin, Texas
Examines the behavior of the I/O pins when low-impedance or poorly-behaved devices are driven
Describes the typical I/O pin driver capability in terms of output voltage versus current for full drive,
reduced drive, and with pullup/pulldown devices enabled or disabled
Provides some background and insight into the pin drivers and related structures
Provides a process for evaluating source and sink currents
Interprets the data of the evaluation in a graphic comparison to factory specifications
Rev. 0, 9/2004
AN2434

Related parts for AN2434

AN2434 Summary of contents

Page 1

... Provides some background and insight into the pin drivers and related structures • Provides a process for evaluating source and sink currents • Interprets the data of the evaluation in a graphic comparison to factory specifications © Freescale Semiconductor, Inc., 2004. All rights reserved. AN2434 Rev. 0, 9/2004 ...

Page 2

Pin Logic Structure Pin Logic Structure The logic structure for a general-purpose input/output (GPIO) pin is illustrated in includes: • Output driver • Input buffer • Pullup and pulldown sources • Electrostatic discharge (ESD) protection • Input hysteresis • Level ...

Page 3

The simplified illustration of an output driver in provide a current path between the output pin and both V the p-channel FET is enabled. To drive the pin low, the n-channel FET is enabled. There is also a series resistor ...

Page 4

Unique Pins of the ports associated with the core are available for use as general-purpose input/output (GPIO) in the non-expanded modes. Because these ports are part of the core, their capabilities are grouped differently than the PIM ports. For example, ...

Page 5

Pins that may be used as input/output should be terminated individually to permit maximum flexibility if they are needed later in the design process. Pins that are configurable as ...

Page 6

ESD Structures ESD Structures The ESD structure generally consists of diodes from the signal pins to the power and ground rail. These diodes are reverse biased with respect to the rails and serve to clamp external voltages to no more ...

Page 7

Injection Current When the applied voltage or an input pin rises above V According to the device electrical specification for the 9S12DP256, injected currents should be limited to ±2.5 mA for any single pin. Injection currents above this specification can ...

Page 8

Input Characteristics Input Characteristics Specifying the input levels as 65% and 35 65 above, it will be recognized as a logic-high level. When a voltage falls to 35 below, it will be ...

Page 9

Pullup Current The pullup current was measured by a current meter in series between the input pin and a variable power supply. With the power supply set to 5.0 Vdc, there is a slight leakage current into the input pin. ...

Page 10

Source and Sink for Full-Drive Currents current are shown in Figure 8 and (GPIO) pin is shown. The GPIO pins are contained in two sections of the MCU: • Core • Port integration module (PIM) The core includes ports A, ...

Page 11

SPECIFIED I OH 3.5 3 2.5 2 1 Figure 8. V The current that an output pin can sink is measured by connecting the output pin via a resistor to V driving the output pin ...

Page 12

Source and Sink for Full-Drive Currents SPECIFIED I OL 3.5 3 2.5 2 1 Figure 10 +25 mA INSTANTANEOUS MAXIMUM RECOMMENDED CURRENT FOR DIGITAL OUTPUT PINS (mA) OL versus Sink ...

Page 13

Source and Sink for Reduced Drive HCS12 I/O pins include a reduced current mode. This mode is provided to reduce EMI emissions in cases where the load being driven by the I/O pins is light and full drive strength is ...

Page 14

Capacitive Loading SPECIFIED I OL 3.5 3 2.5 2 1 Figure 12. V Capacitive Loading Device electrical 7specifications typically show parameters such as V maximum electrical signal levels and timing criteria based on a specified loading ...

Page 15

Figure 13. Effect of Long Leads and Stray (or Parasitic) Impedances By minimizing the length of component leads, PCB traces, and wire used to connect the scope probe, many of these effects can be reduced. and 470 pF with very ...

Page 16

Capacitive Loading 0 pF LOAD 1.67 ns RISE TIME 200 pF LOAD 22.25 ns RISE TIME 470 pF LOAD 50.55 ns RISE TIME Figure 14. Rise Times under Different Loads (Rise Times Were Measured from 20% to 80%) 16 Input/Output ...

Page 17

Inductive Loading When driving a load such as an inductor or capacitor that might result in voltages beyond one should take care to provide external circuitry (such as Schottky diodes), which will protect both SS the MCU ...

Page 18

Conclusion Conclusion The graphs and data in this application note suggest that MCU GPIO pins can source or sink much more current than the official specification recommends. Though adverse effects may not be immediately apparent, the damaging phenomena described in ...

Page 19

Glossary ATD — analog-to-digital converter CMOS — complementary metal oxide semiconductor EMF — electro-motive force ESD — electrostatic discharge FET — field effect transistor GPIO — general-purpose input/output Hysteresis — A function which lags or falls behind. Generally a function ...

Page 20

Appendix A High Performance Embedded Systems Division Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Failure Analysis Technical Report on Electrical Overstress (EOS) What is EOS? 1 Electrical overstress (EOS) is the misapplication of excessive voltage ...

Page 21

High Performance Embedded Systems Division Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Failure Analysis Technical Report on Electrical Overstress (EOS) Typical Failure Mechanisms for EOS The physical failure mechanism which results from an EOS event ...

Page 22

Appendix B Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer What is ESD? Electrostatic Discharge is the application of a short duration high energy pulse to the ...

Page 23

Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer + + + + + + + + + ZAP ...

Page 24

Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer + + + + + + + + + + + + + + ZAP! GROUND ...

Page 25

Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer four main failure mechanisms (discussed later) Occasionally, high supply current and even functional failures can be seen on ESD ...

Page 26

Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer Contact damage , also called contact spiking, is the result of this particular phenomena. See Figure 5. When the ...

Page 27

Reliability and Quality Assurance 6501 Wm. Cannon Drive West Austin, Texas 78735-8598 Electrostatic Discharge (ESD) in Integrated Circuits - A Primer Figure 6 - SEM micrograph of poly melt filaments. The unit has been stripped back to reveal Figure 7 ...

Page 28

... Learn More: For more information about Freescale Semiconductor products, please visit http://www.freescale.com AN2434 Rev. 0, 9/2004 Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document ...

Related keywords