ST92124V1Q-Auto STMicroelectronics, ST92124V1Q-Auto Datasheet - Page 250

no-image

ST92124V1Q-Auto

Manufacturer Part Number
ST92124V1Q-Auto
Description
8-bit MCU for automotive
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST92124V1Q-Auto

Internal Memory
Single Voltage FLASH up to 256 Kbytes, RAM up to 8Kbytes, 1K byte E3 TM (Emulated EEPROM)
Minimum Instruction Time
83 ns (24 MHz int. clock)
ST92124xxx-Auto/150xxxxx-Auto/250xxxx-Auto
10.7 SERIAL PERIPHERAL INTERFACE (SPI)
10.7.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.
10.7.2 Main Features
10.7.3 General Description
The SPI is connected to external devices through
4 alternate function pins:
Figure 120. Serial Peripheral Interface Master/Slave
250/430
9
– MISO: Master In Slave Out pin
Full duplex, three-wire synchronous transfers
Master or slave operation
Maximum slave mode frequency = INTCLK/2.
Programmable prescalers for a wide range of
baud 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
SCK
MOSI
SS
MISO
+5V
To use any of these alternate functions (input or
output), the corresponding I/O port must be pro-
grammed as alternate function output.
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.
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.
Various data/clock timing relationships may be
chosen (see
must be programmed with the same timing mode.
– MOSI: Master Out Slave In pin
– SCK: Serial Clock pin
– SS: Slave select pin
MISO
MOSI
SCK
SS
120.
Figure
8-BIT SHIFT REGISTER
MSBit
123) but master and slave
SLAVE
LSBit

Related parts for ST92124V1Q-Auto