ST92T141K4M6 STMicroelectronics, ST92T141K4M6 Datasheet - Page 135

no-image

ST92T141K4M6

Manufacturer Part Number
ST92T141K4M6
Description
Microcontrollers (MCU) OTP EPROM 16K SPI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST92T141K4M6

Data Bus Width
8 bit, 16 bit
Program Memory Type
EPROM
Program Memory Size
16 KB
Data Ram Size
512 B
Interface Type
SPI
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
15
Number Of Timers
2
Operating Supply Voltage
4.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SO-34
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 6 Channel
Lead Free Status / Rohs Status
No

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92T141K4M6
Manufacturer:
ST
0
7.5 SERIAL PERIPHERAL INTERFACE (SPI)
7.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.
7.5.2 Main Features
7.5.3 General Description
The SPI is connected to external devices through
4 alternate pins:
Figure 72. Serial Peripheral Interface Master/Slave
Full duplex, three-wire synchronous transfers
Master or slave operation
Four master mode frequencies
Maximum slave mode frequency = INTCLK/2.
Fully programmable 3-bit prescaler for a wide
range of baud rates, plus a programmable
divider by 2
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
ST92141 - SERIAL PERIPHERAL INTERFACE (SPI)
MOSI
SCK
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 (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.
– MISO: Master In Slave Out pin
– MOSI: Master Out Slave In pin
– SCK: Serial Clock pin
– SS: Slave select pin
MISO
MOSI
SCK
SS
72.
Figure
8-BIT SHIFT REGISTER
MSBit
75) but master and slave
SLAVE
LSBit
135/179
9

Related parts for ST92T141K4M6