PIC16F883 Microchip Technology Inc., PIC16F883 Datasheet - Page 191

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.3
Master mode of operation is supported by interrupt
generation on the detection of the Start and Stop
conditions. The Stop (P) and Start (S) bits are cleared
from a Reset, or when the MSSP module is disabled.
Control of the I
set, or the bus is idle, with both the S and P bits clear.
In Master mode, the SCL and SDA lines are manipu-
lated by the MSSP hardware.
The following events will cause SSP Interrupt Flag bit,
SSPIF, to be set (SSP Interrupt if enabled):
• Start condition
• Stop condition
• Data transfer byte transmitted/received
• Acknowledge transmit
• Repeated Start condition
FIGURE 13-10:
© 2007 Microchip Technology Inc.
SDA
SCL
Note: I/O pins have diode protection to V
MASTER MODE
2
C bus may be taken when the P bit is
MSSP BLOCK DIAGRAM (I
SDA In
Bus Collision
SCL In
Read
DD
MSb
and V
Write Collision Detect
PIC16F882/883/884/886/887
Start bit, Stop bit,
End of XMIT/RCV
State Counter for
Clock Arbitration
Start bit Detect
Stop bit Detect
Acknowledge
Generate
SS
SSPBUF
SSPSR
Preliminary
.
2
C™ MASTER MODE)
LSb
Write
13.4.4
Master mode is enabled by setting and clearing the
appropriate SSPM bits in SSPCON and by setting the
SSPEN bit. Once Master mode is enabled, the user
has the following six options:
1.
2.
3.
4.
5.
6.
Clock
Data Bus
Shift
Note:
Internal
Assert a Start condition on SDA and SCL.
Assert a Repeated Start condition on SDA and
SCL.
Write
transmission of data/address.
Generate a Stop condition on SDA and SCL.
Configure the I
Generate an Acknowledge condition at the end
of a received byte of data.
Set/Reset, S, P, WCOL (SSPSTAT)
Set SSPIF, BCLIF
Reset ACKSTAT, PEN (SSPCON2)
The MSSP module, when configured in I
Master mode, does not allow queueing of
events. For instance, the user is not
allowed to initiate a Start condition and
immediately write the SSPBUF register to
imitate transmission, before the Start
condition is complete. In this case, the
SSPBUF will not be written to and the
WCOL bit will be set, indicating that a write
to the SSPBUF did not occur.
I
to
2
C™ MASTER MODE SUPPORT
the
2
C port to receive data.
SSPBUF
SSPADD<6:0>
SSPM<3:0>
Baud
Rate
Generator
register
DS41291D-page 189
initiating
2
C

Related parts for PIC16F883