ST7232AK2-Auto STMicroelectronics, ST7232AK2-Auto Datasheet - Page 84

no-image

ST7232AK2-Auto

Manufacturer Part Number
ST7232AK2-Auto
Description
8-bit MCU for automotive, 16 Kbyte Flash, 10-bit ADC, 4 timers, SPI, SCI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7232AK2-Auto

Hdflash Endurance
100 cycles, data retention
Clock Sources
crystal/ceramic resonator oscillators and bypass for external clock
Four Power Saving Modes
halt, active halt, wait and slow
Main Clock Controller With
real time base, beep and clock-out capabilities
Two 16-bit Timers With
2 input captures, 2 output compares, PWM and pulse generator modes
On-chip peripherals
Note:
84/201
1
2
3
4
5
6
7
After reading the ICiHR register, transfer of input capture data is inhibited and ICFi is never
set until the ICiLR register is also read.
The ICiR register contains the free running counter value which corresponds to the most
recent input capture.
The 2 input capture functions can be used together even if the timer also uses the 2 output
compare functions.
In one pulse mode and PWM mode only input capture 2 can be used.
The alternate inputs (ICAP1 and ICAP2) are always directly connected to the timer. So any
transitions on these pins activates the input capture function.
Moreover if one of the ICAPi pins is configured as an input and the second one as an output,
an interrupt can be generated if the user toggles the output pin and if the ICIE bit is set.
This can be avoided if the input capture function i is disabled by reading the ICiHR
(see note 1).
The TOF bit can be used with interrupt generation in order to measure events that go
beyond the timer range (FFFFh).
In Flash devices, the ICAP2 registers (TAIC2HR, TAIC2LR) are not available on Timer A.
The corresponding interrupts cannot be used (ICF2 is forced by hardware to 0).
Figure 37. Input capture block diagram
ICAP1
ICAP2
pin
pin
16-bit
IC2R register
Edge detect
16-bit free running counter
circuit 2
Edge detect
IC1R register
circuit 1
ICF1
ICIE
ICF2
CC1
CR1 (control register 1)
CR2 (control register 2)
ST7232Axx-Auto
CC0
SR (status register)
0
IEDG2
IEDG1
0
0

Related parts for ST7232AK2-Auto