Application Note, V1.3, September 2008 AP XC2000/XE166 Family. Microcontrollers

Similar documents
AP XC2000 & XE166 Families. Design Guidelines for XC2000 & XE166 Microcontroller Board Layout. Microcontrollers

Application Note, V1.0, Aug AP08064 XC866/886/888. Safeguarding the Microcontroller under Out-of-Spec Noise Conditions.

Application Note, V1.0, Jul AP08049 XC886/888CLM. Migration of Flash to ROM Device: Memory Protection Configurations.

Application Note, V 1.1, Feb AP DAP Connector. Microcontrollers

XC2000 series Board Manual, V.1.0, June XC2000 Easy Kit. Board REV. V1.0. Microcontrollers. Never stop thinking.

Design Guideline for TC1782 Microcontroller Board Layout

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

Application Note, V 1.0, April 2005 AP32086 EMC. Design Guideline for TC1796 Microcontroller Board Layout. Microcontrollers. Never stop thinking.

Application Note, V 1.1, Apr AP08006 C868. Interfacing SPI/I2C Serial EEPROM with C868 Microcontroller. Microcontrollers. Never stop thinking.

Design Guideline for TC1798 Microcontroller Board Layout

Design Guideline for TC1791 Microcontroller Board Layout

Application Note No. 097

XE166 family Easy Kit

NovalithIC H-Bridge Demo Board

XE164 UConnect Manual, V.1.1, February XE164 UConnect. Board REV. 2007/40. Microcontrollers. Never stop thinking.

Easy Kit Board Manual

XE166 Family AP Application Note. Microcontrollers. UConnect XE162N Hardware Description V1.0,

Operating temperature T a

Application Note, V1.0, November AP XC2000/XE166 family. ADC Result Handling on XC2000/XE166 family of Microcontrollers.

TLS202B1. Demonstration Board Manual. Automotive Power. Demonstration Board Manual. Rev. 1.0,

Absolute Pressure Sensor

Documentation Addendum, V1.2, Aug TC Bit Single-Chip Microcontroller Delta BC-to-BE Step. Microcontrollers

Application Note, V1.0, Jul AP XC16x. Interfacing the XC16x Microcontroller to a Serial SPI EEPROM. Microcontrollers

Smart High-Side Power Switch for Industrial Applications One channel: 1 x 1 Ω

Smart High-Side Power Switch BSP742RI PG-DSO8. AEC qualified Green product (RoHS compliant)

AP16050 SAB C161V/K/O. Emulating an asynchronous serial interface (ASC) via software routines. Microcontrollers. Application Note, V 1.0, Feb.

Industrial PROFET. Universal Application Board User s Manual

PROFET TM + Demoboard. Automotive Power. Smart High-Side Power Switch - Demoboard Description. Rev. 1.4,

Relaisdriving with HITFETs and SPIDERs

TxD GND V CC. RxD WAKE V IO SCLK MISO. (Top-side x-ray view) SCLK INH

LOW EMI PWM INTELLIGENT POWER HIGH SIDE SWITCH

Power Management & Drives. Application Note. February AN-EVAL 2x8-ISO1H815G-1

Application Note No. 100

Chip Card & Security ICs SLE Intelligent 1024 Byte EEPROM with Write Protection and Programmable Security Code

Frequently Asked Questions

Chip Card & Security ICs SLE Intelligent 256-Byte EEPROM with Write Protection function and Programmable Security Code

MIC826. General Description. Features. Applications. Typical Application

Application Note - PCB Layout & PIN Behavior Assessment

AP XC16x. How to generate a successful ROM mask for XC16x microcontrollers. Microcontrollers. Application Note, V 0.1, Sep.

Queued SSC V

Application Note AN V1.3 August Module with adapted driver electronics

XC800 Family AP Application Note. Microcontrollers. Capacitive-Touch Color Wheel Implementation V1.0,

XC800 Family AP Application Note. Microcontrollers. Programming the BMI value in the XC82x and XC83x products V1.0,

ESD8V0L... ESD8V0L1B-02LRH. Type Package Configuration Marking ESD8V0L1B-02EL

Application Note TLE9252V. About this document. Application Note. Safety Recommendations Z8F

Sensor supply in bus mode

SPI Protocol of the TLE941xy family

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

Scope: SW Installation: Start the Package PROG-KIT. Current. Page 1

Features. Applications

Frequently Asked Questions

AP16051 SAB C161K/V/O. Emulating an asynchronous serial interface (ASC) via the on-chip synchronous serial interface (SSC) Microcontrollers

XC82x/XC83x. DMX512 Receiving Device with XC836. Application Note. Microcontrollers AP08131 V1.1,

Application Note, V3.0, June 2006 AP TC179x. TC179x Examples Collection. Microcontrollers

ESD5V3U4RRS. Type Package Configuration Marking ESD5V3U4RRS SOT363 6 pins, uni-directional E8s

CRC Computation using PCP

QPRO Family of XC1700E Configuration PROMs

Features. Applications

Frequently Asked Questions

MP6302 Energy Storage and Release Control IC

ASCLIN Asynchronous Synchronous Interface

S3 Flash In-System Programmer

SM Features. General Description. Typical Application MHz/312.5MHz and MHz/156.25MHz LVDS Clock Synthesizer.

Obsolete Product(s) - Obsolete Product(s)

MP5013A 5 V, 5 A Programmable Current-Limit Switch with Over-Voltage Clamp and Slew-Rate Control in TSOT23-8

EV-VNQ7003SY. VNQ7003SY Evaluation Board. Data brief. Features. Applications. Description

MP201 Dying Gasp Storage and Release Control IC

24C08/24C16. Two-Wire Serial EEPROM. Preliminary datasheet 8K (1024 X 8)/16K (2048 X 8) General Description. Pin Configuration

Features. Description. Applications. Block Diagram PT7M3808. Fixed Voltage Diagram. Adjustable Voltage Diagram(PT7M3808G01)

MP5007 5V, 1A- 5A Programmable Current Limit Switch

3D Magnetic Sensor 2 Go - TLE493D-A2B6

Application Note, V1.0, Feb AP LIN Application for XC164CM Using DAvE LIN Configuration tool. Microcontrollers

CAT28C17A 16K-Bit CMOS PARALLEL EEPROM

XC164CS Prototype Board

Security & Chip Card ICs SLE 55R04. Intelligent 770 Byte EEPROM with Contactless Interface complying to ISO/IEC Type A and Security Logic

MP5013E 5V, 2A, Programmable Current- Limit Switch with Over-Voltage Clamp and Slew Rate Control in a TSOT23-8

XMC1000 EEPROM emulation and data retention

80C31BH, 80C51BH, 80C51BHP, 87C51 SPECIFICATION UPDATE

S12VR Hardware Design. Guidelines. 1 Introduction. 2 Hardware Design. Guidelines. 2.1 Voltage regulator. Freescale Semiconductor

AN2408 Application note

TLx5012B 2go Evaluation Kit

TLT807B0EPV Demoboard

Low Voltage, 10-Bit Digital Temperature Sensor in 8-Lead MSOP AD7314

MIC1832. General Description. Features. Applications. Typical Application

Features. LOAD SWITCH or PMIC. LOAD SWITCH or PMIC /RESET

MIC2782. General Description. Features. Applications. Typical Application. Dual-Input Push Button Reset IC with Immediate and Delayed Outputs

Set Up a PLL Loop Filter on the ez80f91 MCU

RF Power Product Selection Guide LDMOS Transistors and ICs

CHIP ON BOARD (COB) MODULE 1 WITH 8-BIT MCU KEYBOARD CONTROLLER

HX4002 HX1001. White LED Backlighting Li-Ion Battery Backup Supplies Local 3V to 5V Conversion Smart Card Readers PCMCIA Local 5V Supplies

QPro XQ17V16 Military 16Mbit QML Configuration PROM

SM Features. General Description. Applications. Block Diagram

XE166 Family. Hardware Manual. Microcontrollers. Hardware Manual XE166 Low End Easy Kit Board V1.5 V1.5,

MIC705/706/707/708. General Description. Features. Applications. Typical Application. µp Supervisory Circuit

R5108G SERIES. Microprocessor Supervisory Circuit with SENSE pin OUTLINE FEATURES APPLICATIONS NO.EA

+Denotes a lead(pb)-free/rohs-compliant package.

AUR9801D. Pin Assignments. Description. Applications. Features LI-ION/LI POLYMER BATTERY CHARGER AUR9801D

Total power dissipation: 500 mw Small plastic package suitable for surface-mounted design Wide working voltage range Low differential resistance

XMC LED current control explorer kit

Transcription:

Application Note, V1.3, September 2008 AP16103 XC2000/XE166 Family P i n C o n f i g u r a t i o n, P o w e r S u p p l y a n d R e s e t Microcontrollers

Edition 2008-09-18 Published by Infineon Technologies AG 81726 München, Germany Infineon Technologies AG 2008. All Rights Reserved. LEGAL DISCLAIMER THE INFORMATION GIVEN IN THIS APPLICATION NOTE IS GIVEN AS A HINT FOR THE IMPLEMENTATION OF THE INFINEON TECHNOLOGIES COMPONENT ONLY AND SHALL NOT BE REGARDED AS ANY DESCRIPTION OR WARRANTY OF A CERTAIN FUNCTIONALITY, CONDITION OR QUALITY OF THE INFINEON TECHNOLOGIES COMPONENT. THE RECIPIENT OF THIS APPLICATION NOTE MUST VERIFY ANY FUNCTION DESCRIBED HEREIN IN THE REAL APPLICATION. INFINEON TECHNOLOGIES HEREBY DISCLAIMS ANY AND ALL WARRANTIES AND LIABILITIES OF ANY KIND (INCLUDING WITHOUT LIMITATION WARRANTIES OF NON-INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OF ANY THIRD PARTY) WITH RESPECT TO ANY AND ALL INFORMATION GIVEN IN THIS APPLICATION NOTE. Information For further information on technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies Office (www.infineon.com). Warnings Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies Components may only be used in life-support devices or systems with the express written approval of Infineon Technologies, if a failure of such components can reasonably be expected to cause the failure of that life-support device or system, or to affect the safety or effectiveness of that device or system. Life support devices or systems are intended to be implanted in the human body, or to support and/or maintain and sustain and/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons may be endangered.

AP16103 Revision History: 2008-09 V1.3 Previous Version: none Page Subjects (major changes since last revision) all Extended to XC2000/XE166 family We Listen to Your Comments Any information within this document that you feel is wrong, unclear or missing at all? Your feedback will help us to continuously improve the quality of this document. Please send your proposal (including a reference to this document) to: mcdocu.comments@infineon.com Application Note 3 V1.3, 2008-09

Table of Contents Page 1 Introduction...5 2 How to do a basic configuration...6 2.1 Test...6 2.2 Power...6 2.3 Reset...6 2.4 Startup Mode...7 2.5 Configuration Example...7 3 Power supply...9 3.1 Single power supply...9 3.2 Dual power supply...10 4 Special Reset configurations...11 4.1 Using ESR pins to trigger a PORST reset...11 4.2 Using ESR pins for reset out delay (RSTOUT)...13 5 Conclusion...14 Application Note 4 V1.3, 2008-09

1 Introduction Infineon Technologies offers with the XC2000 and XE166 family a new generation of 16-bit microcontrollers based on the high-performance C166S V2 core. Both families provide new features to reduce system costs. This application note focuses on basic hardware related features such as EVR (Embedded Voltage Regulator), PORST (Power On ReSeT) and the configuration of special function pins. This application note (AP16103) covers the functionality of the following devices: xxx-xc228x-xxfxxlxx xxx-xc226x-xxfxxlxx xxx-xc238x-xxfxxlxx xxx-xc236x-xxfxxlxx xxx-xc2786x-xxfxxlxx xxx-xc2766x-xxfxxlxx XE167x-xxFxx XE164x-xxFxx Application Note 5 V1.3, 2008-09

2 How to do a basic configuration For correct operation the connection of several pins must be considered: 2.1 Test Test ( /TRST, /TESTM) Power (TREF, VDDIM, VDDI1,VDDPA, VDDPB,VSS) Reset (/PORST, ESR0, ESR1,ESR2) Start-up (Port 10) The pin /TESTM enables factory test modes. For normal operation it must be connected directly to VDDPB (Digital Pad Supply Voltage For Domain B). The pin /TRST is used to activate the debug system. For normal operation, it should have a pull-down resistor to Vss (Digital Ground). A high level at this pin plus a rising edge of /PORST activates the debug system. 2.2 Power The device operates in the voltage range of 3.0V to 5.. The on-chip embedded voltage supply, consists of two separated voltage regulators VDDIM and VDDI1, these generate the core voltage of 1.. Various power down modes can reduce the power consumption of the core logic. There are two groups of I/O pins. Optionally it is possible to operate both groups with the same voltage or with different voltages. For example the A/D conversion and some pins need 5 Volt and an external data memory needs 3.3 Volt. In this case the pin VDDPA (Digital Pad Supply Voltage for Domain A) is connected to 5 Volt and the pins VDDPB (Digital Pad Supply Voltage for Domain B) are connected to 3.3 Volt. The pin TREF (only AA-Step) works as a control pin for the core voltage generation. To activate the embedded on chip voltage supply pin TREF must be connected to VDDPB. This connection is no longer required from step AB on. For the current step, pin TRef is logically not connected. Future derivatives will feature an additional general purpose IO pin at this position. The embedded voltage regulator is divided in domain M (pin VDDIM) and domain 1 (VDDI1). In low power mode domain 1 can be switched off for power reduction. The pin VDDIM should be connected with a ceramic capacitor of at least 1µF. The maximum value of 4.7µF should not be overstepped. All pins VDDI1 should be connected to each other; each pin needs a 470nF ceramic capacitor. The maximum value of 2.2µF for each voltage domain 1 should not be overstepped. 2.3 Reset The pins /ESR0, /ESR1 and /ESR2 can serve as an external reset input as well as a reset output (open drain) for (internal) application resets. By default, reset functionality of /ESR1 and /ESR2 are disabled and an internal weak pull up resistor is active. For these pins there is no special recommendation about the configuration. By default the /ESR0 is configured as a bidirectional pin with pull up device. The pin /ESR0 serves as an external reset input as well as a reset output (open drain) for (internal) application reset. After reset an internal weak pull up resistor is active for /ESR0. To reduce noise sensitivity of /ESR0 it is recommended to use either a block capacitor (100nF) to ground or use an external pull up resistor to tie the pin to VDDPB. In register RSTCON1 the reset function of /ESR0 can be disabled. The supply voltage VDDPB is monitored to validate the overall power supply. The supply watchdog detects ramp up or ramp down of the external supply voltage and generates a power on reset. Thanks to this module only a simple low cost (3 pin device) voltage regulator is needed. Up to 16 Application Note 6 V1.3, 2008-09

selectable threshold levels from 2.9 Volt to 5.5 Volt allow to monitor the external power supply and can generate, if mandatory, an interrupt or reset. For debugging it is recommended to use a pull up resistor to tie /PORST to VDDPB. If an additional power on reset is requested the pin /PORST must be driven low. /PORST is equipped with a noise suppression filter that suppresses glitches below 10 ns pulse width. /PORST pulses with a width above 100 ns are safely recognized. 2.4 Startup Mode In order to assure a proper startup from the internal flash two pins of the port P10 needs to be configured. Pin P10.0 and P10.1 have to be connected via resistors to VDDPB. To select different startup modes like UART/SPI/CAN Bootstrap Loader some dedicated pins on Port10 have to be configured. The different modes can be triggered after a power-on reset or an (internal) application reset: Start from internal Flash: Pins 10.1-10.0 are sampled as 11B Activate ASC BSL: Pins 10.2-10.0 are sampled as 110B Activate CAN BSL: Pins 10.2-10.0 are sampled as 101B Activate SPI BSL: Pins 10.3-10.0 are sampled as 1001B 2.5 Configuration Example Figure 1 illustrates how such a configuration can look like. The values for the oscillator circuit are dependent on the crystal type used. The resistors optional are needed if the debug interface is used. Figure 1 Configuration example Internal Start from Flash Application Note 7 V1.3, 2008-09

Table 1 Capacitor Supply Pins (QFP-144) Pins (QFP-100) 100nF VDDPB 2 2 100nF VDDPB 36 25 100nF VDDPB 38 27 100nF VDDPB 72 50 100nF VDDPB 74 52 100nF VDDPB 108 75 100nF VDDPB 110 77 100nF VDDPB 144 100 >= 1 µf* VDDIM 15 10 220nF VDDPA 20 14 >= 470nF** VDDI1 54 38 >= 470nF** VDDI1 91 64 >= 470nF** VDDI1 127 88 Decoupling Capacitor List * For AB-Step = 1µF (For all other steps the capacitance value should be in the range of 1µF up to 4.7µF) **For AB-Step = 470nF (For all other steps the capacitance value should be in the range of 0.47µF up to 2.2µF) For better power dissipation, a package with exposed pad is offered. To reach the minimum thermal resistance Junction-Ambient (<= 22K/W) a 4-layer board with thermal vias should be used. The exposed pad needs to be soldered and tied to ground. Application Note 8 V1.3, 2008-09

3 Power supply Monitoring the external power supply allows the usage of a low-cost regulator without additional status signals. The chapter discusses the following items: Single power supply Dual power supply 3.1 Single power supply Typically most systems need only one power supply. With the embedded voltage regulator and the supply watchdog, a 3 pin low cost voltage regulator meets all requirements. VAGND VAREF1 VAREF2 1 x 10nF VDDPA 1 x 220nF VDDPB 8 x 1) 100nF D o m a i n B Domain A XC2000 XE166 D o m a i n B E V R 1 E V R M / TESTM / PORST ESR2 ESR1 ESR0 / TRST VDDI1 VDDI1 VDDI1 V DDIM 1µF VSS 10 K 3 x 470nF 10 K P10.0 XTAL1 XTAL2 Ropt. P10.1 10 K 18 pf 1) values have to be adapted 2) minimum values 8 MHz 18 pf 3 ) depended of the used crystal Figure 2 Single power supply using the TLE7274 The TLE 7274 is a monolithic integrated low-drop voltage regulator for load currents up to 300 ma. An input voltage up to 42 Volts is regulated to VQ, nom = 5.0 Volts with a precision of ±2%. The stand-by current consumption is typically 20µA. Therefore the device is dedicated for use in applications which are permanently connected to VBAT. If the system can be switched off completely, the TLE 7276 can be chosen. This voltage regulator has an additional control pin (Inhibit) that disables the 5 Volt. Application Note 9 V1.3, 2008-09

3.2 Dual power supply Some applications require two external voltage domains. One reason can be that the board voltage supply is 3.3 Volts but some external components, like sensors provide 5 Volt signals. The XC2000/XE166 family supports such requirements with their flexible voltage domain concept. The digital supply voltage for domain B and the embedded voltage regulator is supplied with 3.3 Volts, the domain A is supplied with 5 Volts. The domain B supplies all ports, except Port5, Port6 and Port15, with 3.3 Volts. To assure that both voltage sources are nearly synchronized the inhibit functionality is used. The total power dissipation is explicitly reduced. Figure 3 Dual power supply using TLE4296 GV 50 and TLE4266-2-GS33 The TLE 4296-2 G is a monolithic integrated low-drop voltage regulator in the very small SMD package P-SCT595-5. The output is able to drive a load of more than 30 ma while it regulates the output voltage within a 4% accuracy. The TLE 4266-2 is a monolithic integrated low-drop fixed voltage regulator which can supply loads up to 150 ma. Application Note 10 V1.3, 2008-09

4 Special Reset configurations 4.1 Using ESR pins to trigger a PORST reset In some Application Software or Hardware states (TRAPS or exceptional hardware events) it is required to do a Power on Reset. Since the XC2000/XE166 can not trigger a PORST via software or internal Hardware an external connection need to be used. The ESR pins serve as multi-functional pins with a huge amount of different options, such as reset input/output. After power on, ESR0 is configured as reset input for an internal application reset in open drain mode. ESR0 drives an active low signal after power on for the time the internal reset counter is running (see figure 5). For this reason ESR0 can not be directly connected to the /PORST pin. ESR1 and ESR2 are configured after start up as normal input pins, Pull-up device activated. One of the two pins could be connected directly to the /PORST pin (Figure 4). To trigger a PORST the register ESRCFG1 or ESRCFG2 of the respective ESR pin needs to be written with the corresponding value for reset output drives, a 0 for an Internal Application or Application Reset in open drain mode. The Reset counter RSTCNTA in register RSTCNTCON should be set to the maximum value. The ESR Pin could be used as well as I/O pin so that the Software could trigger a PORST by setting the respective ESR pin to 0 to achieve a proper external reset pulse outside. If the Watchdog Timer should trigger a PORST, the ESRCFGx register needs to be setup for the same type of reset like the WDT. In some Applications with a higher Safety level, an external Supply Watchdog is used. Figure 4 shows that the /RESETIN of the Supply Watchdog can be used to trigger a PORST. VAGND VAREF1 VAREF2 1 x 10nF VDDPA 1 x 220nF VDDPB 8 x 1) 100nF D o m a i n B Domain A XC2000 XE166 D o m a i n B E V R 1 E V R M / TESTM / PORST ESR2 ESR1 ESR0 / TRST VDDI1 VDDI1 VDDI1 V DDIM 1µF 10 K 10 K VSS VDDB 3 x 470nF ESR1 / PORST Figure 4 XTAL1 XTAL2 10 K P10.0 Ropt. P10.1 10 K 18 pf 18 pf 8 MHz Trigger a PORST with the ESR1 pin Application Note 11 V1.3, 2008-09

Figure 5 Trigger a PORST with the ESR1 pin Application Note 12 V1.3, 2008-09

4.2 Using ESR pins for reset out delay (RSTOUT) Some Applications require a reset out signal together with a reset out delay after power up as long the initialization is done. The XC166 family had a special pin for this function, the RSTOUT pin (Figure 6). The new XE166 offers a wide range of reset functions wich can be used in the same way as known from the 16Bit family. Figure 6 RESET out of XC166 The ESR pins serve as multi-functional pins with a huge amount of different options, such as reset input/output. ESR0 is configured as reset input (active low) after power up. For this reason ESR0 can not be used as the RSTOUT signal. ESR1 and ESR2 are configured after start up as normal input pins, Pull-up device activated. One of these Pins can be used together with an external Pull down to hold the signal at a low level. Later in the application software the pin can be switched to Push-pull output driving a high level. In Figure 7, the SCU_ESRCFG1 was written with a 0x000A; at the end of system init. Figure 7 ESR1 as reset out signal with reset out delay after power up Application Note 13 V1.3, 2008-09

5 Conclusion The XC2000/XE166 family supports several powerful mechanisms such as embedded voltage regulator, power on reset, two independent voltage domains and supply watchdog to address different application scenarios. Following the family concept Infineon Technologies is able to offer a wide range of different devices to meet the diverse requirements of the market. Application Note 14 V1.3, 2008-09

http://www.infineon.com Published by Infineon Technologies AG