PIC16C770 Datasheet

  • PIC16C770

  • 18/20-Pin, 8-Bit CMOS Microcontrollers with 10/12-bit A/D

  • 3585.57KB

  • 220页

  • MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

1999 Microchip Technology Inc.
Write to SSPCON2<4>
to start acknowledge sequence
SDA = ACKDT (SSPCON2<5>) = 0
Master configured as a receiver
by programming SSPCON2<3>, (RCEN = 1)
RCEN cleared
automatically
Receiving Data from Slave
D0
ACK
D7 D6 D5 D4 D3 D2 D1
D0
ACK
ACK is not sent
3
4
5
1
2
3
4
5
1
2
3
4
8
9
6
7
8
9
6
7
5
6
7
8
9
P
Bus Master
terminates
transfer
Receiving Data from Slave
D7 D6 D5 D4 D3 D2 D1
RCEN = 1 start
next receive
RCEN cleared
automatically
ACK from Master
SDA = ACKDT = 0
Set ACKEN start acknowledge sequence
SDA = ACKDT = 1
PEN bit = 1
written here
Data shifted in on falling edge of CLK Set SSPIF at end
of receive
Set SSPIF interrupt
at end of receive
Set SSPIF interrupt
at end of acknowledge
sequence
Cleared in software
Cleared in
software
Cleared in software
Cleared in software
Set P bit
(SSPSTAT<4>)
and SSPIF
Last bit is shifted into SSPSR and
contents are unloaded into SSPBUF
SSPOV is set because
SSPBUF is still full
Write to SSPCON2<0>, (SEN = 1)
Begin Start Condition
SEN = 0
Write to SSPBUF occurs here
ACK from Slave
Start XMIT
SDA
Transmit Address to Slave R/W = 1
A7 A6 A5 A4 A3 A2 A1
ACK
SCL
S
1
2
Set SSPIF interrupt
at end of acknow-
ledge sequence
SSPIF
FIGURE 9-25: I
2
C MASTER MODE TIMING (RECEPTION 7-BIT ADDRESS)
Advanced Information
SDA = 0, SCL = 1
while CPU
responds to SSPIF
Cleared in software
BF
(SSPSTAT<0>)
SSPOV
PIC16C717/770/771
ACKEN
DS41120A-page 97

PIC16C770 PDF文件相关型号

PIC16C771

PIC16C770相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!