Firmware User Manual (AE-step)
110
Revision 1.02
2019-04-24
TLE984x Firmware User Manual
Appendix D – Analog Module Trimming (100TP Pages)
The TLE984x contains 8 x 100TP (100 Time Programmable) pages and each page has a size of 128 bytes but
only the first 126 Bytes are usable. The last two Bytes of each 100TP page store the programming counter
followed by the page checksum Byte.
The first page is 100TP_Page0 and the latest one is Pges are counted
User could read and write into the 100TP pages using the user API functions :
- user_nvm_100tp_read
- user_nvm_100tp_write
In case the checksum of any page is incorrect, the whole content of the 100TP pages is ignored and considered
as unsafe.
Each user_nvm_100tp_write page programming operation leads to a programming counter increase.
user_nvm_100tp_write returns with an error in case the user tries to program one page where the counter has
reached 100 programming cycles. Page programming counter range is from 0 - 99.
The first and second 100TP pages contain customer specific analog module trimming values.
Table 6-8 100TP page 0 and page 1 : Analog Module Trimming registers
Data
Offset
100 TP Page 0
SFR Registers to TRIM
100 TP Page 1
SFR Register to TRIM
0x00
ADC1_DUIN_SEL
ADC1_SQ2_3
0x04
ADC1_MMODE0_11
ADC1_SQ0_1
0x08
ADC1_DCHCNT1_4_UPPER
ADC1_OFFSETCALIB
0x0C
ADC1_CNT8_11_UPPER
0x10
ADC1_CNT4_7_UPPER
0x14
ADC1_CNT0_3_UPPER
0x18
ADC1_DCHCNT1_4_LOWER
0x1C
ADC1_CNT8_11_LOWER
0x20
ADC1_CNT4_7_LOWER
0x24
ADC1_CNT0_3_LOWER
0x28
ADC1_DCHTH1_4_UPPER
0x2C
ADC1_TH8_11_UPPER
0x30
ADC1_TH4_7_UPPER
0x34
ADC1_TH0_3_UPPER
0x38
ADC1_TH8_11_LOWER
0x3C
ADC1_CTRL2
0x40
ADC1_TH4_7_LOWER
0x44
ADC1_TH0_3_LOWER
0x48
ADC1_FILT_LO_CTRL