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

HD64F3337YF16 参数 Datasheet PDF下载

HD64F3337YF16图片预览
型号: HD64F3337YF16
PDF下载: 下载PDF文件 查看货源
内容描述: 单片机 [Single-Chip Microcomputer]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 747 页 / 2993 K
品牌: RENESAS [ RENESAS TECHNOLOGY CORP ]
 浏览型号HD64F3337YF16的Datasheet PDF文件第326页浏览型号HD64F3337YF16的Datasheet PDF文件第327页浏览型号HD64F3337YF16的Datasheet PDF文件第328页浏览型号HD64F3337YF16的Datasheet PDF文件第329页浏览型号HD64F3337YF16的Datasheet PDF文件第331页浏览型号HD64F3337YF16的Datasheet PDF文件第332页浏览型号HD64F3337YF16的Datasheet PDF文件第333页浏览型号HD64F3337YF16的Datasheet PDF文件第334页  
13.3.4  
Slave Transmit Operation  
In slave transmit mode, the slave device outputs the transmit data, and the master device outputs  
the transmit clock and returns an acknowledge signal. The transmit procedure and operations in  
slave transmit mode are described below.  
1. Set bits MLS and WAIT in ICMR and bits MST, TRS, ACK, and CKS2 to CKS0 in ICCR  
according to the operating mode. Set bit ICE in ICCR to 1.  
2. After the slave device detects a start condition, if the first byte matches its slave address, at the  
ninth clock pulse the slave device drives SDA low to acknowledge the transfer. At the same  
time, IRIC is set to 1 in ICSR, generating an interrupt. If the eighth data bit (R/W) is 1, the  
TRS bit is set to 1 in ICCR, automatically causing a transition to slave transmit mode. The  
slave device holds SCL low from the fall of the transmit clock until data is written in ICDR.  
3. Software clears IRIC to 0 in ICSR.  
4. Write data in ICDR. The slave device outputs the written data serially in step with the clock  
output by the master device, with the timing shown in figure 13.8.  
5. When 1 byte of data has been transmitted, at the rise of the ninth transmit clock pulse IRIC is  
set to 1 in ICSR. If IEIC is set to 1 in ICCR, a CPU interrupt is requested. The slave device  
holds SCL low from the fall of the transmit clock until data is written in ICDR. The master  
device drives SDA low at the ninth clock pulse to acknowledge the data. The acknowledge  
signal is stored in ACKB in ICSR, and can be used to check whether the transfer was carried  
out normally.  
6. Software clears IRIC to 0 in ICSR.  
7. To continue transmitting, write the next transmit data in ICDR.  
Steps 5 to 7 can be repeated to transmit continuously. To end the transmission, write H'FF in  
ICDR. When a stop condition is detected (a low-to-high transition of SDA while SCL is high),  
BBSY will be cleared to 0 in ICSR.  
300  
 复制成功!