hcs512 Microchip Technology Inc., hcs512 Datasheet
hcs512
Available stocks
Related parts for hcs512
hcs512 Summary of contents
Page 1
... Microchip Technology Inc. ® Code Hopping Decoder OQ 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 learning mechanisms to make this a canned solution when used with the HCS encoders to implement a uni- directional remote keyless entry system ...
Page 2
... HCS512 The HCS512 operates over a wide voltage range of 3.0 volts to 6.0 volts. The decoder employs automatic baud 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. 1.0 SYSTEM OVERVIEW ...
Page 3
... HCS512 based transmitter. Section 5.0 provides detail on integrating the HCS512 into a sys- tem. A transmitter must first be ‘learned’ by the receiver before its use is allowed in the system. Learning includes calculating the transmitter’ ...
Page 4
... HCS512 FIGURE 1-3: BASIC OPERATION OF RECEIVER (DECODER) 1 Received Information Button Press Serial Number Information Check for 2 Match Perform Function Indicated by 5 button press NOTE: Circled numbers indicate the order of execution. 2.0 PIN ASSIGNMENT Decoder (1) PIN I/O Function 1 LRNIN I 2 LRNOUT — 4 MCLR I 5 Ground ...
Page 5
... DESCRIPTION OF FUNCTIONS 3.1 Parallel Interface The HCS512 activates the S3, S2, S1 & S0 outputs when a new valid code is received. The outputs will be activated for approximately 500 ms repeated code is received during this time, the output extends for approximately 500 ms. 3.2 Serial Interface The decoder has a PWM/Synchronous interface con- nection to microcontrollers with limited I/O ...
Page 6
... LEARNING PROCEDURE Learning is activated by taking the LRNIN 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
... Check if the synchronization counter falls within the second synchronization window. • valid transmission is found, update the syn- chronization counter, else use the next transmitter block and repeat the tests. 2002 Microchip Technology Inc. HCS512 FIGURE 4-2: DECODER OPERATION Start No Transmission ...
Page 8
... SLEEP Mode The SLEEP mode of the HCS512 is used to reduce current 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 sig- nificantly reducing the operating current ...
Page 9
... Typical systems where the HCS512 will be connected to a microcontroller include vehicle and home security systems. The HCS512 input will be connected receiver and the function outputs to the microcontroller. The HCS512 will handle all the decoding functions and the microcontroller, all the system functions. The Serial Output mode with 2-wire interface can be used if the microcontroller is I/O limited ...
Page 10
... C0 (FF DS40151D-page 10 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 add- ing the first 9 bytes of data together and subtracting the result from zero ...
Page 11
... Acknowledge duration TACKH Note: F equals 4 MHz. OSC 2002 Microchip Technology Inc. T CKL T PH2 CKH Bit0 Bit1 Bit78 Bit79 80-bit Data Package Min 0.05 0.05 0.050 — 1 HCS512 T T ACK ACKH Ack Acknowledge pulse Max. Units 64 ms 128 ms 320 ms 320 ms 320 — ms DS40151D-page 11 ...
Page 12
... 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 are 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 13
... SourceL XOR 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 setup ...
Page 14
... HCS512 8 ENCODERS EE OQ 8.1 Transmission Format (PWM) The K L encoder transmission is made up of sev eral parts (Figure 8-1). Each transmission begins with a preamble and a header, followed by the encrypted and then the fixed data. The actual data is 66/69 bits which consists of 32 bits of encrypted data and 34/37 bits of non-encrypted data ...
Page 15
... ELECTRICAL CHARACTERISTICS FOR HCS512 Absolute Maximum Ratings † Ambient temperature under bias.............................................................................................................-55°C to +125°C Storage temperature ...............................................................................................................................-65°C to +150°C Voltage on any pin with respect Voltage on with respect to Vss....................................................................................................................0 to +7. Total power dissipation (Note 1) ..........................................................................................................................800 mW Maximum current out of pin.............................................................................................................................150 mA ...
Page 16
... HCS512 TABLE 9-1: DC CHARACTERISTICS Standard Operating Conditions (unless otherwise stated) Operating temperature Commercial (C): Industrial (I): Symbol Characteristic V Supply Voltage start voltage to POR DD ensure RESET S V rise rate to VDD DD ensure RESET I Supply Current DD V Input Low Voltage IL V Input High Voltage 0. Output Low Voltage ...
Page 17
Code Word 50 ms 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 ( V LOW ...
Page 18
... LOW VOLTAGE DETECTOR—DO NOT OMIT 10K 4. MCLR OSC IN 15 OSC OUT HCS512 12V 1 2 1N4004/7 3 GND 1 RECEIVE DATA INPUT RFIN 1 LRNIN 2 LRNOUT LOW 11 SLEEP ...
Page 19
... 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. 2002 Microchip Technology Inc. Example HCS512 0110017 Example HCS512 /SO 0110017 HCS512 DS40151D-page 19 ...
Page 20
... HCS512 10.2 Package Details 18-Lead Plastic Dual In-line (P) – 300 mil (PDIP Dimension Limits Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width Molded Package Width Overall Length Tip to Seating Plane Lead Thickness ...
Page 21
... A2 .088 .091 .094 A1 .004 .008 .012 E .394 .407 .420 E1 .291 .295 .299 D .446 .454 .462 h .010 .020 .029 L .016 .033 .050 .009 .011 .012 B .014 .017 .020 HCS512 A2 MILLIMETERS MIN NOM MAX 18 1.27 2.36 2.50 2.64 2.24 2.31 2.39 0.10 0.20 0.30 10.01 10.34 10.67 7.39 7.49 7.59 11.33 11.53 11.73 0.25 0.50 0.74 0.41 0.84 1. 0.23 0.27 0.30 0.36 0.42 0. ...
Page 22
... HCS512 ON-LINE SUPPORT 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 ...
Page 23
... 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? 2002 Microchip Technology Inc. Total Pages Sent FAX: (______) _________ - _________ N Literature Number: DS40151D HCS512 DS40151D-page 23 ...
Page 24
... HCS512 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 25
... 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. 2002 Microchip Technology Inc. Trademarks The Microchip name and logo, the Microchip logo, FilterLab ...
Page 26
... Centro Direzionale Colleoni Palazzo Taurus Colleoni 1 20041 Agrate Brianza Milan, Italy Tel: 39-039-65791-1 Fax: 39-039-6899883 United Kingdom Arizona Microchip Technology Ltd. 505 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44 118 921 5869 Fax: 44-118 921-5820 01/18/02 2002 Microchip Technology Inc. ...