HCS500-ISM MICROCHIP [Microchip Technology], HCS500-ISM Datasheet - Page 16

no-image

HCS500-ISM

Manufacturer Part Number
HCS500-ISM
Description
KEELOQ CODE HOPPING ENCODER
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
HCS500
6.0
The HCS500 supports three learning schemes which are selected during the initialization of the system EEPROM. The
learning schemes are:
• Normal learn using the K
• Secure learn using the K
• Secure learn using the XOR algorithm
6.1
This learning scheme uses the K
encoder key. The 28-bit serial number is patched with predefined values as indicated below to form two 32-bit seeds.
Then, using the K
lows:
6.2
This scheme uses the secure seed transmitted by the encoder to derive the two input seeds. The decoder always uses
the lower 64 bits of the transmission to form a 60-bit seed. The upper 4 bits are always forced to zero.
For 32-bit seed encoders (HCS200/HCS300/HCS301):
For 48-bit seed encoders (HCS360/HCS361):
For 60-bit seed encoders (HCS410):
The K
6.3
This scheme uses the seed transmitted by the encoder to derive the two input seeds. The decoder always use the lower
64 bits of the transmission to form a 60-bit seed. The upper 4 bits are always forced to zero.
For 32-bit seed encoders (HCS200/HCS300/HCS301):
For 48-bit seed encoders (HCS360/HCS361):
For 60-bit seed encoders (HCS410):
Then, using the K
as follows:
DS40153B-page 16
SourceH = 60000000 00000000H + Serial Number |
SourceL = 20000000 00000000H + Serial Number |
KeyH
KeyL
SourceH = Serial Number
SourceL = Seed
SourceH = Seed
SourceL = Seed
SourceH = Seed
SourceL = Seed
KeyL
SourceL = Seed
SourceH = Seed
SourceL = Seed
SourceH = Seed
SourceL = Seed
KeyH
KeyL
KeyH
SourceH = Serial Number
EE
L
KEY GENERATION
Normal (Serial Number derived) Learn using the K
Secure (Seed Derived) Learn using the K
Secure (Seed Derived) Learn using the XOR Algorithm
OQ
Lower 32 bits
Lower 32 bits
Lower 32 bits
Upper 32 bits
Upper 32 bits
Upper 32 bits
decryption algorithm and the manufacturer’s code is used to derive the encoder key as follows:
EE
EE
32 bits
Lower 32 bits
Lower 32 bits
32 bits
Lower 32 bits
Lower 32 bits
L
= F
= F
= SourceL XOR 64-Bit Manufacturer’s Code |
= F
Upper 16 bits
Upper 32 bits
Upper 16 bits
Upper 32 bits
= F
= SourceH XOR 64-Bit Manufacturer’s Code |
OQ
L
OQ
K
K
K
K
decryption algorithm and the manufacturer’s code the encoder key is derived as fol-
EE
EE
EE
EE
EE
EE
L
L
decryption algorithm and the manufacturer’s code the encoder key is derived
L
L
L
OQ
OQ
L
OQ
OQ
OQ
OQ
Lower 28 bits
Lower 28 bits
EE
Decryption
Decrypt
Decryption
Decrypt
+ Serial Number
with upper 4 bits set to zero
+ Serial Number
with upper 4 bits set to zero
decryption algorithm
decryption algorithm
L
OQ
decryption algorithm and the 28-bit serial number of the transmitter to derive the
(SourceL) |
(SourceH) |
(SourceL) |
(SourceH) |
Upper 16 bits
Upper 16 bits
Preliminary
64 Bit Manufacturer’s Code
64 Bit Manufacturer’s Code
64-Bit Manufacturer’s Code
64-Bit Manufacturer’s Code
28 Bits
28 Bits
EE
L
OQ
with upper 4 bits set to zero
with upper 4 bits set to zero
Decryption Algorithm
Lower 32 bits
Upper 32 bits
EE
L
OQ
Decryption Algorithm
1997 Microchip Technology Inc.

Related parts for HCS500-ISM