hcs201 Microchip Technology Inc., hcs201 Datasheet - Page 16
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
hcs201
Manufacturer Part Number
hcs201
Description
Keeloq Code Hopping Encoder
Manufacturer
Microchip Technology Inc.
Datasheet
1.HCS201.pdf
(28 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
hcs201-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs201-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
hcs201-I/SN
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs201-I/SN
Manufacturer:
MICROCHI
Quantity:
20 000
Company:
Part Number:
hcs201/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs201/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
hcs201/SN
Manufacturer:
ALTERA
Quantity:
201
Part Number:
hcs201/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
hcs201T-I/SN
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
hcs201T-I/SN
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
HCS201
7.2
Figure 7-2 summarizes normal decoder operation. The
decoder waits until a transmission is received. The
received serial number is compared to the EEPROM
table of learned transmitters to first determine if this
transmitter’s use is allowed in the system. If from a
learned transmitter, the transmission is decrypted
using the stored crypt key and authenticated via the
discrimination bits for appropriate crypt key usage. If
the decryption was valid the synchronization value is
evaluated.
FIGURE 7-2:
DS41098C-page 16
No
No
No
No
No
Decrypt Transmission
Decoder Operation
in Temp Location
Serial Number
Save Counter
Transmission
Decryption
Within 32K
Received
Within 16
Counter
Counter
Match
Does
Start
Valid
Is
Is
Is
?
?
?
?
?
No
Yes
Yes
Yes
Yes
TYPICAL DECODER
OPERATION
Yes
Command
Execute
Counter
Update
and
7.3
The K
sophisticated synchronization technique that does not
require the calculation and storage of future codes. The
technique securely blocks invalid transmissions while
providing transparent resynchronization to transmitters
inadvertently activated away from the receiver.
Figure 7-3 shows a 3-partition, rotating synchronization
window. The size of each window is optional but the
technique is fundamental. Each time a transmission is
authenticated, the intended function is executed and
the transmission’s synchronization counter value is
stored in EEPROM. From the currently stored counter
value there is an initial "Single Operation" forward win-
dow of 16 codes. If the difference between a received
synchronization counter and the last stored counter is
within 16, the intended function will be executed on the
single button press and the new synchronization
counter will be stored. Storing the new synchronization
counter value effectively rotates the entire synchroniza-
tion window.
A "Double Operation" (resynchronization) window fur-
ther exists from the Single Operation window up to 32K
codes forward of the currently stored counter value. It
is referred to as "Double Operation" because a trans-
mission with synchronization counter value in this win-
dow will require an additional, sequential counter
transmission prior to executing the intended function.
Upon receiving the sequential transmission the
decoder executes the intended function and stores the
synchronization counter value. This resynchronization
occurs transparently to the user as it is human nature
to press the button a second time if the first was unsuc-
cessful.
The third window is a "Blocked Window" ranging from
the double operation window to the currently stored
synchronization counter value. Any transmission with
synchronization counter value within this window will
be ignored. This window excludes previously used,
perhaps code-grabbed transmissions from accessing
the system.
Note:
EE
Synchronization with Decoder
(Evaluating the Counter)
L
OQ
The synchronization method described in
this section is only a typical implementation
and because it is usually implemented in
firmware, it can be altered to fit the needs
of a particular system.
technology patent scope includes a
2001 Microchip Technology Inc.