ST72324BK2 STMicroelectronics, ST72324BK2 Datasheet - Page 106

no-image

ST72324BK2

Manufacturer Part Number
ST72324BK2
Description
5V RANGE 8-BIT MCU WITH 8 TO 32K FLASH/ROM, 10-BIT ADC, 4 TIMERS, SPI, SCI INTERFACE
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72324BK2

Hdflash Endurance
1 kcycle at 55 °C, data retention 40 years at 85 °C
Clock Sources
crystal/ceramic resonator oscillators, int. RC osc. and ext. clock input
4 Power Saving Modes
Slow, Wait, Active-halt, and Halt
On-chip peripherals
106/193
Table 56.
SPI control/status register (SPICSR)
Table 57.
SPICSR
Bit
7
6
5
4
3
SPIF
RO
7
WCOL
MODF
Name
SPIF
OVR
-
SPI master mode SCK frequency (continued)
SPICSR register description
Serial peripheral data transfer flag
Write collision status
SPI Overrun error
Mode fault flag
Reserved, must be kept cleared.
WCOL
Serial clock
This bit is set by hardware when a transfer has been completed. An interrupt is
generated if SPIE = 1 in the SPICR register. It is cleared by a software sequence (an
access to the SPICSR register followed by a write or a read to the SPIDR register).
0: Data transfer is in progress or the flag has been cleared
1: Data transfer between the device and an external device has been completed.
Note: While the SPIF bit is set, all writes to the SPIDR register are inhibited until the
SPICSR register is read.
This bit is set by hardware when a write to the SPIDR register is done during a
transmit sequence. It is cleared by a software sequence (see
0: No write collision occurred
1: A write collision has been detected.
This bit is set by hardware when the byte currently being received in the shift register
is ready to be transferred into the SPIDR register while SPIF = 1 (see
condition (OVR) on page
register. The OVR bit is cleared by software reading the SPICSR register.
0: No overrun error
1: Overrun error detected
This bit is set by hardware when the SS pin is pulled low in master mode (see
Master mode fault (MODF) on page
SPIE = 1 in the SPICSR register. This bit is cleared by a software sequence (An
access to the SPICR register while MODF = 1 followed by a write to the SPICR
register).
0: No master mode fault detected
1: A fault in master mode has been detected.
RO
6
f
f
f
f
CPU
CPU
CPU
CPU
/128
/16
/32
/64
OVR
RO
5
MODF
102). An interrupt is generated if SPIE = 1 in SPICR
RO
4
SPR2
Reserved
Function
102). An SPI interrupt can be generated if
0
1
0
0
3
-
SOD
R/W
2
SPR1
Reset value: 0000 0000 (00h)
0
1
1
1
Figure
SSM
R/W
1
55).
ST72324Bxx
Overrun
SPR0
1
0
0
1
R/W
SSI
0

Related parts for ST72324BK2