ST72F324BJ STMICROELECTRONICS [STMicroelectronics], ST72F324BJ Datasheet - Page 97

no-image

ST72F324BJ

Manufacturer Part Number
ST72F324BJ
Description
8-bit MCU, 3.8 to 5.5 V operating range with 8 to 32 Kbyte Flash/ROM, 10-bit ADC, 4 timers, SPI, SCI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72F324BJ2B6
Manufacturer:
ST
0
Part Number:
ST72F324BJ2T3
Manufacturer:
ST
0
Part Number:
ST72F324BJ2T6
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
ST72F324BJ2T6
Manufacturer:
ST
0
Part Number:
ST72F324BJ2TA
Manufacturer:
ST
Quantity:
470
Part Number:
ST72F324BJ2TA
Manufacturer:
ST
0
Part Number:
ST72F324BJ2TAXS
Manufacturer:
STM
Quantity:
5 081
Part Number:
ST72F324BJ4T6
Manufacturer:
ZETEX
Quantity:
4 300
Part Number:
ST72F324BJ4T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST72F324BJ4TA
Manufacturer:
ST
Quantity:
750
ST72324B
10.4.5
Note:
Note:
Error flags
Master mode fault (MODF)
Master mode fault occurs when the master device has its SS pin pulled low.
When a Master mode fault occurs:
Clearing the MODF bit is done through a software sequence:
1.
2.
To avoid any conflicts in an application with multiple slaves, the SS pin must be pulled high
during the MODF bit clearing sequence. The SPE and MSTR bits may be restored to their
original state during or after this clearing sequence.
Hardware does not allow the user to set the SPE and MSTR bits while the MODF bit is set
except in the MODF bit clearing sequence.
Overrun condition (OVR)
An overrun condition occurs, when the master device has sent a data byte and the slave
device has not cleared the SPIF bit issued from the previously transmitted byte.
When an Overrun occurs the OVR bit is set and an interrupt request is generated if the SPIE
bit is set.
In this case, the receiver buffer contains the byte sent after the SPIF bit was last cleared. A
read to the SPIDR register returns this byte. All other bytes are lost.
The OVR bit is cleared by reading the SPICSR register.
Write collision error (WCOL)
A write collision occurs when the software tries to write to the SPIDR register while a data
transfer is taking place with an external device. When this happens, the transfer continues
uninterrupted and the software write is unsuccessful.
Write collisions can occur both in master and slave mode. See also
management on page
A read collision will never occur since the received data byte is placed in a buffer in which
access is always synchronous with the MCU operation.
The WCOL bit in the SPICSR register is set if a write collision occurs.
No SPI interrupt is generated when the WCOL bit is set (the WCOL bit is a status flag only).
A software sequence clears the WCOL bit (see
A read access to the SPICSR register while the MODF bit is set.
A write to the SPICR register.
The MODF bit is set and an SPI interrupt request is generated if the SPIE bit is
set.
The SPE bit is reset. This blocks all output from the device and disables the SPI
peripheral.
The MSTR bit is reset, thus forcing the device into slave mode.
93.
Figure
55).
Slave Select
On-chip peripherals
97/188

Related parts for ST72F324BJ