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

83C51SND2C-JL 参数 Datasheet PDF下载

83C51SND2C-JL图片预览
型号: 83C51SND2C-JL
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片闪存微控制器与MP3解码器,支持完整的音频接口 [Single-Chip Flash Microcontroller with MP3 Decoder with Full Audio Interface]
分类和应用: 解码器闪存微控制器
文件页数/大小: 235 页 / 2877 K
品牌: ATMEL [ ATMEL ]
 浏览型号83C51SND2C-JL的Datasheet PDF文件第154页浏览型号83C51SND2C-JL的Datasheet PDF文件第155页浏览型号83C51SND2C-JL的Datasheet PDF文件第156页浏览型号83C51SND2C-JL的Datasheet PDF文件第157页浏览型号83C51SND2C-JL的Datasheet PDF文件第159页浏览型号83C51SND2C-JL的Datasheet PDF文件第160页浏览型号83C51SND2C-JL的Datasheet PDF文件第161页浏览型号83C51SND2C-JL的Datasheet PDF文件第162页  
Description  
The SPI controller interfaces with the C51 core through three special function registers:  
SPCON, the SPI control register (see Table 155); SPSTA, the SPI status register (see  
Table 156); and SPDAT, the SPI data register (see Table 157).  
Master Mode  
The SPI operates in master mode when the MSTR bit in SPCON is set.  
Figure 104 shows the SPI block diagram in master mode. Only a master SPI module  
can initiate transmissions. Software begins the transmission by writing to SPDAT. Writ-  
ing to SPDAT writes to the shift register while reading SPDAT reads an intermediate  
register updated at the end of each transfer.  
The Byte begins shifting out on the MOSI pin under the control of the bit rate generator.  
This generator also controls the shift register of the slave peripheral through the SCK  
output pin. As the Byte shifts out, another Byte shifts in from the slave peripheral on the  
MISO pin. The Byte is transmitted most significant bit (MSB) first. The end of transfer is  
signaled by SPIF being set.  
When the AT8xC51SND2C is the only master on the bus, it can be useful not to use  
SS# pin and get it back to I/O functionality. This is achieved by setting SSDIS bit in  
SPCON.  
Figure 104. SPI Master Mode Block Diagram  
MOSI/P4.1  
I
Q
MISO/P4.0  
SCK/P4.2  
SS#/P4.3  
8-bit Shift Register  
SPDAT WR  
SPDAT RD  
MODF  
SSDIS  
SPCON.5  
SPSTA.4  
Control and Clock Logic  
WCOL  
SPSTA.6  
PER  
Bit Rate Generator  
CLOCK  
SPIF  
SPSTA.7  
SPEN  
SPCON.6  
SPR2:0  
SPCON  
CPHA  
SPCON.2  
CPOL  
SPCON.3  
Note:  
MSTR bit in SPCON is set to select master mode.  
158  
AT8xC51SND2C  
4341D–MP3–04/05  
 复制成功!