Skip to content

This repository includes an library for Arduino for the TLE5012 Magnetic Angle Sensor with SSC interface.

License

Notifications You must be signed in to change notification settings

OlafFilies/xensiv-angle-sensor-tlx5012

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XENSIV TLx5012B Angle Sensor

PlatformIO CI Arduino CI Doxygen GH

bulk sensor breakout board Sensor2Go kit

Library of Infineon's highly sensitive TLx5012B 360° magnetic angle sensor.

Supported Frameworks

Arduino API WICED API TLE5012B API
TLx5012B Register API
Getting Started Getting Started Porting Guide

Summary

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 TLx5012B 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 TLx5012B: 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

Installation, Documentation, Variants etc.

Please have a look at the wiki for all questions about this library and the sensor.

More information and links

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This repository includes an library for Arduino for the TLE5012 Magnetic Angle Sensor with SSC interface.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 58.6%
  • C 32.6%
  • Processing 7.1%
  • Makefile 1.7%