hcs200 Microchip Technology Inc., hcs200 Datasheet - Page 12

no-image

hcs200

Manufacturer Part Number
hcs200
Description
K L Code Hopping Encoder
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HCS200
Manufacturer:
IR
Quantity:
26
Part Number:
HCS200
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
hcs200-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs200-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
hcs200-I/SN
Manufacturer:
FSC
Quantity:
1 200
Part Number:
hcs200-I/SN
0
Part Number:
hcs200/P
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
hcs200/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs200/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
hcs200I/P
Manufacturer:
MICROCHI
Quantity:
20 000
HCS200
7.0
An HCS200 based system requires a compatible
decoder. The decoder is typically a microcontroller with
compatible firmware. Microchip provides, via a license
agreement, firmware routines that will receive and
authenticate HCS200 transmissions. These routines
provide designers the means to develop their own
decoding system.
7.1
A transmitter must first be ’learned’ by a decoder before
its use is allowed in the system. Several learning strat-
egies are possible, Figure 7-1 details a typical learn
sequence. Core to each, the decoder must minimally
store each learned transmitter’s serial number and cur-
rent synchronization counter value in EEPROM. Addi-
tionally, the decoder typically stores each transmitter’s
unique crypt key. The maximum number of learned
transmitters will therefore be relative to the available
EEPROM.
A transmitter’s serial number is transmitted in the clear
but the synchronization counter only exists in the code
word’s encrypted portion. The decoder obtains the
counter value by decrypting using the same key used
to encrypt the information. The K
symmetrical block cipher so the encryption and decryp-
tion keys are identical and referred to generally as the
crypt key. The encoder receives its crypt key during
manufacturing. The decoder is programmed with the
ability to generate a crypt key as well as all but one
required input to the key generation routine; typically
the transmitter’s serial number.
Figure 7-1 summarizes a typical learn sequence. The
decoder receives and authenticates a first transmis-
sion; first button press. Authentication involves gener-
ating the appropriate crypt key, decrypting, validating
the correct key usage via the discrimination bits and
buffering the counter value. A second transmission is
received and authenticated. A final check verifies the
counter values were sequential; consecutive button
presses. If the learn sequence is successfully com-
plete, the decoder stores the learned transmitter’s
serial number, current synchronization counter value
and appropriate crypt key. From now on the crypt key
will be retrieved from EEPROM during normal opera-
tion instead of recalculating it for each transmission
received.
Certain learning strategies have been patented and
care must be taken not to infringe.
DS40138C-page 12
INTEGRATING THE HCS200
INTO A SYSTEM
Learning a Transmitter to a
Receiver
EE
L
OQ
algorithm is a
FIGURE 7-1:
Compare Discrimination
Compare Discrimination
Learn successful.
Store:
Value with Fixed Value
Value with Fixed Value
of Second Valid Code
from Serial Number
Use Generated Key
Use Generated Key
Serial number
Crypt key
Synchronization counter
Wait for Reception
Wait for Reception
of a Valid Code
Generate Key
Enter Learn
Sequential
to Decrypt
to Decrypt
Counters
Mode
Equal
Equal
Exit
?
?
?
TYPICAL LEARN SEQUENCE
Yes
Yes
Yes
2002 Microchip Technology Inc.
No
No
No
Unsuccessful
Learn

Related parts for hcs200