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

MPC82E54AS2 参数 Datasheet PDF下载

MPC82E54AS2图片预览
型号: MPC82E54AS2
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-bit micro-controller]
分类和应用: 微控制器
文件页数/大小: 74 页 / 1587 K
品牌: MEGAWIN [ MEGAWIN TECHNOLOGY CO., LTD ]
 浏览型号MPC82E54AS2的Datasheet PDF文件第43页浏览型号MPC82E54AS2的Datasheet PDF文件第44页浏览型号MPC82E54AS2的Datasheet PDF文件第45页浏览型号MPC82E54AS2的Datasheet PDF文件第46页浏览型号MPC82E54AS2的Datasheet PDF文件第48页浏览型号MPC82E54AS2的Datasheet PDF文件第49页浏览型号MPC82E54AS2的Datasheet PDF文件第50页浏览型号MPC82E54AS2的Datasheet PDF文件第51页  
Serial Peripheral Interface (SPI)  
The device provides another high-speed serial communication interface, the SPI interface.  
The SPI is a full-duplex, high-speed, synchronous communication bus with two operation  
modes: Master mode and Slave mode. Up to 3Mbit/s can be supported in either Master or  
Slave mode under the Fosc=12MHz. Two status flags are provided to signal the transfer  
completion and write-collision occurrence.  
P1.6  
(MISO)  
Shift In Register  
Clock Divider  
P1.5  
4,  
16,  
64  
Shift Out Register  
SPI Control  
Fosc  
(MOSI)  
I/O control  
P1.7  
(SPICLK)  
128  
P1.4  
(SS)  
CPOL  
CPHA SPR1 SPR0  
SSIG  
SPEN DORD MSTR  
SPICTL  
SPIF WCOL  
SPISTAT  
-
-
-
-
-
-
SPI block diagram  
There are three pins implementing the SPI functionality. One of them is SPICLK (P1.7), next is  
MISO (P1.6), and the last is MOSI (P1.5). An extra pin SS (P1.4) is designed to configure the  
SPI to run under Master or Slave mode. Data flows from master to slave via MOSI (Master  
Out Slave In) pin, and flows from slave to master via MISO (Master In Slave Out) pin. The  
SPICLK plays as an output pin when the device works under Master mode. At the same time,  
as an input pin when the device works under Slave mode. If the SPI system is disabled, i.e.,  
SPEN (SPICTL.6) =0, these pins are configured as general-purposed I/O port (P1.4 ~ P1.7).  
Two devices with SPI interface communicate with each other via one synchronous clock  
signal, i.e., one input data signal, and one output data signal. There are two concerns the user  
could take care. One of them is latching data on the negative edge or positive edge of the  
clock signal which named polarity. And the other is keeping the clock signal low or high while  
the device idle which named phase. Permuting those states from polarity and phase, there  
MEGAWIN  
MPC82x54A Data Sheet  
47