ST7LITE49K2 STMicroelectronics, ST7LITE49K2 Datasheet - Page 93

no-image

ST7LITE49K2

Manufacturer Part Number
ST7LITE49K2
Description
8-bit MCU
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7LITE49K2

8 Kbytes Single Voltage Extended Flash (xflash) Program Memory With Read-out Protection In-circuit Programming And In-application Programming (icp And Iap) Endurance
10K write/erase cycles guaranteed Data retention
256 Bytes Data Eeprom With Read-out Protection. 300k Write/erase Cycles Guaranteed, Data Retention
20 years at 55 °C.
Clock Sources
Internal trimmable 8 MHz RC oscillator, auto-wakeup internal low power - low frequency oscillator, crystal/ceramic resonator or external clock
Five Power Saving Modes
Halt, Active-halt, Auto-wakeup from Halt, Wait and Slow

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST7LITE49K2
Manufacturer:
ST
0
ST7LITE49K2
Figure 47. Long range input capture block diagram
Since the Input Capture flags (ICF) for both timers (AT4 timer and LT timer) are set when
signal transition occurs, software must mask one interrupt by clearing the corresponding
ICIE bit before setting the ICS bit.
If the ICS bit changes (from 0 to 1 or from 1 to 0), a spurious transition might occur on the
Input Capture signal because of different values on LTIC and ATIC. To avoid this situation, it
is recommended to do as follows:
1.
2.
3.
4.
Computing a pulse length in long Input Capture mode is not straightforward since both
timers are used. The following steps are required:
1.
2.
First, reset both ICIE bits.
Then set the ICS bit.
Reset both ICF bits.
And then set the ICIE bit of desired interrupt.
At the first Input Capture on the rising edge of the pulse, we assume that values in the
registers are the following:
At the second Input Capture on the falling edge of the pulse, we assume that the values
in the registers are as follows:
ATIC
LTIC
LTICR = LT1
ATICRH = ATH1
ATICRL = ATL1
Hence ATICR1 [11:0] = ATH1 & ATL1. Refer to
LTICR = LT2
ATICRH = ATH2
ATICRL = ATL2
Hence ATICR2 [11:0] = ATH2 & ATL2.
ICS
1
0
32 MHz
f
LTIMER
OFF
f
cpu
f
OSC/32
LTICR
CNTR1
ATR1
ATICR
12-bit Input Capture register
8-bit Input Capture register
12-bit AutoReload register
8-bit Timebase Counter1
12-bit Upcounter1
12-Bit ARTIMER
LITE TIMER
Figure 48 on page
8 LSB bits
12 MSB bits
On-chip peripherals
94.
20
cascaded
bits
93/245

Related parts for ST7LITE49K2