Temporary Overwrite Of Eeprom Data - Infineon TLE4997 User Manual

Configuration and calibration of linear hall sensor
Table of Contents

Advertisement

– This readout might be looped for reading out also other parameters (like TCAL)
7. Check the status register again
Note: This routine can be merged with other (exemplary shown) routines. In that case only one initial frame (the
very first interface access) is required after power-on.
3.6.8

Temporary overwrite of EEPROM data

Following steps are required to readout other internal data like the calibrated temperature and Hall value (as
shown below
Table
3-16). As the error correction stays disabled, it is not necessary to use correct parity values
for this temporary setup. In case the parity is always corrected (and it is desired to check the complete behavior
and correct EEPROM array calculation), the "FECoff" bit could be switched off again after the temporary EEPROM
write.
Optionally do a last status
readout (adr. 0x0F) to check
the IF mode is still active
and the device is ok.
Figure 3-16 Basic EEPROM register overwrite flow
Flowchart description:
1. Switch on the device
2. Send an inital command (status register readout)
3. Read the status data,check that the device is valid and the EEPROM content is valid
4. Set the test register: DSP off=1 FEC off=1 REF off=1 (see previous chapter)
5.
Send a write command (for any EEPROM register)
Send the data words (in 16bit format, MSBs containing the parity may be kept '0')
6.
Set the test register: FEC off=1 REF off=1 (see previous chapter)
- The device is now temporarily working with the new EEPROM setting.
7. Check the status register again
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 (write)
All o t h e r EEPR OM
cmd=0x09
r e g i s t e r s c a n b e
adr=0x10..19
written here in a loop
(as required).
WR. DATA
CMD (write):
cmd=0x09
adr=0x21
DAT: 0x0250
(FEC, REF
Here the output should
off)
show (temporarily) the
desired result (before
s w i t c h i n g o f f t h e
V
= 0V (off)
supply, of course).
dd
FINISHED
18
TLE4997 Programming
NO
TLE4997
User's Manual
ILLEGAL
STATUS:
analyse
problem
v01_01, 2019-08

Advertisement

Table of Contents
loading

Table of Contents