PIC12LC671-04I/MF Microchip Technology, PIC12LC671-04I/MF Datasheet - Page 36

no-image

PIC12LC671-04I/MF

Manufacturer Part Number
PIC12LC671-04I/MF
Description
8 PIN, 1.75KB OTP, 128 RAM, 6 I/O,
Manufacturer
Microchip Technology
Series
PIC® 12Cr
Datasheets

Specifications of PIC12LC671-04I/MF

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
Processor Series
PIC12LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
8
Operating Supply Voltage
2.5 V to 5.5 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
On-chip Adc
8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
Other names
PIC12LC67104I/MF
FIGURE 6-7:
PIC12C67X
6.3
6.3.1
Following the start signal from the processor, the
device code (4 bits), the don’t care bits (3 bits), and the
R/W bit (which is a logic low) are placed onto the bus
by the processor. This indicates to the addressed
EEPROM that a byte with a word address will follow
after it has generated an acknowledge bit during the
ninth clock cycle. Therefore, the next byte transmitted
by the processor is the word address and will be written
into the address pointer. Only the lower four address
bits are used by the device, and the upper four bits are
don’t cares. If the address byte is acknowledged, the
processor will then transmit the data word to be written
into the addressed memory location. The memory
acknowledges again and the processor generates a
stop condition. This initiates the internal write cycle,
and during this time will not generate acknowledge sig-
nals. After a byte write command, the internal address
counter will not be incremented and will point to the
same address location that was just written. If a stop bit
sequence is transmitted to the device at any point in the
write command sequence before the entire sequence
is complete, then the command will abort and no data
will be written. If more than 8 data bits are transmitted
before the stop bit sequence is sent, then the device will
clear the previously loaded byte and begin loading the
data buffer again. If more than one data byte is trans-
mitted to the device and a stop bit is sent before a full
eight data bits have been transmitted, then the write
command will abort and no data will be written. The
EEPROM memory employs a V
circuit, which disables the internal erase/write logic if
the V
must be preceded and immediately followed by a bus
not busy bus cycle where both SDA and SCL are held
high. (See Figure 6-7 for Byte Write operation.)
DS30561B-page 36
X = Don’t Care Bit
SDA LINE
ACTIVITY
CC
is below minimum V
Write Operations
BYTE WRITE
S
T
A
R
T
S
BYTE WRITE
1
0
1
CONTROL
DD
BYTE
0
. Byte write operations
CC
X
threshold detector
X
X
0
A
C
K
X
X
X
ADDRESS
WORD
X
6.4
Since the EEPROM will not acknowledge during a write
cycle, this can be used to determine when the cycle is
complete (this feature can be used to maximize bus
throughput). Once the stop condition for a write com-
mand has been issued from the processor, the device
initiates the internally timed write cycle. ACK polling
can be initiated immediately. This involves the proces-
sor sending a start condition followed by the control
byte for a write command (R/W = 0). If the device is still
busy with the write cycle, then no ACK will be returned.
If no ACK is returned, then the start bit and control byte
must be re-sent. If the cycle is complete, then the
device will return the ACK and the processor can then
proceed with the next read or write command. (See
Figure 6-6 for flow diagram.)
FIGURE 6-6:
Acknowledge Polling
A
C
K
Initiate Write Cycle
Send Control Byte
ACKNOWLEDGE POLLING
FLOW
Write Command
with R/W = 0
Did EEPROM
Acknowledge
Condition to
Send Stop
(ACK = 0)?
Send Start
Operation
Send
Next
DATA
1999 Microchip Technology Inc.
YES
NO
A
C
K
P
S
T
O
P

Related parts for PIC12LC671-04I/MF