PIC16F1826-I/MQ Microchip Technology, PIC16F1826-I/MQ Datasheet - Page 267

no-image

PIC16F1826-I/MQ

Manufacturer Part Number
PIC16F1826-I/MQ
Description
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC16F1826-I/MQ

Controller Family/series
PIC16F
Eeprom Memory Size
256Byte
Ram Memory Size
256Byte
Cpu Speed
32MHz
No. Of Timers
3
Interface
EUSART, I2C, SPI
Core Size
8 Bit
Program Memory Size
2kWords
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
24.6.5
A Repeated Start condition occurs when the RSEN bit
of the SSPxCON2 register is programmed high and the
master state machine is no longer active. When the
RSEN bit is set, the SCLx pin is asserted low. When the
SCLx pin is sampled low, the Baud Rate Generator is
loaded and begins counting. The SDAx pin is released
(brought high) for one Baud Rate Generator count
(T
SDAx is sampled high, the SCLx pin will be deasserted
(brought high). When SCLx is sampled high, the Baud
Rate Generator is reloaded and begins counting. SDAx
and SCLx must be sampled high for one T
action is then followed by assertion of the SDAx pin
(SDAx = 0) for one T
asserted low. Following this, the RSEN bit of the
FIGURE 24-27:
© 2009 Microchip Technology Inc.
BRG
). When the Baud Rate Generator times out, if
I
START CONDITION TIMING
2
C MASTER MODE REPEATED
BRG
REPEAT START CONDITION WAVEFORM
SDAx
SCLx
while SCLx is high. SCLx is
Write to SSPxCON2
occurs here
SDAx = 1,
SCLx (no change)
BRG
. This
Preliminary
T
BRG
SDAx = 1,
SCLx = 1
T
BRG
Repeated Start
SSPxCON2 register will be automatically cleared and
the Baud Rate Generator will not be reloaded, leaving
the SDAx pin held low. As soon as a Start condition is
detected on the SDAx and SCLx pins, the S bit of the
SSPxSTAT register will be set. The SSPxIF bit will not
be set until the Baud Rate Generator has timed out.
Sr
Note 1: If RSEN is programmed while any other
T
BRG
PIC16F/LF1826/27
2: A bus collision during the Repeated Start
S bit set by hardware
At completion of Start bit,
hardware clears RSEN bit
Write to SSPxBUF occurs here
event is in progress, it will not take effect.
condition occurs if:
and sets SSPxIF
• SDAx is sampled low when SCLx
• SCLx goes low before SDAx is
T
BRG
goes from low-to-high.
asserted low. This may indicate that
another master is attempting to
transmit a data ‘1’.
1st bit
T
BRG
DS41391B-page 267

Related parts for PIC16F1826-I/MQ