XE166 Family Hardware Manual XE166 Low End Easy Kit Board V1.5 Hardware Manual V1.5, 2011-03 Microcontrollers Edition 2011-03 Published by Infineon Technologies AG 81726 Munich, Germany © 2011 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. Hardware Manual XE166 Low End Easy Kit Board V1.5 XE166 Revision History: V1.5 2011-03 Previous Version(s): 1.4 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: [email protected] Hardware Manual 3 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Table of Contents Table of Contents 1 Introduction - XE166 family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 2.1 2.2 2.3 2.4 2.4.1 2.5 2.6 2.6.1 General Information about XE166 Easy Kit Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Summary of Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Board Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 DIP Switch S101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Basic Startup Configuration for XE16x (L/ U -Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 USB Drive installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Easy Kit Power Supply concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Power Supply via Power Plug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 3.1 3.1.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.3 3.3.1 3.3.2 3.3.3 3.4 Information in Detail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Switch S101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DIP Switch Setting for XE16x (L/ U -Series) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Headers, Connectors and Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CAN0 (X106) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LIN Interface (X105) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OCDS Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DAP Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ADC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial EEPROM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pin Definition and Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 - Pinout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Zero Ohm Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 14 14 15 15 15 16 16 16 17 17 17 18 18 20 22 23 4 4.1 4.2 4.3 4.4 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BMI Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OCDS Debugging Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . USB Interface for UART support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 24 24 24 24 5 Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Hardware Manual 4 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Introduction - XE166 family 1 Introduction - XE166 family XE166 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, XE166 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 C166S V2 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 XE166 family web pages on the Infineon Internet. http://www.infineon.com/XE166 This document covers all products of the XE162xL, XE161xL, XE161FU and XE160FU series. Hardware Manual 5 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board 2 General Information about XE166 Easy Kit Board 2.1 Summary of Features – – – – – – – Infineon’s XE166 Controller in LQFP-64, VQFN-48 and TSSOP-38 Package High Speed CAN Transceiver, LIN Transceiver, USB to UART/JTAG bridge 8 Low Power Status LEDs Easy access to all pins 4-DIP switches for configuration On board USB to JTAG/UART interface Powered via USB Connectors The XE166 Board offers a wide variety of connectors: – – – – – USB connector for ASC/ JTAG/ SPD Interface 4-pin header for LIN Transceiver 16-pin header for JTAG interface (OCDS) 10-pin (2x5) header for CAN High Speed Transceiver (CAN0) 10-pin header for DAP/ SPD interface Components – – – – – – – – – Low-Drop Voltage Regulator TLE 4274 Four status LED´s for Power/RESET/JTAG CAN-Transceiver TLE 6251DS LIN Transceiver TLE 7259 FT2232HL Dual USB to UART/JTAG interface SPI EEPROM 128 Kbit AT25128N1) 8 general purpose LEDs Potentiometer for ADC Reset switch Zero Ohm Bridges – Zero Ohm resistors give the flexibility to configure the systems functionality 1) The soldered part may differ from the schematic, for example Atmel 25040AN. Hardware Manual 6 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board 2.2 Block Diagram Voltage Regulator MultiCAN CAN Transceiver LIN Transceiver TxD LIN EEPROM XE16x CPU RxD USB 8 LEDs DAP OCDS1 USB To UART/ JTAG Bridge XTAL Figure 1 Block diagram of XE166 Easy Kit layout overview Hardware Manual 7 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board 2.3 Board Overview 1 10.7 1 OCDS1 DAP 1 Config 4 Reset Infineon XE166 Debug Run Debug Active Reset Power Supply USB 1 1 Power Supply Jumper Figure 2 1 CAN0 LIN1 Power AN0 (ADC) Top View (basic components) Hardware Manual 8 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board Figure 3 Top view in detail 2.4 DIP Switch S101 Although most of the programmable features of the XE166 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. DIP switch S101 allows to configure the startup setting of the XE166 during RESET. The default System Startup Configuration is shown in Table 1. By default all DIP Switches are OFF. The XE166 executes a standard start from internal Flash. Note: The Kit is programmed with BMI for DAP. To connect a JTAG debugger box from a Tool vendor (KEIL, PLS), the BMI need to be reprogrammed to JTAG using a flash programming software (e.g. Memtool). Table 1 Name in schematic Default Configuration Default configuration Description S101 Startup configuration: Standard start from internal Flash (Default) On Off 1 2 3 4 P2.9 P10.12 /TRST ADBUS5 Hardware Manual 9 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board 2.4.1 Basic Startup Configuration for XE16x (L/ U -Series) Table 2 Basic Startup Configuration via External Circuitry Startup Mode TRST BMI value1) CFG-pins P2.9 Internal Start from Flash, no debug 0 Start-up and debug mode from BMI 1 not checked BMI valid Start-up and debug mode from BMI CAN Bootloader x x BMI.BLS=disable x x BMI.BLS=enable x 0 x 1 x 1 0 0 1 0 ASC Bootloader BMI invalid/ unconfigured ASC Bootloader P10.12 2) Internal start from Flash,JTAG debug pos.A 1) BMI0[15:12] = 0101B means BMI.BLS=enable. BMI0[15:12] = 1010B means BMI.BLS=disable. BMI0[15:12] = else means BMI is invalid. 2) CAN Bootloader is not available to XE16xU series. Configuration pins are treated by firmware differently depending on additional conditions: 1. If TRST=0 - it is purely hardware controlled (so-called “Zero-pin”) configuration - device start from Internal Flash without debug support is executed 2. If TRST=1 - the Boot Mode Index (BMI) is evaluated by firmware first and depending on the result - start-up mode and debug For more detailed information about the DIP switch setting, please refer to Chapter 3.1.1, Table 4. 2.5 USB Drive installation All USB-Transaction are realized by the USB-Software running on a Host-Computer. The USB-Device driver is communicating with the Equipment connected to the Computer. The driver for Easy Kit USB interface will be delivered with a Software called DAS (Device Access Server). The goal of the DAS architecture is to provide one single interface for all types of tools, which fulfills all performance and reliability needs. Additionally a driver for a virtual COM port will be installed. Find out more about DAS on the Infineon Web page: http://www.infineon.com/DAS This DAS Software can be found in the Easy Kit CD under the Tools section. DAS Software Version 3.0.0 or higher is required to be used with the Easy Kit. Hardware Manual 10 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board Figure 4 Tools install Hardware Manual 11 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board 2.6 Easy Kit Power Supply concept The Easy Kit USB Power Supply concept allows the user to work with the Kit without an external Power Supply. If the USB power supply is not sufficient, an additional regulated DC power supply can be used. XE166 CPU Powe r LEDs 1 5V DC JP201 Power Supply USB Supply 6 … 12V 5V Figure 5 Easy Kit Power Supply concept By means of the Power Supply Jumper JP201, USB, or the external power Supply can be selected to run the Easy Kit. The Setup for the Jumper JP201 is shown in Table 3 below. Table 3 Name in schematic Power Supply Jumper configuration Configuration Description JP201 Power Supply via USB Interface (Default) 1 2 3 JP201 Power Supply via Power Plug 1 2 3 The USB specification provides a 5 V supply on a single wire from which connected USB devices may draw power. The specification provides for no more than 5.25 V and no less than 4.35 V between the +ve and -ve bus power lines. Initially, a device is only allowed to draw 100 mA. It may request more current from the upstream device in units of 100 mA up to a maximum of 500 mA. In practice, most ports will deliver the full 500 mA or more before shutting down power, even if the device hasn't requested it or even identified itself. If a (compliant) device requires more power than is available, then it cannot operate until the user changes the network (either by rearranging USB connections or by adding external power) to supply the required power. Hardware Manual 12 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 General Information about XE166 Easy Kit Board Note: If the USB power supply is not sufficient, an external power supply is needed and the Jumper JP201 setting need to be changed. Note: In case the USB Host PC goes into Suspend Mode, an external Power Supply should be used. 2.6.1 Power Supply via Power Plug The XE166 Board can be supplied either with USB cable or with an external power supply. For external power supply, a regulated DC power supply with max. 12Volt/ 400mA can be connected to the power connector. The maximum power dissipation of the used voltage regulator has to be taken into account. Figure 6 Power Supply Hardware Manual 13 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail 3 Information in Detail The XE166 family supports variety of start-up modes, allowing the user to make selections in three aspects: • • • Main functionality - where from the user code will be started (on-chip Flash, PSRAM, external memory); Optionally - a way for initial code-downloading into PSRAM before to start it: – From an external host via a communication interface - UART, CAN. Debug-related - either debugging will be possible, and if Yes - which debug-interface to use (SPD, JTAG, and DAP selectable pin-assignments via BMI). The Easy Kit Board Manual covers only a limited number of start-up modes. For all possible start-up modes please refer to the corresponding User’s Manual. 3.1 Switch S101 3.1.1 DIP Switch Setting for XE16x (L/ U -Series) Table 4 DIP Switch Settings for S101 Name in schematic Default configuration Description S101 Startup configuration: Standard start from internal Flash xx-xx-OFF-xx On Off 1 2 3 4 S101 On Off 1 2 3 4 S101 On Off 1 2 3 4 S101 On Off 1 2 3 4 S101 On Off 1 2 3 4 S101 On Off Hardware Manual 1 2 3 4 Startup configuration: BMI valid. BLS disable, Start-up and debug mode from BMI xx-xx-ON-xx Startup configuration: BMI valid. BLS enable, Start-up and debug mode from BMI xx-ON-ON-xx Startup configuration: BMI valid. BLS enable, Bootstrap loader ASC xx-OFF-ON-xx Startup configuration: BMI invalid. Bootstrap loader ASC xx-OFF-ON-xx Startup configuration: BMI invalid. Bootstrap loader CAN ON-ON-ON-xx 14 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail Table 4 Name in schematic DIP Switch Settings for S101 Default configuration Description Startup configuration: BMI invalid. JTAG Debug Mode A OFF-ON-ON-xx S101 On Off 1 2 3 4 Startup configuration: All other positions are reserved S101 Note: Other than hardware configuration, the BMI value has to be configured in order for the device to run in the correct mode. For more information, refer to Table 2. 3.2 Headers, Connectors and Components 3.2.1 USB Interface The USB connector is used for connection to a PC. Via the USB it is possible to power the board, using the USIC0 Channel 0 as serial connection via USB and Debugging via DAS. For the pinout of USB socket see Figure 7. Figure 7 On-board header (P201) 3.2.2 CAN0 (X106) 2 (D-) 1 (Vbus) 3 (D+) 4 (GND) One CAN transceiver is connected to the MultiCAN on XE166 node 0. The transceiver is connected to the IDC10 plug. For the pinout of IDC10 plug see Figure 8. You can use a IDC female connector with crimp connector, flat cable and SUB-D 9 plug with crimp connector to have a 1:1 adapter to SUB-D 9. CAN module is not available to XE16xU series. CANL GND Figure 8 1 2 3 4 5 6 7 8 9 10 GND CANH VDDP On-board header (X106) Hardware Manual 15 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail 3.2.3 LIN Interface (X105) Figure 9 On-board header (X105) 3.2.4 OCDS Interface 4 VBat 3 2 Vs Bus GND 1 The board has a connector with 4 pins for LIN. For the pinout of the connector see Figure 9. The LIN transceiver is connected to USIC1 Channel 0 for XE16xL module, and USIC0 Channel 0 for XE16xU module of the CPU. The OCDS1 signals are connected to the IDC16 plug (X202). For pinout of the connector see Figure 10. You can connect any debugger to this connector. The signals /BRKIN and /BRKOUT are not connected by default. If you connect a debug hardware, ensure that the MiniWiggler circuit is not active (ACTIV LED is off), and on the DAP connector (X203), no hardware is connected or the hardware is tristate. If the ACTIV LED is on, then stop the active DAS Server JTAG over USB Chip and/or remove the USB connection to the PC. TMS TD0 CPUCLOCK TDI /TRST TCLK /BRKIN Figure 10 On-board header X202 3.2.5 DAP Interface 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Vcc GND GND /PORST /BRKOUT GND /OCDSE The board comes with a DAP connector (X203). For pinout of this connector see Figure 11. You can connect a DAP/ SPD hardware here. If you use this connector make sure that the MiniWiggler is not active (ACTIV LED is off) and a connected OCDS1 hardware is disconnected or tristate. For single pin DAP (SPD) interface, DAP1 is used. Hardware Manual 16 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail VREF 1 2 3 4 5 6 7 8 9 10 GND GND DAP0 GND Figure 11 On-board header X203 3.2.6 ADC DAP1 USER0_IO USER1_IN /RESET On AN0 (ADC0) is a 10K potentiometer (R113) connected. You can apply a voltage between VAGND0 and VAREF0 to the AN0 channel via this potentiometer. 3.2.7 LEDs Port 10 pin 0 up to pin 7 are connected to single LED’s (D101... D108) and can be controlled by Software. These status LEDs are low active. Table 5 LEDs description LED number Description D201 (red) Debug Run Mode (switched by DAS Server) D202 (green) Debug Active (Mini Wiggler circuit active) D207 (red) Power On Reset Active D208 (green) Board Voltage 5 Volts D101 - D108 (yellow) Status of P10L 3.2.8 Serial EEPROM By default the USIC0 Channel 1 of the XE166 is connected to a serial EEPROM with a size of 512K (64 x 8). The default setting for the SSC is described in Table 6. Table 6 Serial EEPROM interface Default Setting: SSC (USIC0 Channel 1) P2.8 (SCK) with R140 P2.4 (SI) with R141 P2.10 (SO) with R142 P2.7 (CS) with R143 Hardware Manual 17 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail Pin Definition and Location 3.3.1 64 - Pinout 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 ESR0 PORST XTAL1 XTAL2 P10.12 P10.11 P10.10 VDDIM VDDPB P10.15 P10.14 P10.13 P10.9 P10.8 P10.7 P10.6 3.3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 LQFP64 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 VDDPB P2.13 P2.12 P2.11 P2.10 P2.9 P2.8 P2.7 P2.6 VSS P5.4 P5.7 P5.8 P5.9 P5.10 P5.11 P5.13 P5.15 P2.0 P2.1 VDDIM VDDPB P2.2 P2.3 P2.4 P2.5 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 VSS TESTM TRST P6.3 P6.2 P6.1 P6.0 VDDPB VAREF VAGND P5.0 P5.1 P5.2 P5.3 P5.5 P5.6 Figure 12 Pinout of the 64 pin device Hardware Manual 18 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail X104 8 7 6 5 4 3 2 1 /PORST XTAL2 P10.11 VDDI1 P10.15 P10.13 P10.8 P10.6 ESR0 XTAL1 P10.12 P10.10 VDDPB P10.14 P10.9 P10.7 /TESTM P10.5 P10.4 8 2 /TRST P6.3 P10.3 P10.2 7 3 P6.2 P6.1 P10.1 P10.0 6 4 P6.0 VDDPB VDDPB P2.13 5 5 VAREF VAGND P2.12 P2.11 4 6 P5.0 P5.1 P2.10 P2.9 3 7 P5.2 P5.3 P2.8 P2.7 2 8 P5.5 P5.6 P2.6 GND 1 X102 Figure 13 XE16x P5.7 P5.9 P5.11 P5.15 P2.1 VDDPB P2.3 P2.5 P5.4 P5.8 P5.10 P5.13 P2.0 VDDI1 P2.2 P2.4 1 2 3 4 5 6 7 8 X103 GND X101 1 Pin connector of the 64 pin device Hardware Manual 19 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail 48 - Pinout 48 47 46 45 44 43 42 41 40 39 38 37 PORST XTAL1 XTAL2 P10.12 P10.10 VDDIM VSS VDDPB P10.9 P10.8 P10.7 P10.6 3.3.2 1 2 3 4 5 6 7 8 9 10 11 12 VQFN48 36 35 34 33 32 31 30 29 28 27 26 25 P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 P2.13 P2.10 P2.9 P2.8 P2.7 P2.6 P5.4 P5.8 P5.9 P2.0 P2.1 VDDIM VSS VDDPB P2.2 P2.3 P2.4 P2.5 13 14 15 16 17 18 19 20 21 22 23 24 TESTM TRST P6.3 P6.1 P6.0 VSS VDDPB VAREF VAGND P5.0 P5.2 P5.3 Figure 14 Pinout of the 48 pin device Hardware Manual 20 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail X104 8 7 6 5 4 3 2 1 /PORST XTAL2 nc VDDI1 nc nc P10.8 P10.6 nc XTAL1 P10.12 P10.10 VDDPB nc P10.9 P10.7 /TESTM P10.5 P10.4 8 2 /TRST P6.3 P10.3 P10.2 7 3 nc P6.1 P10.1 P10.0 6 4 P6.0 VDDPB nc P2.13 5 5 VAREF VAGND nc nc 4 6 P5.0 nc P2.10 P2.9 3 7 P5.2 P5.3 P2.8 P2.7 2 8 nc nc P2.6 nc 1 X102 Figure 15 XE16x nc P5.9 nc nc P2.1 VDDPB P2.3 P2.5 P5.4 P5.8 nc nc P2.0 VDDI1 P2.2 P2.4 1 2 3 4 5 6 7 8 X103 nc X101 1 Pin connector of the 48 pin device Hardware Manual 21 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail 38 - Pinout 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 P6.0 P6.1 TRST TESTM PORST P10.12 P10.10 VDDIM VSS VDDPB P10.9 P10.8 P10.7 P10.6 P10.5 P10.4 P10.3 P10.2 P10.1 3.3.3 VAREF VAGND P5.0 P5.2 P5.3 P5.4 P5.8 P2.0 VSS VDDP P2.3 P2.4 P2.5 P2.6 P2.7 P2.8 P2.9 P2.10 P10.0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 TSSOP38 Figure 16 Pinout of the 38 pin device X104 8 7 6 5 4 3 2 1 /PORST nc nc VDDI1 nc nc P10.8 P10.6 nc nc P10.12 P10.10 VDDPB nc P10.9 P10.7 /TESTM P10.5 P10.4 8 2 /TRST nc P10.3 P10.2 7 3 nc P6.1 P10.1 P10.0 6 4 P6.0 nc nc nc 5 5 nc VAGND nc nc 4 6 P5.0 nc P2.10 P2.9 3 7 P5.2 P5.3 P2.8 P2.7 2 8 nc nc P2.6 GND 1 X102 Figure 17 XE16x nc nc nc nc nc VDDPB P2.3 P2.5 P5.4 P5.8 nc nc P2.0 nc nc P2.4 1 2 3 4 5 6 7 8 X103 nc X101 1 Pin connector of the 38 pin device Hardware Manual 22 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Information in Detail 3.4 Zero Ohm Resistors For configuration purposes several zero ohm resistors have been implemented. The functionality of these resistors are shown in the table below. Table 7 Zero Ohm Resistors Component Name in schematic Description TLE7259 (LIN Transceiver Board) R124 enable / disable For XE16xL series For XE16xU series R125 / R126 R149 / R150 connect / disconnect connect / disconnect R129 / R130 R131 R135 R133 / 134 connect / disconnect (CAN0) enable / disable (CAN0) supply Bus voltage internal / external (CAN0) connect Bus / disconnect Bus (CAN0) R148 R213 R147 change of analog reference source R140 / R141 R142 / R143 R109 R115 / R116 connect to USIC0 Channel 1 connect to USIC0 Channel 1 connect / disconnect LED´s to 5 V oscillator gain JTAG-Option: R233, R238 open DAP-Option: R233, R238 assembled with 0R ASC Bootloader: 64 Pin / 48 Pin/ 38 Pin R236-R237 assembled with 0R Other R236-R237 open U203: R210 For internal use only EEPROM 93LC46B: R207 If ORG functionality is needed TLE6251DS (CAN Transceiver)1) Microcontroller XE16x Analog reference Voltage supply AT25128N 2) (Serial EEPROM) Status LED´s Oscillator circuit change of voltage supply FT2232HL 1) CAN transceiver is not available to XE16xU series. 2) The soldered part may differ from the schematic, for example Atmel 25040AN. Hardware Manual 23 V1.5, 2011-03 Hardware Manual XE166 Low End Easy Kit Board V1.5 Getting Started 4 Getting Started 4.1 Power Supply If more current is needed, a regulated DC power supply with max. 12 Volts should be connected to the power connector. The maximum power dissipation of the used voltage regulator has to be taken into account. By default one green LED should be active. It indicates that the embedded voltage regulator supply the microcontroller. Note: Power supply is not part of the delivery. Figure 18 Power Supply Connector 4.2 BMI Programming The XE166 Easy Kit supports Boot Mode Index (BMI) programming. This provides flexibility for the users to configure the device start-up mode. BMI value can be configured via software or tool. For details on how to program the BMI value, please refer to the User’s Manual. 4.3 OCDS Debugging Interface The XE166 Easy Kit offers access to device via four interfaces (UART, JTAG, DAP, SPD), through a USB connection. With the FTDI chip, an on board USB JTAG wiggler has been implemented. Further, the USB interface allows to emulate a USB to UART bridge. A simple 16-pin JTAG/ DAP/ SPD header can be used to connect a debugger from one of Infineon’s tool suppliers. Both systems include an On-Chip Debug Support (OCDS) system, which provides convenient debugging, controlled directly by an external device via debug interface pins. 4.4 USB Interface for UART support The USB connector is used for connection to a PC. Via the USB it is possible to power the board, using the ASC as serial connection via USB and Debugging via DAS. For the pinout of USB socket see Figure 7. Note: Before connecting the board to the PC, make sure that the actual DAS software is installed on the PC. For actual DAS software please contact your local FAE. The latest version of the software can also be found on the DAS website: www.infineon.com/DAS Hardware Manual 24 V1.5, 2011-03 25 D C B A 1 18pF C102 1K5 1K5 R108 1K5 R107 1K5 R106 1K5 R105 1K5 R104 1K5 R103 1K5 R102 R101 47K 1 D108 D107 D106 D105 D104 D103 D102 D101 LY T67K LY T67K LY T67K LY T67K LY T67K LY T67K LY T67K LY T67K GND 0R XTAL1 /TRST ESR0 /TESTM VAGND C104 100n P5.0 P10.7 P10.6 P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 R116 opt XTAL2 R111 10K R112 0R R110 100R R114 GND Y101 8MHz R115 18pF C103 GND +5V +5V VAGND 10K R113 2 VDDI1 P10.11 XTAL2 /PORST GND VDDI1 P10.6 P10.8 P10.13 P10.15 P2.7 P2.9 P2.11 P2.13 P10.0 P10.2 P10.4 P2.2 P2.4 GND VDDPB VAREF VAGND VAREF P5.4 P5.8 P5.10 P5.13 P2.0 P5.0 P5.2 P5.5 /TRST P6.2 P6.0 P5.0 P5.1 P5.2 P5.3 P5.5 P5.6 /TESTM /TRST P6.3 P6.2 P6.1 P6.0 GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 4 6 8 10 12 14 16 GND TESTM TRST P6.3 P6.2 P6.1 P6.0 VDDPB VAREF VAGND P5.0 P5.1 P5.2 P5.3 P5.5 P5.6 2 4 6 8 10 12 14 16 2 4 6 8 10 12 14 16 2 4 6 8 10 12 14 16 2 CPUCON4_opt 1 3 5 7 9 11 13 15 X104 CPUCON3_opt 1 3 5 7 9 11 13 15 X103 CPUCON2_opt 1 3 5 7 9 11 13 15 X102 CPUCON1_opt 1 3 5 7 9 11 13 15 X101 2 VDDI1 ESR0 /PORST XTAL1 XTAL2 P10.12 P10.11 P10.10 VAREF 1 3 R109 0R +5V 2 VDDPB 3 P10.15 P10.14 P10.13 P10.9 P10.8 P10.7 P10.6 P5.1 P2.3 P10.10 P10.12 XTAL1 ESR0 VDDPB P10.7 P10.9 P10.14 P10.1 P10.3 P10.5 VDDPB P2.6 P2.8 P2.10 P2.12 P2.5 VDDPB P5.7 P5.9 P5.11 P5.15 P2.1 P5.3 P5.6 VDDPB VAGND /TESTM P6.3 P6.1 VDDI1 P2.3 P2.4 P2.5 P2.6 P2.7 P2.8 P2.9 P2.10 P10.0 P5.0 P5.2 P5.3 P5.4 P5.8 P2.0 3 GND VDDPB VAREF VAGND 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 0R +5V CB111 470n 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 4 0R R147 P10.9 P10.8 P10.7 P10.6 P10.5 P10.4 P10.3 P10.2 P10.1 P6.0 P6.1 /TRST /TESTM /PORST P10.12 P10.10 CB113 100n VDDI1 GND VDDPB P5.0 P5.2 P5.3 GND VDDPB VAREF VAGND /TESTM /TRST P6.3 P6.1 P6.0 CB112 100n GND P6.0 P6.1 TRST TESTM PORST P10.12 P10.10 VDDI1 GND VDDPB P10.9 P10.8 P10.7 P10.6 P10.5 P10.4 P10.3 P10.2 P10.1 0R R123 CB115 470n CB108 100n P2.13 P2.12 P2.11 P2.10 P2.9 P2.8 P2.7 P2.6 XC2XXX ULE 38 PIN VAREF VAGND P5.0 P5.2 P5.3 P5.4 P5.8 P2.0 GND VDDPB P2.3 P2.4 P2.5 P2.6 P2.7 P2.8 P2.9 P2.10 P10.0 VAGND R148 U103 CB114 100n GND CB110 470n CB107 100n GND VDDPB P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 U101 XC2XXX LE 64 PIN CB106 100n VAGND VAGND CB109 100n VAREF GND CB105 100n VDDPB 4 +5V 1 2 3 4 5 6 7 8 9 10 11 12 TESTM TRST P6.3 P6.1 P6.0 GND VDDPB VAREF VAGND P5.0 P5.2 P5.3 PLEASE NOTE: ONLY ONE CPU (U101, U102 OR U103) IS ASSEMBLED VDDI1 P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 VDDPB P2.13 P2.12 P2.11 P2.10 P2.9 P2.8 P2.7 P2.6 GND 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 P5.4 P5.7 P5.8 P5.9 P5.10 P5.11 P5.13 P5.15 P2.0 P2.1 VDDI1 /PORST XTAL1 XTAL2 P10.12 P10.10 5 GND GND VDDPB P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 P2.13 P2.10 P2.9 P2.8 P2.7 P2.6 VDDPB 36 35 34 33 32 31 30 29 28 27 26 25 P10.5 P10.4 P10.3 P10.2 P10.1 P10.0 P2.13 P2.10 P2.9 P2.8 P2.7 P2.6 U102 XC2XXX LE_ULE 48 PIN 6 5 0R 0R R130 ONLY WITH XC2XXX LE P2.5 P2.3 6 GND CB102 +5V GND R129 100n 10K 1 2 3 4 6 8 5 7 7 8 6 HOLD WP VCC GND 8 7 6 5 7 3 8 4 CB101 100n GND 3 D109 2 0R 0R R134 CAN0 1 3 5 7 9 X106 5 2 3 2 4 6 8 10 GND AD7414ART_opt AS ALERT GND R145 10K LIN 1 2 3 4 X105 GND R135 0R_opt +5V GND 8 R146 10K CB103 100n_opt +5V R144 10K +5V PORT[2..10] VBAT GND GND GND CB104 100n +5V SCL VDD SDA R128 1K R133 X108 SPLIT_CAN0_opt R132 120R 1 6 R122 2K8 U106 470R R121 0R R120 470R R119 1 C105 22µF/50V BAT54-04 GND C101 1n GND GND R139 opt R138 opt +5V 4 AT25128N-10SI2.7 CS SCK SI SO U107 CONFIG GND 1 6 5 2 1 2 3 4 S101 PORT[2..10] 7 Infineon Technologies AG 7 1 of 3 ATV MC ACE PDA Number: Am Campeon 1-12 Revision: 1.1 D-85579 Neubiberg Date: 29.09.2010 Tel.: +49-89-234-0 File: G:\Technical_Support\P11\XC2XXX\EDA_DXP\Easy Kit XC2XXX\64_48_38 V1.X\Easy Kit xc2xxx 64_48_38 V1.1\Main.Sch Sheet: 8 Easy Kit XC2XXX 64/48/38 CPU and On Board IO's 0R R131 TLE6251DS TXD CANL GND STB VCC SPLIT RXD CANH U105 VS INH BUS I2C_opt 1 2 3 P10.1 P10.2 GND P2.9 P10.12 /TRST ADBUS5 R137 1K_opt +5V 0R 0R R143 0R R142 0R R141 R140 X107 R136 1K_opt +5V P2.7 P2.10 P2.4 P2.8 +5V R125 AND R126 ARE ASSEMBLED ONLY WITH XC2XXX LE R149 AND R150 ARE ASSEMBLED ONLY WITH XC2XXX ULE R124 R149 0R U104 P10.6 2 0R EN 4 P10.15 R125 TXD 1 0R RXD 3 P10.13 R126 WK 0R R150 5 P10.0 GND 0R TLE7259 +5V GND R127 VDDI1 P5.4 P5.8 P5.9 P2.0 P2.1 ESR0 PORST XTAL1 XTAL2 P10.12 P10.11 P10.10 VDDI1 VDDPB P10.15 P10.14 P10.13 P10.9 P10.8 P10.7 P10.6 P5.4 P5.7 P5.8 P5.9 P5.10 P5.11 P5.13 P5.15 P2.0 P2.1 VDDI1 VDDPB P2.2 P2.3 P2.4 P2.5 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 P2.2 P2.3 P2.4 P2.5 P10.9 P10.8 P10.7 P10.6 48 47 46 45 44 43 42 41 40 39 38 37 PORST XTAL1 XTAL2 P10.12 P10.10 VDDI1 GND VDDPB P10.9 P10.8 P10.7 P10.6 P5.4 P5.8 P5.9 P2.0 P2.1 VDDI1 GND VDDPB P2.2 P2.3 P2.4 P2.5 13 14 15 16 17 18 19 20 21 22 23 24 P2.2 P2.3 P2.4 P2.5 Hardware Manual 1 D C B A 5 1 1 Hardware Manual XE166 Low End Easy Kit Board V1.5 Schematic Schematic V1.5, 2011-03 D C B GND GND 1 X201 POWER 1 R205 10K VDD_FT GND CB206 100n VDD_FT GND P201 1 1 2 3 4 IN GND GND C206 470n_opt R227 47K_opt 220n_opt CB207 GND GND 4 1 3 8 1 2 6 8 7 50 49 RO VCC BUO 2 100n IN 2 5 7 6 GND OUT U205 TLE4274DV5 3 60 36 13 63 62 61 14 100n 100n 100n PWREN 6 10n_opt C207 3 JP201 1 2 3 POWER C205 22µF/10V VDD_REG GND L203 D203 SS14_opt GND BSL211SP VDD_FT GND 3 CB208 220n_opt C208 100µF/10V_opt GND D206 LP T67K R219 1K5 BCBUS0 BCBUS1 BCBUS2 BCBUS3 BCBUS4 BCBUS5 BCBUS6 BCBUS7 BDBUS0 BDBUS1 BDBUS2 BDBUS3 BDBUS4 BDBUS5 BDBUS6 BDBUS7 ACBUS0 ACBUS1 ACBUS2 ACBUS3 ACBUS4 ACBUS5 ACBUS6 ACBUS7 48 52 53 54 55 57 58 59 38 39 40 41 43 44 45 46 26 27 28 29 30 32 33 34 16 17 18 19 21 22 23 24 1K R214 BDBUS0 BDBUS1 ACBUS4 ACBUS5 ACBUS0 ACBUS1 U201 FT2232HL ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 GND 4 L202 VDD_FT 4 BDBUS1 VDD_FT BDBUS0 2 10K R208 2 3 Q206 BSS138N 3 Q204 BSS138N 3 3 2 R222 4K7 Q207 BSS138N 2 10K R212 Q205 BSS138N 2 R221 10K +5V GND A Q202 3 3 5 +5V R213 1K 100n R239 +5V 10K R240 Q210 10K 2 /ENABLE2 GND 5 3 1 GND B +5V RESET S201 2 4 6 GND 1Y1 1Y2 1Y3 1Y4 2Y1 2Y2 2Y3 2Y4 VCC GND GND 6 /PORST GND GND 18 16 14 12 9 7 5 3 20 10 CB213 100n 5K1 1 GND 1 +5V LS T67K D207 BAT54 D204 7 /TRST /PORST P10.12 P2.9 /PORST P5.2 /TRST P2.9 P5.4 P10.12 P10.1 P10.0 P10.12 ADBUS5 P5.2 P5.4 /PORST P2.9 /TRST PORT[2..10] 8 Infineon Technologies AG 7 8 2 of 3 ATV MC ACE PDA Number: Am Campeon 1-12 Revision: 1.1 D-85579 Neubiberg Date: 29.09.2010 Tel.: +49-89-234-0 File: G:\Technical_Support\P11\XC2XXX\EDA_DXP\Easy Kit XC2XXX\64_48_38 V1.X\Easy Kit xc2xxx 64_48_38 V1.1\OCDS_Power.sch Sheet: Easy Kit XC2XXX 64/48/38 pin OCDS and Power Supply DAP2WIRE 2 4 6 8 10 1K5 Q201 BC858C VREF DAP1 GND DAP0 GND USER0_IO KEY USER1_IN GND RESET X203 47K R217 OCDS1 1 3 5 7 9 11 13 15 +5V R218 0R 0R R237 R236 R235 5K1 0R_opt 3 R232 10K +5V R233 R234 P5.2 P5.4 GND P2.9 /TRST /RESET +5V VCC TMS GND TDO GND CPUCLOCK PORST TDI BRKOUT TRST GND TCLK OCDSE BRKIN KEY N.C. X202 1 3 5 7 9 /PORST 2 4 6 8 10 12 14 16 P10.12 +5V +5V 100n CB215 SN74AHC244PW 1A1 1A2 1A3 1A4 2A1 2A2 2A3 2A4 GND GND CB210 100n GND 2 4 6 8 11 13 15 17 +5V R216 1K +5V SN74LVC1T45DBV DIR A VCCA VCCB U207 BSS138N VDD_FT CB214 R230 100n VDD_FT CB212 6 10K R209 Q203 10K U203 1 2 /ENABLE1 G 19 G BSS138N R238 0R_opt ADBUS0 ACBUS0 ACBUS1 ADBUS6 ADBUS1 ADBUS3 ACBUS5 BSS138N Q209 3 3 2 10K 4 5 ADBUS2 Y VCC 74LVC1G125 R210 3 2 BSS138N +5V ADBUS2 GND 10K R231 GND 10K R242 ADBUS4 VDD_FT GND ADBUS1 5 R229 10K U204 1 /OE VDD_FT ACBUS4 ADBUS4 ACBUS5 R220 10K VDD_FT R241 10K D202 R215 680R VDD_FT VDD_FT D201 R211 100R VDD_FT C203 MMZ1608R300A 4u7/6V GND CB211 100n GND VDD_FT 100n 100n 100n 100n ADBUS0 ADBUS1 ADBUS2 ADBUS3 ADBUS4 ADBUS5 ADBUS6 ADBUS7 CB219 CB218 CB217 CB216 +5V GND SWITCHED_VDD_USB GND DO3316P-224_opt SUSPEND TEST EECS EECLK EEDATA RESET OSCO OSCI REF DP DM VREGIN VREGOUT Q208 5 CB204 R223 C209 1K GND BDS TLE6365G_opt GND R BUC VS U206 1K R201 CB209 100n GND C204 47µF/50V 2K2 12K/1% R204 VDD_FT 3,3uF C212 VDD_USB VDD_FT opt R206 GND +1V8 CB203 CB202 Y201 NX3225SA-12MHz 3 VDD_FT R207 10K 10K R226 10K R225 R224 8pF 8pF C211 27R 27R R203 R202 GND GND GND C201 10µ/6V CB205 100n GND C202 4u7/6V GND VDD_FT C210 3 GND 6 1 2 3 R228 100K_opt MBRS360T3 D205 93LC46B-I/SN VCC CS GND CLK D DNC Q ORG U202 VBAT 7 4 8 5 VDD_FT GND OUT USB Connector GND CB201 100n U209 TLE4274GSV33 GND 2 VDD_USB L201 MMZ1608R300A VDD_FT 1 3 12 37 64 VCORE VCORE VCORE 3 LB T67K 2 1 1 1 9 4 VPLL VPHY GND GND GND GND GND GND GND GND 1 5 11 15 25 35 47 51 1 1 A 2 2 4 GND 2 P10.12 20 31 42 56 VCCIO VCCIO VCCIO VCCIO AGND 10 LP T67K 1 1 1 1 26 2 Hardware Manual 3 1 D C B A Hardware Manual XE166 Low End Easy Kit Board V1.5 Schematic V1.5, 2011-03 w w w . i n f i n e o n . c o m Published by Infineon Technologies AG