DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HCS410T-ST View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
HCS410T-ST
Microchip
Microchip Technology 
HCS410T-ST Datasheet PDF : 46 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
4.2 Learning an HCS410 to a Receiver
In order for a transmitter to be used with a decoder, the
transmitter must first be ‘learned’. Several learning
strategies can be followed in the decoder implementa-
tion. When a transmitter is learned to a decoder, it is
suggested that the decoder stores the serial number
and current synchronization counter value (synchroni-
zation counter stored in CH Mode only) in EEPROM.
The decoder must keep track of these values for every
transmitter that is learned (Figure 4-2 and Figure 4-3).
FIGURE 4-2: TYPICAL CH MODE LEARN
SEQUENCE
Enter Learn
Mode
Wait for Reception
of a Valid Code
Generate Key
from Serial Number
Use Generated Key
to Decrypt
Compare Discrimination
Value with Fixed Value
Equal
No
?
Yes
Wait for Reception
of Second Valid Code
Use Generated Key
to Decrypt
Compare Discrimination
Value with Fixed Value
Equal
No
?
Yes
Counters No
Sequential
?
Yes
Learn successful Store:
Serial number
Encoder key
Synchronization counter
Learn
Unsuccessful
Exit
HCS410
The maximum number of transmitters that can be
learned is only a function of how much EEPROM
memory storage is available. The decoder must also
store the manufacturer’s code in order to learn an
HCS410, although this value will not change in a typical
system so it is usually stored as part of the microcon-
troller ROM code. Storing the manufacturer’s code as
part of the ROM code is also better for security rea-
sons.
FIGURE 4-3: TYPICAL IFF LEARN
SEQUENCE
Enter Learn
Mode
Wait for token
to be detected
Read
Serial Number
Generate Key
From Serial
Number
Perform IFF
with Token
Compare Token
and expected
response
Token and
No
Response
Equal?
Yes
Learn successful
Store:
Serial number
Encoder key
Exit
© 2011 Microchip Technology Inc.
DS40158F-page 23

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]