ST72521R9-Auto STMicroelectronics, ST72521R9-Auto Datasheet - Page 6

no-image

ST72521R9-Auto

Manufacturer Part Number
ST72521R9-Auto
Description
8-bit MCU for automotive
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72521R9-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
Contents
14
6/276
Serial peripheral interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
14.1
14.2
14.3
14.4
14.5
14.6
14.7
14.8
13.7.4
13.7.5
13.7.6
13.7.7
13.7.8
13.7.9
13.7.10 Counter high register (CHR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.7.11 Counter low register (CLR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
13.7.12 Alternate counter high register (ACHR) . . . . . . . . . . . . . . . . . . . . . . . . 121
13.7.13 Alternate counter low register (ACLR) . . . . . . . . . . . . . . . . . . . . . . . . . 122
13.7.14 Input capture 2 high register (IC2HR) . . . . . . . . . . . . . . . . . . . . . . . . . 122
13.7.15 Input capture 2 low register (IC2LR) . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
General description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
14.3.1
14.3.2
14.3.3
14.3.4
14.3.5
14.3.6
Clock phase and clock polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Error flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
14.5.1
14.5.2
14.5.3
14.5.4
Low power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
14.6.1
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
SPI registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
14.8.1
14.8.2
14.8.3
Input capture 1 high register (IC1HR) . . . . . . . . . . . . . . . . . . . . . . . . . 119
Input capture 1 low register (IC1LR) . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Output compare 1 high register (OC1HR) . . . . . . . . . . . . . . . . . . . . . . 120
Output compare 1 low register (OC1LR) . . . . . . . . . . . . . . . . . . . . . . . 120
Output compare 2 high register (OC2HR) . . . . . . . . . . . . . . . . . . . . . . 120
Output compare 2 low register (OC2LR) . . . . . . . . . . . . . . . . . . . . . . . 121
Functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Slave select management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Master mode operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Master mode transmit sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Slave mode operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Slave mode transmit sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Master mode fault (MODF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Overrun condition (OVR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Write collision error (WCOL) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Single master systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Using the SPI to wake up the MCU from Halt mode . . . . . . . . . . . . . . 133
Control register (SPICR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Control/status register (SPICSR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Data I/O register (SPIDR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Doc ID 17660 Rev 1
ST72521xx-Auto

Related parts for ST72521R9-Auto