HCS500-IP Microchip Technology, HCS500-IP Datasheet

no-image

HCS500-IP

Manufacturer Part Number
HCS500-IP
Description
KEELOQ CODE HOPPING ENCODER
Manufacturer
Microchip Technology
Datasheet
FEATURES
Security
• Encrypted storage of manufacturer’s code
• Encrypted storage of encoder keys
• Up to seven transmitters can be learned
• K
• Normal and secure learning mechanisms
Operating
• 3.0V—5.5V operation
• Internal oscillator
• Auto bit rate detection
Other
• Stand-alone decoder chipset
• External EEPROM for transmitter storage
• Synchronous serial interface
• 1 Kbit user EEPROM
• 8-pin DIP/SOIC package
Typical Applications
• Automotive remote entry systems
• Automotive alarm systems
• Automotive immobilizers
• Gate and garage openers
• Electronic door locks
• Identity tokens
• Burglar alarm systems
Compatible Encoders
• HCS200, HCS300, HCS301, HCS360,
DESCRIPTION
The Microchip Technology Inc. HCS500 is a code hop-
ping decoder designed for secure Remote Keyless
Entry (RKE) systems. The HCS500 utilizes the pat-
ented K
learning mechanisms to make this a canned solution
when used with the HCS encoders to implement a uni-
directional remote and access control systems. The
HCS500 can be used as a stand-alone decoder or in
conjunction with a microcontroller.
M
K
*Code hopping patents issued in Europe, U.S.A; and R.S.—US:5,517,187; Europe: 0459781
EE
HCS410 (PWM Mode)
1997 Microchip Technology Inc.
L
EE
OQ
L
is a registered trademark of Microchip Technology Inc.
OQ
EE
L
code hopping technology
OQ
code hopping system and high security
Code Hopping Decoder
Preliminary
PACKAGE TYPE
BLOCK DIAGRAM
The manufacturer’s code, encoder keys, and synchro-
nization information are stored in encrypted form in
external EEPROM. The HCS500 uses the S_DAT and
S_CLK inputs to communicate with a host controller
device.
The HCS500 operates over a wide voltage range of
3.0 volts to 5.5 volts. The decoder employs automatic
bit-rate detection, which allows it to compensate for
wide variations in transmitter data rate. The decoder
contains sophisticated error checking algorithms to
ensure only valid codes are accepted.
PDIP, SOIC
RFIN
EEPROM
External
EE_DAT
EE_CLK
MCLR
OSCILLATOR
V
DD
EE_DAT
EE_CLK
1
2
3
4
67-bit Reception Register
HCS500
CONTROL
8
7
6
5
DS40153B-page 1
DECRYPTOR
V
RFIN
S_CLK
S_DAT
SS
S_DAT
S_CLK
MCLR

Related parts for HCS500-IP

HCS500-IP Summary of contents

Page 1

... EE OQ learning mechanisms to make this a canned solution when used with the HCS encoders to implement a uni- directional remote and access control systems. The HCS500 can be used as a stand-alone decoder or in conjunction with a microcontroller registered trademark of Microchip Technology Inc *Code hopping patents issued in Europe, U.S.A ...

Page 2

... The manufacturer code is a pivotal part of the system’s overall security. Conse- quently, all possible precautions must be taken and maintained for this code. Seed Key Encryption Key Algorithm Preliminary HCS500 EEPROM Array Serial Number Encryption Key Sync Counter . . . 1997 Microchip Technology Inc. ...

Page 3

... Transmitted Information Bits of Serial Number Encrypted Data Decryption Algorithm Check for Match 32 Bits of Serial Number Encrypted Data Received Information Preliminary HCS500 Button Press Information Check for Match Decrypted Synchronization Counter DS40153B-page 3 ...

Page 4

... HCS500 2.0 PIN ASSIGNMENT Decoder (1) PIN I/O Function EE_CLK O 3 EE_DAT I/O 4 MCLR I 5 S_DAT I/O 6 S_CLK I 7 RFIN I 8 GND P Note power in out, and ST = Schmitt Trigger input trademark of Philips Corporation. DS40153B-page 4 Buffer Description (1) Type — Power Connection 2 ™ TTL ...

Page 5

... LEARNING PROCEDURE Learning is initiated by sending the ACTIVATE_LEARN (D2H) command to the decoder. The decoder acknowl- edges reception of the command by pulling the data line high. For the HCS500 decoder to learn a new transmitter, the following sequence is required: 1. Activate the transmitter once. 2. Activate the transmitter a second time. (In ...

Page 6

... HCS500 3.2 Validation of Codes The decoder waits for a transmission and checks the serial number to determine learned transmitter is, it takes the code hopping portion of the transmis- sion and decrypts it, using the encoder key. It uses the discrimination value to determine if the decryption was valid ...

Page 7

... The controlling microcontroller must acknowl- edge by taking the clock line high. The decoder then takes the data line low. The microcontroller can then begin clocking a data stream out of the HCS500. The data stream consists of: • Start bit ‘0’. • 2 status bits [REPEAT, VLOW]. ...

Page 8

... A B DS40153B-page 8 4.2.2 COLLISION DETECTION The HCS500 uses collision detection to prevent clashes between the decoder and microcontroller. Whenever the decoder receives a valid transmission the following sequence is followed: • The decoder first checks to see if the clock line is high. If the clock line is high, the valid transmis- sion notifi ...

Page 9

... Read a byte from user EEPROM 16 E1 Write a byte to user EEPROM 16 D2 Activate a learn sequence on the decoder 16 C3 Activate an erase all function on the decoder 16 B4 Program manufacturer’s code and configuration byte 16 Preliminary HCS500 Max 2 1/2 BPW = 2.7 ms MAX 170 ms Operation DS40153B-page 9 ...

Page 10

... HCS500 4.2.5 READ BYTE/S FROM USER EEPROM The read command (Figure 4-4) is used to read bytes from the user EEPROM. The offset in the user EEPROM is specified by the address byte which is trun- cated to seven bits (C to D). After the address, a dummy byte must be clocked E). The EEPROM data byte is clocked out on the next rising edge of the clock line with the least signifi ...

Page 11

... CLKH T CLH T DHI Status Byte CLKH CNT0 CNT3 TX0 1 Learn Status Bits Preliminary HCS500 T T ACK LRN T RESP MSB T 2 ACK Acknowledge TX3 RX0 RX1 RX62 RX63 Decoded Tx Ci Cii DS40153B-page 11 ...

Page 12

... Power Supply Supervisor Reliable operation of the HCS500 requires that the con- tents of the EEPROM memory be protected against erroneous writes. To ensure that erroneous writes do not occur after supply voltage “brown-out” conditions, the use of a proper power supply supervisor device is imperative (Figure 4-10 and Figure 8-2) ...

Page 13

... X 4 SDA 24LC02B POWER SUPPLY SUPERVISOR 4. Note: Because each HCS500 is individually matched to its EEPROM, in-circuit programming is strongly recommended. 1997 Microchip Technology Inc. MSB LSB MSB LSB Subcommand Byte Dummy Byte Erase-All Activation C Vcc RF Receiver ...

Page 14

... Note 1: These memory locations are read protected and can only be written to using the program command with the device powered up. 2: The contents of the system memory is encrypted by a unique 64-bit key that is stored in the HCS500. To initialize the system memory, the HCS500’s program command must be used. The EEPROM and HCS500 are matched, and the devices must be kept together ...

Page 15

... H). If the data line goes high within 30 ms after the clock goes high, programming also fails CMD ADDR DATA DS LSB MSB MSB Configuration Byte Least Significant Byte Preliminary HCS500 T T DATA ACK LSB MSB T AW Most Significant Byte Acknowledge DS40153B-page 15 ...

Page 16

... HCS500 6.0 KEY GENERATION The HCS500 supports three learning schemes which are selected during the initialization of the system EEPROM. The learning schemes are: • Normal learn using the K L decryption algorithm EE OQ • Secure learn using the K L decryption algorithm EE OQ • Secure learn using the XOR algorithm 6 ...

Page 17

... H T HOP Encrypted Data Button Status 28-bit Button Status S2S1S0S3 Serial S2S1S0S3 (4 bits) Number (4 bits) Serial Number and + 32 bits of Encrypted Data Button Status (32 bits) Preliminary HCS500 Guard Time T T FIX G 16-bit Discrimination Sync. bits (12 bits) Counter Value 66/67 bits of Data Transmitted DS40153B-page 17 ...

Page 18

... HCS500 8.0 ELECTRICAL CHARACTERISTICS FOR HCS500 † Absolute Maximum Ratings Ambient temperature under bias...............................................................................................................- +85 C Storage temperature .............................................................................................................................. - +150 C Voltage on any pin with respect Voltage on V with respect to Vss................................................................................................................... 0 to +7.0V DD Total power dissipation (Note) .............................................................................................................................. 700 mW Maximum current out of V pin ........................................................................................................................... 200 mA ...

Page 19

... C TA +70 C Industrial (I): - +85 C Min Typ Max 65 — 660 48 75 237 150 — — — 150 222 T MCLR Tov Preliminary HCS500 Units Conditions MHz 5.5V OSC DD A Sleep mode (no RF input 3.0V, Commercial 3.0V, Industrial DD V Except MCLR = 0.15 V ...

Page 20

... HCS500 8.1 AC Electrical Characteristics 8.1.1 COMMAND MODE ACTIVATION Symbol Parameters T Command request time REQ T Microcontroller request RESP acknowledge time T Decoder acknowledge time ACK T Start command mode to first START command bit T Clock high time CLKH T Clock low time CLKL F Clock frequency CLK T Data hold time ...

Page 21

... C TA +70 C Industrial (I): - +85 C Min Typ — — 0.005 — — — 0.020 — 20 — 20 — 500 — 25000 — — Preliminary HCS500 Max Units 1000 1000 Max Units 100 Max Units 500 ms 500 ...

Page 22

... SCL SDA 24LC02B POWER SUPPLY SUPERVISOR 4.5V VI Note: Because each HCS500 is individually matched to its EEPROM, in-circuit programming is strongly recommended. DS40153B-page 22 Standard Operating Conditions (unless otherwise specified): Commercial (C Industrial (I): - Min Typ 20 — 20 — 20 — ...

Page 23

... PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS500 — /P Package: Temperature Range: Device: 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 ...

Page 24

... Information contained in this publication regarding device applications and the like is intended for 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 Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip ...

Related keywords