Infineon mIO-Stick, MuIO-Stick User Manual

μ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
Table of contents
About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
2.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Key Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.3 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Hardware Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
3.1 Pin Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
3.2 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
4 µIO-Stick Firmware Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Fast LIN BSL Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.1 Installation Guideline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 BSL Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2.1 Basic Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
5.2.2 Expert Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
5.2.3 Configuration Dialog Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.2.4 Establish a Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5.2.5 Loading a HEX File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2.6 BSL Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.2.6.1 Auto-Execute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
5.2.6.2 Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
5.2.6.3 Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5.2.6.4 Verify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
5.2.6.5 Protection Enable/Disable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21
5.2.6.6 Run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.2.6.7 Read Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.3 Command Line Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6 Run-Time Control - Programming and Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.1 Installation Guideline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.2 Config Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7 Updates and Purchases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
μIO-Stick User Manual
Table of contents
Application Note 2 v1.1
2018-09-18
1 Acronyms
The following table summarizes the acronyms and their meanings throughout this document.
Table 1 Acronyms
Acronyms Names
USB Universal Serial BUs
BSL BootStrap Loader
CAN Controller Area Network
GND Ground
GPIO General Purpose Input Output
GUI Graphical User Interface
HID Human Interface Device
LIN Local Interconnect Network
MISO Master Input Slave Output
MOSI Master Output Slave Input
NAC No Activity Counter
NVM Non Volatile Memory
PWM Pulse Width Modulation
SBC System Basis Chip
SPI Serial Peripheral Interface
UART Universal Asynchronous Receiver Transmitter
VS Voltage Supply
μIO-Stick User Manual
1 Acronyms
Application Note 3 v1.1
2018-09-18
2 Overview
2.1 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. It also implements GPIO ports, PWM generation up to 20 kHz and an analog measurement interface (ADC).
Figure 1 µIO-Stick Overview
The µIO-Stick provide two exclusive functions:
1. Infineon Embedded Power Fast LIN BSL Support
The Infineon Embedded Power devices provide a built-in boot strap loader (BSL), for programming the embedded power devices over the built-in LIN transceiver or UART. The µIO-Stick acts as an interface between the embedded power device and a PC. It handles the BSL protocols as well as the physical layers. A PC application provides access to all BSL functions of the Embedded Power device.
Supported Embedded Power ICs:
TLE984x family
TLE986x family
TLE987x family
2. Run-Time Control - Programming and Monitoring
The µIO-Stick connects the Evaluation Board with the computer. Via the ConfigWizard soware – a powerful and intuitive Graphical User Interface (GUI) – the user gets a customized programming, monitoring and evaluation support for various Infineon Automotive Products.
Supported Devices:
System Basis Chip (SBC)
μIO-Stick User Manual
2 Overview
Application Note 4 v1.1
2018-09-18
High/low Side Switch (Spider+, SPOC)
Half and Full Bridge Driver
μIO-Stick User Manual
2 Overview
Application Note 5 v1.1
2018-09-18
2.2 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
Read and keep functionality to detect reset of the connected device
USB HID device, no additional driver installation required
µIO-Stick can power a target device
Connected device can also be powered by external power supply for higher current
3 on-board status LEDs
Additional BSL updater GUI for BSL communication with Embedded Power devices
2.3 Block Diagram
The µIO-Stick consists of an XMC4200 micro-controller which provides the necessary hardware interface and handles the USB and BSL protocols.
LIN and RS232 are implemented as true physical layers (using LIN and MAX transceivers), while the digital lines (SPI, GPIOs) provide a 5V-TTL level.
In addition, a small switchable charge-pump is implemented to generate a +12 V/200 mA supply for the target device and the integrated LIN transceiver.
Figure 2 µIO-Stick Block Diagram
μIO-Stick User Manual
2 Overview
Application Note 6 v1.1
2018-09-18
3 Hardware Connection
3.1 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 lists the pin usage of the 16-pin header. The gray shaded pins are not used for BSL functions and
therefore will not be considered further.
Table 2 µIO-Stick Pin Assignment
PIN Description
1 RS232-TxD (out)
2 GND
3 RS232-RxD (in)
4 +5 V (USB, out)
5 LIN (physical, in/out)
6 VS (target supply, in/out)
7 Target Reset (5 V, out)
8 GPIO3 (5 V, in/out)
μIO-Stick User Manual
3 Hardware Connection
Application Note 7 v1.1
2018-09-18
Table 2 µIO-Stick Pin Assignment (continued)
PIN Description
9 SPI/CS(5 V, out)
10 GPIO2 (5 V, in/out)
11 SPI CLK (5 V, out)
12 GPIO1 (5 V, in/out)
13 SPI MISO (5 V, in)
14 GPIO0 (5 V, in/out)
15 SPI MOSI (5 V, out)
16 analog in (max. 18 V)
Pins 1, 3 - RS232 They are used for UART BSL communication and need to be connected to the corresponding RS232 inputs of the target board.
Attention: The RS232 pins are no TTL pins but real RS232 levels (MAX232 driven).
Pin 5 - LIN This is the LIN bus connection to the LIN transceiver implemented in the µIO- Stick, it is suited to drive a corresponding LIN input of the target system.
Pin 7 - Target Reset This pin is intended to drive the reset input of the target device in order to synchronize the device state with the attempts to establish a BSL connection. The connection of this pin to the reset of the target device is not necessarily required, as synchronization can also be achieved by:
power cycling of the target device by Pin 6 (VS)
keeping the target device in BSL mode by configuring an appropriate NAC value
Pin 2 - GND This is the common ground connection to the target system.
Pin 6 - VS This pin can either be driven from the implemented charge-pump of the µIO-Stick (+12 V/200 mA) or
can be overridden by an external supply, i.e. the supply of the target device. This pin is also being used to internally drive the LIN transceiver available on the µIO-Stick. If BSL communication over the LIN interface is intended, then the supply of Pin 6 is mandatory.
μIO-Stick User Manual
3 Hardware Connection
Application Note 8 v1.1
2018-09-18
3.2 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.
Figure 4 Normal LIN and FastLIN connection, without reset, target supplied by µIO
Figure 5 shows a connection scenario with reset. The µIO-Stick actively resets the target device in order to start
BSL communication. In this case a power cycling of the VS (Pin 6) by the µIO-Stick would not be required.
Figure 5 Normal LIN and FastLIN connection, with reset, target supplied by µIO
μIO-Stick User Manual
3 Hardware Connection
Application Note 9 v1.1
2018-09-18
Loading...
+ 20 hidden pages