Skip to content
Filies Olaf (IFAG DES TCP PSA) edited this page Feb 4, 2021 · 5 revisions

Welcome to the TLE5012-Magnetic-Angle-Sensor wiki!

This library enables the usage of the Infineon TLE5012B magnetic angle sensor for different variants of this sensor, different setups and on different platforms. You can find all the related information in this wiki.

TLE5012B

The TLE5012B is a 360° angle sensor that detects the orientation of a magnetic field. This is achieved by measuring sine and cosine angle components with monolithic integrated Giant Magneto Resistance (iGMR) elements. These raw signals (sine and cosine) are digitally processed internally to calculate the angle orientation of the magnetic field (magnet). The TLE5012B is a pre-calibrated sensor. The calibration parameters are stored in laser fuses. At start-up the values of the fuses are written into flip-flops, where these values can be changed by the application-specific parameters. Further precision of the angle measurement over a wide temperature range and a long lifetime can be improved by enabling an optional internal auto calibration algorithm. Data communications are accomplished with a bi-directional Synchronous Serial Communication (SSC) that is SPI-compatible. The sensor configuration is stored in registers, which are accessible by the SSC interface. Additionally four other interfaces are available with the TLE5012B: Pulse-Width-Modulation (PWM) Protocol, Short-PWM-Code (SPC) Protocol, Hall Switch Mode (HSM) and Incremental Interface (IIF). These interfaces can be used in parallel with SSC or alone. Pre-configured sensor derivate with different interface settings are available.

Key Features and Benefits

  • Giant Magneto Resistance (GMR)-based principle
  • Integrated magnetic field sensing for angle measurement
  • 360° angle measurement with revolution counter and angle speed measurement
  • Two separate highly accurate single bit SD-ADC
  • 15 bit representation of absolute angle value on the output (resolution of 0.01°)
  • 16 bit representation of sine / cosine values on the interface
  • Max. 1.0° angle error over lifetime and temperature-range with activated auto-calibration
  • Bi-directional SSC Interface up to 8 Mbit/s
  • Interfaces: SSC, PWM, Incremental Interface (IIF), Hall Switch Mode (HSM), Short PWM Code (SPC, based on SENT protocol defined in SAE J2716)
  • Output pins can be configured (programmed or pre-configured) as push-pull or open-drain
  • Bus mode operation of multiple sensors on one line is possible with SSC or SPC interface

Features

  • Basic sensor driver for the SSC interface
  • Full set of register functions for controlling the DSP
  • Supported software frameworks
    • Arduino
    • Infineon XMC1100 BootKit, XMC4700 RelaxKit
    • Cypress WICED 43xxx

Wiki Sections

1. Home
2. Library Details Library architecture, general API and usage information
3. Hardware Platforms List of supported microcontroller platforms
4. Software Frameworks List of supported embedded software frameworks and specific APIs
5. Examples Description of the library examples
6. Related Links Useful links related to this repository