PIC18F2420-I/SOC01 Microchip, PIC18F2420-I/SOC01 Datasheet - Page 186
![no-image](/images/no-image-200.jpg)
PIC18F2420-I/SOC01
Manufacturer Part Number
PIC18F2420-I/SOC01
Description
28 pin, 16 kb flash, 3804 ram, 25 i/o...
Manufacturer
Microchip
Datasheet
1.PIC18F2420-ISOC01.pdf
(412 pages)
- Current page: 186 of 412
- Download datasheet (7Mb)
PIC18F2420/2520/4420/4520
17.4.5
The addressing procedure for the I
the first byte after the Start condition usually
determines which device will be the slave addressed by
the master. The exception is the general call address
which can address all devices. When this address is
used, all devices should, in theory, respond with an
Acknowledge.
The general call address is one of eight addresses
reserved for specific purposes by the I
consists of all ‘0’s with R/W = 0.
The general call address is recognized when the Gen-
eral Call Enable bit, GCEN, is enabled (SSPCON2<7>
is set). Following a Start bit detect, 8 bits are shifted into
the SSPSR and the address is compared against the
SSPADD. It is also compared to the general call
address and fixed in hardware.
FIGURE 17-15:
DS39631E-page 184
GCEN (SSPCON2<7>)
SSPOV (SSPCON1<6>)
SDA
SCL
SSPIF
BF (SSPSTAT<0>)
GENERAL CALL ADDRESS
SUPPORT
S
SLAVE MODE GENERAL CALL ADDRESS SEQUENCE
(7 OR 10-BIT ADDRESSING MODE)
1
2
General Call Address
2
C bus is such that
3
2
4
C protocol. It
5
6
7
R/W =
8
0
If the general call address matches, the SSPSR is
transferred to the SSPBUF, the BF flag bit is set (eighth
bit) and on the falling edge of the ninth bit (ACK bit), the
SSPIF interrupt flag bit is set.
When the interrupt is serviced, the source for the
interrupt can be checked by reading the contents of the
SSPBUF. The value can be used to determine if the
address was device specific or a general call address.
In 10-bit mode, the SSPADD is required to be updated
for the second half of the address to match and the UA
bit is set (SSPSTAT<1>). If the general call address is
sampled when the GCEN bit is set, while the slave is
configured in 10-Bit Addressing mode, then the second
half of the address is not necessary, the UA bit will not
be set and the slave will begin receiving data after the
Acknowledge (Figure 17-15).
ACK
Address is compared to General Call Address
after ACK, set interrupt
9
D7
1
D6
2
Cleared in software
SSPBUF is read
D5
Receiving Data
3
D4
4
© 2008 Microchip Technology Inc.
D3
5
D2
6
D1
7
D0
8
ACK
9
‘0’
‘1’
Related parts for PIC18F2420-I/SOC01
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F2420-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX16 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2420-E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2420-I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2420](/images/no-image3.png)
Part Number:
Description:
28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F2420-I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 28-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2420-E/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX16 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F2420-E/SP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
28 PIN, 16 KB STD FLASH, 3804 RAM, 25 I/O, PB FREE,
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F24](/images/no-image3.png)
Part Number:
Description:
28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![MA300015](/photos/8/96/89623/ma300015_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN DSPIC30F 80QFP
Manufacturer:
Microchip Technology
Datasheet:
![MA180021](/photos/8/96/89639/ma180021_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN 18F87J50 FS USB
Manufacturer:
Microchip Technology
Datasheet:
![AC164131](/photos/8/96/89652/ac164131__tmb.jpg)
Part Number:
Description:
BOARD DAUGHTER USB PICTAIL PLUS
Manufacturer:
Microchip Technology
Datasheet:
![MA330024](/photos/8/98/89858/ma330024_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN DSPIC33F 100TQFP
Manufacturer:
Microchip Technology
Datasheet:
![AC164129](/photos/9/3/90374/ac164129_tmb.jpg)
Part Number:
Description:
CARD DAUGHTER AUDIO PICTAIL PLUS
Manufacturer:
Microchip Technology
Datasheet: