PIC12C509A-04I/MF Microchip Technology, PIC12C509A-04I/MF Datasheet - Page 34

no-image

PIC12C509A-04I/MF

Manufacturer Part Number
PIC12C509A-04I/MF
Description
IC MCU OTP 1KX12 8DFN
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12C509A-04I/MF

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
1.5KB (1K x 12)
Program Memory Type
OTP
Ram Size
41 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DFN
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNXLT08DFN2 - SOCKET TRANSITION ICE 14DIP/8DFNXLT08DFN - SOCKET TRANSITION ICE 8DFNAC164032 - ADAPTER PICSTART PLUS 8DFN/DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Other names
PIC12C509A04I/MF
PIC12C5XX
7.5
Read operations are initiated in the same way as write
operations with the exception that the R/W bit of the
slave address is set to one. There are three basic types
of read operations: current address read, random read,
and sequential read.
7.5.1
It contains an address counter that maintains the
address of the last word accessed, internally incre-
mented by one. Therefore, if the previous read access
was to address n, the next current address read opera-
tion would access data from address n + 1. Upon
receipt of the slave address with the R/W bit set to one,
the device issues an acknowledge and transmits the
eight bit data word. The master will not acknowledge
the transfer but does generate a stop condition and the
device discontinues transmission (Figure 7-8).
7.5.2
Random read operations allow the master to access
any memory location in a random manner. To perform
this type of read operation, first the word address must
be set. This is done by sending the word address to the
FIGURE 7-8:
FIGURE 7-9:
FIGURE 7-10: SEQUENTIAL READ
DS40139E-page 34
BUS ACTIVITY
MASTER
SDA LINE
BUS ACTIVITY
READ OPERATIONS
CURRENT ADDRESS READ
RANDOM READ
X = Don’t Care Bit
BUS ACTIVITY
MASTER
SDA LINE
BUS ACTIVITY
CURRENT ADDRESS READ
RANDOM READ
CONTROL
BYTE
S
T
A
R
T
S 1
A
C
K
0
CONTROL
BUS ACTIVITY
MASTER
SDA LINE
BUS ACTIVITY
1
X = Don’t Care Bit
BYTE
0 X X X 0
DATA n
A
C
K
X X X X
A
C
K
ADDRESS (n)
S
T
A
R
T
S
WORD
DATA n + 1
1
0
CONTROL
1
BYTE
0 X X X 1
A
C
K
device as part of a write operation. After the word
address is sent, the master generates a start condition
following the acknowledge. This terminates the write
operation, but not before the internal address pointer is
set. Then the master issues the control byte again but
with the R/W bit set to a one. It will then issue an
acknowledge and transmits the eight bit data word. The
master will not acknowledge the transfer but does gen-
erate a stop condition and the device discontinues
transmission (Figure 7-9). After this command, the
internal address counter will point to the address loca-
tion following the one that was just read.
7.5.3
Sequential reads are initiated in the same way as a ran-
dom read except that after the device transmits the first
data byte, the master issues an acknowledge as
opposed to a stop condition in a random read. This
directs the device to transmit the next sequentially
addressed 8-bit word (Figure 7-10).
To provide sequential reads, it contains an internal
address pointer which is incremented by one at the
completion of each read operation. This address
pointer allows the entire memory contents to be serially
read during one operation.
S
T
A
R
T
S 1
A
C
K
A
C
K
0
CONTROL
DATA n + 2
1
BYTE
SEQUENTIAL READ
0 X X X 1
DATA
A
C
K
A
C
K
O
N
A
C
K
S
T
O
P
P
DATA (n)
1999 Microchip Technology Inc.
DATA n + X
N
O
C
A
K
S
T
O
P
P
N
O
C
A
K
S
T
O
P
P

Related parts for PIC12C509A-04I/MF