Sici Application Example: Eeprom Read/Write - Infineon TLE5014P16 User Manual

Gmr-based angle sensor
Table of Contents

Advertisement

TLE5014
GMR-Based Angle Sensor
SICI
In the application, the chip will switch into SENT/SPC/PWM mode (depending on pre programmed
configuration) after startup. Therefore the SICI can only be entered during startup and internal settings have
to be modified to keep the SICI in case it shall be used for programming purpose.
The following sequence has to be performed to read a register (angle value register AVAL 0x02 in this example):
Power on the sensor, wait at least 10 µs to allow the internal voltages to stabilize:
Set the KEEP_IF bit to ensure the SICI is not disabled after startup:
– WRITE-CMD to 0x6C: 0x06C1
– DATA: 0x4000 (keep SICI after startup)
– Read Safety word
Wait until startup is finished; refer to the TLE5014 data sheet for power-on time specification
The 15-bit angle value can be read to get data for the angle base or look-up table programming:
– READ-CMD to 0x02: 0x8021
– Read DATA (send 0x0000)
– Read Safety word
6.2.5

SICI Application Example: EEPROM read/write

Sensor and micro controller must use an open-drain output, so they can actively pull only a 0 V level; the 5 V
level is achieved by an external pull-up resistor.
In the application, the chip will switch into SENT/SPC/PWM mode (depending on pre programmed
configuration) after startup. Therefore the SICI can only be entered during startup and internal settings have
to be modified to keep the SICI in case it shall be used for programming purpose.
The following sequence has to be performed to allow an EEPROM read/write via SICI:
Power on the sensor, wait at least 10 µs to allow the internal voltages to stabilize
Write unlock word 0x4711 to 0x77 to enable access to the registers:
– WRITE-CMD to 0x77: 0x0771
– DATA: 0x4711 (unlock)
– Read Safety word
Set the KEEP_IF bit to ensure the SICI is not disabled after startup:
– WRITE-CMD to 0x6C: 0x06C1
– DATA: 0x4000 (keep SICI after startup)
– Read Safety word
Wait until startup is finished; refer to the TLE5014 data sheet for power-on time specification
For reading or writing EEPROM content, the internal controller has to be switched off:
– WRITE-CMD to 0x6C: 0x06C1
– DATA: 0xC000 (switch off DSP)
– Read Safety word
Now the EEPROM-reading / writing can be entered (see
After writing/reading the EEPROM, send a write command to the ACSTAT register (address 0x01) with data
word 0x0001 to trigger a chip reset:
– WRITE-CMD to 0x01: 0x4011
– DATA: 0x0001 (chip reset)
User's Manual
Chapter
7)
37
Rev. 1.0
2019-03-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tle5014s16Tle5014c16Tle5014s16dTle5014c16dTle5014p16d

Table of Contents