参数资料
型号: AT83C5112
厂商: Atmel Corp.
英文描述: 8-bit Microcontroller with A/D Converter
中文描述: 8位微控制器与A / D转换器
文件页数: 36/97页
文件大小: 1229K
代理商: AT83C5112
36
AT8xC5112
4191B
8051
04/03
Serial Port Interface
(SPI)
The Serial Peripheral Interface module (SPI) which allows full-duplex, synchronous,
serial communication between the MCU and peripheral devices, including other MCUs.
Features
Features of the SPI module include the following:
Full-duplex, three-wire synchronous transfers
Master operation
Eight programmable Master clock rates
Serial clock with programmable polarity and phase
Master Mode fault error flag with MCU interrupt capability
Write collision flag protection
Signal Description
Figure 12 shows a typical SPI bus configuration using one Master controller and many
Slave peripherals. The bus is made of three wires connecting all the devices:
Figure 12.
Typical SPI bus
The Master device selects the individual Slave devices by using four pins of a parallel
port to control the four SS pins of the Slave devices.
Master Output Slave Input
(MOSI)
This 1-bit signal is directly connected between the Master Device and a Slave Device.
The MOSI line is used to transfer data in series from the Master to the Slave. Therefore,
it is an output signal from the Master, and an input signal to a Slave. A byte (8-bit word)
is transmitted most significant bit (MSB) first, least significant bit (LSB)last.
Master Input Slave Output
(MISO)
This 1-bit signal is directly connected between the Slave Device and a Master Device.
The MISO line is used to transfer data in series from the Slave to the Master. Therefore,
it is an output signal from the Slave, and an input signal to the Master. A byte (8-bit
word) is transmitted most significant bit (MSB) first, least significant bit (LSB) last.
SPI Serial Clock (SCK)
This signal is used to synchronize the data movement both in and out the devices
through their MOSI and MISO lines. It is driven by the Master for eight clock cycles
which allows to exchange one byte on the serial lines.
Slave Select (SS)
Each Slave peripheral is selected by one Slave Select pin (SS). This signal must stay
low for any message for a Slave. It is obvious that only one Master (SS high level) can
drive the network. The Master may select each Slave device by software through port
Slave 1
M
M
S
S
MISO
MOSI
SCK
SS
P
0
1
2
3
Slave 3
M
M
S
S
Slave 4
M
M
S
S
Slave 2
M
M
S
S
V
DD
Master
相关PDF资料
PDF描述
AT87C5112 8-bit Microcontroller with A/D Converter
AT80C51RB2-3CSCM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSIM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-3CSUM 80C51 High Performance ROM 8-bit Microcontroller
AT80C51RB2-RLTIL 80C51 High Performance ROM 8-bit Microcontroller
相关代理商/技术参数
参数描述
AT83C5121 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICRUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-ICSUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PURUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface
AT83C5121XXX-PUTUL 制造商:ATMEL 制造商全称:ATMEL Corporation 功能描述:8-bit Microcontroller with Multiprotocol Smart Card Interface