|
HCS500 Datasheet, PDF (15/24 Pages) Microchip Technology – KEELOQ CODE HOPPING ENCODER | |||
|
◁ |
HCS500
5.2 Programming Waveform
The programming command consists of the following:
⢠Command Request Sequence (A to B)
⢠Command Byte (B to C)
⢠Conï¬guration Byte (C to D)
⢠Manufacturerâs Code Eight Data Bytes (D to G)
⢠Activation and Acknowledge Sequence (G to H)
FIGURE 5-1: PROGRAMMING WAVEFORM
TCLKL
TCMD
TADDR
TPP1 TPP3
TCLKH TDS
5.3 Programming Data String
A total of 80 bits are clocked into the decoder. The 8-bit
command byte is clocked in ï¬rst, followed by the 8-bit
conï¬guration byte and the 64-bit manufacturerâs code.
The data must be clocked in Least Signiï¬cant Bit (LSB)
ï¬rst. The decoder will then encrypt the manufacturerâs
code using the decoderâs unique 64-bit EEPROM
encoder key. After completion of the programming
EEPROM, the decoder will acknowledge by taking the
data line high (G to H). If the data line goes high within
30 ms after the clock goes high, programming also fails.
TDATA
TDATA TACK
TWT2
CLK
µC DATA
LSB
TPP2TPP4
MSB LSB
MSB
MSB
LSB
MSB
TAW
DECODER DATA
Start Command
Command Byte
Conï¬guration Byte Least Signiï¬cant Byte
A
B
C
D
E
Most Signiï¬cant Byte Acknowledge
F
G
H
© 1997 Microchip Technology Inc.
Preliminary
DS40153B-page 15
|
▷ |