PIC14000-04 Microchip Technology, PIC14000-04 Datasheet - Page 51

no-image

PIC14000-04

Manufacturer Part Number
PIC14000-04
Description
28-Pin Programmable Mixed Signal Controller
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC14000-04/SO
Quantity:
48
Part Number:
PIC14000-04/SO
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC14000-04/SO
Manufacturer:
Maxim
Quantity:
103
Part Number:
PIC14000-04/SP
Manufacturer:
Microchip
Quantity:
482
Part Number:
PIC14000-04/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC14000-04/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC14000-04/SS
Manufacturer:
MICROCHI
Quantity:
20 000
7.5.1.3
When the R/W bit of the address byte is set and an
address match occurs, the R/W bit of the I
register is set. The received address is loaded into the
I
the SCL pin is held low. The transmit data must be
loaded into the I
I
setting the CKP bit (I
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 7-15).
FIGURE 7-15: I
2
2
CBUF The ACK pulse will be sent on the ninth bit, and
CSR register. Then the SCL pin should be enabled by
1996 Microchip Technology Inc.
SDA
SCL
I
BF (I
CKP (I
2
CIF (PIR1<3>)
2
CSTAT<0>)
2
CCON<4>)
TRANSMISSION
S
2
CBUF register, which also loads the
2
A7
1
Data in
sampled
C WAVEFORMS FOR TRANSMISSION (7-BIT ADDRESS)
2
CCON<4>). The eight data bits
A6
2
A5
Receiving Address
3
A4 A3
4
5
A2
6
A1
7
2
CSTAT
R/W = 1
8
Preliminary
9
ACK
responds to I
while CPU
SCL held low
A I
byte. The I
I
byte. The I
clock pulse.
As a slave-transmitter, the ACK pulse from the
master-receiver is latched on the rising edge of the
ninth SCL input pulse. If the SDA line was high (not
ACK), then the data transfer is complete. The slave
then monitors for another occurrence of the START bit.
If the SDA line was low (ACK), the transmit data must
be loaded into the I
the I
enabled by setting the CKP bit (I
2
CSTAT register is used to determine the status of the
2
CIF
2
CIF interrupt is generated for each data transfer
D7
1
I
2
2
CSR register. Then the SCL pin should be
CBUF is written in software
D6
cleared in software
2
2
2
Set bit after writing to I
CIF bit must be cleared in software, and the
CIF bit is set on the falling edge of the ninth
D5
3
D4 D3
4
2
Transmitting Data
CBUF register, which also loads
5
D2
6
2
From I
service routine
D1
CBUF
PIC14000
7
2
CCON<4>).
D0
2
8
CIF interrupt
DS40122B-page 51
ACK
9
P

Related parts for PIC14000-04