參數(shù)資料
型號: ST72311N4T6/XXX
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
封裝: PLASTIC, TQFP-64
文件頁數(shù): 64/92頁
文件大?。?/td> 624K
代理商: ST72311N4T6/XXX
67/92
ST72311
SERIAL PERIPHERAL INTERFACE (Cont’d)
4.5.4.7 Single Master and Multimaster Configurations
There are two types of SPI systems:
– Single Master System
– Multimaster System
Single Master System
A typical single master system may be configured,
using an MCU as the master and four MCUs as
slaves (see Figure 41).
The master device selects the individual slave de-
vices by using four pins of a parallel port to control
the four SS pins of the slave devices.
The SS pins are pulled high during reset since the
master device ports will be forced to be inputs at
that time, thus disabling the slave devices.
Note: To prevent a bus conflict on the MISO line
the master allows only one slave device during a
transmission.
For more security, the slave device may respond
to the master with the received data byte. Then the
master will receive the previous byte back from the
slave device if all MISO and MOSI pins are con-
nected and the slave has not written its DR regis-
ter.
Other transmission security methods can use
ports for handshake lines or data bytes with com-
mand fields.
Multi-master System
A multi-master system may also be configured by
the user. Transfer of master control could be im-
plemented using a handshake method through the
I/O ports or by an exchange of code messages
through the serial peripheral interface system.
The multi-master system is principally handled by
the MSTR bit in the CR register and the MODF bit
in the SR register.
Figure 41. Single Master Configuration
MISO
MOSI
MISO
SS
SCK
5V
Ports
Slave
MCU
Slave
MCU
Slave
MCU
Slave
MCU
Master
MCU
VR02131E
67
相關PDF資料
PDF描述
ST72311J2B6/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP42
ST72311N2T3/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP64
ST72321BAR7T6 MICROCONTROLLER, QFP64
ST72321BR7T3 MICROCONTROLLER, QFP64
ST72321M9T3/XXX 8-BIT, MROM, MICROCONTROLLER, PQFP80
相關代理商/技術(shù)參數(shù)
參數(shù)描述
ST72311N5B6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST72311N6B6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST72311R 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH NESTED INTERRUPTS, EEPROM, ADC, 16-BIT TIMERS, 8-BIT PWM ART, SPI, SCI, CAN INTERFACES
ST72311R4Q6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST72311R5Q6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller