ST92141 STMicroelectronics, ST92141 Datasheet - Page 137
![no-image](/images/manufacturer_photos/0/6/637/stmicroelectronics_sml.jpg)
ST92141
Manufacturer Part Number
ST92141
Description
8/16-bit Mcu For 3-phase Ac Motor Control
Manufacturer
STMicroelectronics
Datasheet
1.ST92141.pdf
(179 pages)
- Current page: 137 of 179
- Download datasheet (3Mb)
SERIAL PERIPHERAL INTERFACE (Cont’d)
7.5.4 Functional Description
Figure 73
(SPI) block diagram.
This interface contains 4 dedicated registers:
Refer to the CR, PR, SR and DR registers in Sec-
tion 7.5.6for the bit definitions.
7.5.4.1 Master Configuration
In a master configuration, the serial clock is gener-
ated on the SCK pin.
Procedure
– A Control Register (CR)
– A Prescaler Register (PR)
– A Status Register (SR)
– A Data Register (DR)
– Define the serial clock baud rate by setting/re-
– Select the CPOL and CPHA bits to define one
– The SS pin must be connected to a high level
– The MSTR and SPOE bits must be set (they
setting the DIV2 bit of PR register, by writing a
prescaler value in the PR register and pro-
gramming the SPR0 & SPR1 bits in the CR
register.
of the four relationships between the data
transfer and the serial clock (see
signal during the complete byte transmit se-
quence.
remain set only if the SS pin is connected to a
high level signal).
shows the serial peripheral interface
Figure
ST92141 - SERIAL PERIPHERAL INTERFACE (SPI)
75).
In this configuration the MOSI pin is a data output
and to the MISO pin is a data input.
Transmit Sequence
The transmit sequence begins when a byte is writ-
ten the DR register.
The data byte is parallel loaded into the 8-bit shift
register (from the internal bus) during a write cycle
and then shifted out serially to the MOSI pin most
significant bit first.
When data transfer is complete:
During the last clock cycle the SPIF bit is set, a
copy of the data byte received in the shift register
is moved to a buffer. When the DR register is read,
the SPI peripheral returns this buffered value.
Clearing the SPIF bit is performed by the following
software sequence:
1. An access to the SR register while the SPIF bit
2. A write or a read of the DR register.
Note: While the SPIF bit is set, all writes to the DR
register are inhibited until the SR register is read.
– The SPIF bit is set by hardware
– An interrupt is generated if the SPIS and SPIE
is set
bits are set.
137/179
9
Related parts for ST92141
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![BUF420A](/images/no-image3.png)
Part Number:
Description:
HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR
Manufacturer:
ST Microelectronics
Datasheet:
![ST62E25C](/images/no-image3.png)
Part Number:
Description:
(ST62T15C / ST62T25C) 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
![ST62T35B](/images/no-image3.png)
Part Number:
Description:
(ST62E35B / ST62T35B) 8-BIT OTP/EPROM MCUs
Manufacturer:
ST Microelectronics
Datasheet:
![ST62T42B](/images/no-image3.png)
Part Number:
Description:
8-BIT OTP/EPROM MCU WITH LCD DRIVER / EEPROM AND A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
![BC287](/images/no-image3.png)
Part Number:
Description:
AUdio Amplifier
Manufacturer:
ST Microelectronics
Datasheet:
![STX817](/images/no-image3.png)
Part Number:
Description:
NPN MEDIUM POWER TRANSISTOR
Manufacturer:
ST Microelectronics
Datasheet:
![ST90135](/images/no-image3.png)
Part Number:
Description:
(ST90135 / ST90158) Microcontroller
Manufacturer:
ST Microelectronics
![ST90T28](/images/no-image3.png)
Part Number:
Description:
(ST90x27 / ST90x28) 16K EPROM HCMOS MCUS WITH RAM
Manufacturer:
ST Microelectronics
Datasheet:
![ST90R28B1](/images/no-image3.png)
Part Number:
Description:
(ST90R28B6) 16K ROM / 256 RAM HCMOS MCUs
Manufacturer:
ST Microelectronics
![ST90T31](/images/no-image3.png)
Part Number:
Description:
(ST90x31) 8K EPROM HCMOS MCU
Manufacturer:
ST Microelectronics
Datasheet:
![ST92195D](/images/no-image3.png)
Part Number:
Description:
(ST92195C/D) 48-96 Kbyte ROM HCMOS MCU
Manufacturer:
ST Microelectronics
![ST9291](/images/no-image3.png)
Part Number:
Description:
16-48K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND VOLTAGE TUNINGOUTPUT
Manufacturer:
ST Microelectronics
Datasheet:
![ST9293](/images/no-image3.png)
Part Number:
Description:
48K ROM HCMOS MCUs WITH ON SCREEN DISPLAY AND A/D CONVERTER
Manufacturer:
ST Microelectronics
Datasheet:
![ST9294](/images/no-image3.png)
Part Number:
Description:
24K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND CLOSED-CAPTION DATA SLICER
Manufacturer:
ST Microelectronics
Datasheet: