PIC18F87K22-I/PTRSL Microchip Technology Inc., PIC18F87K22-I/PTRSL Datasheet - Page 299

no-image

PIC18F87K22-I/PTRSL

Manufacturer Part Number
PIC18F87K22-I/PTRSL
Description
128kB Flash, 4kB RAM, 1kB EE, nanoWatt XLP, GP, 80 TQFP 12x12x1mm TRAY
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F87K22-I/PTRSL

A/d Inputs
24-Channel, 12-Bit
Comparators
3
Cpu Speed
16 MIPS
Eeprom Memory
0 Bytes
Input Output
69
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
80-pin TQFP
Programmable Memory
128K Bytes
Ram Size
3.8K Bytes
Speed
64 MHz
Temperature Range
–40 to 125 °C
Timers
6-8-bit, 5-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F87K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
21.4.3.5
When the R/W bit of the address byte is clear and an
address match occurs, the R/W bit of the SSPxSTAT
register is cleared. The received address is loaded into
the SSPxBUF register and the SDAx line is held low
(ACK).
When the address byte overflow condition exists, then
the no Acknowledge (ACK) pulse is given. An overflow
condition is defined as either bit, BF (SSPxSTAT<0>),
is set or bit, SSPOV (SSPxCON1<6>), is set.
An MSSP interrupt is generated for each data transfer
byte. The interrupt flag bit, SSPxIF, must be cleared in
software. The SSPxSTAT register is used to determine
the status of the byte.
If SEN is enabled (SSPxCON2<0> = 1), SCLx will be
held low (clock stretch) following each data transfer. The
clock
(SSPxCON1<4>).
Stretching”
 2011 Microchip Technology Inc.
must
for more details.
Reception
be
released
See
Section 21.4.4
by
setting
bit,
“Clock
CKP
PIC18F87K22 FAMILY
21.4.3.6
When the R/W bit of the incoming address byte is set
and an address match occurs, the R/W bit of the
SSPxSTAT register is set. The received address is
loaded into the SSPxBUF register. The ACK pulse will
be sent on the ninth bit and pin SCLx is held low regard-
less of SEN (see
for more details). By stretching the clock, the master
will be unable to assert another clock pulse until the
slave is done preparing the transmit data. The transmit
data must be loaded into the SSPxBUF register which
also loads the SSPxSR register. Then, pin SCLx should
be enabled by setting bit, CKP (SSPxCON1<4>). The
eight data bits are shifted out on the falling edge of the
SCLx input. This ensures that the SDAx signal is valid
during the SCLx high time
The ACK pulse from the master-receiver is latched on
the rising edge of the ninth SCLx input pulse. If the
SDAx line is high (not ACK), then the data transfer is
complete. In this case, when the ACK is latched by the
slave, the slave logic is reset and the slave monitors for
another occurrence of the Start bit. If the SDAx line was
low (ACK), the next transmit data must be loaded into
the SSPxBUF register. Again, pin SCLx must be
enabled by setting bit, CKP.
An MSSP interrupt is generated for each data transfer
byte. The SSPxIF bit must be cleared in software and
the SSPxSTAT register is used to determine the status
of the byte. The SSPxIF bit is set on the falling edge of
the ninth clock pulse.
Transmission
Section 21.4.4 “Clock Stretching”
(Figure
21-10).
DS39960C-page 299

Related parts for PIC18F87K22-I/PTRSL