English
Language : 

HCS361_11 Datasheet, PDF (14/42 Pages) Microchip Technology – KEELOQ® Code Hopping Encoder incorporates high security,
HCS361
5.0 SPECIAL FEATURES
5.1 Code Word Completion
Code word completion is an automatic feature that
ensures that the entire code word is transmitted, even
if the button is released before the transmission is com-
plete and that a minimum of two words are completed.
The HCS361 encoder powers itself up when a button is
pushed and powers itself down after the current trans-
mission is finished, if the user has already released the
button. If the button is held down beyond the time for
two transmissions, then multiple transmissions will
result. The HCS361 transmits at least two transmis-
sions before powering down. If another button is acti-
vated during a transmission, the active transmission
will be aborted and the new code will be generated
using the new button information.
5.2 Blank Alternate Code Word
Federal Communications Commission (FCC) part 15
rules specify the limits on fundamental power and
harmonics that can be transmitted. Power is calculated
on the worst case average power transmitted in a 100
ms window. It is therefore advantageous to minimize
the duty cycle of the transmitted word. This can be
achieved by minimizing the duty cycle of the individual
bits and by blanking out consecutive words. Blank
Alternate Code Word (BACW) is used for reducing the
average power of a transmission (Figure 5-1). This is a
selectable feature. Using the BACW allows the user to
transmit a higher amplitude transmission if the
transmission length is shorter. The FCC puts
constraints on the average power that can be
transmitted by a device, and BACW effectively
prevents continuous transmission by only allowing the
transmission of every second word. This reduces the
average power transmitted and hence, assists in FCC
approval of a transmitter device.
5.3 CRC (Cycle Redundancy Check)
Bits
The CRC bits are calculated on the 65 previously trans-
mitted bits. The CRC bits can be used by the receiver
to check the data integrity before processing starts. The
CRC can detect all single bit and 66% of double bit
errors. The CRC is computed as follows:
EQUATION 5-1: CRC Calculation
CRC[1]n + 1 = CRC[0]n ∧ Din
and
CRC[0]n + 1 = (CRC[0]n ∧ Din) ∧ CRC[1]n
with
CRC[1, 0]0 = 0
and
Din the nth transmission bit 0 ð n ð 64
Note:
The CRC may be wrong when the battery
voltage is around either of the VLOW trip
points. This may happen because VLOW is
sampled twice each transmission, once for
the CRC calculation (PWM is low) and once
when VLOW is transmitted (PWM is high).
VDD tends to move slightly during a transmis-
sion which could lead to a different value for
VLOW being used for the CRC calculation
and the transmission
.
Work around: If the CRC calculation is incor-
rect, recalculate for the opposite value of
VLOW.
FIGURE 5-1:
BLANK ALTERNATE CODE WORD (BACW)
Amplitude
BRS = 0
A
Code Word
Code Word
Code Word
Code Word
BRS = 1
2A
Time
DS40146F-page 14
© 2011 Microchip Technology Inc.