Xboard Xc88xclm Um v20

Embed Size (px)

Citation preview

  • 7/24/2019 Xboard Xc88xclm Um v20

    1/26

    User s Manual, V 2.0, May 2006

    Microcontrol lers

    mini X-Board and X-BoardEasy and Starter Ki t - XC886/888CLM

  • 7/24/2019 Xboard Xc88xclm Um v20

    2/26

    Edition 2006-05

    Published by Infineon Technologies AG,81726 Mnchen, Germany

    Infineon Technologies AG 2006.All Rights Reserved.

    Attention please!

    The information herein is given to describe certain components and shall not be considered as a guarantee ofcharacteristics.

    Terms of delivery and rights to technical change reserved.We hereby disclaim any and all warranties, including but not limited to warranties of non-infringement, regardingcircuits, descriptions and charts stated herein.

    Information

    For further information on technology, delivery terms and conditions and prices please contact your nearestInfineon Technologies Office (www.infineon.com).

    Warnings

    Due to technical requirements components may contain dangerous substances. For information on the types inquestion 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 failureof that life-support device or system, or to affect the safety or effectiveness of that device or system. Life supportdevices or systems are intended to be implanted in the human body, or to support and/or maintain and sustainand/or protect human life. If they fail, it is reasonable to assume that the health of the user or other persons maybe endangered.

    http://www.infineon.com/http://www.infineon.com/
  • 7/24/2019 Xboard Xc88xclm Um v20

    3/26

    User s Manual, V 2.0, May 2006

    Microcontrol lers

    mini X-Board and X-BoardEasy and Starter Ki t - XC886/888CLM

  • 7/24/2019 Xboard Xc88xclm Um v20

    4/26

    mini X-Board and X-Board

    Revision History: 2006-05 V 2.0

    Previous Version: -

    Chapter Subjects (major changes since last revision)

    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:

    [email protected]

    mailto:[email protected]:[email protected]
  • 7/24/2019 Xboard Xc88xclm Um v20

    5/26

    mini X-Board and X-Board - XC886/888CLM

    Table of Contents Page

    Users Manual I-1 V 2.0, 2006-05

    Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

    1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21.1 Contents of XC886/888CLM Starter Kit and Easy Kit . . . . . . . . . . . . . . . . . 2

    2 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    2.1 Board Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

    3 Pin Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

    3.1 Connector OCDS, 3C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    3.2 Connector 3A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    3.3 Connector 3B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

    3.4 Connector 3D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83.5 Clock Generator source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

    4 Jumper . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

    4.1 Jumper setting for BSL/User mode selection . . . . . . . . . . . . . . . . . . . . . . . 9

    4.2 Jumper setting for USB / LIN / CAN0 selection . . . . . . . . . . . . . . . . . . . . . . 9

    5 On-Board LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

    6 Potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

    7 Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

    8 LIN connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

    9 CAN connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

    10 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

  • 7/24/2019 Xboard Xc88xclm Um v20

    6/26

    mini X-Board and X-Board - XC886/888CLM

    Users Manual 1 V 2.0, 2006-05

    Preface

    This manual describes the X-Board (bundle with the Starter Kit) and mini X-board

    (bundle with Easy Kit) design and functions. Mini X-board has the same pcb layout as

    the X-Board but less peripheral transceivers are mounted, hence less features are

    available on-board.

    Detailed specification for the XC886C microcontroller family can be found in the

    respective microcontroller Data Sheets/Users Manuals.

    Application hints, software utilities, as well as links to our tool partners are available on

    the Internet atwww.infineon.com/XC886CLM orwww.infineon.com/XC888CLM.

    http://www.infineon.com/xc886http://www.infineon.com/xc886http://www.infineon.com/xc886http://www.infineon.com/xc886http://www.infineon.com/xc886
  • 7/24/2019 Xboard Xc88xclm Um v20

    7/26

    mini X-Board and X-Board - XC886/888CLM

    Introduction

    Users Manual 2 V 2.0, 2006-05

    1 Introduction

    The Infineon XC886/888CLM microcontroller is a new member of the XC800 family 8-bitmicrocontrollers, providing advanced networking capabilities by integrating both a CAN

    controller (V2.0B active) and LIN support on a single chip.

    The XC886/888CLM combines the extended performance of the well-established

    XC800 core, which is compatible with the standard 8051 core, with powerful on-chip

    peripherals as well as the on-chip Flash memory (24/32 Kbytes). This integrated Flash

    memory offers high flexibility in development and ramp-up. System cost is significantly

    reduced through integration of components on chip, such as the on-chip oscillator

    (10 MHz) and the voltage regulator that enables a single voltage supply of 3.3 or 5.0V.

    Other key features of the XC886/888CLM are the high-performance Capture/CompareUnit 6 (CCU6) for flexible PWM generation and the enhanced 10-bit Analog-To-Digital

    Converter (ADC). Furthermore, a CORDIC and a Multiplication Division Unit (MDU) are

    implemented for fast mathematical computations.

    For more detailed description of features available for each derivatives of the XC886/

    888 microcontroller, please refers to the product brief.

    1.1 Contents of XC886/888CLMStarter Kit and Easy KitThe XC886/888CLM Starter Kit includes:

    X-Board (labeled as MCB-XC886 Vers.3 on the PCB) onto which the 8-bit

    microcontroller XC886CM is mounted.

    Keil C51 Compiler and debugger through USB interface.

    XC886/XC888CLM Starter Kit CD which contains Getting-started application, Product

    brief, Tools brief, Application hints, DAvE software, utility software for FLASH

    programming, XC800 Architecture and Instruction Set Users Manual, XC88xCLM

    Users Manual and Datasheet.

    1 USB2JTAG box, 2 USB cables and a 4 ports USB hub. This mini X-board and X-Board Users Manual.

    The XC886/888CLM Easy Kit includes:

    Mini X-Board (labeled as MCB-XC886 Vers.3 on the PCB) onto which the 8-bit

    microcontroller XC886CM is mounted.

    Keil C51 Compiler and debugger through USB interface.

    XC886/XC888CLM Starter Kit CD which contains Getting-started application, Product

    brief, Tools brief, Application hints, DAvE software, utility software for FLASH

    programming, XC800 Architecture and Instruction Set Users Manual, XC88xCLM

    Users Manual and Datasheet.

  • 7/24/2019 Xboard Xc88xclm Um v20

    8/26

    mini X-Board and X-Board - XC886/888CLM

    Introduction

    Users Manual 3 V 2.0, 2006-05

    1USB cable.

    This mini X-board and X-Board Users Manual.

  • 7/24/2019 Xboard Xc88xclm Um v20

    9/26

    mini X-Board and X-Board - XC886/888CLM

    Hardware

    Users Manual 4 V 2.0, 2006-05

    2 Hardware

    The size of the mini X-Board and X-Board (labeled as MCB-XC886 Vers.3) are both100 mm x 100 mm. The boards are specifically designed to be flexible for the

    XC88xCLM device and can be expanded to accommodate additional circuits by using

    the prototype area. Debugging of application software can be done via the XC886/

    XC888CLM On-chip Debug support by connecting the USB2JTAG box(refer to

    Figure 10-5) to the JTAG interface on the X-Board.

    2.1 Board Features

    The X-Board is equipped with following features (see Figure 10-4):

    Power supply inlet If LIN transceiver is not used, X-board can be powered via USB.

    If LIN transceiver is used, X-board requires an external 12V DC/300 mA power

    source via VS at lower left hand corner of X-board.

    By default, the input power supply to XC886/XC888CLM on the board is 5Vdc.

    However, XC886/XC888CLM can operate in 3.3Vdc or 5Vdc power supply. So, by

    changing the value of R1, R2, assembled and removed some components as

    indicated in Figure 10-1, Figure 10-2, Figure 10-3, the voltage input to XC886/

    XC888CLM will be changed to 3.3Vdc via the input of USB / external 12V DC power

    supply to the board. RS-232 serial interface is available via USB port which converts the USB signal to TTL

    UART signal.

    XC886/888CLM has on-chip serial UART port and is able to communicate via the

    USB connector through the USB-UART bridge IC. The Flash Loader utility can be

    used to download the hex code into the flash via the USB interface.

    JTAG interface connector, OCDS

    The JTAG interface provides on-chip debugging support.

    Reset push button, S1

    The reset push button is connected to the reset input of XC886/888CLM.

    8 LEDs, P3.0 - P3.7 The 8 LEDs are connected to Port 3 of XC886/XC888CLM via buffer IC6. The buffer

    IC6 can be enabled or disabled via mounting or removal of resistor R5, respectively.

    These LEDs are for program control or demonstration purposes.

    Potentiometer, POT1

    The potentiometer is connected to P2.7 of XC886/888CLM, which also functions as

    an analog input. The potentiometer can provide an analog voltage range of 0 - 5V

    to P2.7.

    Bootstrap mode via UART pins P1.0, P1.1

    Bootstrap mode is enabled by insertion of Jumper J3(BSL) and another jumperinserted at COM header indicated by the USB symbol (left side diagram of

  • 7/24/2019 Xboard Xc88xclm Um v20

    10/26

    mini X-Board and X-Board - XC886/888CLM

    Hardware

    Users Manual 5 V 2.0, 2006-05

    Figure 4-2). The application Hex code can then be downloaded via UART by the

    FLASH loader program.

    LIN emulation via UART pins P1.0, P1.1 By using the LIN transceiver TLE7259 (IC8), the UART can interface with LIN bus.

    However, if using LIN interface, a jumper need to be inserted at the COM header

    indicated by LIN symbol (centre diagram of Figure 4-2).

    CAN communication is possible via pins P1.0, P1.1(CAN node 0) to CAN transceiver

    IC4 and via P1.4, P1.3 (CAN node 1) to CAN transceiver IC5.

    If user prefer to use MultiCAN node 0, a jumper need to be inserted at COM header

    indicated by the CAN symbol (right side diagram of Figure 4-2).

    If user prefer to use MultiCAN node 1, then insertion of the jumper at COM header

    is not necessary.

    The CANH1 and CANL1 signals of MultiCAN node 1 are connected to CAN

    connector P1. CANH0 and CANL0 signals of MultiCAN node 0 are connected to

    header 3D.

    The mini X-board has the same features as X-board except that LIN Bus and CAN bus

    communication are not available on-board. This is because the LIN transceiver IC8, CAN

    transceivers IC4, IC5 and Bus control IC IC9 are absent in the mini X-board. Hence, only

    UART communication is provided via the USB port. Furthermore, the headers for H1,

    H2, 3A, 3B, 3C, 3D and 9 pin CAN connector P1 are also not mounted on the mini X-

    board.

  • 7/24/2019 Xboard Xc88xclm Um v20

    11/26

    mini X-Board and X-Board - XC886/888CLM

    Pin Layout

    Users Manual 6 V 2.0, 2006-05

    3 Pin Layout

    Please ensure that none of the module connections exceed their indicated maximumvoltage or current. The maximum input values are specified in the corresponding

    controller manuals. As improper connections can lead to possible damage depending on

    the actual use and application, it is the users responsibility to take appropriate safety

    measures to ensure that the module connections are protected from overloading through

    connected peripherals.

    As shown in Figure 3-1, all relevant controller signals extend to pin headers H1 and

    H2(with pin labels provided) in the middle of the board. The following section provides

    an overview of the pin assignment of the pin header.

    Figure 3-1 Position of the Connector

  • 7/24/2019 Xboard Xc88xclm Um v20

    12/26

    mini X-Board and X-Board - XC886/888CLM

    Pin Layout

    Users Manual 7 V 2.0, 2006-05

    3.1 Connector OCDS, 3C

    3.2 Connector 3A

    3.3 Connector 3B

    Table 3-1 Connector OCDS, 3C

    Pin Number Signal Pin Number Signal

    1 TMS 2 VDDP

    3 TDO_0 4 GND

    5 N.C. 6 GND

    7 TDI_0 8 RESET

    9 TRST 10 BRKOUT

    11 TCLK 12 GND

    13 BRKIN 14 N.C.

    15 N.C. 16 N.C.

    Table 3-2 Connector 3A

    Pin Number Connect to XC886C Pin Number Connect to XC886C1 P3.0 2 N.C.

    3 P3.1 4 N.C.

    5 P3.2 6 N.C.

    7 P3.3 8 N.C.

    9 P3.4 10 N.C.

    11 P3.5 12 N.C.

    13 P3.6 14 N.C.15 P3.7 16 N.C.

    Table 3-3 Connector 3B

    Pin Number Connect to XC886C Pin Number Connect to XC886C

    1 P2.7/AN7 2 VDDP

    3 P2.6/AN6 4 VS

    5 P2.5/AN5 6 VSSP

  • 7/24/2019 Xboard Xc88xclm Um v20

    13/26

    mini X-Board and X-Board - XC886/888CLM

    Pin Layout

    Users Manual 8 V 2.0, 2006-05

    3.4 Connector 3D

    3.5 Clock Generator sourceAn external 8 MHz crystal provides the clock signal to XC886/888CLM.

    7 P2.4/AN4 8 VAGND

    9 P2.3/AN3 10 VAREF

    11 P2.2/AN2 12 P1.7

    13 P2.1/AN1 14 P1.6

    15 P2.0/AN0 16 P1.5

    Table 3-4 Connector 3D

    Pin Number Signal Pin Number Signal

    1 CANL1 2 GND

    3 CANL0 4 CANH0

    5 GND 6 CANH1

    Table 3-3 Connector 3B (contd)

    Pin Number Connect to XC886C Pin Number Connect to XC886C

  • 7/24/2019 Xboard Xc88xclm Um v20

    14/26

    mini X-Board and X-Board - XC886/888CLM

    Jumper

    Users Manual 9 V 2.0, 2006-05

    4 Jumper

    The mini X-board and X-Board (labeled as MCB-XC886 Vers.3) uses following jumpersto set the various modes of operation:

    4.1 Jumper setting for BSL/User mode selection

    Figure 4-1 J3 closed or opened by insertion or removal of the Jumper

    4.2 Jumper setting for USB / LIN / CAN0 selectionP1.0 and P1.1 of XC886C/888CLM are connected to the RX and TX pins of CAN

    tranceiver IC4, LIN transceiver IC8 and USB-UART bridge IC IC2. As only one

    transceiver should be enable at a time, the desired transceiver to be enable is controlled

    by the position of the COM jumper as shown Figure 4-2.

    Table 4-1 Jumper J3 Setting

    Jumper Default Setting Alternate Setting

    J3 Closed: Bootstrap loader is

    activated after RESET. (Refer to

    leftmost diagram of Figure 4-1).

    Open: Bootstrap loader is disabled

    or User mode enabled. (Refer to

    rightmost diagram of Figure 4-1).

  • 7/24/2019 Xboard Xc88xclm Um v20

    15/26

    mini X-Board and X-Board - XC886/888CLM

    Jumper

    Users Manual 10 V 2.0, 2006-05

    Figure 4-2 Jumper setting for USB, LIN and CAN0 mode selection

    In the mini X-board, the CAN tranceiver IC4, IC5 and LIN transceiver IC8 are not

    mounted, hence, only USB mode can be selected.

    Table 4-2 Jumper COM Setting

    Mode Jumper positon Description

    USB Left-most diagram of Figure 4-2 To connect the TX, RX pin of USB-

    UART bridge IC to XC886/888CLM.

    LIN Centre digram of Figure 4-2 To enable the LIN transceiver IC8

    and connect its TX, RX pin to

    XC886/888CLM.

    CAN0 Right-most digram of Figure 4-2 To enbale CAN transceiver IC4 and

    connect its TX, RX pin to XC886/

    888CLM.

  • 7/24/2019 Xboard Xc88xclm Um v20

    16/26

    mini X-Board and X-Board - XC886/888CLM

    On-Board LEDs

    Users Manual 11 V 2.0, 2006-05

    5 On-Board LEDs

    The mini X-Board and X-Board (labeled as MCB-XC886 Vers.3 ) provides 8 yellowLEDs, P3.0, P3.1, P3.2, P3.3, P3.4, P3.5, P3.6, P3.7 to indicate the status of the

    controller port P3. Port P3 can also be used to generate PWM signals. There is another

    red ON LED to indicate power ON.

    Table 5-1 On-Board LEDs

    LED Connected to Port Pin

    P3.0 P3.0

    P3.1 P3.1P3.2 P3.2

    P3.3 P3.3

    P3.4 P3.4

    P3.5 P3.5

    P3.6 P3.6

    P3.7 P3.7

    ON Indicates the X-Board is powered ON

  • 7/24/2019 Xboard Xc88xclm Um v20

    17/26

    mini X-Board and X-Board - XC886/888CLM

    Potentiometer

    Users Manual 12 V 2.0, 2006-05

    6 Potentiometer

    The mini X-Board and X-Board (labeled as MCB-XC886 Vers.3) provides apotentiometer POT1 for ease of use and testing of the on-chip analog to digital converter.

    The potentiometer is connected to the analog input AN7 (P2.7). The analog output of the

    potentiometer ranges from 0V to 5V.

  • 7/24/2019 Xboard Xc88xclm Um v20

    18/26

    mini X-Board and X-Board - XC886/888CLM

    Power Supply

    Users Manual 13 V 2.0, 2006-05

    7 Power Supply

    The mini X-Board and X-board can be powered by USB, however, there is a current limitthat can be drawn from the PC host through USB. So, if the mini X-Board or X-board is

    used to drive other board (eg. Motor driver board) and the total current required exceed

    100mA, then the mini X-Board or X-board needs to be powered up via external power

    supply.

    A 12Vdc, 300mA power supply can be supplied to the VS and GND pin (indicated by the

    RED arrow) OR supplied to the VIN pins (indicated by the YELLOW arrow) as shown in

    Figure 7-1to power up the mini X-Board or X-board.

    Figure 7-1 Connection of external power supply

    Connect

    ground pin

    here

    Connect

    12Vdc, +

    pin here

    Connect 12Vdc,

    + pin here

    Connect ground

    pin here

  • 7/24/2019 Xboard Xc88xclm Um v20

    19/26

    mini X-Board and X-Board - XC886/888CLM

    LIN connection

    Users Manual 14 V 2.0, 2006-05

    8 LIN connection

    The LIN transceiver TLE7259G on the X-board needs a voltage input of 12Vdc. Hence,user has to power up the X-board via external power supply of 12Vdc instead of using

    the USB which output a maximum of 5Vdc.

    Furthermore, the jumper setting at the COM connector needs to be set as shown in

    Figure 8-1.

    The LIN transceiver TLE7259G is not mounted on the mini X-Board, hence, LIN bus

    communication is not available on mini X-Board.

    Figure 8-1 Jumper setting of X-board to connect to LIN network

    Connect to ground

    pin of external

    power supply

    Connect to 12Vdc

    of external power

    supply

    Jumper

    settingConnect to

    LIN bus

  • 7/24/2019 Xboard Xc88xclm Um v20

    20/26

    mini X-Board and X-Board - XC886/888CLM

    CAN connection

    Users Manual 15 V 2.0, 2006-05

    9 CAN connection

    The CAN node 1 of XC886/888CM (P1.3 and P1.4) on the X-board are connected to the9 pins CAN connector P1 by default. Hence, if user uses P1.3 and P1.4 for CAN network

    communication, then user just needs to connect the CAN bus to CAN port P1.

    However, user also has the option to use CAN node 0 (P1.0 and P1.1) for CAN

    communication. Then the jumper setting needs to set to position as shown in Figure 9-

    1.The CANH0 and CANL0 are located at connector 3D. The user can also form a CAN

    loop back from node 1 to node 0 via the connector 3D.

    However, CAN communication cannot be performed on the mini X-Board because CAN

    transceiver IC4 and IC5 is not mounted on the board.

    Figure 9-1 Jumper setting of X-board to connect CAN0 to CAN bus

    CANH0

    CANL0

    CAN node 0

    jumper setting

    CAN node 1

    connector P1

  • 7/24/2019 Xboard Xc88xclm Um v20

    21/26

    mini X-Board and X-Board - XC886/888CLM

    Appendix

    Users Manual 16 V 2.0, 2006-05

    10 Appendix

    Figure 10-1 Schematic of mini X-Board and X-Board (Page 1/3)

    notassembledinminiX-board

    (notassembled)

    (toberemovedif3.3

    Vsupplyvariantisused)

  • 7/24/2019 Xboard Xc88xclm Um v20

    22/26

    mini X-Board and X-Board - XC886/888CLM

    Appendix

    Users Manual 17 V 2.0, 2006-05

    Figure 10-2 Schematic of mini X-Board and X-Board (Page 2/3), components in

    black box are not mounted in mini X-Board.

    notassembledinminiX-board

  • 7/24/2019 Xboard Xc88xclm Um v20

    23/26

    mini X-Board and X-Board - XC886/888CLM

    Appendix

    Users Manual 18 V 2.0, 2006-05

    Figure 10-3 Schematic of mini X-Board and X-Board (Page 3/3), components in

    black box are not mounted in mini X-Board

    notassembledinminiX-board

  • 7/24/2019 Xboard Xc88xclm Um v20

    24/26

    mini X-Board and X-Board - XC886/888CLM

    Appendix

    Users Manual 19 V 2.0, 2006-05

    Figure 10-4 Top View of X-Board

  • 7/24/2019 Xboard Xc88xclm Um v20

    25/26

    mini X-Board and X-Board - XC886/888CLM

    Appendix

    Users Manual 20 V 2.0, 2006-05

    Figure 10-5 USB2JTAG box

  • 7/24/2019 Xboard Xc88xclm Um v20

    26/26

    w w w . i n f i n e o n . c o m

    http://www.infineon.com/http://www.infineon.com/