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

Similar documents
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.

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

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

Easy Kit Board Manual

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

NovalithIC H-Bridge Demo Board

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

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.3, September 2008 AP XC2000/XE166 Family. Microcontrollers

Design Guideline for TC1782 Microcontroller Board Layout

Design Guideline for TC1791 Microcontroller Board Layout

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

Industrial PROFET. Universal Application Board User s Manual

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

Design Guideline for TC1798 Microcontroller Board Layout

XE166 family Easy Kit

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

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

Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

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

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

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

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

Operating temperature T a

Application Note No. 097

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

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

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

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

Queued SSC V

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

TLT807B0EPV Demoboard

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

XMC LED current control explorer kit

SPI Protocol of the TLE941xy family

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

Relaisdriving with HITFETs and SPIDERs

CRC Computation using PCP

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

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

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 Ω

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

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

TLx5012B 2go Evaluation Kit

Nuvoton 4T 8051-based Microcontroller NuTiny-SDK-N78E715 User Manual

Nuvoton 1T 8051-based Microcontroller NuTiny-SDK-N76E885 User Manual

XC2000/XE166 Family AP Application Note. Microcontrollers. FOC Motor Drive Kit with TLE5012 Speed and Position Sensor V1.

3D Magnetic Sensor 2 Go - TLE493D-A2B6

ASCLIN Asynchronous Synchronous Interface

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

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

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Absolute Pressure Sensor

HVP-KV10Z32 User s Guide

Ethernet1 Xplained Pro

Application Note No. 100

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

S3 Flash In-System Programmer

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

USER GUIDE. ATWINC1500 Xplained Pro. Preface

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

AVR- M16 development board Users Manual

StarterKit-C868 Hardware Manual Preliminary Edition January 2002

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

USER GUIDE. Atmel QT6 Xplained Pro. Preface

Z8 Encore! XP F0822 Series

Application Note - PCB Layout & PIN Behavior Assessment

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

DSD: Delta Sigma Demodulator. XMC microcontrollers September 2016

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

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

Sensor supply in bus mode

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

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

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

USER GUIDE. Atmel PROTO1 Xplained Pro. Preface

TLE9845 Application Kit PN User s Manual

BIG8051. Development system. User manual

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

TLE9869 Eval.Kit V1.0 Users Manual

Symphony SoundBite Reference Manual

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

AN5123 Application note

User Guide for MA Evaluation Boards MA12040/MA12040P/MA12070/MA12070P

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

AN10955 Full-duplex software UART for LPC111x and LPC13xx

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup Using a USB Debug Adapter

Infineon Flash Programmer Memtool for XMC1000 Family. XMC Microcontrollers January 2016

I/O1 Xplained Pro. Preface. Atmel MCUs USER GUIDE

Freedom FRDM-KV31F Development Platform User s Guide

USER GUIDE EDBG. Description

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.

SPOC +2 User Manual Multichannel SPI High-Side Power Controller

CPU369-Module Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

Transcription:

XC2000 Family AP16179 Application Note V1.0, 2010-07 Microcontrollers

Edition 2010-07 Published by Infineon Technologies AG 81726 Munich, Germany 2010 Infineon Technologies AG 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 the 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 the nearest Infineon Technologies Office. Infineon Technologies components may be used in life-support devices or systems only 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.

Device1 Revision History: V1.0 2010-08 Previous Version(s): V0.0 Page Subjects (major changes since last revision) This is the first release Trademarks TriCore is a trademark of Infineon Technologies AG. We Listen to Your Comments Is there any information in this document that you feel is wrong, unclear or missing? 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.0, 2010-07

Table of Contents 1 Introduction..................................................................... 5 2 Overview....................................................................... 6 2.1 Drive Card Setup................................................................. 7 3 Hardware Description............................................................. 8 3.1 Power Supply.................................................................... 8 3.2 XC2236N....................................................................... 8 3.3 User Interface.................................................................... 9 3.4 Digitally Isolated Debug Interface (JTAG, UART and CAN)................................. 9 3.5 Inverter Board Connection......................................................... 10 3.6 Hall Sensor and Encoder Interfaces.................................................. 11 3.7 USIC Interface.................................................................. 11 4 PCB Layout.................................................................... 12 Application Note 4 V1.0, 2010-07

1 Introduction The Drive Card has been designed mainly for industrial applications. It is available for the XE166 family and the XC2000 family. This DriveCard supports XC2000 derivatives and as well all XE162 derivatives in a 64 Pin package. For simplicity reasons only XC2236N will be described in this document. XC2000 family - More performance, more Flash, better peripherals With more than 15 successful years in the microcontroller market place, C166 has set the standard for 16-bit architectures with the highest aggregate volume share of all available 16-bit devices. With its fast interrupt response and context switching, the C166 family is ideally suited for automotive, industrial, mass storage and wired as well as wireless communications applications. Compared with the XC166, XC2000 delivers more performance, more Flash memory, more RAM, strongly enhanced peripherals and a complete DSP library. MCU and DSP in a core Infineon Technologies Real Time Signal Controller combines the traditional strengths of a Microcontroller Unit (MCU) to control peripherals with the computing power of Digital Signal Processors (DSP). All in one enhanced XC2000 core. Together, the Microcontroller's real-time capability and ease of use and the DSP's mathematical performance and data throughput form a powerful singe-chip solution ideal for many embedded applications. For detailed technical information about the different derivatives please refer to the XC2000 family web pages on the Infineon Internet. http://www.infineon.com/xc2000 Application Note 5 V1.0, 2010-07

2 Overview The XC2236N DriveCard has been designed for motor control systems. It provides all signals necessary to drive a power inverter including feedback signals. LED Inverter Board Connector USIC RST XC2236N BSL Hall POT LED 5 kv Isolation LED OCDS JTAG CAN CAN Figure 1 XC2236N DriveCard This DriveCard, featuring the cost-effective 16-bit microcontroller XC2236N with 32-bit motor control performance, provides following interfaces: USIC ASC/SSC/IIC: A synchronous serial interface like SPI, UART interface or IIC One Hall Interface can be used to directly connect hall sensors of a motor One Encoder Interface to directly connect encoder signals of a motor Digital isolated JTAG: Programming and debugging interface Digital isolated CAN: Controller Area Network e.g. for real-time monitoring and parameter setup Digital isolated UART: e.g. for real-time monitoring and parameter setup User interface: A POT and a LED can be used as user interface in stand alone operation The inverter board connector provides the following signals: Six PWM channels for 3-phase motor control (CAPCOM6E) Shut down signal for PWM channels (CTRAP) Enable signal for power inverter Seven ADC channels for fast analog signals such as DC-link current and phase voltages, as well as slow signals such as temperatures. Timer 3 output latch signal The power supply (5 V) for the drive card Application Note 6 V1.0, 2010-07

2.1 Drive Card Setup Although most of the programmable features of the XC2000 are selected by software either during the initialization phase or repeatedly during program execution, some features must be selected earlier because they are used for the first access of the program execution. These configurations are accomplished by latching the logic levels at a number of pins at the end of the internal reset sequence. Jumper 8 is used to configure the startup setting of the XC2000 during RESET. The default System Startup Configuration is shown in Table 1 below. All Jumper positions are OFF. The XC2000 executes a standard start from internal Flash. Table 1 Name in schematic Startup configuration Default configuration Description JP8 Startup configuration: Standard start from internal Flash (Default) 1 2 3 JP8 Startup configuration: Standard UART Bootloader mode 1 2 3 Note: For details about the UART Bootloader refer to the User Manual System Units. JP8 1 2 3 Startup configuration: CAN Bootloader mode Note: For details about the CAN Bootloader refer to the User Manual System Units. Note: For debugging purposes (OCDS) the standard start from internal Flash configuration must be used. Application Note 7 V1.0, 2010-07

3 Hardware Description 3.1 Power Supply The XC2236N DriveCard is supplied by two power supply domains. The main supply (VCC) is fed from the inverter board connector (see Chapter 3.5) and is connected to the MCU and all associated blocks. A second supply domain (VCCIO) exists for the digital isolation and the CAN transceiver. This can be provided via the CAN or the JTAG connector. Please refer to Chapter 3.4 for details. Two LEDs indicate the presence of these supply voltages. 3.2 XC2236N The XC2236N microcontroller is directly connected to dedicated interfaces. Next to the integrated current trimmed oscillator, an external resonator with 8 Mhz is available. A software download can be performed via JTAG, UART or CAN. For a UART or CAN download, the dedicated BSL (Boot Strap Loader) has to be set (see Chapter 2.1). For normal operation, the Jumper must be 'off'. A reset button is available to trigger a hardware reset. Figure 2 XC2236N Application Note 8 V1.0, 2010-07

3.3 User Interface There is a user interface available through a poti and a GPIO LED. The poti is connected to ADC0 channel 13, the LED is connected to port 10.13. A test pad is connected to this port as well in order to measure fast signals at an oscilloscope. Figure 3 User Interface: POTi and LED 3.4 Digitally Isolated Debug Interface (JTAG, UART and CAN) The XC2236N DriveCard is equipped with a digital isolation for JTAG, UART and the CAN interface. The 5 kv digital isolation, mainly designed for industrial applications, securely disconnects any debug, UART and CAN devices from the high voltage levels. As there is a separate power domain for the PC part of the XC2236N DriveCard, a 5 V power supply must be provided separately at VCCIO and GNDIO. LED1 indicates the availability of this supply domain. There is a DriveMonitor USB Stick available from Infineon Technologies that provides JTAG and CAN as well as the 5 V power supply in one device. Please refer to application note AP08071 for details. Figure 4 JTAG, UART and CAN: Debugger and Real Time Monitoring Interface Note: When a standard JTAG box is used, the VCCIO power supply must be provided at the CAN connector. Application Note 9 V1.0, 2010-07

3.5 Inverter Board Connection The standard 32-pin connector (DIN 41612, B/2) provides all signals needed for control of the 3-phase power inverter. The lowside (_L) and highside (_H) switches of the three power stages U, V and W are to be connected to the signals U_L, U_H, V_L, V_H, W_L and W_H. They are connected to the MCU s CAPCOM6E peripheral CCU60, flexible and powerful PWM unit very well suited for motor control. A low signal at the CTRAP pins of the CAPCOM6E immediately switches all power stages in passive state and acts as an emergency shut-down for the inverter. All CAPCOM6E signals, including COUT63, are available at pin header JP1 for CCU60 An enable signal for the power stages can be provided via signal ENABLE Signals which are connected to the MCU s GPIO port 10.11. Figure 5 Power Board Connector A 5 V power supply is expected at pins A1 and B1 of the inverter board connector in order to supply the MCU and peripheral components. A resistor and capacitor is placed near the connector to filter the power supply noise coming from the inverter board. The resistor R23 is soldered with a 0R and can be replaced if necessary with a other value or a ferrite bead. Application Note 10 V1.0, 2010-07

3.6 Hall Sensor and Encoder Interfaces The MCU provides a HALL sensor interfaces which can be accessed via JP4. Next to the HALL signals that are pulled up to VCC = 5 V, the VCC and GND signals are available as well The Encodeer Signals ENC_A and ENC_B are conected to the Timer 3 input. T3 operates in incremental interface mode automatically providing information on the sensor s current position. These pins are overlayed with the CCPOS1A and CCPOS2A pins. In incremental interface mode, the two inputs associated with core timer T3 (T3IN, T3EUD) are used to interface to an incremental encoder. T3 is clocked by each transition on one or both of the external input pins to provide 2- fold or 4-fold resolution of the encoder input. The Encoder_Top signal is connected to pin 2.1. With the ERU unit this pin can act like an external Interrupt request pin.. Figure 6 Hall Sensor Interfaces 3.7 USIC Interface The USIC0 Channel1 signals from the MCU are provided at JP7. This interface is connected directly to the MCU, and is therefore not isolated form the hot ground of the power inverter. The Interface can be used as ASC or SSC. The signals of JP7 can be mapped to GPIOs of the XC2236N as well. Figure 7 USIC Interface (SSC, ASC) Application Note 11 V1.0, 2010-07

4 PCB Layout Figure 8 Top view and Text Figure 9 Bottom view Figure 10 Solder view Application Note 12 V1.0, 2010-07

www.infineon.com Published by Infineon Technologies AG