ST72C334J4TAE STMicroelectronics, ST72C334J4TAE Datasheet - Page 73
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
ST72C334J4TAE
Manufacturer Part Number
ST72C334J4TAE
Description
8-bit MCU for automotive with single voltage Flash/ROM memory, ADC, 16-bit timers, SPI, SCI interfaces
Manufacturer
STMicroelectronics
Datasheet
1.ST72C334J4TAE.pdf
(150 pages)
- Current page: 73 of 150
- Download datasheet (4Mb)
13.4 SERIAL PERIPHERAL INTERFACE (SPI)
13.4.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 or a system in
which devices may be either masters or slaves.
The SPI is normally used for communication be-
tween the microcontroller and external peripherals
or another microcontroller.
Refer to the
device-specific pinout.
13.4.2 Main Features
■
■
■
■
■
■
■
■
■
Figure 41. Serial Peripheral Interface Master/Slave
Full duplex, three-wire synchronous transfers
Master or slave operation
4 master mode frequencies
Maximum slave mode frequency = f
4 programmable master bit rates
Programmable clock polarity and phase
End of transfer interrupt flag
Write collision flag protection
Master mode fault protection capability
MSBit
8-BIT SHIFT REGISTER
GENERATOR
CLOCK
SPI
PIN DESCRIPTION
MASTER
LSBit
chapter for the
CPU
ST72334xx-Auto, ST72314xx-Auto, ST72124Jx-Auto
/4
SCK
MOSI
SS
MISO
+5V
13.4.3 General description
The SPI is connected to external devices through
four alternate pins:
A basic example of interconnections between a
single master and a single slave is illustrated on
Figure
The MOSI pins are connected together as are
MISO pins. In this way data is transferred serially
between master and slave (most significant bit
first).
When the master device transmits data to a slave
device via MOSI pin, the slave device responds by
sending data to the master device via the MISO
pin. This implies full duplex transmission with both
data out and data in synchronized with the same
clock signal (which is provided by the master de-
vice via the SCK pin).
Thus, the byte transmitted is replaced by the byte
received and eliminates the need for separate
transmit-empty and receiver-full bits. A status flag
is used to indicate that the I/O operation is com-
plete.
Four possible data/clock timing relationships may
be chosen (see
must be programmed with the same timing mode.
MOSI
MISO
– MISO: Master In Slave Out pin
– MOSI: Master Out Slave In pin
– SCK: Serial Clock pin
– SS: Slave select pin
SCK
SS
41.
Figure
8-BIT SHIFT REGISTER
MSBit
44) but master and slave
SLAVE
LSBit
73/150
Related parts for ST72C334J4TAE
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ST72C334](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4040BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [RIPPLE-CARRY BINARY COUNTER/DIVIDERS]
Manufacturer:
STMicroelectronics
Datasheet:
![HCF4054BF](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
STMicroelectronics [LIQUID-CRYSTAL DISPLAY DRIVERS]
Manufacturer:
STMicroelectronics
Datasheet:
![STEVAL-MKI062V2](/photos/28/39/283999/steval-mki062v2_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR MEMS SENSORS
Manufacturer:
STMicroelectronics
Datasheet:
![BUT32V](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
NPN TRANSISTOR POWER MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![STTA12006TV2](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
TURBOSWITCH ULTRA-FAST HIGH VOLTAGE DIODE
Manufacturer:
STMicroelectronics
Datasheet:
![E110NS20FD](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Manufacturer:
STMicroelectronics
Datasheet:
![MDS50-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![MDS35-800](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
DIODE / SCR MODULE
Manufacturer:
STMicroelectronics
Datasheet:
![E16N100](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search -----> STE16N100
Manufacturer:
STMicroelectronics
Datasheet:
![E53NA50](/images/manufacturer_photos/0/6/637/stmicroelectronics_tmb.jpg)
Part Number:
Description:
Search ---> STE53NA50
Manufacturer:
STMicroelectronics
Datasheet: