ST72321J7-Auto STMicroelectronics, ST72321J7-Auto Datasheet - Page 5

no-image

ST72321J7-Auto

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

Specifications of ST72321J7-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
13
12.3
16-bit timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
13.1
13.2
13.3
13.4
13.5
13.6
13.7
12.2.1
12.2.2
12.2.3
12.2.4
12.2.5
12.2.6
12.2.7
12.2.8
12.2.9
ART registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
12.3.1
12.3.2
12.3.3
12.3.4
12.3.5
12.3.6
12.3.7
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
13.3.1
13.3.2
13.3.3
13.3.4
13.3.5
13.3.6
13.3.7
Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Summary of timer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
16-bit timer registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
13.7.1
13.7.2
13.7.3
Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Counter clock and prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Counter and prescaler initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Output compare control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Independent PWM signal generation . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Output compare and time base interrupt . . . . . . . . . . . . . . . . . . . . . . . . 90
External clock and event detector mode . . . . . . . . . . . . . . . . . . . . . . . . 90
Input capture function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
External interrupt capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Control/status register (ARTCSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Counter access register (ARTCAR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Auto-reload register (ARTARR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
PWM control register (PWMCR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Duty cycle registers (PWMDCRx) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Input capture control / status register (ARTICCSR) . . . . . . . . . . . . . . . . 96
Input capture registers (ARTICRx) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
External clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Input capture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Output compare . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Forced compare output capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
One Pulse mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Pulse width modulation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Control register 1 (CR1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Control register 2 (CR2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Control/status register (CSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Doc ID 13829 Rev 1
Contents
5/243

Related parts for ST72321J7-Auto