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

PIC17C752T-25I/P 参数 Datasheet PDF下载

PIC17C752T-25I/P图片预览
型号: PIC17C752T-25I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS微控制器的EPROM [High-Performance 8-Bit CMOS EPROM Microcontrollers]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 320 页 / 2172 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17C752T-25I/P的Datasheet PDF文件第132页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第133页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第134页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第135页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第137页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第138页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第139页浏览型号PIC17C752T-25I/P的Datasheet PDF文件第140页  
PIC17C75X  
15.2.1.2 SLAVE RECEPTION  
15.2.1.3  
SLAVE TRANSMISSION  
When the R/W bit of the address byte is clear and an  
address match occurs, the R/W bit of the SSPSTAT  
register is cleared. The received address is loaded into  
the SSPBUF register.  
When the R/W bit of the incoming address byte is set  
and an address match occurs, the R/W bit of the  
SSPSTAT register is set. The received address is  
loaded into the SSPBUF register. The ACK pulse will  
be sent on the ninth bit, and the SCLpin is held low.The  
transmit data must be loaded into the SSPBUF register,  
which also loads the SSPSR register. Then SCL pin  
should be enabled by setting bit CKP (SSPCON1<4>).  
The master must monitor the SCL pin prior to asserting  
another clock pulse. The slave devices may be holding  
off the master by stretching the clock. The eight data  
bits are shifted out on the falling edge of the SCL input.  
This ensures that the SDA signal is valid during the  
SCL high time (Figure 15-16).  
When the address byte overflow condition exists, then  
no acknowledge (ACK) pulse is given. An overflow con-  
dition is defined as either bit BF (SSPSTAT<0>) is set  
or bit SSPOV (SSPCON1<6>) is set.  
An SSP interrupt is generated for each data transfer  
byte. Flag bit SSPIF (PIR2<7>) must be cleared in soft-  
ware. The SSPSTAT register is used to determine the  
status of the byte.  
Note: The SSPBUF will be loaded if the SSPOV  
bit = 1 and the BF flag = 0. If a read of the  
SSPBUF was performed, but the user did  
not clear the state of the SSPOV bit before  
the next receive occured. The ACK is not  
sent and the SSPBUF is updated.  
2
FIGURE 15-15: I C WAVEFORMS FOR RECEPTION (7-BIT ADDRESS)  
Receiving Address  
A7 A6 A5 A4  
R/W=0  
Receiving Data  
Receiving Data  
ACK  
ACK  
9
ACK  
SDA  
SCL  
A3 A2 A1  
D5  
D2  
D0  
8
D5  
D2  
D0  
8
D7 D6  
D4 D3  
D7 D6  
D4 D3  
D1  
7
D1  
7
3
7
1
2
4
9
5
4
3
6
9
5
6
1
2
3
6
1
2
4
8
5
P
S
SSPIF (PIR2<7>)  
Bus Master  
terminates  
transfer  
BF (SSPSTAT<0>)  
Cleared in software  
SSPBUF register is read  
SSPOV (SSPCON1<6>)  
Bit SSPOV is set because the SSPBUF register is still full.  
ACK is not sent.  
2
FIGURE 15-16: I C WAVEFORMS FOR TRANSMISSION (7-BIT ADDRESS)  
Receiving Address  
R/W = 1  
ACK  
Transmitting Data  
ACK  
SDA  
SCL  
A7 A6 A5 A4 A3 A2 A1  
D7 D6 D5 D4 D3 D2 D1 D0  
1
2
3
4
5
6
7
8
9
1
2
3
4
5
6
7
8
9
S
P
SCL held low  
while CPU  
responds to SSPIF  
Data in  
sampled  
SSPIF (PIR1<3>)  
BF (SSPSTAT<0>)  
cleared in software  
SSPBUF is written in software  
From SSP interrupt  
service routine  
CKP (SSPCON1<4>)  
Set bit after writing to SSPBUF  
(the SSPBUF must be written-to  
before the CKP bit can be set)  
DS30264A-page 136  
Preliminary  
1997 Microchip Technology Inc.  
 
 复制成功!