Advertisement

Quick Links

TLE5014 Programmer
Application Note

About this document

Scope and purpose
This document describes the Evaluation Kit for the TLE5014 GMR based angle sensor.
The purpose of this manual is to describe the software installation process and how to use the TLE5014 angle
sensor Evaluation Kit.
Intended audience
This document is intended for anyone who wants to use the TLE5014 Evaluation Kit.
Application Note
1
Rev. 1.0
www.infineon.com
2017-08-02

Advertisement

Table of Contents
loading

Summary of Contents for Infineon TLE5014

  • Page 1: About This Document

    Scope and purpose This document describes the Evaluation Kit for the TLE5014 GMR based angle sensor. The purpose of this manual is to describe the software installation process and how to use the TLE5014 angle sensor Evaluation Kit. Intended audience This document is intended for anyone who wants to use the TLE5014 Evaluation Kit.
  • Page 2: Table Of Contents

    TLE5014 satellite board ........
  • Page 3: General Description

    TLE5014 Programmer General description General description The programmer consists of an Infineon XMC1100 Boot Kit and a “shield”, which can be plugged onto the Boot Kit. Figure 1 Infineon XMC1100 Boot Kit Figure 2 TLE5014 programmer shield The software consists of one file: TLE5014 - BootKit – V2.x.x.zip For connection to a PC, a USB cable is required.
  • Page 4: Sensor Connection

    • • The shield supports two sensors with separated connectors. TLE5014 connection Figure 3 TLE5014 sensor connection Care has to be taken that all pins of the TLE5014 are connected according to the TLE5014 datasheet. Application Note Rev. 1.0 2017-08-02...
  • Page 5: Tle5014 Satellite Board

    TLE5014 satellite board A satellite board is provided with a TLE5014D dual channel angle sensor which can be connected to the shield of the Eval Kit. The TLE5014 on this board is pre-programmed with the following settings: • SENT single secure sensor (incl. rolling counter and inverted nibble) •...
  • Page 6: Jumper Setting

    TLE5014 Programmer General description Jumper setting Table 2 Jumper setting Jumper Position Description J2/J3 SENT filter for sensor 1 enabled J2/J3 SENT filter for sensor 1disabled J4/J5 SENT filter for sensor 2 enabled J4/J5 SENT filter for sensor 2 disabled Note: For reading/writing the EEPROM the SENT filter has to be disabled.
  • Page 7: Installation

    _Windows.exe 2. Connect the programmer with an USB cable to an USB 2.0 port. 3. Install the programmer software by double-clicking on the file: TLE5014 – BootKit – V2.x.x.msi. 4. Start the installed software TLE5014 – BootKit. 5. If you use the microcontroller the first time or if you use a new software revision, click on the Flash MCU button (µC is flashed with firmware).
  • Page 8: Programming

    In the Sensor drop-down list select the sensor which you want to read. The Eval Kit supports two channels which correspond to the two connectors on the PCB: • TLE5014 CH1 = Sens1 • TLE5014 CH2 = Sens2 Application Note Rev.
  • Page 9: Angle Read-Out

    TLE5014 Programmer Programming Angle read-out Click the Start button to start the angle read-out. The display shows the real time angle read-out of the sensor and other protocol related values (e.g. status nibble for SENT/SPC). Click the Stop button to stop the sensor read-out.
  • Page 10: User Menu

    A register content can be modified by editing the value on the right either in a hexadecimal or a decimal value and pressing RETURN. Burn EEPROM Burn the displayed content to the TLE5014 EEPROM. A successfully EEPROM burning is indicated with a “Burn successful!” message. Note: Care has to be taken not to modify EEPROM registers which change the sensor configuration.
  • Page 11: Program By Feature

    TLE5014 Programmer Programming Button Description Save Config Save the actual EEPROM settings in a .txt file. Load config Load the EEPROM content from a .txt file. Note: After re-loading LUT values (Browse LUT) or EEPROM content (Load Config) the EEPROM has to be burned by pressing Burn EEPROM.
  • Page 12: Read Ssm

    TLE5014 Programmer Programming The PWM frequency is calculated according following formula: (3.1) 40000000 f Hz ---------------------------------------------------------------------------------------------- ) TMR_PERIOD TMR_PREDIV 3.3.3 Read SSM Select Sensor > Read SSM in the menu bar on the top to display the actual content of the short serial message SSM: •...
  • Page 13: Burn Angle Base

    TLE5014 Programmer Programming 3.3.4 Burn Angle Base To define a new angle base, first Start the read-out of angle values. The application has to be turned to the desired new zero-value and read-out has to be stopped by clicking Stop.
  • Page 14: Look-Up Table Programming

    TLE5014 Programmer Programming Look-up table programming The Browse LUT button opens a window to select a .txt file with the data which should be programmed into the look-up table (LUT). Opening the .txt file loads the content in the displayed EEPROM mapping.
  • Page 15: Eeprom Map Pwm Interface

    TLE5014 Programmer EEPROM map PWM interface EEPROM map PWM interface Table 3 EEPROM map PMW interface Register address Register name Description 0x0060 Data duty cycle min. value [13:0] 0% … 100% mapped to 0 … 16383 0x0062 Data duty cycle max. value [13:0] 0% …...
  • Page 16: Tle5014 Eeprom 0X00A2 H

    TLE5014 Programmer EEPROM map PWM interface TLE5014 EEPROM 0x00A2 : PWI_MD_USR Table 5 PWI_MD_USR Name Description Value PWI_MODE [15:13] Interface selection : PWM : SENT : SPC PWM_EDGE [12] PWM starting edge : Rising : Falling SENT/SPC_LT_5_3 [11] SENT/SPC low time...
  • Page 17: Angle Base Calculation

    TLE5014 Programmer EEPROM map PWM interface Angle base calculation For PWM/SPC protocol and SENT when feature error code “4091” is disabled • Determine the position were “0°” should occur. • Read out the 12-bit angle value at this position (in LSB).
  • Page 18: Comments

    TLE5014 Programmer EEPROM map PWM interface Comments If using SPC bus mode, the first step should be to write the corresponding SPC ID in address 0x00A4 (Chapter 4.4). The sensor comes with an enabled, default programmed look-up table (LUT) to reach the specified accuracy.
  • Page 19: Revision History

    TLE5014 Programmer Revision history Revision history Revision Date Changes Rev. 1.0 2017-08-02 Initial creation. Application Note Rev. 1.0 2017-08-02...
  • Page 20 Infineon Technologies, customer's products and any use of the product of Infineon Technologies’ products may not be used in Infineon Technologies in customer's applications. any applications where a failure of the product or any...

Table of Contents