ST7FL15F1MAE STMICROELECTRONICS [STMicroelectronics], ST7FL15F1MAE Datasheet - Page 61

no-image

ST7FL15F1MAE

Manufacturer Part Number
ST7FL15F1MAE
Description
8-bit MCU for automotive with single voltage Flash/ROM memory, data EEPROM, ADC, 5 timers, SPI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
DUAL 12-BIT AUTORELOAD TIMER 4 (cont’d)
– At the second input capture on the falling edge of
Figure 43. Long Range Input Capture Timing Diagram
the pulse, we assume that the values in the reg-
isters are as follows:
LTICR = LT2
ATICRH = ATH2
ATICRL = ATL2
Hence ATICR2 [11:0] = ATH2 & ATL2
f
TB Counter1
CNTR1
LTIC
LTICR
ATICRH
ATICRL
OSC/32
_ _ _
F9h
00h
00h
0h
00h
LT1
ATH1 & ATL1
F9h
00h
Now pulse width P between first capture and sec-
ond capture will be:
P = decimal (F9 – LT1 + LT2 + 1) * 0.004ms + dec-
imal ((FFF * N) + N + ATICR2 - ATICR1 – 1) * 1ms
where N = No of overflows of 12-bit CNTR1.
ATH1
LT1
ATL1
_ _ _
_ _ _
ATICR = ATICRH[3:0] & ATICRL[7:0]
_ _ _
_ _ _
LT2
_ _ _
ATH2 & ATL2
ST7L15, ST7L19
ATH2
ATL2
LT2
_ _ _
61/138
1

Related parts for ST7FL15F1MAE