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

85C51SND3BX01 参数 Datasheet PDF下载

85C51SND3BX01图片预览
型号: 85C51SND3BX01
PDF下载: 下载PDF文件 查看货源
内容描述: 单芯片数字音频解码器 - 编码器与USB 2.0接口 [Single-Chip Digital Audio Decoder - Encoder with USB 2.0 Interface]
分类和应用: 解码器编码器
文件页数/大小: 263 页 / 3620 K
品牌: ATMEL [ ATMEL ]
 浏览型号85C51SND3BX01的Datasheet PDF文件第205页浏览型号85C51SND3BX01的Datasheet PDF文件第206页浏览型号85C51SND3BX01的Datasheet PDF文件第207页浏览型号85C51SND3BX01的Datasheet PDF文件第208页浏览型号85C51SND3BX01的Datasheet PDF文件第210页浏览型号85C51SND3BX01的Datasheet PDF文件第211页浏览型号85C51SND3BX01的Datasheet PDF文件第212页浏览型号85C51SND3BX01的Datasheet PDF文件第213页  
AT85C51SND3Bx  
Figure 102. Write Data Sampling Configuration  
PER CLK  
SCS  
SWR  
Write Data  
SD7:0  
Data Sampling  
PSWS2:0  
0
1
2
3
4
5
6
7
“SA0= H” Mode  
The “SA0= H” mode is particularly fitting control management over a protocol.  
Figure 103 shows a data cycle from host to device. Prior to send any data bytes, the  
host must take care of the PSI state by reading the AT85C51SND3Bx with SA0 signal  
set. This returns PSISTH: the host status register content. While PSHBSY bit in PSISTH  
is set, the host must not start sending data.  
As soon as PSHBSY bit is released, the host can send up to 16 bytes of data.  
First data writing automatically sets PSBSY flag in PSISTA and consequently PSHBSY  
bit so that host knows that system is now busy and processing. An interrupt can be gen-  
erated when PSBSY flag is set by enabling PSBSYE bit in PSICON while global PSI  
interrupt is enabled in IEN1 (see Figure 104).  
The software can start reading and process the data after first byte reception. As soon  
as data processing is done, PSBSY flag is cleared and consequently PSHBSY bit so  
that host knows that system has finished processing. A software status can have been  
previously written to PSISTH for reporting to the host.  
Note:  
If software reading is quicker than host writing, PSEMPTY bit must be polled before read-  
ing new data byte.  
Figure 103. Data Management (SA0 = H)  
Up to 16 bytes  
Host Write  
SA0 = H  
Software Treatment  
CPU Read  
PSBSY  
Clear PSBSY  
PSEMPTY  
“SA0= L” Mode  
The “SA0= L” mode is particularly fitting data transfer with huge amount of data. Trans-  
fer can be done in read and write using the DFC for high throughput or the CPU. After  
control processing (PSBSY cleared) and relying to the protocol, the host starts transfer-  
ring data. In all cases the host which is the master controls the data transfer by reading  
from or writing to the slave.  
CPU Transfer  
DFC Transfer  
In case of transfer handled by the CPU, the data transfer is done byte by byte. As the  
host runs usually quicker than the slave, a software handshake must be established to  
avoid underrun or overrun condition.  
In case of transfer handled by the DFC, the slave can acknowledge its control process-  
ing (PSBSY cleared) as soon as destination (host write) or source (host read) is ready.  
209  
7632A–MP3–03/06  
 复制成功!