HCS360-/P [MICROCHIP]

KEELOQ㈢ Code Hopping Encoder; KEELOQ㈢跳码编码器
HCS360-/P
型号: HCS360-/P
厂家: MICROCHIP    MICROCHIP
描述:

KEELOQ㈢ Code Hopping Encoder
KEELOQ㈢跳码编码器

编码器
文件: 总28页 (文件大小:423K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
HCS360  
®
KEELOQ Code Hopping Encoder  
FEATURES  
PACKAGE TYPES  
PDIP, SOIC  
Security  
8
7
6
5
VDD  
LED  
PWM  
VSS  
S0  
1
2
3
4
• 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  
S1  
S2  
S3  
Operating  
• 2.0-6.6V operation  
• Four button inputs  
HCS360 BLOCK DIAGRAM  
Oscillator  
Power  
latching  
and  
- 15 functions available  
• Selectable baud rate  
• Automatic code word completion  
• Battery low signal transmitted to receiver  
• Nonvolatile synchronization data  
• PWM and Manchester modulation  
Controller  
Reset circuit  
switching  
LED  
LED driver  
EEPROM  
Encoder  
Other  
PWM  
• Easy to use programming interface  
• On-chip EEPROM  
32-bit shift register  
• On-chip oscillator and timing components  
• Button inputs have internal pull-down resistors  
• Current limiting on LED output  
• Minimum component count  
VSS  
Button input port  
VDD  
Enhanced Features Over HCS300  
S2  
S3  
S1 S0  
• 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  
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.  
Typical Applications  
The HCS360 is ideal for Remote Keyless Entry (RKE)  
applications. These applications include:  
• Automotive RKE systems  
• Automotive alarm systems  
• Automotive immobilizers  
• Gate and garage door openers  
• Identity tokens  
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.  
• Burglar alarm systems  
KEELOQ is a registered trademark of Microchip Technology, Inc.  
Microchips 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  
2001 Microchip Technology Inc.  
DS40152D-page 1  
HCS360  
The length of the transmission eliminates the threat of  
code scanning and the code hopping mechanism  
makes each transmission unique, thus rendering code  
capture and resend (code grabbing) schemes useless.  
Most keyless entry systems transmit the same code  
from a transmitter every time a button is pushed. The  
relative number of code combinations for a low end  
system is also a relatively small number. These  
shortcomings provide the means for a sophisticated  
thief to create a device that grabsa transmission and  
retransmits it later or a device that scans all possible  
combinations until the correct one is found.  
The encryption key, serial number, and configuration  
data are stored in EEPROM which is not accessible via  
any external connection. This makes the HCS360 a  
very secure unit. The HCS360 provides an easy to use  
serial interface for programming the necessary security  
keys, system parameters, and configuration data.  
The HCS360 employs the KEELOQ code hopping tech-  
nology and an encryption algorithm to achieve a high  
level of security. Code hopping is a method by which  
the code transmitted from the transmitter to the  
receiver is different every time a button is pushed. This  
method, coupled with a transmission length of 67 bits,  
virtually eliminates the use of code grabbingor code  
scanning.  
The encryption keys and code combinations are pro-  
grammable but read-protected. The keys can only be  
verified after an automatic erase and programming  
operation. This protects against attempts to gain  
access to keys and manipulate synchronization values.  
The HCS360 operates over a wide voltage range of  
2.0V to 6.6V and has four button inputs in an 8-pin  
configuration. This allows the system designer the  
freedom to utilize up to 15 functions. The only  
components required for device operation are the but-  
tons and RF circuitry, allowing a very low system cost.  
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. The most  
important of these values are:  
A 28/32-bit serial number which is meant to be  
unique for every encoder  
1.0  
SYSTEM OVERVIEW  
An encryption key that is generated at the time of  
production  
1.1  
Key Terms  
A 16-bit synchronization value  
Manufacturers code a 64-bit word, unique to  
each manufacturer, used to produce a unique  
encryption key in each transmitter (encoder).  
The serial number for each transmitter is programmed  
by the manufacturer at the time of production. The  
generation of the encryption key is done using a key  
generation algorithm (Figure 1-1). Typically, inputs to  
the key generation algorithm are the serial number of  
the transmitter or seed value, and a 64-bit manufac-  
turers code. The manufacturers code is chosen by the  
system manufacturer and must be carefully controlled.  
The manufacturers code is a pivotal part of the overall  
system security.  
Encryption Key a unique 64-bit key generated  
and programmed into the encoder during the  
manufacturing process. The encryption key  
controls the encryption algorithm and is stored in  
EEPROM on the encoder device.  
Learn The HCS product family facilitates sev-  
eral learning strategies to be implemented on the  
decoder. The following are examples of what can  
be done.  
The 16-bit synchronization value is the basis for the  
transmitted code changing for each transmission, and  
is updated each time a button is pressed. Because of  
the complexity of the code hopping encryption algo-  
rithm, a change in one bit of the synchronization value  
will result in a large change in the actual transmitted  
code. There is a relationship (Figure 1-2) between the  
key values in EEPROM and how they are used in the  
encoder. Once the encoder detects that a button has  
been pressed, the encoder reads the button and  
updates the synchronization counter. The synchroniza-  
tion value is then combined with the encryption key in  
the encryption algorithm and the output is 32 bits of  
encrypted information. This data will change with every  
button press, 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 the serial  
number to form the code word transmitted to the  
receiver. The code word format is explained in detail  
in Section 4.2.  
Normal Learning  
The receiver uses the same information that is  
transmitted during normal operation to derive the  
transmitters secret key, decrypt the discrimination  
value and the synchronization counter.  
Secure Learn*  
The transmitter is activated through a special but-  
ton combination to transmit a stored 48-bit value  
(random seed) that can be used for key genera-  
tion or be part of the key. Transmission of the ran-  
dom seed can be disabled after learning is  
completed.  
The HCS360 is a code hopping encoder device that is  
designed specifically for keyless entry systems,  
primarily for vehicles and home garage door openers.  
It is meant to be a cost-effective, yet secure solution to  
such systems. The encoder portion of a keyless entry  
system is meant to be held by the user and operated to  
gain access to a vehicle or restricted area. The  
HCS360 requires very few external components  
(Figure 2-1).  
DS40152D-page 2  
2001 Microchip Technology Inc.  
HCS360  
Any type of controller may be used as a receiver, but it  
is typically a microcontroller with compatible firmware  
that allows the receiver to operate in conjunction with a  
transmitter, based on the HCS360. Section 7.0  
provides more detail on integrating the HCS360 into a  
total system.  
transmitter, the current synchronization value for that  
transmitter and the same encryption key that is used on  
the transmitter. If a receiver receives a message of  
valid format, the serial number is checked and, if it is  
from a learned transmitter, the message is decrypted  
and the decrypted synchronization counter is checked  
against what is stored. If the synchronization value is  
verified, then the button status is checked to see what  
operation is needed. Figure 1-3 shows the relationship  
between some of the values stored by the receiver and  
the values received from the transmitter.  
Before a transmitter can be used with a particular  
receiver, the transmitter must be learnedby the  
receiver. Upon learning a transmitter, information is  
stored by the receiver so that it may track the  
transmitter, including the serial number of the  
FIGURE 1-1: CREATION AND STORAGE OF ENCRYPTION KEY DURING PRODUCTION  
HCS360 EEPROM Array  
Transmitter  
Serial Number or  
Seed  
Serial Number  
Encryption Key  
Sync Counter  
.
.
.
Key  
Encryption  
Key  
Manufacturers  
Generation  
Code  
Algorithm  
FIGURE 1-2: BASIC OPERATION OF TRANSMITTER (ENCODER)  
Transmitted Information  
KEELOQ  
Encryption  
Algorithm  
Button Press  
Information  
32 Bits of  
Encrypted Data  
Serial Number  
EEPROM Array  
Decryption Key  
Sync Counter  
Serial Number  
FIGURE 1-3: BASIC OPERATION OF RECEIVER (DECODER)  
Check for  
Match  
EEPROM Array  
KEELOQ  
Decrypted  
Synchronization  
Counter  
Decryption  
Algorithm  
Decryption Key  
Sync Counter  
Check for  
Match  
Serial Number  
Manufacturer Code  
32 Bits of  
Encrypted Data  
Button Press  
Information  
Serial Number  
Received Information  
2001 Microchip Technology Inc.  
DS40152D-page 3  
HCS360  
The high security level of the HCS360 is based on the  
patented KEELOQ technology. A block cipher type of  
encryption algorithm 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 the information in the previous transmis-  
sion, the next coded transmission will be totally differ-  
ent. Statistically, if only one bit in the 32-bit string of  
information changes, approximately 50 percent of the  
coded transmission will change. The HCS360 will wake  
up upon detecting a switch closure and then delay  
approximately 6.5 ms for switch debounce (Figure 2-  
2). The synchronization information, fixed information,  
and switch information will be encrypted to form the  
hopping code. The encrypted or hopping code portion  
of the transmission will change every time a button is  
pressed, even if the same button is pushed again.  
Keeping a button pressed for a long time will result in  
the same code word being transmitted until the button  
is released or time-out occurs. A code that has been  
transmitted will not occur again for more than 64K  
transmissions. This will provide more than 18 years of  
typical use before a code is repeated based on 10  
operations per day. Overflow information programmed  
into the encoder can be used by the decoder to extend  
the number of unique transmissions to more than  
128K.  
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  
B0  
B1  
S0  
VDD  
LED  
PWM  
VSS  
S1  
S2  
S3  
Tx out  
2 button remote control  
VDD  
B4 B3 B2 B1 B0  
S0  
VDD  
LED  
PWM  
VSS  
S1  
S2  
S3  
If, in the transmit process, it is detected that a new but-  
ton(s) has been pressed, a reset will immediately be  
forced and the 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 current code word will be completed  
and the power down will occur.  
Tx out  
5 button remote control (Note)  
Note: Up to 15 functions can be implemented by  
pressing more than one button simulta-  
neously or by using a suitable diode array.  
TABLE 2-1:  
PIN DESCRIPTIONS  
Description  
Pin  
Name  
Number  
S0  
S1  
S2  
1
2
3
Switch input 0  
Switch input 1  
Switch input 2/Can also be clock  
pin when in programming mode  
S3  
4
Switch input 3/Clock pin when in  
programming mode  
VSS  
5
6
Ground reference connection  
PWM  
Pulse width modulation (PWM)  
output pin/Data pin for  
programming mode  
LED  
VDD  
7
8
Cathode connection for directly  
driving LED during transmission  
Positive supply voltage  
connection  
DS40152D-page 4  
2001 Microchip Technology Inc.  
HCS360  
FIGURE 2-2: ENCODER OPERATION  
3.0  
EEPROM MEMORY  
ORGANIZATION  
Power Up  
(A button has been pressed)  
The HCS360 contains 192 bits (12 x 16-bit words) of  
EEPROM memory (Table 3-1). This EEPROM array is  
used to store the encryption key information,  
synchronization value, etc. Further descriptions of the  
memory array is given in the following sections.  
Reset and Debounce Delay  
(6.5 ms)  
Sample Inputs  
TABLE 3-1:  
EEPROM MEMORY MAP  
WORD  
ADDRESS  
Update Sync Info  
MNEMONIC  
DESCRIPTION  
Encrypt With  
0
1
2
3
4
5
KEY_0  
64-bit encryption  
key (word 0)  
64-bit encryption  
key (word 1)  
64-bit encryption  
key (word 2)  
64-bit encryption  
key (word 3)  
Encryption Key  
KEY_1  
KEY_2  
Load Transmit Register  
Transmit  
KEY_3  
SYNC_A  
16-bit synchroniza-  
tion value  
Buttons  
Added  
Yes  
?
No  
SYNC_B/SEED_2 16-bit synchroniza-  
tion or seed value  
(word 2)  
Set to 0000H  
Seed Value (word 0)  
Seed Value (word 1)  
Device Serial  
Number (word 0)  
Device Serial  
Number (word 1)  
Configuration Word  
No  
All  
Buttons  
Released  
?
6
7
8
7
RESERVED  
SEED_0  
SEED_1  
SER_0  
Yes  
Complete Code  
Word Transmission  
10  
11  
SER_1  
Stop  
CONFIG  
3.1  
Key_0 - Key_3 (64-Bit Encryption Key)  
The 64-bit encryption key is used by the transmitter to  
create the encrypted message transmitted to the  
receiver. This key is created and programmed at the  
time of production using a key generation algorithm.  
Inputs to the key generation algorithm are the serial  
number for the particular transmitter being used and a  
secret manufacturers 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 creat-  
ing the key for decryption purposes. If a seed is used,  
the seed will also form part of the input to the key gen-  
eration algorithm.  
2001 Microchip Technology Inc.  
DS40152D-page 5  
HCS360  
3.2  
SYNC_A, SYNC_B  
(Synchronization Counter)  
TABLE 3-2:  
CONFIGURATION WORD  
Bit Number Symbol  
Bit Description  
This is the 16-bit synchronization value that is used to  
create the hopping code for transmission. This value  
will be changed after every transmission. A second  
synchronization value can be used to stay synchro-  
nized with a second receiver.  
0
1
LNGRD Long Guard Time  
FAST 0 Baud Rate Selection  
FAST 1 Baud Rate Selection  
2
3
NU  
Not Used  
4
SEED  
DELM  
TIMO  
IND  
Seed Transmission enable  
Delay mode enable  
Time out enable  
3.3  
SEED_0, SEED_1, and SEED_2  
(Seed Word)  
5
6
This is the three word (48 bits) seed code that will be  
transmitted when seed transmission is selected. This  
allows the system designer to implement the secure learn  
feature or use this fixed code word as part of a different  
key generation/tracking process or purely as a fixed code  
transmission.  
7
Independent mode enable  
8
USRA0 User bit  
USRA1 User bit  
USRB0 User bit  
USRB1 User bit  
9
10  
11  
12  
3.4  
SER_0, SER_1  
(Encoder Serial Number)  
XSER  
Extended serial number  
enable  
13  
14  
15  
TMPSD Temporary seed transmis-  
sion enable  
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.  
MANCH Manchester/PWM modula-  
tion selection  
OVR  
Overflow bit  
3.5.1  
LNGRD: LONG GUARD TIME  
3.5  
CONFIG  
(Configuration Word)  
LNGRD = 1 selects the encoder to extend the guard  
time between code words. This can be used to reduce  
the average power transmitted over a 100ms window  
and thereby transmit a higher peak power.  
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.  
3.5.2  
FAST 1, FAST 0 BAUD RATE SELECTION  
FAST 1 and FAST 0 selects the baud rate according to  
Table 3-3.  
TABLE 3-3:  
BAUD RATE SELECTION  
TE  
FAST 1  
FAST 0  
400  
200  
200  
100  
0
0
1
1
0
1
0
1
DS40152D-page 6  
2001 Microchip Technology Inc.  
HCS360  
3.5.3  
SEED: ENABLE SEED TRANSMISSION  
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.  
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-7) 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-1.  
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-1: 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.  
2001 Microchip Technology Inc.  
DS40152D-page 7  
HCS360  
3.5.4  
DELM: DELAY MODE  
3.5.5  
TIMO: TIME-OUT  
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. If  
DELM = 0, delay transmission is disabled (Table 3-4).  
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  
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-5).  
TABLE 3-4:  
FAST1  
TYPICAL DELAY TIMES  
Number of Code  
Time Before Delay Mode  
(MANCH = 0)  
Time Ref Delay Mode  
(MANCH = 1)  
FAST0  
Words before Delay  
Mode  
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  
TABLE 3-5:  
FAST 1  
TYPICAL TIME-OUT TIMES  
Maximum Number of  
Time Before Time-out  
(MANCH = 0)  
Time Before Time-out  
(MANCH = 1)  
FAST 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  
DS40152D-page 8  
2001 Microchip Technology Inc.  
HCS360  
3.5.6  
IND: INDEPENDENT MODE  
3.5.9  
TMPSD: TEMPORARY SEED  
TRANSMISSION  
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-7, function codes 1 to 7  
use SYNC_A and 8 to 15 SYNC_B. 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. It must be pointed out  
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, independent mode is enabled and counters  
for functions are used according to Table 3-7.  
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 .  
TABLE 3-6:  
SYNCHRONOUS COUNTER  
INITIALIZATION VALUES  
For IND = 1 and S[3:0] 0xC, 0xD, 0xE, 0xF, Basic  
Pulse Width modulation becomes:  
Synchronous Counter  
Values  
Number of  
Transmissions  
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.  
0000H  
0060H  
0050H  
0048H  
128  
64  
32  
3.5.8  
XSER: EXTENDED SERIAL NUMBER  
16  
If XSER = 1, the full 32-bit serial number [SER_1,  
SER_0] is transmitted. If XSER = 0, the four most sig-  
nificant bits of the serial number are substituted by  
S[3:0] and is compatible with the HCS200/300/301.  
TABLE 3-7:  
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
1
1
1
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
A
3
A
If SEED = 1, transmit seed after delay.  
4
A
5
A
6
A
7
A
8
B
B
9
If SEED = 1, transmit seed immediately.  
10  
11  
12  
13  
14  
15  
B
B
B IR mode  
B IR mode  
B IR mode  
B IR mode  
2001 Microchip Technology Inc.  
DS40152D-page 9  
HCS360  
3.5.10 MANCH: MANCHESTER CODE  
MODULATION  
4.0  
TRANSMITTED WORD  
4.1  
Transmission Format (PWM)  
MANCH selects between Manchester code modulation  
and PWM modulation. If MANCH = 1, Manchester code  
modulation is selected:  
The HCS360 transmission is made up of several parts  
(Figure 4-1 and Figure 4-2). Each transmission is  
begun with a preamble and a header, followed by the  
encrypted and then the fixed data. The actual data is  
67 bits which consists of 32 bits of encrypted data and  
35 bits of fixed data. Each transmission is followed by  
a guard period before another transmission can begin.  
Refer to Table 8-4 and Table 8-5 for transmission tim-  
ing specifications. The encrypted portion provides up to  
four billion changing code combinations and includes  
the function bits (based on which buttons were acti-  
vated) along with the synchronization counter value  
and discrimination value. The non-encrypted portion is  
comprised of the CRC bits, VLOW bits, the function bits  
and the 28/32-bit serial number. The encrypted and  
non-encrypted sections combined increase the number  
If MANCH = 0, PWM modulation is selected.  
3.5.11 OVR: OVERFLOW  
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 the NTQ104/5/6 devices  
(i.e., no overflow with discrimination bits set to zero).  
of combinations to 1.47 x 1020  
.
4.2 Code Word Organization  
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 4-3).  
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 8-4).  
The Non-encrypted 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 function code bits will not be transmit-  
ted.  
DS40152D-page 10  
2001 Microchip Technology Inc.  
HCS360  
FIGURE 4-1: TRANSMISSION FORMAT—MANCH = 0  
TOTAL TRANSMISSION:  
1 CODE WORD  
Guard  
Encrypt  
Preamble Sync Encrypt  
Sync  
Fixed  
Preamble  
CODE WORD:  
TE  
LOGIC "0"  
LOGIC "1"  
BIT  
TE  
6
16  
1
3 5 7 9  
4 6 8 10  
1
2
4
5
2
13 14 15  
Guard  
Time  
Encrypted  
TX Data  
Fixed Code  
Data  
Preamble  
Sync  
Code Word  
FIGURE 4-2: TRANSMISSION FORMAT—MANCH = 1  
TOTAL TRANSMISSION:  
1 CODE WORD  
Preamble Sync Encrypt  
Preamble Sync Encrypt Fixed  
Guard  
CODE WORD:  
TE  
LOGIC "0"  
LOGIC "1"  
Stop bit  
TE  
Start bit  
16  
1
3
2
4
13 14 15  
1
2
4 5 6  
Guard  
Time  
Encrypted  
Data  
Fixed Code  
Data  
Preamble  
Sync  
CODE WORD  
2001 Microchip Technology Inc.  
DS40152D-page 11  
HCS360  
FIGURE 4-3: CODE WORD ORGANIZATION (RIGHT-MOST BIT IS CLOCKED OUT FIRST)  
Fixed Code Data  
Encrypted Code Data  
Button  
Status  
(4 bits)  
Button  
Status  
(4 bits)  
Discrimination  
bits  
28-bit  
Serial Number  
16-bit  
Sync Value  
CRC  
(2 bit)  
VLOW  
(1 bit)  
(12 bits)  
MSB  
LSB  
67 bits  
of Data  
Transmitted  
Serial Number and  
Button Status (32 bits)  
CRC  
(2 bit)  
VLOW  
bit  
+
+
32 bits of Encrypted Data  
Button Status  
(4 bits)  
Discrimination Bits  
(12 bits)  
S
2
S
1
S
0
S
3
I
O
V
R
U
S
R
1
U
S
R
0
S
E
R
7
S
E
R
6
...  
...  
...  
...  
S
E
R
0
N
D
DS40152D-page 12  
2001 Microchip Technology Inc.  
HCS360  
5.3  
CRC (Cycle Redundancy Check) Bits  
5.0  
SPECIAL FEATURES  
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:  
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 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  
and  
with  
result. If another button is activated during  
a
CRC[0]n + 1 = (CRC[0]n Din) ∧ CRC[1]n  
CRC[1, 0]0 = 0  
transmission, the active transmission will be aborted  
and the new code will be generated using the new  
button information.  
5.2  
Long Guard Time  
and  
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  
100ms 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 extending the guard time  
between transmissions. long guard time (LNGRD) is  
used for reducing the average power of a transmission.  
This is a selectable feature. Using the LNGRD allows  
the user to 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.  
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.  
5.4  
Secure Learning  
In order to increase the level of security in a system, it is  
possible for the receiver to implement what is known as  
a secure learning function. This can be done by utilizing  
the seed value on the HCS360 which is stored in  
EEPROM. Instead of the normal key generation method  
being used to create the encryption key, this seed value  
is used and there should not be any mathematical rela-  
tionship between serial numbers and seeds for the best  
security.  
2001 Microchip Technology Inc.  
DS40152D-page 13  
HCS360  
5.5  
Auto-shutoff  
FIGURE 5-1: VLOW TRIP POINT VS.  
TEMPERATURE  
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.5). 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.6  
VLOW: Voltage LOW Indicator  
1.5  
The VLOW bit is transmitted with every transmission  
(Figure 4-3) 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.7  
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.  
FIGURE 5-2: BLANK ALTERNATE CODE WORD  
Amplitude  
One Code Word  
100ms  
100ms  
100ms  
100ms  
BACW Disabled  
(All words transmitted)  
A
BACW Enabled  
2A  
(1 out of 2 transmitted)  
Time  
Min Tx Length  
DS40152D-page 14  
2001 Microchip Technology Inc.  
HCS360  
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  
internally 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  
in 16 bits at a time, followed by the words complement  
FIGURE 6-1: PROGRAMMING WAVEFORMS  
Enter Program  
Mode  
Acknowledge  
TWC  
PWM  
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  
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  
Begin Verify Cycle Here  
End of  
Programming Cycle  
Data in Word 0  
PWM  
(Data)  
Bit190 Bit191  
Bit 0  
Bit 1 Bit 2 Bit 3  
Bit 14  
Bit 15  
Bit 16 Bit 17  
Bit190 Bit191  
TWC  
TDV  
S2/S3  
(Clock)  
S1  
Note: If a Verify operation is to be done, then it must immediately follow the Program cycle.  
2001 Microchip Technology Inc.  
DS40152D-page 15  
HCS360  
TABLE 6-1:  
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  
ms  
9.0  
Program cycle time  
Clock low time  
TWC  
TCLKL  
TCLKH  
TDS  
25  
25  
0
30  
24  
ms  
µs  
µs  
µs  
µs  
µs  
Clock high time  
Data setup time  
Data hold time  
TDH  
18  
Data out valid time  
TDV  
FIGURE 7-1: TYPICAL LEARN SEQUENCE  
7.0  
INTEGRATING THE HCS360  
INTO A SYSTEM  
Enter Learn  
Mode  
Use of the HCS360 in a system requires a compatible  
decoder. This decoder is typically a microcontroller with  
compatible firmware. Firmware routines that accept  
transmissions from the HCS360 and decrypt the  
hopping code portion of the data stream are available.  
These routines provide system designers the means to  
develop their own decoding system.  
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  
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 value in EEPROM. The  
decoder must keep track of these values for every  
transmitter that is learned (Figure 7-1). 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 manufac-  
turers code in order to learn a transmission transmitter,  
although this value will not change in a typical system  
so it is usually stored as part of the microcontroller  
ROM code. Storing the manufacturers code as part of  
the ROM code is also better for security reasons.  
Compare Discrimination  
Value with Fixed Value  
No  
Equal  
?
Yes  
Wait for Reception  
of Second Valid Code  
Use Generated Key  
to Decrypt  
Compare Discrimination  
Value with Fixed Value  
It must be stated that some learning strategies have  
been patented and care must be taken not to infringe.  
No  
Equal  
?
Yes  
No  
Counters  
Sequential  
?
Yes  
Learn  
Unsuccessful  
Learn successful Store:  
Serial number  
Encryption key  
Synchronization counter  
Exit  
DS40152D-page 16  
2001 Microchip Technology Inc.  
HCS360  
7.2  
Decoder Operation  
7.3  
Synchronization with Decoder  
In a typical decoder operation (Figure 7-2), the key  
generation on the decoder side is done by taking the  
serial number from a transmission and combining that  
with the manufacturers code to create the same secret  
key that was used by the transmitter. Once the secret  
key is obtained, the rest of the transmission can be  
decrypted. The decoder waits for a transmission and  
immediately can check the serial number to determine  
if it is a learned transmitter. If it is, it takes the encrypted  
portion of the transmission and decrypts it using the  
stored key It uses the discrimination bits to determine if  
the decryption was valid. If everything up to this point is  
valid, the synchronization value is evaluated.  
The KEELOQ technology features a sophisticated  
synchronization technique (Figure 7-3) which does not  
require the calculation and storage of future codes. If  
the stored counter value for that particular transmitter  
and the counter value that was just decrypted are  
within a formatted window of say 16, the counter is  
stored and the command is executed. If the counter  
value was not within the single operation window, but is  
within the double operation window of say 32K window,  
the transmitted synchronization value is stored in tem-  
porary location and it goes back to waiting for another  
transmission. When the next valid transmission is  
received, it will check the new value with the one in  
temporary storage. If the two values are sequential, it is  
assumed that the counter had just gotten out of the sin-  
gle operation window, but is now back in sync, so the  
new synchronization value is stored and the command  
executed. If a transmitter has somehow gotten out of  
the double operation window, the transmitter will not  
work and must be relearned. Since the entire window  
rotates after each valid transmission, codes that have  
been used are part of the blocked(32K) codes and are  
no longer valid. This eliminates the possibility of grab-  
bing a previous code and retransmitting to gain entry.  
FIGURE 7-2: TYPICAL DECODER  
OPERATION  
Start  
No  
Transmission  
Received  
?
Yes  
Note: The synchronization method described in  
this  
section  
is  
only  
a
typical  
Does  
Serial Number  
Match  
No  
implementation. It is usually implemented  
in firmware, it can be altered to fit the  
needs of a particular system  
?
Yes  
Decrypt Transmission  
FIGURE 7-3: SYNCHRONIZATION WINDOW  
Entire Window  
rotates to eliminate  
use of previously  
used codes  
Is  
No  
Decryption  
Valid  
?
Blocked  
(32K Codes)  
Yes  
Current  
Execute  
Command  
and  
Update  
Counter  
Is  
Counter  
Within 16  
?
Position  
No  
No  
Yes  
Double  
Operation  
(32K Codes)  
Single Operation  
Window (16 Codes)  
No  
Is  
Counter  
Within 32K  
?
Yes  
Save Counter  
in Temp Location  
2001 Microchip Technology Inc.  
DS40152D-page 17  
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 RATINGSmay 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 current (avg)  
ICC  
0.3  
1.2  
mA  
VDD = 3.3V  
VDD = 6.6V  
0.7  
0.1  
1.6  
1.0  
Standby current  
ICCS  
ICCS  
VIH  
0.1  
40  
1.0  
µA  
µA  
V
2,3  
Auto-shutoff current  
75  
160  
350  
High level Input voltage  
Low level input voltage  
0.55VDD  
-0.3  
VDD+0.3 0.55VDD  
VDD+0.3  
0.15VDD  
VIL  
0.15VDD  
-0.3  
V
High level output voltage VOH  
0.7VDD  
0.7VDD  
V
IOH = -1.0mA, VDD = 2.0V  
IOH = -2.0mA, VDD = 6.6V  
Low level output voltage  
LED sink current  
VOL  
0.08VDD  
4.0  
0.08VDD  
4.0  
V
IOL = 1.0mA, VDD = 2.0V  
IOL = 2.0mA, VDD = 6.6V  
4
ILED  
0.15  
1.0  
0.15  
1.0  
mA  
VLED = 1.5V, VDD = 6.6V  
Resistance; S0-S3  
Resistance; PWM  
RS0-3  
RPWM  
40  
80  
60  
80  
40  
80  
60  
80  
kΩ  
kΩ  
VDD=4.0V  
VDD=4.0V  
120  
160  
120  
160  
Note 1: Typical values are at 25°C.  
2: Auto-shutoff current specification does not include the current through the input pulldown 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.  
DS40152D-page 18  
2001 Microchip Technology Inc.  
HCS360  
FIGURE 8-1: POWER UP AND TRANSMIT TIMING  
Button Press  
Detect  
Code Word Transmission  
TBP  
TTD  
TDB  
Code  
Code  
Word  
3
Code  
Word  
2
Code  
Word  
n
Word  
PWM  
1
TTO  
Sn  
TABLE 8-3:  
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  
Time to second button press  
TBP  
10 + Code 26 + Code  
Word Time Word Time  
ms  
(Note 1)  
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 timeout period is not tested.  
FIGURE 8-2: PWM FORMAT (MANCH = 0)  
TE TE  
TE  
LOGIC 0’  
LOGIC 1’  
TBP  
Encrypted Portion  
of Transmission  
Fixed portion of  
Transmission  
TFIX  
Guard  
Time  
TG  
Header  
TH  
Preamble  
TP  
THOP  
FIGURE 8-3: PWM PREAMBLE/HEADER FORMAT  
Data Word  
Transmission  
Preamble  
Header  
Bit 0 Bit 1  
10 TE  
32 TE  
2001 Microchip Technology Inc.  
DS40152D-page 19  
HCS360  
FIGURE 8-4: PWM DATA WORD FORMAT  
Serial Number  
Function Code  
Status  
CRC  
MSB LSB  
MSB S3  
S0  
S1  
S2 VLOW CRC0 CRC1  
LSB  
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 Code Data  
Encrypted Data  
Header  
FIGURE 8-5: MANCHESTER FORMAT (MANCH = 1)  
TE TE  
LOGIC 0’  
LOGIC 1’  
TBP  
Encrypted Portion  
of Transmission  
Fixed portion of  
Transmission  
TFIX  
Guard  
Time  
TG  
Header  
TH  
Preamble  
TP  
THOP  
FIGURE 8-6: MANCHESTER PREAMBLE/HEADER FORMAT  
Data Word  
Transmission  
Preamble  
Header  
Bit 0 Bit 1  
32 TE  
4 TE  
FIGURE 8-7: HCS360 NORMALIZED TE VS. TEMP  
1.7  
1.6  
Typical  
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  
DS40152D-page 20  
2001 Microchip Technology Inc.  
HCS360  
TABLE 8-4:  
CODE WORD TRANSMISSION TIMING PARAMETERSPWM 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  
FAST1 = 0,  
FAST0 = 0  
FAST1 = 0,  
FAST0 = 1  
Number  
of TE  
Number  
of TE  
Symbol  
Characteristic  
Min. Typ. Max.  
Min. Typ. Max. Units  
TE  
TBP  
TP  
Basic pulse element  
PWM bit pulse width  
Preamble duration  
Header duration  
1
3
260  
400  
620  
1
3
130  
390  
4.2  
200  
600  
6.4  
2.0  
310  
930  
9.9  
µs  
µs  
780 1200 1860  
32  
10  
96  
105  
16  
259  
8.3  
2.6  
12.8 19.8  
4.0 6.2  
32  
10  
96  
105  
32  
275  
ms  
ms  
ms  
ms  
ms  
ms  
TH  
1.3  
3.1  
THOP  
TFIX  
TG  
Hopping code duration  
Fixed code duration  
Guard Time (LNGRD = 0)  
Total transmit time  
PWM data rate  
25.0 38.4 59.5  
27.3 42.0 65.1  
12.5 19.2 29.8  
13.7 21.0 32.6  
4.2  
67.3 103.6 160.6  
1282 833 538  
6.4  
9.9  
4.2  
6.4  
9.9  
35.8 55.0 85.3  
2564 1667 1075 bps  
Note: The timing parameters are not tested but derived from the oscillator clock.  
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  
FAST1 = 1,  
FAST0 = 0  
FAST1 = 1,  
FAST0 = 1  
Number  
of TE  
Number  
of Te  
Symbol  
Characteristic  
Min.  
Typ.  
Max.  
Min.  
Typ.  
Max. Units  
TE  
TBP  
TP  
Basic pulse element  
PWM bit pulse width  
Preamble duration  
Header duration  
1
3
130  
390  
4.2  
200  
600  
6.4  
310  
930  
9.9  
1
3
65  
195  
2.1  
0.7  
6.2  
6.8  
4.2  
20.0  
100  
300  
3.2  
155  
465  
5.0  
µs  
µs  
32  
10  
96  
105  
32  
275  
32  
10  
96  
105  
64  
307  
ms  
ms  
ms  
ms  
ms  
ms  
bps  
TH  
1.3  
2.0  
3.1  
1.0  
1.6  
THOP  
TFIX  
TG  
Hopping code duration  
Fixed code duration  
Guard Time (LNGRD = 0)  
Total transmit time  
PWM data rate  
12.5  
13.7  
4.2  
19.2  
21.0  
6.4  
29.8  
32.6  
9.9  
9.6  
14.9  
16.3  
9.9  
10.5  
6.4  
35.8  
2564  
55.0  
1667  
85.3  
1075  
30.7  
47.6  
5128 3333 2151  
Note: The timing parameters are not tested but derived from the oscillator clock.  
2001 Microchip Technology Inc.  
DS40152D-page 21  
HCS360  
TABLE 8-5:  
CODE WORD TRANSMISSION TIMING PARAMETERSMANCHESTER 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  
FAST1 = 0,  
FAST0 = 0  
FAST1 = 0,  
FAST0 = 1  
Typ. Max. Units  
Number  
of TE  
Number  
of Te  
Symbol  
Characteristic  
Min.  
Typ.  
Max.  
Min.  
TE  
TP  
TH  
Basic pulse element  
Preamble duration  
Header duration  
1
32  
4
520  
16.6  
2.1  
800  
25.6  
3.2  
1240  
39.7  
5.0  
1
32  
4
260  
8.3  
400  
12.8  
1.6  
620  
19.8  
2.5  
µs  
ms  
ms  
ms  
ms  
ms  
ms  
ms  
ms  
1.0  
TSTART Start bit  
2
1.0  
1.6  
2.5  
2
0.5  
0.8  
1.2  
THOP  
TFIX  
Hopping code duration  
Fixed code duration  
64  
70  
2
33.3  
36.4  
1.0  
51.2  
56.0  
1.6  
79.4  
86.8  
2.5  
64  
70  
2
16.6  
18.2  
0.5  
25.6  
28.0  
0.8  
39.7  
43.4  
1.2  
TSTOP Stop bit  
TG  
Guard Time (LNGRD = 0)  
8
4.2  
6.4  
9.9  
16  
190  
4.2  
6.4  
9.9  
Total transmit time  
182  
94.6  
1923  
145.6 223.7  
1250 806  
49.4  
76.0  
117.8  
Manchester data rate  
3846.2 2500 1612.9 bps  
Note: The timing parameters are not tested but derived from the oscillator clock.  
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  
FAST1 = 1,  
FAST0 = 0  
FAST1 = 1.  
FAST0 = 1  
Number  
of TE  
Number  
of Te  
Symbol  
Characteristic  
Min.  
Typ.  
Max.  
Min.  
Typ.  
Max. Units  
TE  
TP  
TH  
Basic pulse element  
Preamble duration  
Header duration  
1
32  
4
260  
8.3  
400  
12.8  
1.6  
620  
19.8  
2.5  
1
32  
4
130  
4.2  
0.5  
0.3  
8.3  
9.1  
0.3  
4.2  
26.8  
200  
6.4  
310  
9.9  
µs  
ms  
ms  
ms  
ms  
ms  
ms  
ms  
ms  
1.0  
0.8  
1.2  
TSTART Start bit  
2
0.5  
0.8  
1.2  
2
0.4  
0.6  
THOP  
TFIX  
Hopping code duration  
Fixed code duration  
64  
70  
2
16.6  
18.2  
0.5  
25.6  
28.0  
0.8  
39.7  
43.4  
1.2  
64  
70  
2
12.8  
14.0  
0.4  
19.8  
21.7  
0.6  
TSTOP Stop bit  
TG  
Guard Time (LNGRD = 0)  
16  
190  
4.2  
6.4  
9.9  
32  
206  
6.4  
9.9  
Total transmit time  
49.4  
76.0  
117.8  
41.2  
63.4  
Manchester data rate  
3846.2 2500.0 1612.9  
7692.3 5000.0 3225.8 bps  
Note: The timing parameters are not tested but derived from the oscillator clock.  
DS40152D-page 22  
2001 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 Web Site (www.microchip.com)  
2001 Microchip Technology Inc.  
DS40152D-page 23  
HCS360  
NOTES:  
DS40152D-page 24  
2001 Microchip Technology Inc.  
HCS360  
NOTES:  
2001 Microchip Technology Inc.  
DS40152D-page 25  
HCS360  
NOTES:  
DS40152D-page 26  
2001 Microchip Technology Inc.  
HCS360  
All rights reserved. Copyright © 2001, Microchip  
Technology Incorporated, USA. Information contained  
in this publication regarding device applications and the  
like is intended through suggestion only and may be  
superseded by updates. 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 Microchips products as critical  
components in life support systems is not authorized  
except with express written approval by Microchip. No  
licenses are conveyed, implicitly or otherwise, under  
any intellectual property rights. The Microchip logo and  
name are registered trademarks of Microchip  
Technology Inc. in the U.S.A. and other countries. All  
rights reserved. All other trademarks mentioned herein  
are the property of their respective companies. No  
licenses are conveyed, implicitly or otherwise, under  
any intellectual property rights.”  
Trademarks  
The Microchip name, logo, PIC, PICmicro,  
PICMASTER, PICSTART, PRO MATE, KEELOQ,  
SEEVAL, MPLAB and The Embedded Control  
Solutions Company are registered trademarks of  
Microchip Technology Incorporated in the U.S.A. and  
other countries.  
Total Endurance, ICSP, In-Circuit Serial Programming,  
FilterLab, MXDEV, microID, FlexROM, fuzzyLAB,  
MPASM, MPLINK, MPLIB, PICDEM, ICEPIC,  
Migratable Memory, FanSense, ECONOMONITOR,  
SelectMode and microPort are trademarks of  
Microchip Technology Incorporated in the U.S.A.  
Serialized Quick Term 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.  
© 2001, Microchip Technology Incorporated, Printed in  
the U.S.A., All Rights Reserved.  
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, Microchips quality  
system for the design and manufacture of  
development systems is ISO 9001 certified.  
2001 Microchip Technology Inc.  
DS40152D-page 27  
WORLDWIDE SALES AND SERVICE  
New York  
150 Motor Parkway, Suite 202  
Hauppauge, NY 11788  
AMERICAS  
Corporate Office  
2355 West Chandler Blvd.  
Chandler, AZ 85224-6199  
Tel: 480-792-7200 Fax: 480-792-7277  
Technical Support: 480-792-7627  
Web Address: http://www.microchip.com  
ASIA/PACIFIC (continued)  
Korea  
Microchip Technology Korea  
168-1, Youngbo Bldg. 3 Floor  
Samsung-Dong, Kangnam-Ku  
Seoul, Korea  
Tel: 631-273-5305 Fax: 631-273-5335  
San Jose  
Microchip Technology Inc.  
2107 North First Street, Suite 590  
San Jose, CA 95131  
Tel: 82-2-554-7200 Fax: 82-2-558-5934  
Rocky Mountain  
Singapore  
Microchip Technology Singapore Pte Ltd.  
200 Middle Road  
#07-02 Prime Centre  
Singapore, 188980  
Tel: 408-436-7950 Fax: 408-436-7955  
2355 West Chandler Blvd.  
Chandler, AZ 85224-6199  
Tel: 480-792-7966 Fax: 480-792-7456  
Toronto  
6285 Northam Drive, Suite 108  
Mississauga, Ontario L4V 1X5, Canada  
Tel: 905-673-0699 Fax: 905-673-6509  
Atlanta  
500 Sugar Mill Road, Suite 200B  
Atlanta, GA 30350  
Tel: 65-334-8870 Fax: 65-334-8850  
Taiwan  
Microchip Technology Taiwan  
11F-3, No. 207  
Tung Hua North Road  
Taipei, 105, Taiwan  
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139  
Tel: 770-640-0034 Fax: 770-640-0307  
ASIA/PACIFIC  
Australia  
Microchip Technology Australia Pty Ltd  
Suite 22, 41 Rawson Street  
Epping 2121, NSW  
Austin  
Analog Product Sales  
8303 MoPac Expressway North  
Suite A-201  
Austin, TX 78759  
Tel: 512-345-2030 Fax: 512-345-6085  
Boston  
2 Lan Drive, Suite 120  
Westford, MA 01886  
Tel: 978-692-3848 Fax: 978-692-3821  
Australia  
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755  
China - Beijing  
EUROPE  
Denmark  
Microchip Technology Denmark ApS  
Regus Business Centre  
Lautrup hoj 1-3  
Ballerup DK-2750 Denmark  
Tel: 45 4420 9895 Fax: 45 4420 9910  
Microchip Technology Beijing Office  
Unit 915  
New China Hong Kong Manhattan Bldg.  
No. 6 Chaoyangmen Beidajie  
Beijing, 100027, No. China  
Tel: 86-10-85282100 Fax: 86-10-85282104  
Boston  
Analog Product Sales  
Unit A-8-1 Millbrook Tarry Condominium  
97 Lowell Road  
Concord, MA 01742  
Tel: 978-371-6400 Fax: 978-371-0050  
Chicago  
333 Pierce Road, Suite 180  
Itasca, IL 60143  
Tel: 630-285-0071 Fax: 630-285-0075  
France  
China - Shanghai  
Microchip Technology Shanghai Office  
Room 701, Bldg. B  
Far East International Plaza  
No. 317 Xian Xia Road  
Shanghai, 200051  
Arizona Microchip Technology SARL  
Parc dActivite 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  
Germany  
Arizona Microchip Technology GmbH  
Gustav-Heinemann Ring 125  
D-81739 Munich, Germany  
Tel: 86-21-6275-5700 Fax: 86-21-6275-5060  
Dallas  
Hong Kong  
Microchip Asia Pacific  
RM 2101, Tower 2, Metroplaza  
223 Hing Fong Road  
Kwai Fong, N.T., Hong Kong  
Tel: 852-2401-1200 Fax: 852-2401-3431  
4570 Westgrove Drive, Suite 160  
Addison, TX 75001  
Tel: 972-818-7423 Fax: 972-818-2924  
Dayton  
Two Prestige Place, Suite 130  
Miamisburg, OH 45342  
Tel: 937-291-1654 Fax: 937-291-9175  
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44  
Germany  
Analog Product Sales  
Lochhamer Strasse 13  
D-82152 Martinsried, Germany  
Tel: 49-89-895650-0 Fax: 49-89-895650-22  
India  
Microchip Technology Inc.  
India Liaison Office  
Detroit  
Tri-Atria Office Building  
32255 Northwestern Highway, Suite 190  
Farmington Hills, MI 48334  
Tel: 248-538-2250 Fax: 248-538-2260  
Divyasree Chambers  
Italy  
1 Floor, Wing A (A3/A4)  
No. 11, OShaugnessey Road  
Bangalore, 560 025, India  
Tel: 91-80-2290061 Fax: 91-80-2290062  
Arizona Microchip Technology SRL  
Centro Direzionale Colleoni  
Palazzo Taurus 1 V. Le Colleoni 1  
20041 Agrate Brianza  
Los Angeles  
18201 Von Karman, Suite 1090  
Irvine, CA 92612  
Japan  
Milan, Italy  
Tel: 39-039-65791-1 Fax: 39-039-6899883  
Microchip Technology Intl. Inc.  
Benex S-1 6F  
Tel: 949-263-1888 Fax: 949-263-1338  
United Kingdom  
Arizona Microchip Technology Ltd.  
505 Eskdale Road  
Winnersh Triangle  
Wokingham  
Mountain View  
Analog Product Sales  
1300 Terra Bella Avenue  
Mountain View, CA 94043-1836  
Tel: 650-968-9241 Fax: 650-967-1590  
3-18-20, Shinyokohama  
Kohoku-Ku, Yokohama-shi  
Kanagawa, 222-0033, Japan  
Tel: 81-45-471- 6166 Fax: 81-45-471-6122  
Berkshire, England RG41 5TU  
Tel: 44 118 921 5869 Fax: 44-118 921-5820  
01/30/01  
All rights reserved. © 2001 Microchip Technology Incorporated. Printed in the USA. 2/01  
Printed on recycled paper.  
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 Microchips products as critical components in life support systems is not authorized except with  
express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, except as maybe explicitly expressed herein, under any intellec-  
tual property rights. The Microchip logo and name are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries. All rights  
reserved. All other trademarks mentioned herein are the property of their respective companies.  
DS40152D-page 28  
2001 Microchip Technology Inc.  

相关型号:

SI9130DB

5- and 3.3-V Step-Down Synchronous Converters

Warning: 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 Controller

Warning: 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 Controller

Warning: 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 Controller

Warning: 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 Controller

Warning: 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 PCs

Warning: 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 PCs

Warning: 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 PCs

Warning: 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 Applications

Warning: 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 Applications

Warning: 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 Applications

Warning: 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 Drivers

Warning: Undefined variable $rtag in /www/wwwroot/website_ic37/www.icpdf.com/pdf/pdf/index.php on line 217
-
VISHAY