Infineon TLE4997 User Manual page 15

Configuration and calibration of linear hall sensor
Table of Contents

Advertisement

see above (like complete
readout procedure for
EEP_OLD)
Optionally do a last status
readout (adr. 0x0F) to check
the IF mode is still active
and the device is ok.
Figure 3-14 Programming Flow
The following chapters give a more detailed description of individual steps of the programming flow:
User's Manual
EEPROM
programming
V
= 5V
dd
INIT-CMD:
cmd=0x01
adr=0x0F
READ DATA
Is
0xF93D or
0xFB3D ?
CMD (write):
cmd=0x09
adr=0x21
DAT: 0x0640
(DSP, FEC,
REF off)
CMD (b read)
cmd=0x03
adc=0x10
RD. B-DATA
CMD (read)
cmd=0x01
10x 16bit
adc=0x18
READ DATA
CMD (read)
cmd=0x01
adc=0x19
READ DATA
Create erase
EEP_OLD
pattern for
2x 10x 16bit
EEP_NEW
programming
For each line I from 0x10 to 0x19:
EEP_PROG[i] = INVERT ((EEP_OLD[i] XOR EEP_NEW[i]) AND EEP_OLD[i])
(as precal areas must not be changed, the bits in this areas must remain ‚1')
EEP_PROG
CMD (bwrite)
cmd=0x0b
adc=0x10
WR. B-DATA
CMD (write)
cmd=0x09
adc=0x18
WR. DATA
CMD (write)
cmd=0x09
adc=0x19
WR. DATA
CMD (erase):
cmd=0x0D
adr=0x00
V
PULSE
prog
Create write
EEP_OLD
pattern for
EEP_NEW
programming
For each line I from 0x10 to 0x19:
EEP_PROG[i] = (EEP_OLD[i] XOR EEP_NEW[i]) AND EEP_NEW[i]
(as precal areas must not be changed, the bits in this areas must remain ‚0')
EEP_PROG
CMD (write):
cmd=0x0C
adr=0x00
V
PULSE
prog
CMD(marg.):
cmd=0x0E
adr=0x00
V
+V
-ramp
marg
dd
CMDs (read)
cmd=0x03/01
adr=0x10/8/9
READ DATA
content =
NO
EEP_NEW ?
required limit ?
V
= 0V (off)
dd
FINISHED
15
NO
> EEP_OLD <
Store this initial
dataset (allows
later restore)
> EEP_NEW <
Given by TC
setup and/or 2P
algorithms etc.
2x 10x 16bit
Readout could be looped for several
margin voltages (starting from a very
high voltage e.g. 5V) to find the margin
level of the EEPROM
margin higher
NO
TLE4997
User's Manual
TLE4997 Programming
ILLEGAL
STATUS:
analyse
problem
User input, TC
setup algorithm or
2P calibration
algorithm setup
ILLEGAL
MARGIN
READ:
analyse
problem
v01_01, 2019-08

Advertisement

Table of Contents
loading

Table of Contents