HCS360/SN [ETC]
REMOTE-CONTROL TRANSMITTER/ENCODER|CMOS|SOP|8PIN ; 遥控发射器/编码器| CMOS |专科| 8PIN\n型号: | HCS360/SN |
厂家: | ETC |
描述: | REMOTE-CONTROL TRANSMITTER/ENCODER|CMOS|SOP|8PIN
|
文件: | 总34页 (文件大小:442K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
HCS360
®
KEELOQ Code Hopping Encoder
FEATURES
Security
DESCRIPTION
The HCS360 is a code hopping encoder designed for
secure Remote Keyless Entry (RKE) systems. The
HCS360 utilizes the KEELOQ code hopping technology,
which incorporates high security, a small package
outline and low cost, to make this device a perfect
solution for unidirectional remote keyless entry sys-
tems and access control systems.
• Programmable 28/32-bit serial number
• Programmable 64-bit encryption key
• Each transmission is unique
• 67-bit transmission code length
• 32-bit hopping code
• 35-bit fixed code (28/32-bit serial number,
4/0-bit function code, 1-bit status, 2-bit CRC)
• Encryption keys are read protected
PACKAGE TYPES
PDIP, SOIC
8
7
6
5
VDD
LED
DATA
VSS
Operating
• 2.0-6.6V operation
• Four button inputs
- 15 functions available
S0
1
2
3
4
S1
S2
S3
• Selectable baud rate
• Automatic code word completion
• Battery low signal transmitted to receiver
• Nonvolatile synchronization data
• PWM and Manchester modulation
BLOCK DIAGRAM
Other
Oscillator
Power
latching
and
• Easy-to-use programming interface
• On-chip EEPROM
Controller
RESET circuit
switching
LED
• On-chip oscillator and timing components
• Button inputs have internal pull-down resistors
• Current limiting on LED output
• Minimum component count
LED driver
EEPROM
Encoder
Enhanced Features Over HCS300
DATA
• 48-bit seed vs. 32-bit seed
• 2-bit CRC for error detection
• 28/32-bit serial number select
• Two seed transmission methods
• PWM and Manchester modulation
• IR Modulation mode
32-bit shift register
VSS
Button input port
VDD
Typical Applications
S2
S3
S1 S0
The HCS360 is ideal for Remote Keyless Entry (RKE)
applications. These applications include:
The HCS360 combines
a 32-bit hopping code
generated by a nonlinear encryption algorithm, with a
28/32-bit serial number and 7/3 status bits to create a
67-bit transmission stream.
• Automotive RKE systems
• Automotive alarm systems
• Automotive immobilizers
• Gate and garage door openers
• Identity tokens
• Burglar alarm systems
2002 Microchip Technology Inc.
DS40152E-page 1
HCS360
The crypt key, serial number and configuration data are
stored in an EEPROM array which is not accessible via
any external connection. The EEPROM data is pro-
grammable but read-protected. The data can be veri-
fied only after an automatic erase and programming
operation. This protects against attempts to gain
access to keys or manipulate synchronization values.
The HCS360 provides an easy-to-use serial interface
for programming the necessary keys, system parame-
ters and configuration data.
• Learn – Learning involves the receiver calculating
the transmitter’s appropriate crypt key, decrypting
the received hopping code and storing the serial
number, synchronization counter value and crypt
key in EEPROM. The KEELOQ product family facil-
itates several learning strategies to be imple-
mented on the decoder. The following are
examples of what can be done.
- Simple Learning
The receiver uses a fixed crypt key, common
to all components of all systems by the same
manufacturer, to decrypt the received code
word’s encrypted portion.
1.0
SYSTEM OVERVIEW
Key Terms
- Normal Learning
The receiver uses information transmitted
during normal operation to derive the crypt
key and decrypt the received code word’s
encrypted portion.
The following is a list of key terms used throughout this
data sheet. For additional information on KEELOQ and
Code Hopping, refer to Technical Brief 3 (TB003).
• RKE - Remote Keyless Entry
- Secure Learn
• Button Status - Indicates what button input(s)
activated the transmission. Encompasses the 4
button status bits S3, S2, S1 and S0 (Figure 3-1).
The transmitter is activated through a special
button combination to transmit a stored 60-bit
seed value used to generate the transmitter’s
crypt key. The receiver uses this seed value
to derive the same crypt key and decrypt the
received code word’s encrypted portion.
• Code Hopping - A method by which a code,
viewed externally to the system, appears to
change unpredictably each time it is transmitted.
• Code word - A block of data that is repeatedly
transmitted upon button activation (Figure 3-1).
• Manufacturer’s code – A unique and secret 64-
bit number used to generate unique encoder crypt
keys. Each encoder is programmed with a crypt
key that is a function of the manufacturer’s code.
Each decoder is programmed with the manufac-
turer code itself.
• Transmission - A data stream consisting of
repeating code words (Figure 8-1).
• Crypt key - A unique and secret 64-bit number
used to encrypt and decrypt data. In a symmetri-
cal block cipher such as the KEELOQ algorithm,
the encryption and decryption keys are equal and
will therefore be referred to generally as the crypt
key.
The HCS360 code hopping encoder is designed specif-
ically for keyless entry systems; primarily vehicles and
home garage door openers. The encoder portion of a
keyless entry system is integrated into a transmitter,
carried by the user and operated to gain access to a
vehicle or restricted area. The HCS360 is meant to be
a cost-effective yet secure solution to such systems,
requiring very few external components (Figure 2-1).
• Encoder - A device that generates and encodes
data.
• Encryption Algorithm - A recipe whereby data is
scrambled using a crypt key. The data can only be
interpreted by the respective decryption algorithm
using the same crypt key.
Most low-end keyless entry transmitters are given a
fixed identification code that is transmitted every time a
button is pushed. The number of unique identification
codes in a low-end system is usually a relatively small
number. These shortcomings provide an opportunity
for a sophisticated thief to create a device that ‘grabs’
a transmission and retransmits it later, or a device that
quickly ‘scans’ all possible identification codes until the
correct one is found.
• Decoder - A device that decodes data received
from an encoder.
• Decryption algorithm - A recipe whereby data
scrambled by an encryption algorithm can be
unscrambled using the same crypt key.
The HCS360, on the other hand, employs the KEELOQ
code hopping technology coupled with a transmission
length of 66 bits to virtually eliminate the use of code
‘grabbing’ or code ‘scanning’. The high security level of
the HCS360 is based on the patented KEELOQ technol-
ogy. A block cipher based on a block length of 32 bits
and a key length of 64 bits is used. The algorithm
obscures the information in such a way that even if the
transmission information (before coding) differs by only
one bit from that of the previous transmission, the next
DS40152E-page 2
2002 Microchip Technology Inc.
HCS360
coded transmission will be completely different. Statis-
tically, if only one bit in the 32-bit string of information
changes, greater than 50 percent of the coded trans-
mission bits will change.
The crypt key generation typically inputs the transmitter
serial number and 64-bit manufacturer’s code into the
key generation algorithm (Figure 1-1). The manufac-
turer’s code is chosen by the system manufacturer and
must be carefully controlled as it is a pivotal part of the
overall system security.
As indicated in the block diagram on page one, the
HCS360 has a small EEPROM array which must be
loaded with several parameters before use; most often
programmed by the manufacturer at the time of produc-
tion. The most important of these are:
• A 28-bit serial number, typically unique for every
encoder
• A crypt key
• An initial 16-bit synchronization value
• A 16-bit configuration value
FIGURE 1-1:
CREATION AND STORAGE OF CRYPT KEY DURING PRODUCTION
Production
Programmer
HCS360
Transmitter
Serial Number
EEPROM Array
Serial Number
Crypt Key
Sync Counter
.
.
.
Key
Crypt
Key
Manufacturer’s
Code
Generation
Algorithm
The 16-bit synchronization counter is the basis behind
the transmitted code word changing for each transmis-
sion; it increments each time a button is pressed. Due
to the code hopping algorithm’s complexity, each incre-
ment of the synchronization value results in greater
than 50% of the bits changing in the transmitted code
word.
A transmitter must first be ‘learned’ by the receiver
before its use is allowed in the system. Learning
includes calculating the transmitter’s appropriate crypt
key, decrypting the received hopping code and storing
the serial number, synchronization counter value and
crypt key in EEPROM.
In normal operation, each received message of valid
format is evaluated. The serial number is used to deter-
mine if it is from a learned transmitter. If from a learned
transmitter, the message is decrypted and the synchro-
nization counter is verified. Finally, the button status is
checked to see what operation is requested. Figure 1-3
shows the relationship between some of the values
stored by the receiver and the values received from
the transmitter.
Figure 1-2 shows how the key values in EEPROM are
used in the encoder. Once the encoder detects a button
press, it reads the button inputs and updates the syn-
chronization counter. The synchronization counter and
crypt key are input to the encryption algorithm and the
output is 32 bits of encrypted information. This data will
change with every button press, its value appearing
externally to ‘randomly hop around’, hence it is referred
to as the hopping portion of the code word. The 32-bit
hopping code is combined with the button information
and serial number to form the code word transmitted to
the receiver. The code word format is explained in
greater detail in Section 4.2.
A receiver may use any type of controller as a decoder,
but it is typically a microcontroller with compatible firm-
ware that allows the decoder to operate in conjunction
with an HCS360 based transmitter. Section 7.0
provides detail on integrating the HCS360 into a sys-
tem.
2002 Microchip Technology Inc.
DS40152E-page 3
HCS360
FIGURE 1-2:
BUILDING THE TRANSMITTED CODE WORD (ENCODER)
EEPROM Array
Crypt Key
KEELOQ
Encryption
Algorithm
Sync Counter
Serial Number
Button Press
Serial Number
Information
32 Bits
Encrypted Data
Transmitted Information
FIGURE 1-3:
BASIC OPERATION OF RECEIVER (DECODER)
1
Received Information
EEPROM Array
32 Bits of
Encrypted Data
Button Press
Information
Manufacturer Code
Serial Number
Check for
Match
Serial Number
2
Sync Counter
Crypt Key
3
KEELOQ
Decryption
Algorithm
Decrypted
Synchronization
Counter
Check for
Match
4
Perform Function
Indicated by
5
button press
NOTE: Circled numbers indicate the order of execution.
DS40152E-page 4
2002 Microchip Technology Inc.
HCS360
discrimination value and button information will be
encrypted to form the hopping code. The hopping code
portion will change every transmission, even if the
same button is pushed again. A code word that has
been transmitted will not repeat for more than 64K
transmissions. This provides more than 18 years of use
before a code is repeated; based on 10 operations per
day. Overflow information sent from the encoder can be
used to extend the number of unique transmissions to
more than 192K.
2.0
DEVICE OPERATION
As shown in the typical application circuits (Figure 2-1),
the HCS360 is a simple device to use. It requires only
the addition of buttons and RF circuitry for use as the
transmitter in your security application. A description of
each pin is described in Table 2-1.
FIGURE 2-1:
TYPICAL CIRCUITS
VDD
If in the transmit process it is detected that a new but-
ton(s) has been pressed, a RESET will immediately
occur and the current code word will not be completed.
Please note that buttons removed will not have any
effect on the code word unless no buttons remain
pressed; in which case the code word will be completed
and the power-down will occur.
B0
B1
S0
VDD
LED
S1
S2
S3
Tx out
DATA
VSS
FIGURE 2-2:
ENCODER OPERATION
Two button remote control
Power-Up
(A button has been pressed)
VDD
B4 B3 B2 B1 B0
RESET and Debounce Delay
(10 ms)
S0
Sample Inputs
VDD
LED
DATA
VSS
S1
S2
S3
Update Sync Info
Tx out
Encrypt With
Crypt Key
Five button remote control (Note1)
Load Transmit Register
Transmit
Note:
Up to 15 functions can be implemented by pressing
more than one button simultaneously or by using a
suitable diode array.
TABLE 2-1:
PIN DESCRIPTIONS
Description
Buttons
Added
?
Yes
Pin
Number
Name
No
No
S0
S1
S2
1
Switch input 0
Switch input 1
All
Buttons
Released
?
2
3
Switch input 2 / Clock pin when in
Programming mode
Yes
Complete Code
Word Transmission
S3
VSS
4
5
6
Switch input 3
Ground reference
DATA
Data output pin /Data I/O pin for
Programming mode
Stop
LED
VDD
7
8
Cathode connection for LED
Positive supply voltage
The HCS360 will wake-up upon detecting a button
press and delay approximately 10 ms for button
debounce (Figure 2-2). The synchronization counter,
2002 Microchip Technology Inc.
DS40152E-page 5
HCS360
3.2
SYNC_A, SYNC_B
(Synchronization Counter)
3.0
EEPROM MEMORY
ORGANIZATION
This is the 16-bit synchronization value that is used to
create the hopping code for transmission. This value is
incremented after every transmission. Separate syn-
chronization counters can be used to stay synchro-
nized with different receivers.
The HCS360 contains 192 bits (12 x 16-bit words) of
EEPROM memory (Table 3-1). This EEPROM array is
used to store the crypt key information, synchronization
value, etc. Further descriptions of the memory array is
given in the following sections.
3.3
SEED_0, SEED_1, and SEED_2
(Seed Word)
TABLE 3-1:
EEPROM MEMORY MAP
MNEMONIC DESCRIPTION
64-bit crypt key
WORD
ADDRESS
The three word (48 bits) seed code will be transmitted
when seed transmission is selected. This allows the sys-
tem designer to implement the Secure Learn feature or
use this fixed code word as part of a different key genera-
tion/tracking process or purely as a fixed code transmis-
sion.
0
1
2
3
KEY_0
KEY_1
KEY_2
KEY_3
SYNC_A
(word 0) LSb’s
64-bit crypt key
(word 1)
64-bit crypt key
(word 2)
64-bit crypt key
(word 3) MSb’s
16-bit synch counter
Note: Since SEED2 and SYNC_B share the
same memory location, Secure Learn and
Independent mode transmission (including
IR mode) are mutually exclusive.
4
5
SYNC_B/ 16-bit synch counter B
SEED_2 or Seed value (word 2)
RESERVED Set to 0000H
3.4
SER_0, SER_1
(Encoder Serial Number)
6
7
SEED_0
SEED_1
SER_0
Seed Value
(word 0) LSb’s
Seed Value
(word 1) MSb’s
Device Serial Number
(word 0) LSb’s
SER_0 and SER_1 are the lower and upper words of
the device serial number, respectively. There are 32
bits allocated for the Serial Number and a selectable
configuration bit determines whether 32 or 28 bits will
be transmitted. The serial number is meant to be
unique for every transmitter.
8
9
10
11
SER_1
Device Serial Number
(word 1) MSb’s
Configuration Word
CONFIG
3.1
KEY_0 - KEY_3 (64-Bit Crypt Key)
The 64-bit crypt key is used to create the encrypted
message transmitted to the receiver. This key is calcu-
lated and programmed during production using a key
generation algorithm. The key generation algorithm
may be different from the KEELOQ algorithm. Inputs to
the key generation algorithm are typically the transmit-
ter’s serial number and the 64-bit manufacturer’s code.
While the key generation algorithm supplied from
Microchip is the typical method used, a user may elect
to create their own method of key generation. This may
be done providing that the decoder is programmed with
the same means of creating the key for
decryption purposes.
DS40152E-page 6
2002 Microchip Technology Inc.
HCS360
BSEL 1 and BSEL 0 determine the baud rate according
to Table 3-4 when Manchester modulation is selected.
3.5
CONFIG
(Configuration Word)
The Configuration Word is a 16-bit word stored in
EEPROM array that is used by the device to store
information used during the encryption process, as well
as the status of option configurations. Further
explanations of each of the bits are described in the
following sections.
TABLE 3-4:
BAUD RATE SELECTION
MOD
BSEL 1 BSEL 0
TE
Unit
1
1
1
1
0
0
1
1
0
1
0
1
800
400
400
200
us
us
us
us
TABLE 3-2:
CONFIGURATION WORD.
3.5.3
OVR: OVERFLOW
Bit Number Symbol
Bit Description
0
1
LNGRD Long Guard Time
The overflow bit is used to extend the number of possi-
ble synchronization values. The synchronization
counter is 16 bits in length, yielding 65,536 values
before the cycle repeats. Under typical use of
10 operations a day, this will provide nearly 18 years of
use before a repeated value will be used. Should the
system designer conclude that is not adequate, then
the overflow bit can be utilized to extend the number of
unique values. This can be done by programming OVR
to 1 at the time of production. The encoder will auto-
matically clear OVR the first time that the transmitted
synchronization value wraps from 0xFFFF to 0x0000.
Once cleared, OVR cannot be set again, thereby creat-
ing a permanent record of the counter overflow. This
prevents fast cycling of 64K counter. If the decoder sys-
tem is programmed to track the overflow bits, then the
effective number of unique synchronization values can
be extended to 128K. If programmed to zero, the sys-
tem will be compatible with old encoder devices.
BSEL 0 Baud Rate Selection
BSEL 1 Baud Rate Selection
2
3
NU
Not Used
4
SEED
DELM
TIMO
IND
Seed Transmission enable
Delay mode enable
Time-out enable
5
6
7
Independent mode enable
8
USRA0 User bit
USRA1 User bit
USRB0 User bit
USRB1 User bit
9
10
11
12
XSER
Extended serial number
enable
13
14
15
TMPSD Temporary seed transmis-
sion enable
MOD
Manchester/PWM modula-
tion selection
3.5.4
LNGRD: LONG GUARD TIME
LNGRD = 1 selects the encoder to extend the guard
time between code words adding ≈50 ms. This can be
used to reduce the average power transmitted over a
100 ms window and thereby transmit a higher peak
power.
OVR
Overflow bit
3.5.1
MOD: MODULATION FORMAT
MOD selects between Manchester code modulation
and PWM modulation.
If MOD = 1, Manchester modulation is selected:
If MOD = 0, PWM modulation is selected.
3.5.2
BSEL 1, 0
BAUD RATE SELECTION
BSEL 1 and BSEL 0 determine the baud rate according
to Table 3-3 when PWM modulation is selected.
TABLE 3-3:
BAUD RATE SELECTION
MOD
BSEL 1 BSEL 0
TE
Unit
0
0
0
0
0
0
1
1
0
1
0
1
400
200
200
100
us
us
us
us
2002 Microchip Technology Inc.
DS40152E-page 7
HCS360
3.5.5
XSER: EXTENDED SERIAL
NUMBER
3.5.6
DISCRIMINATION VALUE
While in other KEELOQ encoders its value is user
selectable, the HCS360 uses directly the 8 Least Sig-
nificant bits of the Serial Number as part of the infor-
mation that form the encrypted portion of the
transmission (Figure 3-1).
If XSER = 0, the four Most Significant bits of the Serial
Number are substituted by S[3:0] and the code word
format is compatible with the HCS200/300/301.
If XSER = 1, the full 32-bit Serial Number [SER_1,
SER_0] is transmitted.
The discrimination value aids the post-decryption
check on the decoder end. After the receiver has
decrypted a transmission, the discrimination bits are
checked against the encoder Serial Number to verify
that the decryption process was valid.
Note: Since the button status S[3:0] is used to
detect a Seed transmission, Extended
Serial Number and Secure Learn are
mutually exclusive.
3.5.7
USRA,B: USER BITS
User bits form part of the discrimination value. The user
bits together with the IND bit can be used to identify the
counter that is used in Independent mode.
FIGURE 3-1:
CODE WORD ORGANIZATION
XSER=0
Fixed Code Portion of Transmission
Encrypted Portion of Transmission
Discrimination
bits
Button
Status
(4 bits)
Button
Status
(4 bits)
CRC
(2-bit)
VLOW
(1-bit)
28-bit
Serial Number
16-bit
Sync Value
(12 bits)
MSB
LSB
67 bits
of Data
Transmitted
XSER=1
Fixed Code Portion of Transmission
Encrypted Portion of Transmission
Discrimination
bits
Button
Status
(4 bits)
CRC
(2-bit)
VLOW
32-bit
(1-bit)
16-bit
Sync Value
Extended Serial Number
(12 bits)
MSB
LSB
Button Status
(4 bits)
Discrimination Bits
(12 bits)
S
2
S
1
S
0
S
3
I
O
U
S
R
1
U
S
R
0
S
E
R
7
S
E
R
6
...
...
...
...
S
E
R
0
N
D
V
R
DS40152E-page 8
2002 Microchip Technology Inc.
HCS360
mation (SEED_0, SEED_1, and SEED_2) and the
upper 12 or 16 bits of the serial number (SER_1) are
transmitted instead of the hop code.
3.5.8
SEED: ENABLE SEED
TRANSMISSION
If SEED = 0, seed transmission is disabled. The Inde-
pendent Counter mode can only be used with seed
transmission disabled since SEED_2 is shared with the
second synchronization counter.
Seed transmission is available for function codes
(Table 3-9) S[3:0] = 1001 and S[3:0] = 0011(delayed).
This takes place regardless of the setting of the IND bit.
The two seed transmissions are shown in Figure 3-2.
With SEED = 1, seed transmission is enabled. The
appropriate button code(s) must be activated to trans-
mit the seed information. In this mode, the seed infor-
FIGURE 3-2:
Seed Transmission
All examples shown with XSER = 1, SEED = 1
When S[3:0] = 1001, delay is not acceptable.
CRC+VLOW
SER_1
SEED_2
SEED_1
SEED_0
Data transmission direction
For S[3:0] = 0x3 before delay:
16-bit Data Word
16-bit Counter
Encrypt
CRC+VLOW SER_1
SER_0
Encrypted Data
SEED_1
Data transmission direction
For S[3:0] = 0011 after delay (Note 1, Note 2):
CRC+VLOW SER_1 SEED_2
SEED_0
Data transmission direction
Note 1: For Seed Transmission, SEED_2 is transmitted instead of SER_0.
2: For Seed Transmission, the setting of DELM has no effect.
3.5.9
TMPSD: TEMPORARY SEED
TRANSMISSION
TABLE 3-5:
SYNCHRONOUS COUNTER
INITIALIZATION VALUES
The temporary seed transmission can be used to dis-
able learning after the transmitter has been used for a
programmable number of operations. This feature can
be used to implement very secure systems. After learn-
ing is disabled, the seed information cannot be
accessed even if physical access to the transmitter is
possible. If TMPSD = 1 the seed transmission will be
disabled after a number of code hopping transmis-
sions. The number of transmissions before seed trans-
mission is disabled, can be programmed by setting the
synchronization counter (SYNC_A, SYNC_B) to a
value as shown in Table 3-5.
Synchronous Counter
Values
Number of
Transmissions
0000H
0060H
0050H
0048H
128
64
32
16
2002 Microchip Technology Inc.
DS40152E-page 9
HCS360
If DELM = 0, delay transmission is disabled (Table 3-
6).
3.5.10
DELM: DELAY MODE
If DELM = 1, delay transmission is enabled. A delayed
transmission is indicated by inverting the lower nibble
of the discrimination value. The Delay mode is primarily
for compatibility with previous KEELOQ devices and is
not recommended for new designs.
TABLE 3-6:
BSEL 1
TYPICAL DELAY TIMES
Number of Code
Time Before Delay Mode Time Before Delay Mode
BSEL 0
Words before Delay
Mode
(MOD = 0)
(MOD = 1)
0
0
1
1
0
1
0
1
28
56
28
56
≈ 2.9s
≈ 3.1s
≈ 1.5s
≈ 1.7s
≈ 5.1s
≈ 6.4s
≈ 3.2s
≈ 4.5s
the LED is turned off. Current consumption will be
higher than in Standby mode since current will flow
through the activated input resistors. This state can be
exited only after all inputs are taken low. TIMO = 0, will
enable continuous transmission (Table 3-7).
3.5.11
TIMO: TIME-OUT
OR AUTO-SHUTOFF
If TIMO = 1, the time-out is enabled. Time-out can be
used to terminate accidental continuous transmissions.
When time-out occurs, the PWM output is set low and
TABLE 3-7:
BSEL 1
TYPICAL TIME-OUT TIMES
Maximum Number of
Time Before Time-out
(MOD = 0)
Time Before Time-out
(MOD = 1)
BSEL 0
Code Words
Transmitted
0
0
1
1
0
1
0
1
256
512
256
512
≈ 26.5s
≈ 28.2s
≈ 14.1s
≈ 15.7s
≈ 46.9
≈ 58.4
≈ 29.2
≈ 40.7
DS40152E-page 10
2002 Microchip Technology Inc.
HCS360
3.5.12
IND: INDEPENDENT MODE
TABLE 3-8:
IR MODULATION
The Independent mode can be used where one
encoder is used to control two receivers. Two counters
(SYNC_A and SYNC_B) are used in Independent
mode. As indicated in Table 3-9, function codes 1 to 7
use SYNC_A and 8 to 15 SYNC_B.
TE
Basic Pulse
(800µs)
(32x)
800us
400us
3.5.13
INFRARED MODE
(400µs)
(16x)
The Independent mode also selects IR mode. In IR
mode function codes 12 to 15 will use SYNC_B. The
PWM output signal is modulated with a 40 kHz carrier
(see Table 3-8). It must be pointed out that the 40 kHz
is derived from the internal clock and will therefore vary
with the same percentage as the baud rate. If IND = 0,
SYNC_A is used for all function codes. If IND = 1, Inde-
pendent mode is enabled and counters for functions
are used according to Table 3-9.
Period = 25µs
200us
100us
(200µs)
(8x)
(100µs)
(4x)
TABLE 3-9:
S3
FUNCTION CODES
S2
S1
S0
IND = 0
IND = 1
Comments
Counter
1
2
0
0
0
0
0
0
0
1
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
0
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
B
B
B
B
3
If SEED = 1, transmit seed after delay.
4
5
6
7
8
9
If SEED = 1, transmit seed immediately.
10
11
12
B(1)
B(1)
B(1)
B(1)
13
14
15
1
1
1
1
1
1
0
1
1
1
0
1
A
A
A
Note 1: IR mode
2002 Microchip Technology Inc.
DS40152E-page 11
HCS360
4.2
Code Word Organization
4.0
4.1
TRANSMITTED WORD
The HCS360 transmits a 67-bit code word when a but-
ton is pressed. The 67-bit word is constructed from a
Fixed Code portion and an Encrypted Code portion
(Figure 3-1).
Transmission Format (PWM)
The HCS360 code word is made up of several parts
(Figure 4-1 and Figure 4-2). Each code word contains
a 50% duty cycle preamble, a header, 32 bits of
encrypted data and 35 bits of fixed data followed by a
guard period before another code word can begin.
Refer to Table 8-3 and Table 8-5 for code word timing.
The Encrypted Data is generated from 4 function bits,
2 user bits, overflow bit, Independent mode bit, and 8
serial number bits, and the 16-bit synchronization value
(Figure 3-1). The encrypted portion alone provides up
to four billion changing code combinations.
The Fixed Code Data is made up of a VLOW bit, 2 CRC
bits, 4 function bits, and the 28-bit serial number. If the
extended serial number (32 bits) is selected, the 4 func-
tion code bits will not be transmitted. The fixed and
encrypted sections combined increase the number of
code combinations to 7.38 x 1019
FIGURE 4-1: CODE WORD FORMAT (PWM)
TE
TE
TE
LOGIC "0"
LOGIC "1"
50% Duty Cycle
Preamble
1
16
31XTE Preamble
Encrypted Portion
of Transmission
Fixed Portion
of Transmission
Guard
Time
10xTE
Header
FIGURE 4-2: CODE WORD FORMAT (MANCHESTER)
TE
TE
LOGIC "0"
LOGIC "1"
50% Duty Cycle
STOP bit
START bit bit 0
16
bit 2
Preamble
bit 1
1
2
Guard
Time
31XTE
Preamble
Encrypted Portion
of Transmission
Fixed Portion
of Transmission
4XTE
Header
DS40152E-page 12
2002 Microchip Technology Inc.
HCS360
5.3
CRC (Cycle Redundancy Check)
Bits
5.0
5.1
SPECIAL FEATURES
Code Word Completion
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:
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 HCS360 encoder powers itself up when a button is
pushed and powers itself down after two complete
words are transmitted if the user has already released
the button. If the button is held down beyond the time
for one transmission, then multiple transmissions will
EQUATION 5-1:
CRC Calculation
CRC[1]n + 1 = CRC[0]n Din
result. If another button is activated during
a
and
with
transmission, the active transmission will be aborted
and the new code will be generated using the new
button information.
CRC[0]n + 1 = (CRC[0]n Din) CRC[1]n
5.2
Long Guard Time
CRC[1, 0]0 = 0
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 or by extending the guard time between transmis-
sions. Long guard time (LNGRD) is used for reducing
the average power of a transmission. This is a select-
able feature. Using the LNGRD allows the user to
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
transmit
a higher amplitude transmission if the
transmission time per 100 ms is shorter. The FCC puts
constraints on the average power that can be
transmitted by a device, and LNGRD 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.
.
Work around: If the CRC calculation is incor-
rect, recalculate for the opposite value of
VLOW.
2002 Microchip Technology Inc.
DS40152E-page 13
HCS360
FIGURE 5-1:
VLOW Trip Point VS.
Temperature
5.4
Auto-shutoff
The Auto-shutoff function automatically stops the
device from transmitting if a button inadvertently gets
pressed for a long period of time. This will prevent the
device from draining the battery if a button gets
pressed while the transmitter is in a pocket or purse.
This function can be enabled or disabled and is
selected by setting or clearing the time-out bit
(Section 3.5.11). Setting this bit will enable the function
(turn Auto-shutoff function on) and clearing the bit will
disable the function. Time-out period is approximately
25 seconds.
4.5
VLOW=0
Nominal Trip Point
3.8V
4
3.5
3
3.5
2V
VLOW=1
VLOW=0
2.5
2
Nominal Trip
Point
5.5
VLOW: Voltage LOW Indicator
1.5
The VLOW bit is transmitted with every transmission
(Figure 3-1) and will be transmitted as a one if the
operating voltage has dropped below the low voltage
trip point, typically 3.8V at 25°C. This VLOW signal is
transmitted so the receiver can give an indication to the
user that the transmitter battery is low.
25
85
-40
If the supply voltage drops below the low voltage trip
point, the LED output will be toggled at approximately
1Hz during the transmission.
5.6
LED Output Operation
TABLE 5-1:
VLOW AND LED VS. VDD
During normal transmission the LED output is LOW
while the data is being transmitted and high during the
guard time. Two voltage indications are combined into
one bit: VLOW. Table 5-1 indicates the operation value
of VLOW while data is being transmitted.
Approximate
Supply Voltage
VLOW Bit
LED Operation*
Max → 3.8V
3.8V → 2.2V
2.2V → Min
0
1
0
Normal
Flashing
Normal
*See also FLASH operating modes.
DS40152E-page 14
2002 Microchip Technology Inc.
HCS360
in 16 bits at a time, followed by the word’s complement
using S3 or S2 as the clock line and PWM as the data
in line. After each 16-bit word is loaded, a programming
delay is required for the internal program cycle to com-
plete. The Acknowledge can read back after the pro-
gramming delay (TWC). After the first word and its
complement have been downloaded, an automatic
bulk write is performed. This delay can take up to Twc.
At the end of the programming cycle, the device can be
verified (Figure 6-1) by reading back the EEPROM.
Reading is done by clocking the S3 line and reading the
data bits on PWM. For security reasons, it is not possi-
ble to execute a Verify function without first program-
ming the EEPROM. A Verify operation can only be
done once, immediately following the Program
cycle.
6.0
PROGRAMMING THE HCS360
When using the HCS360 in a system, the user will have
to program some parameters into the device including
the serial number and the secret key before it can be
used. The programming allows the user to input all 192
bits in a serial data stream, which are then stored inter-
nally in EEPROM. Programming will be initiated by
forcing the PWM line high, after the S3 line has been
held high for the appropriate length of time. S0 should
be held low during the entire program cycle. The S1
line on the HCS360 part needs to be set or cleared
depending on the LS bit of the memory map (Key 0)
before the key is clocked in to the HCS360. S1 must
remain at this level for the duration of the programming
cycle. The device can then be programmed by clocking
FIGURE 6-1:
Programming Waveforms
Enter Program
Acknowledge Pulse
Mode
TWC
DATA
Bit 0 Bit 1 Bit 2 Bit 3
Bit 14 Bit 15
Bit 0 Bit 1 Bit 2 Bit 3
Bit 14 Bit 15
Bit 16 Bit 17
(Data)
TCLKH
TCLKL
TDH
T2
S2/S3
(Clock)
T1
TDS
Bit 0 of Word0
S1
Data for Word 1
Data for Word 0 (KEY_0)
Repeat for each word
Note 1: Unused button inputs to be held to ground during the entire programming sequence.
2: The VDD pin must be taken to ground after a Program/Verify cycle.
FIGURE 6-2:
Verify Waveforms
End of Programming Cycle
Beginning of Verify Cycle
Data from Word0
DATA
(Data)
Bit190 Bit191
Bit 0
Bit 1 Bit 2 Bit 3
Bit 14
Bit 15
Bit 16 Bit 17
Bit190 Bit191
Ack
TWC
TDV
S2/S3
(Clock)
S1
Note: A Verify sequence is performed only once immediately after the Program cycle.
2002 Microchip Technology Inc.
DS40152E-page 15
HCS360
TABLE 6-3:
PROGRAMMING/VERIFY TIMING REQUIREMENTS
VDD = 5.0V ± 10%
25° C ± 5 °C
Parameter
Symbol
Min.
Max.
Units
Program mode setup time
Hold time 1
T2
T1
0
4.0
ms
9.0
—
ms
Program cycle time
Clock low time
TWC
TCLKL
TCLKH
TDS
50
50
50
0
—
—
—
—
ms
µs
µs
µs(1)
µs(1)
µs(1)
Clock high time
Data setup time
Data hold time
TDH
TDV
30
—
—
Data out valid time
30
Note 1: Typical values - not tested in production.
DS40152E-page 16
2002 Microchip Technology Inc.
HCS360
FIGURE 7-1:
TYPICAL LEARN
SEQUENCE
7.0
INTEGRATING THE HCS360
INTO A SYSTEM
Enter Learn
Use of the HCS360 in a system requires a compatible
decoder. This decoder is typically a microcontroller with
compatible firmware. Microchip will provide (via a
license agreement) firmware routines that accept
transmissions from the HCS360 and decrypt the
hopping code portion of the data stream. These
routines provide system designers the means to
develop their own decoding system.
Mode
Wait for Reception
of a Valid Code
Generate Key
from Serial Number
Use Generated Key
to Decrypt
7.1
Learning a Transmitter to a
Receiver
Compare Discrimination
Value with Fixed Value
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.
No
Equal
?
Yes
Wait for Reception
of Second Valid Code
Use Generated Key
to Decrypt
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 KEELOQ algorithm is a
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.
Compare Discrimination
Value with Fixed Value
No
Equal
?
Yes
No
Counters
Sequential
?
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.
Yes
Learn
Unsuccessful
Learn successful Store:
Serial number
Encryption key
Synchronization counter
Exit
Certain learning strategies have been patented and
care must be taken not to infringe.
2002 Microchip Technology Inc.
DS40152E-page 17
HCS360
7.2
Decoder Operation
7.3
Synchronization with Decoder
(Evaluating the Counter)
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.
The KEELOQ technology patent scope includes a
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.
FIGURE 7-2:
TYPICAL DECODER
OPERATION
Start
No
Transmission
Received
?
Yes
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.
Does
Serial Number
Match
No
?
Yes
Decrypt Transmission
Is
No
Decryption
Valid
?
Yes
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.
Execute
Command
and
Update
Counter
Is
Counter
Within 16
?
Yes
No
No
No
Is
Counter
Within 32K
?
Note: 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.
Yes
Save Counter
in Temp Location
DS40152E-page 18
2002 Microchip Technology Inc.
HCS360
FIGURE 7-3:
SYNCHRONIZATION WINDOW
Entire Window
rotates to eliminate
use of previously
used codes
Blocked
Window
(32K Codes)
Stored
Synchronization
Counter Value
Double Operation
(resynchronization)
Window
Single Operation
Window
(16 Codes)
(32K Codes)
2002 Microchip Technology Inc.
DS40152E-page 19
HCS360
8.0
ELECTRICAL CHARACTERISTICS
TABLE 8-1:
ABSOLUTE MAXIMUM RATINGS
Item
Symbol
Rating
Units
VDD
VIN
Supply voltage
Input voltage
-0.3 to 6.9
-0.3 to VDD + 0.3
-0.3 to VDD + 0.3
25
V
V
VOUT
IOUT
TSTG
TLSOL
VESD
Output voltage
V
mA
Max output current
Storage temperature
Lead soldering temp
ESD rating
-55 to +125
300
°C (Note)
°C (Note)
V
4000
Note: Stresses above those listed under “ABSOLUTE MAXIMUM RATINGS” may cause permanent damage to the
device.
TABLE 8-2:
DC CHARACTERISTICS
Commercial (C): Tamb = 0°C to +70°C
Industrial (I): Tamb = -40°C to +85°C
2.0V < VDD < 3.3
3.0 < VDD < 6.6
1
1
Parameter
Sym.
Min
Max
Min
Max
Unit
Conditions
Typ
Typ
Operating
(avg)
current
ICC
0.3
1.2
mA
VDD = 3.3V
VDD = 6.6V
0.7
0.1
160
1.6
1.0
Standby current
Auto-shutoff
ICCS
ICCS
0.1
40
1.0
75
µA
µA
350
2,3
current
High level input
voltage
VIH
VIL
0.55 VDD
-0.3
VDD+0.3 0.55VDD
VDD+0.3
0.15VDD
V
V
V
V
Low level input
voltage
0.15 VDD
-0.3
High level output VOH
voltage
0.7 VDD
0.7VDD
IOH = -1.0 mA, VDD = 2.0V
IOH = -2.0 mA, VDD = 6.6V
Low level output
voltage
VOL
0.08 VDD
0.08VDD
IOL = 1.0 mA, VDD = 2.0V
IOL = 2.0 mA, VDD = 6.6V
4
LED sink current
ILED
0.15
40
1.0
60
4.0
80
0.15
40
1.0
60
4.0
80
mA
VLED = 1.5V, VDD = 6.6V
Pull-Down
RS0-3
kΩ
VDD = 4.0V
Resistance; S0-S3
Pull-Down
RPWM
80
120
160
80
120
160
kΩ
VDD = 4.0V
Resistance; DATA
Note 1: Typical values are at 25°C.
2: Auto-shutoff current specification does not include the current through the input pull-down resistors.
3: Auto-shutoff current is periodically sampled and not 100% tested.
4: VLED is the voltage between the VDD pin and the LED pin.
DS40152E-page 20
2002 Microchip Technology Inc.
HCS360
FIGURE 8-1:
POWER-UP AND TRANSMIT TIMING
Button Press
Detect
Multiple Code Word Transmission
TBP
TTD
TDB
PWM
Output
Code
Word
1
Code
Word
3
Code
Word
4
Code
Word
n
Code
Word
2
TTO
Button
Input
Sn
FIGURE 8-2:
POWER-UP AND TRANSMIT TIMING REQUIREMENTS
VDD = +2.0 to 6.6V
Commercial (C): Tamb = 0°C to +70°C
Industrial
(I): Tamb = -40°C to +85°C
Parameter
Symbol
Min
Max
Unit
Remarks
(Note 1)
Time to second button press
TBP
10 + Code 26 + Code
Word Time Word Time
ms
Transmit delay from button detect
Debounce delay
TTD
TDB
TTO
4.5
4.0
26
13
35
ms
ms
s
(Note 2)
Auto-shutoff time-out period
15.0
(Note 3)
Note 1: TBP is the time in which a second button can be pressed without completion of the first code word and the
intention was to press the combination of buttons.
2: Transmit delay maximum value if the previous transmission was successfully transmitted.
3: The Auto-shutoff time-out period is not tested.
2002 Microchip Technology Inc.
DS40152E-page 21
HCS360
FIGURE 8-3: PWM FORMAT SUMMARY (MOD=0)
TE
TE
TE
LOGIC "0"
LOGIC "1"
50% Duty Cycle
Preamble
T
BP
1
16
10xTE
Header
31XTE Preamble
Encrypted Portion
of Transmission
Fixed Portion
of Transmission
Guard
Time
FIGURE 8-4:
PWM PREAMBLE/HEADER FORMAT (MOD=0)
P1
P16
Bit 0 Bit 1
Data Bits
31xTE 50% Duty Cycle Preamble
10 TE Header
FIGURE 8-5:
PWM DATA FORMAT (MOD=0)
Serial Number
Function Code
Status
CRC
LSB
MSB LSB
MSB S3
S0
S1
S2 VLOW CRC0 CRC1
Bit 0 Bit 1
Bit 66
Bit 30 Bit 31 Bit 32 Bit 33 Bit 58 Bit 59 Bit 60
Bit 62 Bit 63 Bit 64 Bit 65
Bit 61
Guard
Time
Fixed Portion of Transmission
Encrypted Portion
of Transmission
Header
DS40152E-page 22
2002 Microchip Technology Inc.
HCS360
FIGURE 8-6: MANCHESTER FORMAT SUMMARY (MOD=1)
TPB
TE
TE
LOGIC "0"
LOGIC "1"
50% Duty Cycle
STOP bit
START bit bit 0
16
bit 2
Preamble
bit 1
1
2
Guard
Time
31XTE
Preamble
Encrypted Portion
of Transmission
Fixed Portion
of Transmission
4XTE
Header
FIGURE 8-7:
MANCHESTER PREAMBLE/HEADER FORMAT (MOD=1)
50% Duty Cycle
Preamble
P1
P16
Bit 0 Bit 1
Data Word
Transmission
4 x TE
Header
31 x TE Preamble
FIGURE 8-8:
HCS360 NORMALIZED TE VS. TEMP
1.7
Typical
1.6
TE Max.
1.5
1.4
1.3
VDD LEGEND
= 2.0V
1.2
TE
= 3.0V
= 6.0V
1.1
1.0
0.9
0.8
0.7
TE Min.
0.6
-50 -40 -30 -20 -10
0 10 20 30 40 50 60 70 80 90
Temperature °C
2002 Microchip Technology Inc.
DS40152E-page 23
HCS360
TABLE 8-3:
CODE WORD TRANSMISSION TIMING PARAMETERS—PWM MODE
VDD = +2.0V to 6.6V
Code Words Transmitted
Commercial (C):Tamb = 0°C to +70°C
Industrial (I):Tamb = -40°C to +85°C
BSEL1 = 0
BSEL0 = 0
BSEL1 = 0
BSEL0 = 1
Symbol
Characteristic
Min.
Typ.
Max.
Min.
Typ.
Max.
Units
TE
TBP
TP
Basic pulse element
PWM bit pulse width
Preamble duration
Header duration
260
400
3
620
130
200
3
310
µs
TE
31
31
TE
TH
10
10
TE
THOP
TFIX
TG
Hopping code duration
Fixed code duration
Guard Time (LNGRD = 0)
Total transmit time
Total transmit time
PWM data rate
96
96
TE
105
17
105
33
TE
TE
—
259
103.6
833
275
55.0
1667
TE
—
67.3
160.6
538
35.8
85.3
ms
bps
—
1282
2564
1075
Note: The timing parameters are not tested but derived from the oscillator clock.
TABLE 8-4: CODE WORD TRANSMISSION TIMING PARAMETERS—PWM MODE
VDD = +2.0V to 6.6V
Commercial (C):Tamb = 0°C to +70°C
Industrial (I):Tamb = -40°C to +85°C
Code Words Transmitted
BSEL1 = 1,
BSEL1 = 1,
BSEL0 = 0
BSEL0 = 1
Symbol
Characteristic
Min.
Typ.
Max.
Min.
Typ.
Max.
Units
TE
TBP
TP
Basic pulse element
PWM bit pulse width
Preamble duration
Header duration
130
200
3
310
65
100
3
155
µs
TE
31
31
TE
TH
10
10
TE
THOP
TFIX
TG
Hopping code duration
Fixed code duration
Guard Time (LNGRD = 0)
Total transmit time
Total transmit time
PWM data rate
96
96
TE
105
33
105
65
TE
TE
—
275
55.0
1667
307
30.7
3333
TE
—
35.8
85.3
20.0
47.6
ms
bps
—
2564
1075
5128
2151
Note: The timing parameters are not tested but derived from the oscillator clock.
DS40152E-page 24
2002 Microchip Technology Inc.
HCS360
TABLE 8-5:
CODE WORD TRANSMISSION TIMING PARAMETERS—MANCHESTER MODE
VDD = +2.0V to 6.6V
Commercial (C):Tamb = 0°C to +70°C
Industrial (I):Tamb = -40°C to +85°C
Code Words Transmitted
BSEL1 = 0.
BSEL1 = 0,
BSEL0 = 0
BSEL0 = 1
Symbol
Characteristic
Min.
Typ.
Max.
Min.
Typ.
Max.
Units
TE
TP
TH
Basic pulse element
Preamble duration
Header duration
520
800
31
1240
260
400
31
620
µs
TE
4
4
TE
TSTART START bit
2
2
TE
THOP
TFIX
Hopping code duration
Fixed code duration
64
64
TE
70
70
TE
TSTOP STOP bit
2
2
TE
TG
—
—
—
Guard Time (LNGRD = 0)
9
17
TE
Total transmit time
Total transmit time
Manchester data rate
182
145.6
1250
190
76.0
2500
TE
94.6
223.7
806
49.4
117.8
ms
bps
1923
3846.2
1612.9
Note: The timing parameters are not tested but derived from the oscillator clock.
TABLE 8-6: CODE WORD TRANSMISSION TIMING PARAMETERS—MANCHESTER MODE
VDD = +2.0V to 6.6V
Commercial (C):Tamb = 0°C to +70°C
Industrial (I):Tamb = -40°C to +85°C
Code Words Transmitted
BSEL1 = 1.
BSEL1 = 1,
BSEL0 = 0
BSEL0 = 1
Symbol
Characteristic
Min.
Typ.
Max.
Min.
Typ.
Max.
Units
TE
TP
Basic pulse element
Preamble duration
Header duration
260
400
32
620
130
200
32
310
µs
TE
TE
TE
TE
TE
TE
TE
TH
4
4
TSTART
THOP
TFIX
TSTOP
TG
START bit
2
2
Hopping code duration
Fixed code duration
STOP bit
64
64
70
70
2
2
Guard Time (LNGRD = 0)
Total transmit time
Total transmit time
Manchester data rate
16
32
—
190
76.0
2500.0
206
41.2
5000.0
TE
ms
bps
—
49.4
117.8
26.8
63.4
—
3846.2
1612.9
7692.3
3225.8
Note: The timing parameters are not tested but derived from the oscillator clock.
2002 Microchip Technology Inc.
DS40152E-page 25
HCS360
9.0
9.1
PACKAGING INFORMATION
Package Marking Information
8-Lead PDIP (300 mil)
Example
HCS360
XXXXXXXX
XXXXXNNN
XXXXXNNN
YYWW
0025
8-Lead SOIC (150 mil)
Example
XXXXXXX
HCS360
XXXYYWW
XXX0025
NNN
NNN
Legend: XX...X Customer specific information*
Y
Year code (last digit of calendar year)
YY
WW
NNN
Year code (last 2 digits of calendar year)
Week code (week of January 1 is week ‘01’)
Alphanumeric traceability code
Note: In the event the full Microchip part number cannot be marked on one line, it will
be carried over to the next line thus limiting the number of available characters
for customer specific information.
*
Standard PICmicro device marking consists of Microchip part number, year code, week code, and
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP
price.
DS40152E-page 26
2002 Microchip Technology Inc.
HCS360
9.2
Package Details
8-Lead Plastic Dual In-line (P) - 300 mil (PDIP)
E1
D
2
1
n
α
E
A2
A
L
c
A1
β
B1
B
p
eB
Units
INCHES*
NOM
MILLIMETERS
Dimension Limits
MIN
MAX
MIN
NOM
8
MAX
n
p
Number of Pins
Pitch
8
.100
.155
.130
2.54
Top to Seating Plane
A
.140
.170
3.56
2.92
3.94
3.30
4.32
Molded Package Thickness
Base to Seating Plane
Shoulder to Shoulder Width
Molded Package Width
Overall Length
A2
A1
E
.115
.015
.300
.240
.360
.125
.008
.045
.014
.310
5
.145
3.68
0.38
7.62
6.10
9.14
3.18
0.20
1.14
0.36
7.87
5
.313
.250
.373
.130
.012
.058
.018
.370
10
.325
.260
.385
.135
.015
.070
.022
.430
15
7.94
6.35
9.46
3.30
0.29
1.46
0.46
9.40
10
8.26
6.60
9.78
3.43
0.38
1.78
0.56
10.92
15
E1
D
Tip to Seating Plane
Lead Thickness
L
c
Upper Lead Width
B1
B
Lower Lead Width
Overall Row Spacing
Mold Draft Angle Top
Mold Draft Angle Bottom
§
eB
α
β
5
10
15
5
10
15
* Controlling Parameter
§ Significant Characteristic
Notes:
Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed
.010” (0.254mm) per side.
JEDEC Equivalent: MS-001
Drawing No. C04-018
2002 Microchip Technology Inc.
DS40152E-page 27
HCS360
8-Lead Plastic Small Outline (SN) - Narrow, 150 mil (SOIC)
E
E1
p
D
2
B
n
1
h
α
45°
c
A2
A
φ
β
L
A1
Units
INCHES*
NOM
MILLIMETERS
Dimension Limits
MIN
MAX
MIN
NOM
8
MAX
n
p
Number of Pins
Pitch
8
.050
.061
.056
.007
.237
.154
.193
.015
.025
4
1.27
Overall Height
A
.053
.069
1.35
1.32
1.55
1.42
0.18
6.02
3.91
4.90
0.38
0.62
4
1.75
Molded Package Thickness
Standoff
A2
A1
E
.052
.004
.228
.146
.189
.010
.019
0
.061
.010
.244
.157
.197
.020
.030
8
1.55
0.25
6.20
3.99
5.00
0.51
0.76
8
§
0.10
5.79
3.71
4.80
0.25
0.48
0
Overall Width
Molded Package Width
Overall Length
E1
D
Chamfer Distance
Foot Length
h
L
φ
Foot Angle
c
Lead Thickness
Lead Width
.008
.013
0
.009
.017
12
.010
.020
15
0.20
0.33
0
0.23
0.42
12
0.25
0.51
15
B
α
β
Mold Draft Angle Top
Mold Draft Angle Bottom
0
12
15
0
12
15
* Controlling Parameter
§ Significant Characteristic
Notes:
Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed
.010” (0.254mm) per side.
JEDEC Equivalent: MS-012
Drawing No. C04-057
DS40152E-page 28
2002 Microchip Technology Inc.
HCS360
Systems Information and Upgrade Hot Line
ON-LINE SUPPORT
The Systems Information and Upgrade Line provides
system users a listing of the latest versions of all of
Microchip's development systems software products.
Plus, this line provides information on how customers
can receive any currently available upgrade kits.The
Hot Line Numbers are:
Microchip provides on-line support on the Microchip
World Wide Web (WWW) site.
The web site is used by Microchip as a means to make
files and information easily available to customers. To
view the site, the user must have access to the Internet
and a web browser, such as Netscape or Microsoft
Explorer. Files are also available for FTP download
from our FTP site.
1-800-755-2345 for U.S. and most of Canada, and
1-480-792-7302 for the rest of the world.
ConnectingtotheMicrochipInternetWebSite
The Microchip web site is available by using your
favorite Internet browser to attach to:
www.microchip.com
The file transfer site is available by using an FTP ser-
vice to connect to:
ftp://ftp.microchip.com
The web site and file transfer site provide a variety of
services. Users may download files for the latest
Development Tools, Data Sheets, Application Notes,
User’s Guides, Articles and Sample Programs. A vari-
ety of Microchip specific business information is also
available, including listings of Microchip sales offices,
distributors and factory representatives. Other data
available for consideration is:
• Latest Microchip Press Releases
• Technical Support Section with Frequently Asked
Questions
• Design Tips
• Device Errata
• Job Postings
• Microchip Consultant Program Member Listing
• Links to other useful web sites related to
Microchip Products
• Conferences for products, Development Systems,
technical information and more
• Listing of seminars and events
2002 Microchip Technology Inc.
DS40152E-page 29
HCS360
READER RESPONSE
It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip prod-
uct. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation
can better serve you, please FAX your comments to the Technical Publications Manager at (480) 792-4150.
Please list the following information, and use this outline to provide us with your comments about this Data Sheet.
To:
Technical Publications Manager
Reader Response
Total Pages Sent
RE:
From:
Name
Company
Address
City / State / ZIP / Country
Telephone: (_______) _________ - _________
FAX: (______) _________ - _________
Application (optional):
Would you like a reply?
Y
N
Literature Number:
DS40152E
Device:
HCS360
Questions:
1. What are the best features of this document?
2. How does this document meet your hardware and software development needs?
3. Do you find the organization of this data sheet easy to follow? If not, why?
4. What additions to the data sheet do you think would enhance the structure and subject?
5. What deletions from the data sheet could be made without affecting the overall usefulness?
6. Is there any incorrect or misleading information (what and where)?
7. How would you improve this document?
8. How would you improve our software, systems, and silicon products?
DS40152E-page 30
2002 Microchip Technology Inc.
HCS360
HCS360 PRODUCT IDENTIFICATION SYSTEM
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.
HCS360 /P
—
Package:
P = Plastic DIP (300 mil Body), 8-lead
SN = Plastic SOIC (150 mil Body), 8-lead
Temperature
Range:
Blank = 0°C to +70°C
I = –40°C to +85°C
Device:
HCS360
HCS360T
Code Hopping Encoder
Code Hopping Encoder (Tape and Reel)
Sales and Support
Data Sheets
Products supported by a preliminary Data Sheet may have an errata sheet describing minor operational differences and recom-
mended workarounds. To determine if an errata sheet exists for a particular device, please contact one of the following:
1. Your local Microchip sales office
2. The Microchip Corporate Literature Center U.S. FAX: (480) 792-7277
3. The Microchip Worldwide Site (www.microchip.com)
Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using.
New Customer Notification System
Register on our web site (www.microchip.com/cn) to receive the most current information on our products.
2002 Microchip Technology Inc.
DS40152E-page 31
HCS360
NOTES:
DS40152E-page 32
2002 Microchip Technology Inc.
Microchip’s Secure Data Products are covered by some or all of the following patents:
Code hopping encoder patents issued in Europe, U.S.A., and R.S.A. — U.S.A.: 5,517,187; Europe: 0459781; R.S.A.: ZA93/4726
Secure learning patents issued in the U.S.A. and R.S.A. — U.S.A.: 5,686,904; R.S.A.: 95/5429
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microchip Technology Incorporated with respect
to the accuracy or use of such information, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip’s products as critical com-
ponents in life support systems is not authorized except with
express written approval by Microchip. No licenses are con-
veyed, implicitly or otherwise, under any intellectual property
rights.
Trademarks
The Microchip name and logo, the Microchip logo, FilterLab,
KEELOQ, MPLAB, PIC, PICmicro, PICMASTER, PICSTART,
PRO MATE, SEEVAL and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
dsPIC, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, microID,
microPort, Migratable Memory, MPASM, MPLIB, MPLINK,
MPSIM, MXDEV, PICC, PICDEM, PICDEM.net, rfPIC, Select
Mode and Total Endurance are trademarks of Microchip
Technology Incorporated in the U.S.A.
Serialized Quick Turn Programming (SQTP) is a service mark
of Microchip Technology Incorporated in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2002, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999. The
Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs and microperipheral
products. In addition, Microchip’s quality
system for the design and manufacture of
development systems is ISO 9001 certified.
2002 Microchip Technology Inc.
DS40152E - page 33
WORLDWIDE SALES AND SERVICE
Japan
AMERICAS
ASIA/PACIFIC
Microchip Technology Japan K.K.
Benex S-1 6F
3-18-20, Shinyokohama
Kohoku-Ku, Yokohama-shi
Kanagawa, 222-0033, Japan
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Corporate Office
Australia
2355 West Chandler Blvd.
Microchip Technology Australia Pty Ltd
Suite 22, 41 Rawson Street
Epping 2121, NSW
Chandler, AZ 85224-6199
Tel: 480-792-7200 Fax: 480-792-7277
Technical Support: 480-792-7627
Web Address: http://www.microchip.com
Australia
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755
Korea
Rocky Mountain
China - Beijing
Microchip Technology Korea
168-1, Youngbo Bldg. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea 135-882
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7966 Fax: 480-792-7456
Microchip Technology Consulting (Shanghai)
Co., Ltd., Beijing Liaison Office
Unit 915
Bei Hai Wan Tai Bldg.
Atlanta
500 Sugar Mill Road, Suite 200B
Atlanta, GA 30350
Tel: 82-2-554-7200 Fax: 82-2-558-5934
No. 6 Chaoyangmen Beidajie
Beijing, 100027, No. China
Tel: 86-10-85282100 Fax: 86-10-85282104
Singapore
Microchip Technology Singapore Pte Ltd.
200 Middle Road
#07-02 Prime Centre
Singapore, 188980
Tel: 65-334-8870 Fax: 65-334-8850
Taiwan
Microchip Technology Taiwan
11F-3, No. 207
Tung Hua North Road
Taipei, 105, Taiwan
Tel: 770-640-0034 Fax: 770-640-0307
China - Chengdu
Boston
Microchip Technology Consulting (Shanghai)
Co., Ltd., Chengdu Liaison Office
Rm. 2401, 24th Floor,
Ming Xing Financial Tower
No. 88 TIDU Street
Chengdu 610016, China
Tel: 86-28-6766200 Fax: 86-28-6766599
China - Fuzhou
Microchip Technology Consulting (Shanghai)
Co., Ltd., Fuzhou Liaison Office
Unit 28F, World Trade Plaza
No. 71 Wusi Road
Fuzhou 350001, China
Tel: 86-591-7503506 Fax: 86-591-7503521
China - Shanghai
Microchip Technology Consulting (Shanghai)
Co., Ltd.
Room 701, Bldg. B
Far East International Plaza
No. 317 Xian Xia Road
Shanghai, 200051
Tel: 86-21-6275-5700 Fax: 86-21-6275-5060
China - Shenzhen
Microchip Technology Consulting (Shanghai)
Co., Ltd., Shenzhen Liaison Office
Rm. 1315, 13/F, Shenzhen Kerry Centre,
Renminnan Lu
Shenzhen 518001, China
Tel: 86-755-2350361 Fax: 86-755-2366086
2 Lan Drive, Suite 120
Westford, MA 01886
Tel: 978-692-3848 Fax: 978-692-3821
Chicago
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071 Fax: 630-285-0075
Dallas
4570 Westgrove Drive, Suite 160
Addison, TX 75001
Tel: 972-818-7423 Fax: 972-818-2924
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
EUROPE
Denmark
Microchip Technology Nordic ApS
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
Tel: 45 4420 9895 Fax: 45 4420 9910
Detroit
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250 Fax: 248-538-2260
Kokomo
France
2767 S. Albright Road
Kokomo, Indiana 46902
Tel: 765-864-8360 Fax: 765-864-8387
Los Angeles
Microchip Technology SARL
Parc d’Activite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Etage
91300 Massy, France
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
18201 Von Karman, Suite 1090
Irvine, CA 92612
Tel: 949-263-1888 Fax: 949-263-1338
Germany
New York
150 Motor Parkway, Suite 202
Hauppauge, NY 11788
Microchip Technology GmbH
Gustav-Heinemann Ring 125
D-81739 Munich, Germany
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44
Tel: 631-273-5305 Fax: 631-273-5335
San Jose
Hong Kong
Italy
Microchip Technology Inc.
2107 North First Street, Suite 590
San Jose, CA 95131
Microchip Technology Hongkong Ltd.
Unit 901-6, Tower 2, Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2401-1200 Fax: 852-2401-3431
Microchip Technology SRL
Centro Direzionale Colleoni
Palazzo Taurus 1 V. Le Colleoni 1
20041 Agrate Brianza
Tel: 408-436-7950 Fax: 408-436-7955
Toronto
Milan, Italy
Tel: 39-039-65791-1 Fax: 39-039-6899883
6285 Northam Drive, Suite 108
Mississauga, Ontario L4V 1X5, Canada
Tel: 905-673-0699 Fax: 905-673-6509
India
Microchip Technology Inc.
India Liaison Office
United Kingdom
Arizona Microchip Technology Ltd.
505 Eskdale Road
Winnersh Triangle
Wokingham
Divyasree Chambers
1 Floor, Wing A (A3/A4)
No. 11, O’Shaugnessey Road
Bangalore, 560 025, India
Tel: 91-80-2290061 Fax: 91-80-2290062
Berkshire, England RG41 5TU
Tel: 44 118 921 5869 Fax: 44-118 921-5820
01/18/02
DS40152E-page 34
2002 Microchip Technology Inc.
相关型号:
SI9130DB
5- and 3.3-V Step-Down Synchronous ConvertersWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135LG-T1-E3
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9135_11
SMBus Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9136_11
Multi-Output Power-Supply ControllerWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130CG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130LG-T1-E3
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9130_11
Pin-Programmable Dual Controller - Portable PCsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137DB
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9137LG
Multi-Output, Sequence Selectable Power-Supply Controller for Mobile ApplicationsWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
SI9122E
500-kHz Half-Bridge DC/DC Controller with Integrated Secondary Synchronous Rectification DriversWarning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY
©2020 ICPDF网 联系我们和版权申明