Infineon TLE5014P16, TLE5014S16, TLE5014C16, TLE5014S16D, TLE5014C16D, TLE5014P16D User Manual
Specifications and Main Features
Frequently Asked Questions
User Manual
User’s Manual1Rev. 1.0
www.infineon.com/sensors 2019-03-12
TLE5014
GMR-Based Angle Sensor
User’s Manual
About this document
Scope and purpose
This document covers the TLE5014 with the different interfaces SENT, SPC, PWM and SICI. It provides further
information what should be considered using this sensor in an application and how to program it.
Intended audience
This document is aimed at experienced hardware and software engineers using the TLE5014 iGMR angle
sensor.
This documents contains information for the following devices:
Table 1 Derivatives covered by this user manual
Product TypeMarkingOrdering CodePackageComment
TLE5014P16014PSP001231814PG-TDSO-16PWM Interface, single die
TLE5014S16014SSP001231818PG-TDSO-16SENT Interface, single die
TLE5014C16014CSP001231806PG-TDSO-16SPC Interface, single die
TLE5014S16D014SDSP001410046PG-TDSO-16SENT Interface, dual die
TLE5014C16D014CDSP001410042PG-TDSO-16SPC Interface, dual die
TLE5014P16D014PDSP001673472PG-TDSO-16PWM Interface, dual die
The application circuits in this chapter show the various communication possibilities of the TLE5014.
Figure 1 shows a basic application circuit of a TLE5014 with PWM interface. The pull-down resistor is required
to ensure that the sensor starts with a low level after power-on or reset (PWM starts with a rising edge). If the
sensor is configured in such a way, that the PWM starts with a falling edge, the pull-down has to be replaced
by a pull-up.
Figure 1 Application circuit for TLE5014 with PWM, sensor configured to start with a rising edge of
PWM
Figure 2 shows a basic application circuit of the TLE5014 with SPC mode.
Figure 2 Application circuit for TLE5014 with SPC, SPC address is configured to be “0” (IF1 and IF2
connected to GND)
The circuit shows the minimum external circuit which is needed to operate the SPC interface. The generation
of the trigger pulse (switch to pull the line low) is not shown. Depending on EMC requirements, additional
circuitry may be required. The value of C
and Rp are specified in the datasheet.
w
The TLE5014 can also be used with a SENT interface (Figure 3). The circuit shown is according to the SAE
J2716-2010 SENT specification.
User’s Manual4Rev. 1.0
2019-03-12
TLE5014
TLE5014
GND
µControlle r
Master
10 0nF
V
DD
V
DD
GND
IF1
IF2
IF3
IFA
IFB
IFC
V
µC
10 k
56 0
10k
68 p2 .2n10 0p
GMR-Based Angle Sensor
Application Circuits
Figure 3 Application circuit for TLE5014 with SENT
User’s Manual5Rev. 1.0
2019-03-12
TLE5014
GMR-Based Angle Sensor
Interfaces overview
2Interfaces overview
Depending on the application, the TLE5014 is available with different interfaces:
•PWM (Pulse Width Modulation)
•SPC (Short PWM Code)
•SENT (Single Edge Nibble Transmission)
•SICI (Single-wire Interface for Calibration and Inspection; for programming purpose only)
PWM
The PWM is an unidirectional interface. Only one line is needed in which the angle value is transmitted. The
angle value corresponds to the duty cycle of the signal data. A reserved duty cycle range is implemented which
is used for indication of internal detected device errors. The data duty cycle range and the error duty cycle
range can be programmed via EEPROM setting.
SPC
The SPC is an interface based on the SENT protocol. The ECU (master µC) sends a trigger pulse which triggers
the TLE5014 to transmit the 12-bit angle value. If desired, the temperature can also be transmitted on a slow
channel (short serial message). The SPC also sends a CRC nibble and an end-pulse to terminate the
communication. One line is needed for the transmission and the pins IF1, IF2 and IFC are used to set the slave
number. Up to four slaves can be connected to one ECU; the ECU trigger pulse length will trigger the respective
sensor.
SENT
SENT is a standardized interface described in SAE J2716-2010.
SICI
A PWM based, bidirectional interface which is used for programming purpose only.
Further details on the SENT, SPC and PWM interface can be found in the data sheet of TLE5014.
2.1PWM Interface Configuration
The following configuration of the PWM interface is possible. Further details are in the EEPROM register
description in Chapter 4.
Table 2 PWM Interface configuration
ParameterEEPROM
Register
PWM data duty cycle range
minimum value
PWM data duty cycle range
maximum value
PWM diagnostic duty cycle low0x0064This value determines the duty cycle which indicates a
User’s Manual6Rev. 1.0
0x0060This value determines the low value of the duty cycle for
0x0062This value determines the high value of the duty cycle for
Description
angle transmission. It corresponds to an angle value of 0°
angle transmission. It corresponds to an angle value of
359.91°
sensor failure detected by the internal safety mechanism
2019-03-12
TLE5014
GMR-Based Angle Sensor
Interfaces overview
Table 2 PWM Interface configuration (cont’d)
ParameterEEPROM
Description
Register
PWM diagnostic duty cycle high0x0066This value determines the duty cycle which indicates a
sensor reset or a sensor start-up error (BIST error)
PWM predevider for PWM period 0x0068This value is used for PWM frequency adjustment according
to Equation (4.1)
PWM period0x006AThis value is used for PWM frequency adjustment according
to Equation (4.1)
PWM starting edge0x00A2This value determines the starting edge of the PWM protocol.
It can be rising or falling. In case a rising edge is selected, the
PWM protocol will start with a HIGH level. In case a falling
edge is selected, it will start with a LOW
Care has to be taken when programming the low and high diagnostic duty cycle that there is no overlap with
the programmed data duty cycle range. In such a case, diagnostic information (e.g. sensor failure) could not
be distinguished from a valid transmitted angle value. It is recommended to add a safety margin between the
diagnostic and the data duty cycle range.
2.2SPC Interface Configuration
The following table shows the different options for SPC interface configuration. The details for the EEPROM
setting are shown in Chapter 4.3
Table 3 SPC Interface configuration
ParameterEEPROM
Description
Register
SPC low time0x00A2This value can be 5 UT or 3UT. With 5UT, the SPC nibble is
compliant to the SENT specification
Temperature information in SPC
protocol
0x00A2The SPC frame can contain two additional nibbles for
transmitting the temperature information
Rolling counter 0x00A2A 4-bit rolling counter (rolling counter nibble) can be
activated which counts the transmitted frames. This is
necessary for functional safety applications to increase the
diagnostic coverage
Rolling counter in CRC0x00A2The rolling counter information can be coded in the CRC of
the SPC frame instead of being transmitted as extra nibble.
In this case the rolling counter information has 2 bit only.
This feature reduces overall frame length of the SPC protocol
SPC trigger0x00A2Two options are available for the total trigger length. It can
be constant with a length of 90 UT or variable. The variable
trigger length is t
time t
. Both settings can be used in a bus configuration as
low
the address of the sensor is defined by the low time t
+12 UT and depends on the trigger low
low
low
only.
The advantage of the variable trigger length is that the total
frame length can be reduced
SPC short serial message0x00A2A short serial message (slow message) can be activated,
which transmits one bit of a 16 bit information in each SPC
frame and thus needs 16 SPC frames for the whole data
transmission.This transmitted information is the
programmed angle base and rotation direction, the chip
temperature and 32 bit of the customer ID.
SPC unit time (UT)0x00A2The SPC unit time (UT) can be selected in the range of 1.0 µs
to 3.0 us.
SPC address setting in bus mode
The address of the sensor, so that it responds to a corresponding SPC trigger pulse, has to be set in the
EEPROM. All parts delivered from Infineon have the default address of ID = 0 in the EEPROM. Please refer to
description of EEPROM register 0x00A4 in Description EEPROM Address 0x00A4 CRC_CFG for correct setting.
The address of the sensor written to the EEPROM must be identical to the address of the sensor defined via
hard-wiring of the pins IF1, IF2 and IFC. Table 4 shows how the sensor address has to be set using the pins IF1,
IF2, IFC.
Table 4 SPC Address Configuration
AddressIF1IF2
0GNDGND
1IFCGND
2GNDIFC
3IFCIFC
Figure 4 shows a SPC frame with constant trigger length of 90UT, a status nibble, 3 data nibbles, a rolling
counter nibble and a CRC nibble. The low time of the trigger nibble determines the address of the sensor.
Figure 4 SPC frame with constant trigger length and rolling counter enabled as additional nibble
User’s Manual8Rev. 1.0
2019-03-12
TLE5014
GMR-Based Angle Sensor
Interfaces overview
SPC status nibble
The 4-bit status nibble of the SPC protocol has different content depending on SPC protocol configuration:
•No short serial message:
Table 5 SPC Status Nibble
BitDescription
0 (LSB)Sensor ID (LSB)
1Sensor ID (MSB)
2Internal sensor failure
3 (MSB)Sensor reset or start-up (BIST) failure
•Short serial message (SSM) enabled:
Table 6 SPC Status Nibble
BitDescription
0 (LSB)Data bit of SSM
1Start bit of SSM
2Internal sensor failure
3 (MSB)Sensor reset or start-up (BIST) failure
In this configuration, the sensor ID is coded in the CRC and not available in the status nibble. There is also the
option, that the rolling counter is not a dedicated nibble but the information is also coded in the CRC.
Therefore, four different versions of the CRC calculation exist:
•No short serial message (SSM) and rolling counter as nibble
Input data for the CRC calculation are:
STATUS & DATA1 & DATA2 & DATA3 & ROLLING_CNT
•Short serial message (SSM) enabled and rolling counter as nibble
the CRC calculation has to include a special 4-bit “ID-nibble” and is performed with the following input
data:
STATUS & DATA1 & DATA2 & DATA3 & ROLLING_CNT & ID_NIBBLE
ID_NIBBLE = (0 0 ID(MSB) ID(LSB))
•Short serial message (SSM) is disabled and rolling counter is included in CRC (no rolling counter as nibble)
The CRC calculation has to include a special 4-bit “RC-nibble” and is performed with the following input
data:
STATUS & DATA1 & DATA2 & DATA3 & RC_NIBBLE
RC_NIBBLE = (RC(MSB) RC(LSB) 0 0)
•Short serial message (SSM) is enabled and rolling counter is included in CRC (no rolling counter as nibble)
The CRC calculation has to include a special 4-bit “RC_ID-nibble” and is performed with the following input
data:
STATUS & DATA1 & DATA2 & DATA3 & RC_ID_NIBBLE
RC_ID_NIBBLE = (RC(MSB) RC(LSB) ID(MSB) ID(LSB))
User’s Manual9Rev. 1.0
2019-03-12
TLE5014
GMR-Based Angle Sensor
Interfaces overview
Table 7 Examples for ID Nibble, RC_Nibble and ID_RC_Nibble calculation
ID RC ID_Nibble RC_NibbleRC_ID_Nibble
00
B
01
B
10
B
11
B
–00
–01
–10
–11
00
B
01
B
10
B
11
B
–0000
–0001
–0010
–0011
–0000B–
–0100B–
–1000–
–1100B–
––0000
––0101
––1010
––1111
00
01
10
11
B
B
B
B
B
B
B
B
B
B
B
B
––
––
––
––
B
B
B
B
Synchronization of the Rolling Counter
The first transmitted SPC frame has a rolling counter value of 0. The next frame transmits a rolling counter
value which is incremented by 1. In case the rolling counter is coded in the CRC, it is a 2-bit value. In this
configuration, a synchronization of the counter value (sensor value and counter value in the micro controller)
is required. The following two options are possible:
•Calculate the CRC with the received sensor data and a RC_NIBBLE of RC_NIBBLE = 0000
. Repeat this until
B
the calculated CRC matches with the transmitted CRC. This frame has the rolling counter value of 0. The
next transmitted frame has the incremented counter value of 1 and so on. As the rolling counter has 2 bit
in case it is coded in the CRC, latest the fourth transmitted frame needs to have a matched CRC. If this is
not the case an error occurred.
•For the first transmitted frame, calculate the four possible CRCs with the RC_NIBBLE values 0000
to 0011B.
B
The CRC which is matching the transmitted CRC has the correct rolling counter value. Use this value as
starting value which is incremented with the next received frame.
CRC calculation for SPC protocol
The checksum nibble is a 4-bit CRC of the data nibbles including the status nibble. The CRC is calculated using
a polynomial x4+x3+x2+1 with a seed value of 0101
. The remainder after the last data nibble is transmitted as
B
CRC. The CRC calculation method is based on “recommended” implementation in the SENT standard 2010.
For this “recommended” implementation, the CRC is calculated based on the input data which is then
augmented with four extra zero bits and an additional CRC calculation step.
The following table shows the different options for SENT interface configuration.
Table 8 SENT Interface configuration
ParameterEEPROM
Register
SENT low time0x00A2This value can be 5 UT or 3 UT. With 5 UT, the nibble is
SENT protocol type0x00A2Two different SENT implementations can be configured:
Sent short serial message0x00A2A short serial message (slow message) can be activated
SENT error indication0x00A2In case of an internal chip error, the error can be indicated
Se nt u nit time (UT)0x 00A 2The SE NT uni t tim e (UT ) can be sel ecte d in th e ran ge of 1.5 µ s
Description
compliant to the SENT specification
Standard SENT: Status nibble, 3 x 4-bit data nibbles, CRC
nibble
Single Secure SENT: Status nibble, 3 x 4-bit data nibbles, 2x4bit rolling counter; Inverted data nibble, CRC nibble
which transmits one bit of additional information in each
SPC frame. This transmitted information is the programmed
angle base and rotation direction, the chip temperature and
32 bit of the customer ID
only in the status nibble by setting an error bit or in the status
nibble and also in the SENT data range. In this case an error
code of “4091” is sent. For this option, the data range has not
the full 12-bit resolution but only 1 … 4088 LSB
to 3.0 us
SENT Status Nibble
The 4-bit status nibble of the SENT protocol contains the following information:
Table 9 SENT Status Nibble
BitDescription
0 (LSB)error indication or start-up (BIST) error or sensor reset
1reserved
2short serial message bit (data bit)
3 (MSB)short serial message bit (start indication)
User’s Manual11Rev. 1.0
2019-03-12
TLE5014
GMR-Based Angle Sensor
Interfaces overview
CRC calculation for SENT protocol
The checksum nibble is a 4-bit CRC of the data nibbles and does not include the status nibble (different to SPC
CRC implementation). The CRC is calculated using a polynomial x4+x3+x2+1 with a seed value of 0101
remainder after the last data nibble is transmitted as CRC. The CRC calculation method is based on
“recommended” implementation in the SENT standard 2010. For this “recommended” implementation, the
CRC is calculated based on the input data (without STATUS nibble) which is then augmented with four extra
zero bits and an additional CRC calculation step.
The TLE5014 has an EEPROM as non-volatile memory where sensor configuration data can be stored. The
memory is organized in pages, each page contains 8 registers, each register has 16 bit. Some pages and
registers can be accessed by the user and the content can be modified thus changing chip configuration. Care
has to be taken when modifying content of the EEPROM as the device behavior can be changed and no or
wrong output data can be generated. There is no automatic restore functionality where the pre-programmed
status can be recovered.
The EEPROM content is secured by a CRC. In case any content of the EEPROM is changed, the CRC has to be
recalculated and written to the corresponding register, otherwise an error is indicated. The CRC has always be
calculated out of several pages and registers, which are indicated in the description of the corresponding CRC
(Table 10). The algorithm for the CRC calculation is described in Chapter 6.2.3.
The following Table 10 shows the pages and EEPROM registers of each page and their function. A detailed
description of the EEPROM registers and the possible settings can be found in Chapter 4.
The startup value of each configuration register of the TLE5014 is stored in a corresponding EEPROM register,
which can be modified by the user. Table 10 lists the allocation of the user-configurable EEPROM pages.
Care shall be taken when the EEPROM configuration is changed, as not all possible configurations are released
by Infineon. This means, that they can be used for testing purpose but not necessarily for production. All
released configurations can be found in the TLE5014 datasheet.
Table 10 EEPROM page map
PageEEPROM
Register
0x0060x0060OUT_LIM_MINPWM data duty cycle range minimum
0x0062OUT_LIM_MAXPWM data duty cycle range maximum
0x0064OUT_STAT_LPWM diagnostic duty cycle low
0x0066OUT_STAT_HPWM diagnostic duty cycle high
0x0068TMR_PREDIVPWM predevider for PWM period
0x006ATMR_PERIODPWM period
0x006C–Reserved
0x006ECRC_EEPCRC has to be calculated with following
0x0096ACSTATActivation of internal safety mechanism
0x0098MOD13 V/5 V, pad configuration, LUT options
0x009AMOD2Lock function for register PWI_MD_USR
0x009CIF123_CFGPin configuration of pin IF1, IF2, IF3
0x009EIFABC_CFGPin configuration of pin IFA, IFB, IFC
0x00A0x00A0ANG_BASEAngle base & rotation direction
0x00A2PWI_MD_USRInterface configuration
0x00A4CRC_CFGConfiguration CRC and SPC address;
NameDescriptionDefault value of Reg.
CRC has to be calculated with following
values: registers 0x0096 & 0x0098 &
0x009A & 0x009C & 0x009E & 0x00A0 &
0x00A2 & first byte of 0x00A4 (bit [15:8] &
0xFF00)
0x00A6–Reserved
0x00A8–Reserved
0x00AA–Reserved
0x0AC–Reserved
0x00AE–Reserved
0x00B0x00B0LUT_0Look-up table value for 0°
0x00B2LUT_1Look-up table value for 11.25°
0x00B4LUT_2Look-up table value for 22.50°
0x00B6LUT_3Look-up table value for 33.75°
0x00B8LUT_4Look-up table value for 45.00°
0x00BALUT_5Look-up table value for 56.25°
0x00BCLUT_6Look-up table value for 67.50°
0x00BELUT_7Look-up table value for 78.75°
0x00C0x00C0LUT_8Look-up table value for 90.00°
0x00C2LUT_9Look-up table value for 101.25°
0x00C4LUT_10Look-up table value for 112.50°
0x00C6LUT_11Look-up table value for 123.75°
0x00C8LUT_12Look-up table value for 135.00°
0x00CALUT_13Look-up table value for 146.25°
0x00CCLUT_14Look-up table value for 157.50°
0x00CELUT_15Look-up table value for 168.75°
User’s Manual14Rev. 1.0
2019-03-12
TLE5014
GMR-Based Angle Sensor
EEPROM Page Map
Table 10 EEPROM page map (cont’d)
PageEEPROM
Register
0x00D0x00D0LUT_16Look-up table value for 180.00°
0x00D2LUT_17Look-up table value for 191.25°
0x00D4LUT_18Look-up table value for 202.50°
0x00D6LUT_19Look-up table value for 213.75°
0x00D8LUT_20Look-up table value for 225.00°
0x00DALUT_21Look-up table value for 236.25°
0x00DCLUT_22Look-up table value for 247.50°
0x00DELUT_23Look-up table value for 258.75°
0x00E0x00E0LUT_24Look-up table value for 270.00°
0x00E2LUT_25Look-up table value for 281.25°
0x00E4LUT_26Look-up table value for 292.50°
0x00E6LUT_27Look-up table value for 303.75°
0x00E8LUT_28Look-up table value for 315.00°
0x00EALUT_29Look-up table value for 326.25°
0x00ECLUT_30Look-up table value for 337.50°
NameDescriptionDefault value of Reg.
0x00EELUT_31Look-up table value for 348.75°
0x00F0x00F0[7:0] CRC_LUT8-bit CRC for Look-up table; CRC has to
be calculated with following values:
page 0x00B & 0x00C & 0x00D & 0x00E &
first byte of register 0x00F0 (bits [15:8] &
0xFF00)
0x00F2CUST_ID_016-bit of customer ID, will be
transmitted via short serial message
0x00F4CUST_ID_116-bit of customer ID, will be
transmitted via short serial message
0x00F6CUST_ID_216-bit of customer ID
0x00F8CUST_ID_316-bit of customer ID
0x00FACUST_ID_416-bit of customer ID
0x00FCCUST_ID_516-bit of customer ID
0x00FECUST_ID_616-bit of customer ID
User’s Manual15Rev. 1.0
2019-03-12
TLE5014
Page 0x006 1514131211109876543210
0x0060--
0x0062--
0x0064--
0x0066--
0x0068--------
0x006A--
0x006C---------------
0x006E--------
Page 0x009
0x0090----------------
0x0092----------------
0x0094----------------
0x0096
0x0098
0x009A
0x009C------
0x009E------
Page 0x00A
0x00A0ANG_DIR-
0x00A2
0x00A4-----AS_NR
0x00A6----------------
0x00A8----------------
0x00AA----------------
0x00AC----------------
0x00AE----------------
Page 0x00B
0x00B0
0x00B2
0x00B4
0x00B6
0x00B8
0x00BA
0x00BC
0x00BE
Page 0x00C
0x00C0
0x00C2
0x00C4
0x00C6
0x00C8
0x00CA
0x00CC
0x00CE
Page 0x00D
0x00D0
0x00D2
0x00D4
0x00D6
0x00D8
0x00DA
0x00DC
0x00DE
Page 0x00E
0x00E0
0x00E2
0x00E4
0x00E6
0x00E8
0x00EA
0x00EC
0x00EE
Page 0x00F
0x00F0--------
0x00F2
0x00F4
0x00F6
0x00F8
0x00FA
0x00FC
0x00FE
CUST_ID_2
CUST_ID_3
CUST_ID_4
CUST_ID_5
CUST_ID_6
CUST_ID_0
CUST_ID_1
LUT_22
LUT_23
LUT_24
LUT_25
LUT_26
LUT_27
CRC_LUT
LUT_28
LUT_29
LUT_30
LUT_31
LUT_21
LUT_10
LUT_11
LUT_12
LUT_13
LUT_14
LUT_15
LUT_16
LUT_17
LUT_18
LUT_19
LUT_20
LUT_8
LUT_9
LUT_3
LUT_4
LUT_5
LUT_6
LUT_7
TMR_PERIOD
CRC_EEP
LUT_0
LUT_1
LUT_2
ANG_BASE
ACSTAT
MOD1
MOD2
IF123_CFG
IFABC_C FG
PWI_MOD
S_NR_EEPCRC_CFG
OUT_LIM_MIN
OUT_LIM_MAX
OUT_STAT_L
OUT_STAT_H
TMR_PREDIV
GMR-Based Angle Sensor
EEPROM Page Map
Figure 5 TLE5014 EEPROM bitmap
User’s Manual16Rev. 1.0
2019-03-12
Loading...
+ 37 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.