ST72C334N2T6 STMicroelectronics, ST72C334N2T6 Datasheet - Page 70

Microcontrollers (MCU) Flash 8K SPI/SCI

ST72C334N2T6

Manufacturer Part Number
ST72C334N2T6
Description
Microcontrollers (MCU) Flash 8K SPI/SCI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST72C334N2T6

Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
8 KB
Data Ram Size
384 B
Interface Type
SCI, SPI
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
32
Number Of Timers
16 bit
Operating Supply Voltage
3.2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
TQFP-64
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Lead Free Status / Rohs Status
In Transition

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72C334N2T6
Manufacturer:
STM
Quantity:
543
Part Number:
ST72C334N2T6
Manufacturer:
ST
0
Company:
Part Number:
ST72C334N2T6
Quantity:
534
Company:
Part Number:
ST72C334N2T6
Quantity:
30 000
ST72334J/N, ST72314J/N, ST72124J
6.5 SERIAL PERIPHERAL INTERFACE (SPI)
6.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 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 Pin Description chapter for the device-
specific pin-out.
6.5.2 Main Features
Figure 46. Serial Peripheral Interface Master/Slave
70/125
Full duplex, three-wire synchronous transfers
Master or slave operation
Four master mode frequencies
Maximum slave mode frequency = fCPU/2.
Four 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
MASTER
LSBit
MOSI
SCK
SS
MISO
+5V
6.5.3 General description
The SPI is connected to external devices through
4 alternate pins:
A basic example of interconnections between a
single master and a single slave is illustrated on
Figure 46.
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 Figure 49) but master and slave
must be programmed with the same timing mode.
– MISO: Master In Slave Out pin
– MOSI: Master Out Slave In pin
– SCK: Serial Clock pin
– SS: Slave select pin
MISO
MOSI
SCK
SS
8-BIT SHIFT REGISTER
MSBit
SLAVE
LSBit

Related parts for ST72C334N2T6