HCS512-IP Microchip Technology, HCS512-IP Datasheet
HCS512-IP
Related parts for HCS512-IP
HCS512-IP Summary of contents
Page 1
... Burglar alarm systems Compatible Encoders • HCS200, HCS300, HCS301, HCS360, HCS361 • NTQ106 DESCRIPTION The Microchip Technology Inc. HCS512 is a code hop- ping decoder designed for secure Remote Keyless Entry (RKE) systems. The HCS512 utilizes the pat- ented K L code hopping system and high security ...
Page 2
... HCS512 1 SYSTEM OVERVIEW EE OQ 1.1 Key Terms • Manufacturer’s Code – a 64-bit word, unique to each manufacturer, used to produce a unique encoder key in each transmitter (encoder). • Encoder Key – a 64-bit key, unique for each trans- mitter. The encoder key controls the decryption algorithm and is stored in EEPROM on the decoder device ...
Page 3
... Transmitted Information Bits of Serial Number Encrypted Data Decryption Algorithm Check for Match 32-Bits of Serial Number Encrypted Data Received Information HCS512 Button Press Information Check for Match Decrypted Synchronization Counter DS40151C-page 3 ...
Page 4
... HCS512 2.0 PIN ASSIGNMENT Decoder (1) PIN I/O Function 1 LRNIN I 2 LRNOUT — 4 MCLR I 5 Ground Vlow O 11 SLEEP I 12 CLK I/O 13 DATA I OSC — OUT 16 OSC (4 MHz — 18 RFIN I Note power in out, and ST = Schmitt Trigger input. ...
Page 5
... DESCRIPTION OF FUNCTIONS 3.1 Parallel Interface The HCS512 activates the S3, S2, S1 & S0 outputs according to Table 3-1 when a new valid code is received. The outputs will be activated for approxi- mately 500 ms repeated code is received during this time, the output extends for approximately 500 ms. TABLE 3-1: FUNCTION OUTPUT TABLE ...
Page 6
... LEARNING PROCEDURE Learning is activated by taking the LRNIN input low for longer than 64 ms. This input requires an external pull- up resistor. To learn a new transmitter to the HCS512 decoder, the following sequence is required: 1. Enter learning mode by pulling LRNIN low for longer than 64 ms. The LRNOUT output will go high ...
Page 7
... Single Operation Window (16 Codes) 4.5 Sleep Mode The sleep mode of the HCS512 is used to reduce cur- rent consumption when no RF input signal is present. Sleep mode will only be effective in systems where the RF receiver is relatively quiet when no signal is present. During sleep, the clock stops, thereby significantly reducing the operating current. Sleep mode is enabled by the SLEEP bit in the confi ...
Page 8
... HCS512 5.0 INTEGRATING THE HCS512 INTO A SYSTEM The HCS512 can act as a stand alone decoder or be interfaced to a microcontroller. Typical stand alone applications include garage door openers and elec- tronic door locks. In stand alone applications, the HCS512 will handle learning, reception, decryption, and validation of the received code ...
Page 9
... Microchip Technology Inc. 6.4 Checksum The checksum is used by the HCS512 to check that the data downloaded was correctly received before pro- gramming the data. The checksum is calculated so that the 10 bytes added together (discarding the overflow bits) is zero. The checksum can be calculated by adding the fi ...
Page 10
... HCS512 FIGURE 6-2: PROGRAMMING WAVEFORMS MCLR PH1 PH2 CLK (Clock) DAT (Data) Enter Program Mode TABLE 6-4: PROGRAMMING TIMING REQUIREMENTS Parameter Symbol Program mode setup time TPS Hold time 1 TPH1 Hold time 2 TPH2 Clock High Time TCKH Clock Low Time TCKL ...
Page 11
... KEY GENERATION SCHEMES The HCS512 decoder has two key generation schemes. Normal learning uses the transmitter’s serial number to derive two input seeds which a re used as inputs to the key generation algorithm. Secure learning uses the seed transmission to derive the two input seeds. Two key generation algorithms are available to convert the inputs seeds to secret keys. ...
Page 12
... SourceL Manufacturers Code | Lower 32 bits After programming the manufacturer’s code, the HCS512 decoder will automatically activate an Erase All function, removing all transmitters from the system. If LRNIN is taken low momentarily during the learn status indication, the indication will be terminated. Once a successful learning sequence is detected, the indication can be terminated, allowing quick learning in a manufacturing set up ...
Page 13
... Transmission HOP Encrypted Data Button Button Sta- 28-bit Status tus (4 bits) Serial Number (4 bits) Serial Number and But bits of Encrypted Data ton Status (32 bits) HCS512 Guard Time T T FIX G Discrimina- 16-bit tion bits Sync Value (12 bits) 66/67 bits of Data Transmitted DS40151C-page 13 ...
Page 14
... HCS512 9.0 ELECTRICAL CHARACTERISTICS FOR HCS512 Absolute Maximum Ratings † Ambient temperature under bias............................................................................................................. - +125 C Storage temperature ............................................................................................................................... - +150 C Voltage on any pin with respect Voltage on V with respect to Vss................................................................................................................... 0 to +7.5V DD Total power dissipation (Note 1) ........................................................................................................................... 800 mW Maximum current out of V pin ........................................................................................................................... 150 mA ...
Page 15
... TMCLR T OV HCS512 Conditions MHz 5.5V OSC DD (During EEPROM programming) In SLEEP mode except MCLR = 0 except MCLR = 0. 8 -3 Conditions Rext = 10K, Cext = 10pF 4.5V < ...
Page 16
FIGURE 9-2: OUTPUT ACTIVATION 1 Code Word 50ms RFIN TOD S[3,2,1, Note 2 V LOW T A LRNOUT 0s 1s Note 1: Output is activated as long as code is received. 2: Output is activated if battery low ...
Page 17
... V DD LOW VOLTAGE DETECTOR—DO NOT OMIT 10K P2 10K 4 MCLR OSC IN 15 OSC OUT HCS512 12V GND DD 1 RECEIVE DATA INPUT RFIN 1 LRNIN 2 LRNOUT LOW 11 ...
Page 18
... HCS512 NOTES: DS40151C-page 18 1997 Microchip Technology Inc. ...
Page 19
... HCS512 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS512 — /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 20
... 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 ...