PIC12C509A-04/P Microchip Technology Inc., PIC12C509A-04/P Datasheet - Page 34

no-image

PIC12C509A-04/P

Manufacturer Part Number
PIC12C509A-04/P
Description
8 PIN, 1.5 KB OTP, 41 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12C509A-04/P

Cpu Speed
1 MIPS
Eeprom Memory
0 Bytes
Input Output
5
Memory Capacity
1024 Bytes
Memory Type
OTP
Number Of Bits
8
Number Of Leads
6
Package Type
8-pin PDIP
Programmable Memory
1.5K Bytes
Ram Size
41 Bytes
Speed
4 MHz
Timers
1-8-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12C509A-04/P
Manufacturer:
FCS
Quantity:
20
Part Number:
PIC12C509A-04/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC12C509A-04/P8B0
Manufacturer:
Microchip Technology
Quantity:
28
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-04/P