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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第170页浏览型号C8051F530-IM的Datasheet PDF文件第171页浏览型号C8051F530-IM的Datasheet PDF文件第172页浏览型号C8051F530-IM的Datasheet PDF文件第173页浏览型号C8051F530-IM的Datasheet PDF文件第175页浏览型号C8051F530-IM的Datasheet PDF文件第176页浏览型号C8051F530-IM的Datasheet PDF文件第177页浏览型号C8051F530-IM的Datasheet PDF文件第178页  
C8051F52x-53x  
NSS  
MISO  
MOSI  
SCK  
GPIO  
MISO  
MOSI  
SCK  
Master  
Device 1  
Master  
Device 2  
GPIO  
NSS  
Figure 18.2. Multiple-Master Mode Connection Diagram  
Master  
Device  
Slave  
Device  
MISO  
MOSI  
SCK  
MISO  
MOSI  
SCK  
Figure 18.3. 3-Wire Single Master and Slave Mode Connection Diagram  
MISO  
MOSI  
SCK  
MISO  
MOSI  
SCK  
Master  
Device  
Slave  
Device  
NSS  
NSS  
GPIO  
MISO  
MOSI  
SCK  
Slave  
Device  
NSS  
Figure 18.4. 4-Wire Single Master and Slave Mode Connection Diagram  
18.3. SPI0 Slave Mode Operation  
When SPI0 is enabled and not configured as a master, it will operate as a SPI slave. As a slave, bytes are  
shifted in through the MOSI pin and out through the MISO pin by a master device controlling the SCK sig-  
nal. A bit counter in the SPI0 logic counts SCK edges. When 8 bits have been shifted into the shift register,  
the SPIF flag is set to logic 1, and the byte is copied into the receive buffer. Data is read from the receive  
buffer by reading SPI0DAT. A slave device cannot initiate transfers. Data to be transferred to the master  
device is pre-loaded into the shift register by writing to SPI0DAT. Writes to SPI0DAT are double-buffered,  
and are placed in the transmit buffer first. If the shift register is empty, the contents of the transmit buffer  
will immediately be transferred into the shift register. When the shift register already contains data, the SPI  
will load the shift register with the transmit buffer’s contents after the last SCK edge of the next (or current)  
SPI transfer.  
174  
Rev. 0.3  
 复制成功!