Writing Eeprom With Sici - Infineon TLE5014P16 User Manual

Gmr-based angle sensor
Table of Contents

Advertisement

TLE5014
GMR-Based Angle Sensor
Examples
Table 22
Reading of EEPROM page 0x006) (cont'd)
Type
Command
read
0x8671
Sensor stays in this mode with SICI interface enabled. To return to normal interface, sensor reset is necessary
(can be done by power-down or sending the reset command 0x0001 to address 0x01:
write
0x4011
9.7

Writing EEPROM with SICI

The following example in
0x006. In this example, it is assumed, that the sensor is connected in a bus mode configuration and has the
ID = 1. First the EEPROM page 0x006 is mapped to registers 0x60 to 0x67. Then these registers are read. After
that the content of the registers 0x60 and 0x67 can be changed. Care has to be taken that reserved bits and
bits which shall not be changed are written back without modification. Following that the EEPROM is burned.
Further details for bus mode programming can be found in
Table 23
Writing of EEPROM page 0x006)
Type
Command
write
0x0771
write
0x06C1
wait until power-on of sensor is finished
write
0x47A1
write
0x06C1
write
0x4681
read
0xC601
...
read
0x8671
write
0x0601
write
...
User's Manual
Data
DATA
0x0001
Table 23
shows the commands which have to be executed to write the EEPROM page
Data
0x4711
0x4000
0x05A9
0xC000
0x0006
DATA
...
DATA
newDATA
...
Comment
Ready DATA from register 0x67, corresponds to content
of EEPROM address 0x006E
Reset command, sensor restarts with default interface
Chapter
6.3.
Comment
Write command to address 0x77
unlocks registers
Write command to address 0x6C with DATA 0x4000
sensor will stay with SICI interface after power-on time
and not switch to preconfigured interface
SENT/SPC/PWM;
The first two commands have to be sent within the start-
up time of the sensor.
Write ID-WORD for ID=1 to address 0x7A;
only sensor with ID=1 is addressed; only necessary in
case of programming in a bus mode configuration
Write command to address 0x6C with DATA 0xC000
internal DSP is stopped
Maps EEPROM page 0x006 to registers 0x60 ... 0x67
(WRITE command to address 0x68)
Reads DATA from register 0x60,
corresponds to content of EEPROM address 0x0060
...
Ready DATA from register 0x67, corresponds to content
of EEPROM address 0x006E
Writes newDATA to register 0x60,
corresponds to intended new content of EEPROM
address 0x0060
...
50
Rev. 1.0
2019-03-12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tle5014s16Tle5014c16Tle5014s16dTle5014c16dTle5014p16d

Table of Contents