HCS515-IP Microchip Technology, HCS515-IP Datasheet

no-image

HCS515-IP

Manufacturer Part Number
HCS515-IP
Description
KEELOQ CODE HOPPING DECODER
Manufacturer
Microchip Technology
Datasheet
The K
*Code hopping patents issued in Europe, U. S. A. and R. S.—US:5,517,187; Europe: 0459781
FEATURES
Security
• Encrypted storage of manufacturer’s code
• Encrypted storage of encoder decryption 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
• Internal EEPROM for transmitter storage
• Synchronous serial interface
• 1 Kbit user EEPROM
• 14-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, HCS361,
DESCRIPTION
The Microchip Technology Inc. HCS515 is a code hop-
ping decoder designed for secure Remote Keyless
Entry (RKE) systems. The HCS515 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
HCS515 can be used as a stand-alone decoder or in
conjunction with a microcontroller.
M
HCS410 (PWM Mode)
1998 Microchip Technology Inc.
EE
EE
L
L
OQ
OQ
EE
name, K
L
code hopping technology
OQ
code hopping system and high security
EE
L
OQ
logo, and logotype are registered trademarks of Microchip Technology Inc. in the U.S.A. and other countries.
Preliminary
Code Hopping Decoder
PACKAGE TYPE
BLOCK DIAGRAM
The manufacturer’s code, encoder decryption keys,
and
encrypted form in internal EEPROM. The HCS515
uses the S_DAT and S_CLK inputs to communicate
with a host controller device.
The HCS515 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
Internal
synchronization
OSCILLATOR
MCLR
Vdd
NC
NC
NC
S0
S1
EE_DAT
EE_CLK
1
2
3
4
5
6
7
67-bit Reception Register
HCS515
information
CONTROL
14
13
12
11
10
9
8
DS40183A-page 1
are
DECRYPTOR
NC
NC
Vss
RF_IN
S_CLK
S_DAT
NC
stored
S_DAT
S_CLK
S0
S1
MCLR
in

Related parts for HCS515-IP

HCS515-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 HCS515 can be used as a stand-alone decoder or in conjunction with a microcontroller. The K L name logo, and logotype are registered trademarks of Microchip Technology Inc ...

Page 2

... Seed Key Encryption Key Algorithm Preliminary L encryption algorithm Once the encoder HCS515 EEPROM Array Serial Number Encryption Key Sync Counter . . . 1998 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 HCS515 Button Press Information Check for Match Decrypted Synchronization Counter DS40183A-page 3 ...

Page 4

... HCS515 2.0 PIN ASSIGNMENT Decoder (1) PIN I/O Function 1 NC — — — MCLR — — 9 S_DAT I/O 10 S_CLK I 11 RF_IN I 12 GND — — — Note power in out, and ST = Schmitt Trigger input. DS40183A-page 4 ...

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 HCS515 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

... HCS515 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 decryption 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 HCS515. The data stream consists of: • Start bit ‘0’. • 2 status bits [REPEAT, VLOW]. ...

Page 8

... A B DS40183A-page 8 4.2.2 COLLISION DETECTION The HCS515 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 HCS515 Max 2 1/2 BPW = 2.7 ms MAX 170 ms Operation DS40183A-page 9 ...

Page 10

... HCS515 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 truncated 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 HCS515 T T ACK LRN T RESP MSB T 2 ACK Acknowledge TX3 RX0 RX1 RX62 RX63 Decoded Tx Ci Cii DS40183A-page 11 ...

Page 12

... Stand-alone Mode The HCS515 decoder can also be used in stand-alone applications. The HCS515 will activate the data line for up to 500 valid transmission was received, and this output can be used to drive a relay circuit. To acti- vate learn or erase all commands, a button must be connected to the CLK input ...

Page 13

... Power Supply Supervisor Reliable operation of the HCS515 requires that the contents of the EEPROM memory be protected against erroneous writes. To ensure that erroneous writes do FIGURE 4-10: STAND-ALONE MODE LEARN/ERASE-ALL TIMING T T REQ LRN CLK DATA Learn Activation A B FIGURE 4-11: TYPICAL STAND-ALONE APPLICATION CIRCUIT Vcc ...

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 HCS515. To initialize the system memory, the HCS515’s program command must be used. ...

Page 15

... T T CMD ADDR DATA DS LSB MSB MSB Configuration Byte Least Significant Byte Preliminary HCS515 T T DATA ACK LSB MSB T AW Most Significant Byte Acknowledge DS40183A-page 15 ...

Page 16

... HCS515 6.0 KEY GENERATION The HCS515 supports two 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 6.1 Normal (Serial Number derived) Learn using the K ...

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 HCS515 Guard Time T T FIX G 16-bit Discrimination Sync. bits (12 bits) Counter Value 66/67 bits of Data Transmitted DS40183A-page 17 ...

Page 18

... HCS515 8.0 ELECTRICAL CHARACTERISTICS FOR HCS515 † 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

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

Page 20

... HCS515 8.1 AC Electrical Characteristics 8.1.1 VALID TRANSMISSION NOTIFICATION Symbol Parameters T Command request time DHI T Micro request acknowledge time CLA T Decoder Acknowledge time ACK T Start command mode to ACT first command bit T Clock high time CLKH T Clock low time CLKL F Clock frequency CLK T Data hold time ...

Page 21

... Standard Operating Conditions (unless otherwise specified): Commercial (C +70 C Industrial (I): - +85 C Min Typ — — — — — — Preliminary HCS515 Max Units 1000 1000 Max Units 1000 s 210 ms 1000 Max ...

Page 22

... HCS515 8.1.8 LEARN STATUS STRING Symbol Parameters T Command request time DHI Microcontroller command T CLA request time T Decoder request acknowledge time ACT T Clock high hold time CLH T Clock low hold time CLL T Clock high time CLKH T Clock low time CLKL F Clock frequency CLK ...

Page 23

... Vcc X Power Supply Supervisor 4. 1998 Microchip Technology Inc. RF Receiver RF_IN S_CLK 6 9 MCLR S_DAT 10K HCS515 Preliminary HCS515 RST Microcontroller In circuit Programming Probe Pads DS40183A-page 23 ...

Page 24

... HCS515 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS515 — /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 25

... NOTES: 1998 Microchip Technology Inc. Preliminary HCS515 DS40183A-page 25 ...

Page 26

... HCS515 NOTES: DS40183A-page 26 Preliminary 1998 Microchip Technology Inc. ...

Page 27

... NOTES: 1998 Microchip Technology Inc. Preliminary HCS515 DS40183A-page 27 ...

Page 28

... 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