Advertisement

Quick Links

Z8F63272494
μIO-Stick User Manual

About this document

Scope and purpose
The µIO-Stick is an interface device for controlling Infineon board/kits during run time through PC.
Intended audience
This document is intended for anyone using a µIO-Stick.
Application Note
Please read the Important Notice and Warnings at the end of this document
v1.1
www.infineon.com
2018-09-18

Advertisement

Table of Contents
loading

Summary of Contents for Infineon mIO-Stick

  • Page 1: About This Document

    Z8F63272494 μIO-Stick User Manual About this document Scope and purpose The µIO-Stick is an interface device for controlling Infineon board/kits during run time through PC. Intended audience This document is intended for anyone using a µIO-Stick. Application Note Please read the Important Notice and Warnings at the end of this document v1.1...
  • Page 2: Table Of Contents

    μIO-Stick User Manual Table of contents Table of contents About this document ..............1 Acronyms .
  • Page 3: Acronyms

    μIO-Stick User Manual 1 Acronyms Acronyms The following table summarizes the acronyms and their meanings throughout this document. Table 1 Acronyms Acronyms Names Universal Serial BUs BootStrap Loader Controller Area Network Ground GPIO General Purpose Input Output Graphical User Interface Human Interface Device Local Interconnect Network MISO...
  • Page 4: Overview

    Overview Description The µIO-Stick is an interface device for controlling Infineon boards/kits during run time through PC. It enables the connection between the evaluation board and USB for SPI programming and monitoring. Besides, it plugs into the evaluation board via a standard 16-pin connector and allows easy interface to the microcontroller via USB for communication through UART, SPI, LIN.
  • Page 5 μIO-Stick User Manual 2 Overview • High/low Side Switch (Spider+, SPOC) • Half and Full Bridge Driver Application Note v1.1 2018-09-18...
  • Page 6: Key Features

    μIO-Stick User Manual 2 Overview Key Features The µIO-Stick provides the following features: • Communication with the connected device via LIN, SPI and UART • Four GPIOs • PWM signal generation up to 20 kHz • Measurement of analog voltages up to 20 V •...
  • Page 7: Hardware Connection

    μIO-Stick User Manual 3 Hardware Connection Hardware Connection Pin Assignment The µIO provides two interfaces, the USB interface to be plugged into the PC, and a 16-pin header to access the BSL interface. Figure 3 provides a view into the 16-pin header of the µIO-Stick, including the pin numbering. Figure 3 µIO-Stick Pin View Table 2...
  • Page 8 μIO-Stick User Manual 3 Hardware Connection Table 2 µIO-Stick Pin Assignment (continued) Description SPI/CS(5 V, out) GPIO2 (5 V, in/out) SPI CLK (5 V, out) GPIO1 (5 V, in/out) SPI MISO (5 V, in) GPIO0 (5 V, in/out) SPI MOSI (5 V, out) analog in (max.
  • Page 9: Examples

    μIO-Stick User Manual 3 Hardware Connection Examples Figure 4 shows the minimum required connection from the µIO-Stick to the target device in order to establish a BSL communication over the LIN interface. This applies to both Normal-LIN and FastLIN protocols. To be able to establish a BSL connection, the target device either has to stay in BSL mode upon power up (fresh device), or a power cycling (VS - Pin 6) done by the µIO-Stick would be required.
  • Page 10 μIO-Stick User Manual 3 Hardware Connection Figure 6 shows a connection example where the target device and also the µIO-Stick is supplied by an separate power supply. Since in this case the µIO-Stick would not be able to perform a VS power cycling to restart the device it is wise to connect the reset line as well.
  • Page 11 μIO-Stick User Manual 3 Hardware Connection Figure 7 shows another example of how to connect the µIO-Stick to the target device, by simply plugging the ribbon cable to the BSL-connector of the evaluation board. Hereby all interfaces (LIN and UART) are supported. Figure 7 Direct connection of µIO-Stick to evaluation board, LIN-, FastLIN- and UART-BSL Application Note...
  • Page 12: Μio-Stick Firmware Update

    μIO-Stick User Manual 4 µIO-Stick Firmware Update µIO-Stick Firmware Update The µIO Stick comes with the capability to update the firmware of the integrated XMC4200 micro-controller either to provide new features to the customer, or to be able to correct issues with the firmware. To update the firmware, the file uIO-Updater.exe and a HEX file is required.
  • Page 13: Fast Lin Bsl Support

    μIO-Stick User Manual 5 Fast LIN BSL Support Fast LIN BSL Support There are two software components required to use the BSL feature of the target device. Part 1 is the firmware of the XMC4200 microcontroller mounted on the µIO-Stick. This firmware is responsible to generate the BSL ®...
  • Page 14 μIO-Stick User Manual 5 Fast LIN BSL Support Figure 9 BSL Tool - Select Expert Mode Figure 10 on page 15 displays the user interface of the Expert Mode. The Expert Mode enables all possible BSL actions, including target device erase, code download, device protection, code execution, and code upload. The arrangement of these functions in the GUI is kept in the natural order of execution of these actions, i.e.
  • Page 15: Configuration Dialog Box

    μIO-Stick User Manual 5 Fast LIN BSL Support Figure 10 BSL Tool - Expert Mode 5.2.3 Configuration Dialog Box Before a BSL connection is established, the target device and the BSL interface and protocol have to be selected. The Configuration block lists the currently selected target device, while the status bar at the bottom of the window displays the selected BSL interface/protocol and baud rate.
  • Page 16 μIO-Stick User Manual 5 Fast LIN BSL Support Figure 11 BSL Tool - Configuration Button Figure 12 displays the Configuration dialog. Here, the user selects the desired target device, BSL protocol, baud rate, and the behavior of the integrated VS charge pump. Figure 12 BSL Tool - Configuration •...
  • Page 17: Establish A Connection

    μIO-Stick User Manual 5 Fast LIN BSL Support 5.2.4 Establish a Connection Once the configuration has been completed, the connection to the target device can be established. If the µIO- Stick is not connected to the PC system, the Connect button is shaded gray, as shown Figure Figure 13 BSL Tool - No µIO-Stick found...
  • Page 18: Loading A Hex File

    μIO-Stick User Manual 5 Fast LIN BSL Support Figure 15 BSL Tool - Connected 5.2.5 Loading a HEX File The main use of the BSL tool will be the downloading of a HEX file, containing the user application code. Via the File menu, a HEX file can be chosen and loaded, see Figure 16 on page 19.
  • Page 19: Bsl Actions

    μIO-Stick User Manual 5 Fast LIN BSL Support Figure 16 BSL Tool - Loading a HEX file 5.2.6 BSL Actions Once the desired Hex file has been selected, the supported BSL actions can now be executed. The order of the actions placed on the GUI follows a natural flow: Erase ->...
  • Page 20: Erase

    μIO-Stick User Manual 5 Fast LIN BSL Support Figure 17 BSL Tool - Auto Execute 5.2.6.2 Erase The action Erase erases the built-in NVM module of the target device. The user can select between various sections of the NVM to be erased, which are: •...
  • Page 21: Verify

    μIO-Stick User Manual 5 Fast LIN BSL Support 5.2.6.4 Verify The action Verify is used to check the integrity of the code inside the target device NVM against the selected HEX file. 5.2.6.5 Protection Enable/Disable The action Protection either sets the protection of the target device, or resets it. In both cases, a password dialog opens up, the user has to enter an 8-bit password.
  • Page 22: Command Line Tool

    μIO-Stick User Manual 5 Fast LIN BSL Support Command Line Tool In order to run the BSL actions none-interactively, a command line BSL tool is provided. It is named BSL_Cmd.exe, and should be run from a terminal window. Executing BSL_Cmd.exe without any parameters generates a list of the supported options, as shown below: C:\>BSL_Cmd.exe -----------------------------------------------------...
  • Page 23: Run-Time Control - Programming And Monitoring

    6 Run-Time Control - Programming and Monitoring Run-Time Control - Programming and Monitoring Installation Guideline Download and install the Infineon Toolbox Select the tab "Manage tools", search for SBC, and click "Install" Figure 19 Installation of Config Wizard for SBC Select the tab "My tools".
  • Page 24 μIO-Stick User Manual 6 Run-Time Control - Programming and Monitoring Figure 21 Chips for SBC in Config Wizard For example, here with the TLE9278-3QX Evalboard correctly supplied, the following screen should display: Figure 22 Config Wizard with SBC TLE9278 Application Note v1.1 2018-09-18...
  • Page 25 μIO-Stick User Manual 6 Run-Time Control - Programming and Monitoring Warning: Please ensure that the latest firmware is flashed onto the µIO-Stick. Otherwise, select the tab "Extra", then click "Update uIO...". Figure 23 Select Extra > Update uIO... Select the file "uIO_V221.hex" and click "OK". Figure 24 Select HEX file with the right version for µIO-Stick When the update is completed, the µIO Firmware version should be 2.2.1.
  • Page 26: Config Wizard

    μIO-Stick User Manual 6 Run-Time Control - Programming and Monitoring Config Wizard The Config Wizard is a Graphical User Interface which provides an easy access to SBC features and the SPI registers. Figure 25 Config Wizard Graphical User Interface Application Note v1.1 2018-09-18...
  • Page 27 μIO-Stick User Manual 6 Run-Time Control - Programming and Monitoring Figure 26 Config Wizard Control Functions Application Note v1.1 2018-09-18...
  • Page 28: Updates And Purchases

    μIO-Stick User Manual 7 Updates and Purchases Updates and Purchases For updates of the BSL tool software or the µIO-Stick firmware as well as for purchasing the µIO-Stick, please visit www.hitex.com/uio. Application Note v1.1 2018-09-18...
  • Page 29: Disclaimer

    Infineon Technologies, All Rights Reserved. given herein in the real application. Infineon Infineon Technologies’ products may not be used in Technologies hereby disclaims any and all warranties any applications where a failure of the product or and liabilities of any kind (including without limitation...

This manual is also suitable for:

Muio-stick

Table of Contents