PIC16F883 Microchip Technology Inc., PIC16F883 Datasheet - Page 199

no-image

PIC16F883

Manufacturer Part Number
PIC16F883
Description
28/40/44-pin Flash-based, 8-bit Cmos Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F883
Manufacturer:
台湾明智类比
Quantity:
20 000
Part Number:
PIC16F883-I/ML
Manufacturer:
MICROCHIP
Quantity:
1 200
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP
Quantity:
8 820
Part Number:
PIC16F883-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SO
0
Company:
Part Number:
PIC16F883-I/SO
Quantity:
27
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP
Quantity:
18
Part Number:
PIC16F883-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SP
0
Part Number:
PIC16F883-I/SS
Manufacturer:
ALPS
Quantity:
12 000
Part Number:
PIC16F883-I/SS
Manufacturer:
MICRPCHIP/PBF
Quantity:
197
Part Number:
PIC16F883-I/SS
Manufacturer:
MICROCHIP
Quantity:
8 000
Part Number:
PIC16F883-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F883-I/SS
0
Company:
Part Number:
PIC16F883-I/SS
Quantity:
15 000
13.4.10
An Acknowledge sequence is enabled by setting the
Acknowledge Sequence Enable bit, ACKEN (SSPCON2
register). When this bit is set, the SCL pin is pulled low
and the contents of the Acknowledge Data bit (ACKDT)
is presented on the SDA pin. If the user wishes to gener-
ate an Acknowledge, then the ACKDT bit should be
cleared. If not, the user should set the ACKDT bit before
starting an Acknowledge sequence. The Baud Rate
Generator then counts for one rollover period (T
the SCL pin is de-asserted (pulled high). When the SCL
pin is sampled high (clock arbitration), the Baud Rate
Generator counts for T
low. Following this, the ACKEN bit is automatically
cleared, the Baud Rate Generator is turned off and the
MSSP module then goes into Idle mode (Figure 13-17).
13.4.10.1
If the user writes the SSPBUF when an Acknowledge
sequence is in progress, then WCOL is set and the
contents of the buffer are unchanged (the write doesn’t
occur).
FIGURE 13-17:
© 2007 Microchip Technology Inc.
Note: T
ACKNOWLEDGE SEQUENCE TIMING
WCOL Status Flag
SSPIF
BRG
Acknowledge sequence starts here,
SDA
SCL
= one Baud Rate Generator period.
BRG
ACKNOWLEDGE SEQUENCE WAVEFORM
Set SSPIF at the end
of receive
. The SCL pin is then pulled
ACKEN = 1, ACKDT = 0
Write to SSPCON2
8
D0
BRG
PIC16F882/883/884/886/887
) and
Preliminary
Cleared in
software
T
BRG
ACK
13.4.11
A Stop bit is asserted on the SDA pin at the end of a
receive/transmit by setting the Stop Sequence Enable
bit, PEN (SSPCON2 register). At the end of a
receive/transmit, the SCL line is held low after the fall-
ing edge of the ninth clock. When the PEN bit is set, the
master will assert the SDA line low. When the SDA line
is sampled low, the Baud Rate Generator is reloaded
and counts down to 0. When the Baud Rate Generator
times out, the SCL pin will be brought high, and one
T
SDA pin will be de-asserted. When the SDA pin is sam-
pled high while SCL is high, the P bit (SSPSTAT regis-
ter) is set. A T
SSPIF bit is set (Figure 13-18).
13.4.11.1
If the user writes the SSPBUF when a Stop sequence
is in progress, then the WCOL bit is set and the
contents of the buffer are unchanged (the write doesn’t
occur).
BRG
T
BRG
9
(Baud Rate Generator rollover count) later, the
Set SSPIF at the end
of Acknowledge sequence
STOP CONDITION TIMING
WCOL Status Flag
BRG
ACKEN automatically cleared
later, the PEN bit is cleared and the
Cleared in
software
DS41291D-page 197

Related parts for PIC16F883