background image

Application Note

9

Rev. 1.0

 2017-08-02

 

 

TLE5014 Programmer

 

Programming

3.2

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.
The tool automatically displays the preprogrammed sensor interface and unit time.
The SPC address has to be set manually:

Содержание TLE5014

Страница 1: ...d 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 ...

Страница 2: ... Programmer connection 8 3 2 Angle read out 9 3 3 User menu 10 3 3 1 EEPROM Register 10 3 3 2 Program by feature 11 3 3 2 1 PWM frequency calculation 11 3 3 3 Read SSM 12 3 3 4 Burn Angle Base 13 3 4 Look up table programming 14 4 EEPROM map PWM interface 15 4 1 EEPROM map 15 4 2 TLE5014 EEPROM 0x00A2H PWI_MD_USR 16 4 3 Angle base calculation 17 4 4 SPC address configuration 17 4 5 Comments 18 5 R...

Страница 3: ...ription 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 ...

Страница 4: ...to be taken that the correct pins are connected The TLE5014 can be connected via a cable to the shield Three connections are required VDD I O GND The shield supports two sensors with separated connectors Figure 3 TLE5014 sensor connection Care has to be taken that all pins of the TLE5014 are connected according to the TLE5014 datasheet TLE5014 connection ...

Страница 5: ...e sensor incl rolling counter and inverted nibble UT 3 0 µs pause pulse no short serial message The sensor is fully configurable and can be set to different protocol options and interfaces SENT SPC PWM For a SPC bus mode channel 1 has the default hard wired address ID 0 channel 2 has ID 1 It is possible to change the address by changing the zero ohm resistors on the board see figure and table belo...

Страница 6: ...ng Note For reading writing the EEPROM the SENT filter has to be disabled Table 2 Jumper setting Jumper Position Description J2 J3 en SENT filter for sensor 1 enabled J2 J3 dis SENT filter for sensor 1disabled J4 J5 en SENT filter for sensor 2 enabled J4 J5 dis SENT filter for sensor 2 disabled ...

Страница 7: ...nloads jlink JLink _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 ...

Страница 8: ...ton to connect the Programmer In the Configuration drop down list select your configuration Single sensor no bus operation Bus operation several sensors on one SPC line 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 ...

Страница 9: ...art 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 The tool automatically displays the preprogrammed sensor interface and unit time The SPC address has to be set manually ...

Страница 10: ...ate the displayed EEPROM content 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 This ...

Страница 11: ...to be specified which give the PWM frequency 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 Lock EEPROM Locks the EEPROM A further re programming is not possible Note There is no Unlock function implemented Butt...

Страница 12: ...requency is calculated according following formula 3 1 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 Temperature Angle base rotation direction 32 bit customer ID f Hz 40000000 1 TMR_PREDIV TMR_PERIOD ...

Страница 13: ...e 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 Select Sensor Burn Angle Base in the menu bar on the top to display the Burn Angle Base window Click Burn to burn the value to the EEPROM as new angle base ...

Страница 14: ...ed EEPROM mapping After loading the file press Burn EEPROM to burn the LUT values to the EEPROM txt file with values for LUT The txt file for the LUT values consists of a header and 32 pair of data separated by a comma One pair consists of the real angle value and the read out of the sensor at this position as a 12 bit value The 32 real angle values can not be modified and have to be 0 11 25 22 5 ...

Страница 15: ...agnostic value high 13 0 0 100 mapped to 0 16383 0x0068H PWM predevider 7 0 TMP_PREDIV 0x006AH PWM period 13 0 TMP_PERIOD Example Data duty cycle range Example Diagnostic range 0x0060H 2048 12 5 0x0062H 14335 87 5 0x0064H 819 5 diagnostic low value 0x0066H 15564 95 diagnostic high value 0 360 mapped to 12 5 87 5 Table 4 EEPROM map overview Register address Register name Bit Description 0x00A0H ANG...

Страница 16: ...5UT 1B 3UT SPC_TEMP 10 Temperature information 0B No temp nibble 1B Temperature nibble SPC_RCNIB 9 Rolling counter 0B RC nibble enabled 1B No RC nibble SPC_RCCRC 8 Rolling counter in CRC 0B No RC in CRC 1B RC in CRC SPC_TRIG 7 SPC bus mode 0B 90 µs trigger length fix 1B variable trigger length SENT_PROMO 6 SENT protocol type 0B Single secure sensor 1B Standard SENT SENT_ERR_SIG 5 SENT Error indica...

Страница 17: ...position in LSB LSB12 Calculate 4 trunc 16384 4088 LSB12 1 Write this decimal value in register 0x00A0H and burn EEPROM To change the rotation direction add 2 to this value in case bit 1 in 0x00A0H is 0 and burn EEPROM again subtract 2 from this value in case bit 1 in 0x00A0H is 1 and burn EEPROM again 4 4 SPC address configuration If SPC in bus mode is used it is mandatory that the address of eac...

Страница 18: ...curacy The default LUT values may not be changed as long as no own data are available A change causes an increased angle error The default values of the LUT can be overwritten in case own data are generated for e g to correct for magnetic circuit assembly tolerances If look up table is used the angle base correction bit 15 2 of address 0x00A0H has to be performed before look up table values are mo...

Страница 19: ...Application Note 19 Rev 1 0 2017 08 02 TLE5014 Programmer Revision history 5 Revision history Revision Date Changes Rev 1 0 2017 08 02 Initial creation ...

Страница 20: ... and any applicable legal requirements norms and standards concerning customer s products and any use of the product of Infineon Technologies in customer s applications The data contained in this document is exclusively intended for technically trained staff It is the responsibility of customer s technical departments to evaluate the suitability of the product for the intended application and the ...

Отзывы: