HCS512_11 MICROCHIP [Microchip Technology], HCS512_11 Datasheet
HCS512_11
Related parts for HCS512_11
HCS512_11 Summary of contents
Page 1
FEATURES Security • Secure storage of Manufacturer’s Code • Secure storage of transmitter’s keys • four transmitters can be learned ® • code hopping technology EE OQ • Normal and secure learning mechanisms ...
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 ...
Page 3
FIGURE 1-1: CREATION AND STORAGE OF CRYPT KEY DURING PRODUCTION Production Transmitter Programmer Serial Number Manufacturer’s Generation Code Algorithm The 16-bit synchronization counter is the basis behind the transmitted code word changing for each transmis- sion; it increments each time ...
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) ...
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 ...
Page 6
HCS512 4.0 DECODER OPERATION 4.1 Learning a Transmitter to a Receiver Either the serial number-based learning method or the seed-based learning method can be selected. The learning method is selected in the configuration byte. In order for a transmitter to ...
Page 7
Validation of Codes The decoder waits for a transmission and checks the serial number to determine if the transmitter has been learned. If learned, the decoder decrypts the encrypted portion of the transmission using the crypt key. It uses ...
Page 8
HCS512 4.4 Synchronization with Decoder (Evaluating the Counter) The K L technology patent scope includes sophisticated synchronization technique that does not require the calculation and storage of future codes. The technique securely blocks invalid transmissions while providing ...
Page 9
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 ...
Page 10
HCS512 6.2 Programming the Manufacturer’s Code The manufacturer’s code must be programmed into EEPROM memory through the synchronous program- ming interface using the DATA and CLK lines. Provision must be made for connections to these pins if the decoder is ...
Page 11
FIGURE 6-2: PROGRAMMING WAVEFORMS MCLR PH1 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 ...
Page 12
HCS512 7.0 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 ...
Page 13
Key Generation Algorithms There are two key generation algorithms implemented in the HCS512 decoder. The vides a higher level of security than the XOR algorithm. Section 6.1 describes the selection of the algorithms in the con- figuration byte. 7.3.1 ...
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 ...
Page 15
DEVELOPMENT SUPPORT ® The PIC microcontrollers and dsPIC controllers are supported with a full range of software and hardware development tools: • Integrated Development Environment ® - MPLAB IDE Software • Compilers/Assemblers/Linkers - MPLAB C Compiler for Various Device ...
Page 16
HCS512 9.2 MPLAB C Compilers for Various Device Families The MPLAB C Compiler code development systems are complete ANSI C compilers for Microchip’s PIC18, PIC24 and PIC32 families of microcontrollers and the dsPIC30 and dsPIC33 families of digital signal control- ...
Page 17
MPLAB SIM Software Simulator The MPLAB SIM Software Simulator allows code development in a PC-hosted environment by simulat- ® ® ing the PIC MCUs and dsPIC DSCs on an instruction level. On any given instruction, the data areas can ...
Page 18
HCS512 9.11 PICkit 2 Development Programmer/Debugger and PICkit 2 Debug Express The PICkit™ 2 Development Programmer/Debugger is a low-cost development tool with an easy to use inter- face for programming and debugging Microchip’s Flash families of microcontrollers. The ® Windows ...
Page 19
ELECTRICAL CHARACTERISTICS 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 ...
Page 20
HCS512 TABLE 10-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 ...
Page 21
FIGURE 10-1: RESET WATCHDOG TIMER, OSCILLATOR START-UP TIMER AND POWER-UP TIMER TIMING V DD MCLR I/O Pins © 2011 Microchip Technology Inc. HCS512 TMCLR T OV DS40151E-page 21 ...
Page 22
HCS512 FIGURE 10-2: OUTPUT ACTIVATION DS40151E-page 22 © 2011 Microchip Technology Inc. ...
Page 23
FIGURE 10-3: TYPICAL DECODER APPLICATION CIRCUIT © 2011 Microchip Technology Inc. HCS512 DS40151E-page 23 ...
Page 24
HCS512 11.0 PACKAGING INFORMATION 11.1 Package Marking Information 18-Lead PDIP XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX YYWWNNN 18-Lead SOIC XXXXXXXXXXXX XXXXXXXXXXXX XXXXXXXXXXXX YYWWNNN Legend: XX...X Customer specific information* Y Year code (last digit of calendar year) YY Year code (last 2 digits of calendar ...
Page 25
Package Details /HDG 3ODVWLF 'XDO ,Q/LQH 3 ± PLO %RG\ >3',3@ 1RWH N NOTE 1RWHV © 2011 Microchip Technology Inc HCS512 DS40151E-page ...
Page 26
HCS512 Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS40151E-page 26 © 2011 Microchip Technology Inc. ...
Page 27
Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging © 2011 Microchip Technology Inc. HCS512 DS40151E-page 27 ...
Page 28
HCS512 Note: For the most current package drawings, please see the Microchip Packaging Specification located at http://www.microchip.com/packaging DS40151E-page 28 © 2011 Microchip Technology Inc. ...
Page 29
APPENDIX A: ADDITIONAL INFORMATION Microchip’s Secure Data Products are covered by some or all of the following: Code hopping encoder patents issued in European countries and U.S.A. Secure learning patents issued in European countries, U.S.A. and R.S.A. © 2011 Microchip ...
Page 30
HCS512 THE MICROCHIP WEB SITE Microchip provides online support via our WWW site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the ...
Page 31
READER RESPONSE It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation ...
Page 32
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: DS40151E-page Plastic DIP (300 mil Body), ...
Page 33
Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families ...
Page 34
Worldwide Sales and Service AMERICAS ASIA/PACIFIC Corporate Office Asia Pacific Office 2355 West Chandler Blvd. Suites 3707-14, 37th Floor Chandler, AZ 85224-6199 Tower 6, The Gateway Tel: 480-792-7200 Harbour City, Kowloon Fax: 480-792-7277 Hong Kong Technical Support: Tel: 852-2401-1200 http://www.microchip.com/ ...