ST72321AR9-Auto STMicroelectronics, ST72321AR9-Auto Datasheet - Page 109

no-image

ST72321AR9-Auto

Manufacturer Part Number
ST72321AR9-Auto
Description
8-bit MCU for automotive with 60 Kbyte Flash, 10-bit ADC, timers, SPI, SCI and I2C interfaces
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72321AR9-Auto

Hdflash Endurance
100 cycles, data retention 20 years
Clock Sources
crystal/ceramic resonator oscillators, internal RC oscillator and bypass for external clock
4 Power Saving Modes
Halt, Active Halt, Wait and Slow
ST72321xx-Auto
Note:
1
2
3
4
5
The OC1R register value required for a specific timing application can be calculated using
the following formula:
Where:
If the timer clock is an external clock the formula is:
Where:
When the value of the counter is equal to the value of the contents of the OC1R register, the
OLVL1 bit is output on the OCMP1 pin (see
The OCF1 bit cannot be set by hardware in one pulse mode but the OCF2 bit can generate
an Output Compare interrupt.
When the Pulse Width Modulation (PWM) and One Pulse Mode (OPM) bits are both set, the
PWM mode is the only active one.
If OLVL1 = OLVL2 a continuous signal will be seen on the OCMP1 pin.
The ICAP1 pin cannot be used to perform input capture. The ICAP2 pin can be used to
perform input capture (ICF2 can be set and IC2R can be loaded) but the user must take
care that the counter is reset each time a valid edge occurs on the ICAP1 pin and ICF1 can
also generates interrupt if ICIE is set.
When one pulse mode is used OC1R is dedicated to this mode. Nevertheless OC2R and
OCF2 can be used to indicate a period of time has been elapsed but cannot generate an
output waveform because the level OLVL2 is dedicated to the one pulse mode.
Figure 52. One pulse mode timing example
t
f
PRESC = Timer prescaler factor (2, 4 or 8 depending on the CC[1:0] bits; see
Timer clock
t
f
CPU
EXT
Note: IEDG1 = 1, OC1R = 2ED0h, OLVL1 = 0, OLVL2 = 1
COUNTER
= Pulse period (in seconds)
= CPU clock frequency (in hertz)
= Pulse period (in seconds)
= External clock frequency (in hertz)
OCMP1
ICAP1
IC1R
selection)
01F8
FFFC FFFD FFFE
Doc ID 13829 Rev 1
OCiR value =
OCiR = t
OLVL2
Figure
*
f
t
EXT
01F8
*
f
PRESC
52).
CPU
- 5
compare1
2ED0
- 5
2ED1 2ED2
OLVL1
2ED3
FFFC
2ED3
OLVL2
16-bit timer
FFFD
Table 61:
109/243

Related parts for ST72321AR9-Auto