HCS515-IP Microchip Technology, HCS515-IP Datasheet - Page 10

no-image

HCS515-IP

Manufacturer Part Number
HCS515-IP
Description
KEELOQ CODE HOPPING DECODER
Manufacturer
Microchip Technology
Datasheet
HCS515
4.2.5
The read command (Figure 4-4) is used to read bytes
from the user EEPROM. The offset in the user
EEPROM is specified by the address byte which is
truncated to seven bits (C to D). After the address, a
dummy byte must be clocked in (D to E). The EEPROM
data byte is clocked out on the next rising edge of the
clock line with the least significant bit first (E to F).
Sequential reads are possible by repeating sequence E
to F within 1 ms after the falling edge of the previous
byte’s Most Significant Bit (MSB) bit. During the
sequential read, the address value will wrap after 128
bytes. The decoder will terminate the read command if
no clock pulses are received for a period longer than
1.2 ms.
FIGURE 4-4:
FIGURE 4-5:
FIGURE 4-6:
DS40183A-page 10
Decoder DATA
Decoder DATA
Decoder DATA
C DATA
READ BYTE/S FROM USER EEPROM
C DATA
C DATA
CLK
CLK
CLK
A
A
Start Command
A
Start Command
Start Command
READ BYTES FROM USER EEPROM
WRITE BYTES TO USER EEPROM
ERASE ALL
B
B
LSB
B
LSB
LSB
Command Byte
Command Byte
Command Byte
MSB
MSB
MSB
C
C
C
LSB
LSB
Preliminary
LSB
Subcommand Byte
Address Byte
Address Byte
MSB
MSB
4.2.6
The write command (Figure 4-5) is used to write a loca-
tion in the user EEPROM. The address byte is trun-
cated to seven bits (C to D). The data is clocked in least
significant bit first. The clock line must be asserted to
initiate the write. Sequential writes of bytes are possible
by clocking in the byte and then asserting the clock line
(D – F). The decoder will terminate the write command
if no clock pulses are received for a period longer than
1.2 ms After a successful write sequence the decoder
will acknowledge by taking the data line high and keep-
ing it high until the clock line goes low.
4.2.7
The erase all command (Figure 4-6) erases all the
transmitters in the decoder. After the command and two
dummy bytes are clocked in, the clock line must be
asserted to activate the command. After a successful
completion of an erase all command, the data line is
asserted until the clock line goes low.
MSB
D
D
D
LSB
LSB
WRITE BYTE/S TO USER EEPROM
ERASE ALL
LSB
Dummy Byte
Data Byte
Dummy Byte
MSB
MSB
MSB
T
ERA
T
T
WR
RD
1998 Microchip Technology Inc.
E
E
E
LSB
T
Acknowledge
ACK
Acknowledge
T
Data Byte
ACK
T
T
RESP
T
RESP
ACK
T
ACK
2
MSB
2
T
RD
F
F
F

Related parts for HCS515-IP