Infineon 3D Magnetic Sensor 2 Go, TLE493D-A2B6 MS2GO, TLV493D-A1B6 MS2GO User Manual

TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit

User Manual

About this document

Scope and purpose
This document provides an introduction to the 3D Magnetic Sensor 2 Go kit and should enable the reader to eiciently carry out own evaluations with the 3D magnetic sensor TLE493D-A2B6.
This document is aimed at everyone who wants to work with the 3D Magnetic Sensor 2 Go evaluation kit.
User Manual Please read the Important Notice and Warnings at the end of this document 1.2
www.infineon.com 2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit

Table of contents

Table of contents
User Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Table of contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Hardware overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Soware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3
1.3 Hardware extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 EvalBoard description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Optional external power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Pin header connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 EvalBoard schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
3 Soware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 Driver installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 3D magnetic sensor evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
4.1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
4.2 Graph View . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.3 Joystick view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.4 Rotation view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.5 Linear movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.6 Out of sha . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5 Example code for developers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26
6 XMC for Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
User Manual 2 1.2
2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
Introduction

1 Introduction

Infineon’s 3D Magnetic Sensor 2 Go is a compact evaluation kit to familiarize the user with the 3D Hall sensor TLE493D-A2B6. In a short time the board is set up and own 3D magnetic measurements can be executed. All required hardware is included and the soware can be downloaded for free from the Infineon web page.
This user manual describes the dierent parts of the board, the soware installation process and clarifies how the Graphical User Interface (GUI) can be used to do first evaluations. Further it is shown where to find example code and an Arduino library as a easy starting point for own developments.

1.1 Hardware overview

The 3D Magnetic Sensor 2 Go kit contains:
The 3D evaluation board (EvalBoard) as shown in Figure 1, a ready-to-use printed circuit board (PCB) with the 3D Hall sensor. The EvalBoard is based on the XMC2Go-Kit. More technical documents and detailed description can be found at http://www.infineon.com/xmc2go
A standalone 7x7x5 mm ferrite block magnet
To use the 3D Magnetic Sensor 2 Go kit the user has to acquire a USB cable with a micro USB connection-end for the EvalBoard side and a conventional USB connection for the PC side.
14mm
50mm
Figure 1 3D Magnetic Sensor 2 Go EvalBoard
1.2
The required soware to run the kit can be found at the Infineon web site. For further information refer to the chapter Soware installation.
The soware package contains:
A Graphical User Interface (GUI) for sensor evaluation.
Firmware to be flashed into the XMC microcontroller for the low level communication with the sensor.
USB driver J-Link from Segger which is necessary to establish the USB connection.
This soware was designed to be used with Windows 7 and Windows 10. It is compatible with both 32-bit and 64-bit system types. Backward compatibility with older Windows versions is ensured only by the .NET platform as specific tests were not conducted on older operating systems.
The USB protocols capabilities are defined by the Segger driver. Versions USB 2.0 and USB 3.0 are compatible.
The GUI is used to enable a communication between the sensor and the PC. The user can configure the sensor to operate in dierent modes. In those modes the update rate of the magnetic field measured (X, Y and Z components) and current consumption vary.
Soware
User Manual 3 1.2
2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
Introduction

1.3 Hardware extensions

Additionally to the provided standalone magnet there are several dedicated extensions available that can be mounted to the 3D Magnetic Sensor 2 Go kit.
Table 1 3D Magnetic Sensor 2 Go extensions
Type Orderable part number (OPN)
Joystick JOYSTICKFOR3D2GOKITTOBO1
Rotation knob ROTATEKNOB3D2GOKITTOBO1
Linear slider LINEARSLIDER2GOTOBO1
Out of sha OUTOFSHAFTFOR3D2GOTOBO1
Figure 2 Joystick and rotation knob extensions for the 3D Magnetic Sensor 2 Go kit
Joystick
The magnet used in the joystick extension is an axial magnetized magnet as shown in Figure 3. The magnet material is ferrite, of class Y35, which is equivalent to a remanence of between 400 mT and 410 mT. The magnet disk has a size of 5 mm diameter and 5 mm thickness. For more information about the magnet, please follow this link:
https://www.supermagnete.de/eng/disc-magnets-ferrite/disc-magnet-5mm-5mm_FE-S-05-05
User Manual 4 1.2
2019-09-06
5 mm
5 mm
10 mm
4 mm
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
Introduction
Figure 3 Magnet used in the Joystick extension
Rotation knob
The magnet used in the rotate knob extension is a diametrically magnetized magnet as shown in Figure 4. The magnet material is Neodymium Iron Boron (NdFeB) of class N45. The magnet is protected against corrosion with Nickel coating (Ni-Cu-Ni). The magnet size is 4 mm diameter and 10 mm thickness. For more information about the magnet, please follow this link:
https://www.supermagnete.de/eng/rod-magnets-neodymium/rod-magnet-diameter-4mm-height-10mm­neodymium-n45-nickel-plated_S-04-10-DN
Figure 4 Magnet used in the rotation knob extension
Out of sha
The magnet used in the out of sha extension is a diametrically magnetized ring magnet as shown in Figure 5 . The magnet material is Neodymium Iron Boron (NdFeB) of class N45. The magnet is protected against corrosion with Nickel coating (Ni-Cu-Ni). The magnet size is 10 mm outer diameter, 7 mm inner diameter and 3 mm thickness. For more information about the magnet, please follow this link:
https://www.supermagnete.de/eng/ring-magnets-neodymium/ring-magnet-10mm-7mm-3mm_R-10-07-03­DN
User Manual 5 1.2
2019-09-06
10 mm
7 mm
3 mm
5 mm
5 mm
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
Introduction
Figure 5 Magnet used in the out of sha extension
Linear slider
The linear slider extension comes with two axial magnetized magnets of the same size as shown in Figure 6. The first magnet material is Neodymium Iron Boron (NdFeB) of class N45. The magnet is protected against corrosion with Nickel coating (Ni-Cu-Ni). The second magnet material is ferrite, of class Y35, which is equivalent to a remanence of between 400 mT and 410 mT. Both magnet disk has a size of 5 mm diameter and 5 mm thickness. For more information about the magnets, please follow this links:
https://www.supermagnete.de/eng/disc-magnets-neodymium/disc-magnet-5mm-5mm_S-05-05-N
https://www.supermagnete.de/eng/disc-magnets-ferrite/disc-magnet-5mm-5mm_FE-S-05-05
Figure 6 Magnet used in the linear slider extension
User Manual 6 1.2
2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
EvalBoard description

2 EvalBoard description

The evaluation board (EvalBoard) is a ready-to-use printed circuit board (PCB) which contains:
The 3D magnetic sensor TLE493D-A2B6. For the availability of 3D Magnetic Sensor 2 Go kits with dierent sensor variants check the Infineon web page: https://www.infineon.com/cms/en/product/sensor/
magnetic-sensors/magnetic-position-sensors/3d-magnetics/
XMC1100 microcontroller based on ARM Cortex™-M0 at 48 MHz frequency connected to the 3D sensor.
XMC4200 microcontroller based on ARM Cortex™-M4 at 144 MHz frequency used for debugging and USB communication.
Micro USB connector for power supply and communication with the Graphical User Interface (GUI).
LED for indication of power supply and debugging.
Two LEDs for user configuration.
Voltage regulator, reverse current protection diode and ESD protection diode.
Pin headers to access data lines (e.g. via oscilloscope, external microcontroller).
The dierent components and its location are shown in Figure 7. The 3D magnetic sensor can be separated from the rest of the EvalBoard by cutting the break line.
TLE493D-A2B6
pin header
distance fits
to breadbord
pin header X3
user LED2
break
line
user LED1
pin header X1
@P1.1
@P0.12
pin header X2
crystal for
debug IC
XMC 1100
mircocontroller
Figure 7 Main components of the EvalBoard

2.1 Optional external power supply

XMC4200 debug IC and
UART to USB bridge
voltage regulator and reverse
current protection diode
power and
debug LED
ESD protection
diode
mirco USB
connector
The 3D Magnetic Sensor 2 Go EvalBoard is supplied via the USB cable. It is also possible to provide an external power supply. If this is the case, a few considerations must be taken into account as described below.
The 3D Magnetic Sensor 2 Go EvalBoard must be supplied by external 5 Volt DC power supply connected to the micro USB plug. The voltage regulator shis the voltage level to 3.3 V for the microcontrollers and the 3D magnetic sensor. The Power & Debug LED indicates that the presence of the generated 3.3 V supply voltage.
Out of the box with the pre-programmed application and the on-board debugger in operation the EvalBoard typically draws about 75 mA. This current can be delivered via the USB plug of a PC, which is specified to deliver up to 500 mA. An on-board reverse current protection diode will ensure safe operation and protects the USB port of the Laptop/PC in case power is provided through the pin header X1.
User Manual 7 1.2
2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
EvalBoard description
It is not recommended to apply an additional power supply to the VDD pin of X1 (3.3 V) when the board is powered via USB, because the 3.3 V supply could drive against the on-board power supply. The VDD pin can be used to power an external circuit. But care must be taken not to draw more current than 150 mA, which is the maximum current the on-board voltage regulator can deliver. Aer power-up the Debug LED starts blinking. In case there is connection to a PC with correctly installed drivers, the Debug LED will turn from blinking to constant illumination.

2.2 Pin header connector

The pin headers X1 and X2 can be used to extend the evaluation board or to perform measurements on the XMC1100. The order of pins available at X1 and X2 corresponds to the pinning schema of the XMC1100 microcontroller in the TSSOP-16 pin package. The pinning table is also printed onto the bottom side of the PCB (depending on the version). The pin header X3 can be used to access directly the 3D magnetic sensor pins.
P2.9
SDA (P2.10)
SCL (P2.11)
X3
X1
P0.5
P0.0
3.3 V
GND
P2.11
P2.10
P2.7
GND
V
DD
(P1.0)
X2
P0.6
P0.7
P0.8
P0.9
P0.14
P0.15
P2.0
P2.6
Figure 8 EvalBoard pin header connectors
The 3D Hall sensor pins can be accessed via the pin headers as shown in Table 2.
Table 2 Pin header description for the 3D magnetic sensor (X3)
TLE493D-A2B6 pin number
Pin name on board
XMC1100 port pin Sensor pin description
1 SCL P2.11 Interface clock and \INT pin, open drain
3 GND GND Ground pin
4 +3V3 P1.0 Supply pin
6 SDA P2.10 Interface data pin, open drain
The XMC1100 port pins P0.12 and P1.1 are connected the two user LEDs and are not available on the pin headers.
Table 3 Pins used for the user LEDs
LED XMC1100 port pin
LED1 P0.12
LED2 P1.1
User Manual 8 1.2
2019-09-06
TLE493D-A2B6 MS2GO
3D Magnetic Sensor 2 Go evaluation kit
EvalBoard description

2.3 EvalBoard schematics

The schematics of the dierent blocks from the EvalBoard of the3D Magnetic Sensor 2 Go kit are provided in this chapter. They can be used to design customized PCBs. The user (integrator) is responsible for the correct functioning on system level as well as for the validation and testing.
Figure 9 EvalBoard schematic: 3D magnetic sensor
Figure 10 EvalBoard schematic: the voltage regulator (for the power supply)
User Manual 9 1.2
2019-09-06
Loading...
+ 20 hidden pages