ST72321B STMICROELECTRONICS [STMicroelectronics], ST72321B Datasheet - Page 88
ST72321B
Manufacturer Part Number
ST72321B
Description
64/44-pin 8-bit MCU with 32 to 60K Flash/ROM, ADC, five timers, SPI, SCI, I2C interface
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST72321B.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72321BT6/NOTTR
Manufacturer:
ST
Quantity:
20 000
- Current page: 88 of 187
- Download datasheet (4Mb)
10.5 SERIAL PERIPHERAL INTERFACE (SPI)
10.5.1 Introduction
The Serial Peripheral Interface (SPI) allows full-
duplex, synchronous, serial communication with
external devices. An SPI system may consist of a
master and one or more slaves however the SPI
interface can not be a master in a multi-master
system.
10.5.2 Main Features
■
■
■
■
■
■
■
■
■
Figure 54. Serial Peripheral Interface Block Diagram
88/187
Full duplex synchronous transfers (on 3 lines)
Simplex synchronous transfers (on 2 lines)
Master or slave operation
Six master mode frequencies (f
f
SS Management by software or hardware
Programmable clock polarity and phase
End of transfer interrupt flag
Write collision, Master Mode Fault and Overrun
flags
MOSI
MISO
CPU
SCK
SS
/2 max. slave mode frequency (see note)
SOD
bit
SPIDR
8-Bit Shift Register
Read Buffer
SERIAL CLOCK
CPU
GENERATOR
CONTROL
MASTER
/4 max.)
Data/Address Bus
Read
Write
Note: In slave mode, continuous transmission is
not possible at maximum frequency due to the
software overhead for clearing status flags and to
initiate the next transmission sequence.
10.5.3 General Description
Figure 54
(SPI) block diagram. There are 3 registers:
The SPI is connected to external devices through
4 pins:
– SPI Control Register (SPICR)
– SPI Control/Status Register (SPICSR)
– SPI Data Register (SPIDR)
– MISO: Master In / Slave Out data
– MOSI: Master Out / Slave In data
– SCK: Serial Clock out by SPI masters and in-
put by SPI slaves
7
SPIE
SPIF WCOL
7
SPE
shows the serial peripheral interface
CONTROL
SPR2
OVR
STATE
SPI
Interrupt
request
MODF
MSTR
CPOL
0
CPHA
SOD
SS
SPICR
SPICSR
SSM
SPR1
0
1
SPR0
SSI
0
0
Related parts for ST72321B
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Low Cost, Real Time Emulator Series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Full-featured, real time emulator series for ST7
Manufacturer:
STMICROELECTRONICS [STMicroelectronics]
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
In-Circuit Programmer
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet:
Part Number:
Description:
Power Transformer
Manufacturer:
Superworld Electronics
Datasheet: