欢迎访问ic37.com |
会员登录 免费注册
发布采购

89C51RB2-CM 参数 Datasheet PDF下载

89C51RB2-CM图片预览
型号: 89C51RB2-CM
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器与16K / 32K字节的闪存 [Microcontroller with 16K/32K Bytes Flash]
分类和应用: 闪存微控制器
文件页数/大小: 127 页 / 1455 K
品牌: ATMEL [ ATMEL ]
 浏览型号89C51RB2-CM的Datasheet PDF文件第64页浏览型号89C51RB2-CM的Datasheet PDF文件第65页浏览型号89C51RB2-CM的Datasheet PDF文件第66页浏览型号89C51RB2-CM的Datasheet PDF文件第67页浏览型号89C51RB2-CM的Datasheet PDF文件第69页浏览型号89C51RB2-CM的Datasheet PDF文件第70页浏览型号89C51RB2-CM的Datasheet PDF文件第71页浏览型号89C51RB2-CM的Datasheet PDF文件第72页  
Serial Port Interface  
(SPI)  
The Serial Peripheral Interface Module (SPI) 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 or Slave 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 25 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 25. SPI Master/Slaves Interconnection  
Slave 1  
MISO  
MOSI  
SCK  
SS  
VDD  
Master  
0
1
2
3
Slave 4  
Slave 3  
Slave 2  
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)  
Slave Select (SS)  
This signal is used to synchronize the data movement both in and out of 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.  
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  
68  
AT89C51RB2/RC2  
4180C–8051–12/03  
 复制成功!