PIC16LC923-04I/L Microchip Technology, PIC16LC923-04I/L Datasheet - Page 70
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,68PIN,PLASTIC](/photos/12/13/121323/c04-049_l_sml.jpg)
PIC16LC923-04I/L
Manufacturer Part Number
PIC16LC923-04I/L
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LDCC,68PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C923-04L.pdf
(189 pages)
Specifications of PIC16LC923-04I/L
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI
Peripherals
LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
68-PLCC
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
I2C, SPI
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
25
Number Of Timers
3
Operating Supply Voltage
2.5 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LC923-04I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C9XX
11.2.2
There are two address formats. The simplest is the 7-bit
address format with a R/W bit (Figure 11-9). The more
complex is the 10-bit address with a R/W bit
(Figure 11-10). For 10-bit address format, two bytes
must be transmitted with the first five bits specifying this
to be a 10-bit address.
FIGURE 11-9: 7-BIT ADDRESS FORMAT
FIGURE 11-10: I
11.2.3
All data must be transmitted per byte, with no limit to the
number of bytes transmitted per data transfer. After
each byte, the slave-receiver generates an acknowl-
edge bit (ACK) (Figure 11-11). When a slave-receiver
doesn’t acknowledge the slave address or received
data, the master must abort the transfer. The slave
must leave SDA high so that the master can generate
the STOP condition (Figure 11-8).
FIGURE 11-12:
DS30444E - page 70
S
R/W
ACK
S 1 1 1 1 0 A9 A8 R/W ACK A7 A6 A5 A4 A3 A2 A1 A0 ACK
ACK
S
R/W
- Start Condition
- Read/Write Pulse
- Acknowledge
SDA
SCL
ADDRESSING I
TRANSFER ACKNOWLEDGE
Start Condition
Acknowledge
Read/Write pulse
Condition
S
Start
S
MSb
FORMAT
2
C 10-BIT ADDRESS
DATA TRANSFER WAIT STATE
MSB
slave address
1
2
C DEVICES
Address
2
sent by slave
= 0 for write
acknowledgment
signal from receiver
LSb
R/W ACK
7
Sent by
Slave
R/W
8
ACK
9
byte complete
interrupt with receiver
Wait
State
FIGURE 11-11: SLAVE-RECEIVER
If the master is receiving the data (master-receiver), it
generates an acknowledge signal for each received
byte of data, except for the last byte. To signal the end
of data to the slave-transmitter, the master does not
generate an acknowledge (not acknowledge). The
slave then releases the SDA line so the master can
generate the STOP condition. The master can also
generate the STOP condition during the acknowledge
pulse for valid termination of data transfer.
If the slave needs to delay the transmission of the next
byte, holding the SCL line low will force the master into
a wait state. Data transfer continues when the slave
releases the SCL line. This allows the slave to move the
received data or fetch the data it needs to transfer
before allowing the clock to start. This wait state tech-
nique can also be implemented at the bit level,
Figure 11-12. The slave will inherently stretch the clock,
when it is a transmitter, but will not when it is a receiver.
The slave will have to clear the SSPCON<4> bit to
enable clock stretching when it is a receiver.
Transmitter
Output by
Output by
SCL from
Receiver
clock line held low while
interrupts are serviced
Master
1
Data
Data
Condition
Data
Start
2
S
ACKNOWLEDGE
3 8
acknowledgment
signal from receiver
1
1997 Microchip Technology Inc.
ACK
2
not acknowledge
9
acknowledge
Condition
Stop
8
Acknowledgment
Clock Pulse for
P
9