TLE5012B  3.1.0
The TLE5012B is a pre-calibrated 360° angle sensor that detects the orientation of a magnetic field. The raw signals (sine and cosine) are digitally processed internally to calculate the angle orientation of the magnetic field (magnet).
readAngleValueProcessing.hpp File Reference
#include "../../../../config/tle5012-conf.hpp"
#include <stdlib.h>
#include <wiced.h>
#include <TLE5012-platf-wiced.hpp>
#include <TLE5012-pal-wiced.hpp>
#include <TLE5012b.hpp>
#include "wiced_rtos.h"
Include dependency graph for readAngleValueProcessing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

readAngleValueProcessing

reads angle values

Author
Infineon Technologies AG
Version
3.1.0

This is a fast running example to demonstrate the possible readout speed of the sensor for the angle. Depending on your microcontroller more or less speed on the serial port is possible. For reconfiguring of the SPI interface, have a look at the documentation.

Attention
Use together with the several processing scripts
We use standard WiCED output speed of 115200 baud. If you need more, than switch the output setting to 1000000 baud and a 10ms delay in the loop. You can set smaller values down to 1ms, but that will somehow overload the console log output.

SPDX-License-Identifier: MIT

void application_start ()
 

Function Documentation

◆ application_start()

void application_start ( )