HCS301_11 MICROCHIP [Microchip Technology], HCS301_11 Datasheet
HCS301_11
Related parts for HCS301_11
HCS301_11 Summary of contents
Page 1
FEATURES Security • Programmable 28-bit serial number • Programmable 64-bit encryption key • Each transmission is unique • 66-bit transmission code length • 32-bit hopping code • 34-bit fixed code (28-bit serial number, 4-bit button code, ...
Page 2
HCS301 The crypt key, serial number and configuration data are stored in an EEPROM array which is not accessible via any external connection. The EEPROM data is pro- grammable but read-protected. The data can be veri- fied only after an ...
Page 3
Statis- tically, if only one bit in the 32-bit string of information changes, greater than 50 percent of the coded trans- mission bits will change. As indicated in the block diagram on page one, ...
Page 4
HCS301 FIGURE 1-2: BUILDING THE TRANSMITTED CODE WORD (ENCODER) EEPROM Array Crypt Key Sync Counter Serial Number FIGURE 1-3: BASIC OPERATION OF RECEIVER (DECODER) 1 Received Information Button Press Serial Number Information Check for 2 Match Perform Function Indicated by ...
Page 5
DEVICE OPERATION As shown in the typical application circuits (Figure 2-1), the HCS301 is a simple device to use. It requires only the addition of buttons and RF circuitry for use as the transmitter in your security application. A ...
Page 6
HCS301 FIGURE 2-2: ENCODER OPERATION Power-Up (A button has been pressed) RESET and Debounce Delay (10 ms) Sample Inputs Update Sync Info Encrypt With Crypt Key Load Transmit Register Transmit Buttons Yes Added ? No All Buttons Released ? Yes ...
Page 7
SYNC (Synchronization Counter) This is the 16-bit synchronization value that is used to create the hopping code for transmission. This value will increment after every transmission. 3.3 Reserved Must be initialized to 0000H. 3.4 SER_0, SER_1 (Encoder Serial Number) ...
Page 8
HCS301 of unique values. This can be done by programming OVR0 and OVR1 the time of production. The encoder will automatically clear OVR0 the first time that the synchronization value wraps from 0xFFFF to 0x0000 and clear ...
Page 9
TRANSMITTED WORD 4.1 Code Word Format The HCS301 code word is made up of several parts (Figure 4-1). Each code word contains a 50% duty cycle preamble, a header, 32 bits of encrypted data and 34 bits of fixed ...
Page 10
HCS301 4.3 Synchronous Transmission Mode Synchronous Transmission mode can be used to clock the code word out using an external clock. To enter Synchronous Transmission mode, the Pro- gramming mode start-up sequence must be executed as shown in Figure 4-3. ...
Page 11
SPECIAL FEATURES 5.1 Code Word Completion The code word completion feature ensures that entire code words are transmitted, even if the button is released before the code word is complete. If the but- ton is held down beyond the ...
Page 12
HCS301 5.7 Blank Alternate Code Word Federal Communications Commission (FCC) part 15 rules specify the limits on worst case average funda- mental power and harmonics that can be transmitted in a 100 ms window. For FCC approval purposes, it may ...
Page 13
PROGRAMMING THE HCS301 When using the HCS301 in a system, the user will have to program some parameters into the device including the serial number and the secret key before it can be used. The programming cycle allows the ...
Page 14
HCS301 TABLE 6-1: PROGRAMMING/VERIFY TIMING REQUIREMENTS V = 5.0V ± 10%, 25 °C ± 5 °C DD Parameter Symbol Program mode setup time Hold time 1 Hold time 2 Bulk Write time Program delay time Program cycle time Clock low ...
Page 15
INTEGRATING THE HCS301 INTO A SYSTEM Use of the HCS301 in a system requires a compatible decoder. This decoder is typically a microcontroller with compatible firmware. Microchip will provide (via a license agreement) firmware routines that accept transmissions from ...
Page 16
HCS301 7.2 Decoder Operation Figure 7-2 summarizes normal decoder operation. The decoder waits until a transmission is received. The received serial number is compared to the EEPROM table of learned transmitters to first determine if this transmitter's use is allowed ...
Page 17
FIGURE 7-3: SYNCHRONIZATION WINDOW Entire Window rotates to eliminate use of previously used codes © 2011 Microchip Technology Inc. Blocked Window (32K Codes) Stored Synchronization Counter Value Double Operation (resynchronization) Single Operation Window Window (32K Codes) (16 Codes) HCS301 DS21143C-page ...
Page 18
HCS301 8.0 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 ...
Page 19
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- lers. ...
Page 20
HCS301 8.7 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 21
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 programming ...
Page 22
HCS301 9.0 ELECTRICAL CHARACTERISTICS TABLE 9-1: ABSOLUTE MAXIMUM RATINGS Symbol V Supply voltage Output voltage OUT I Max output current OUT T Storage temperature STG T Lead soldering temp LSOL V ESD Note: Stresses above those ...
Page 23
FIGURE 9-1: TYPICAL ICC CURVE OF HCS301 WITH EXTERNAL RESISTORS 12.0 10.0 8.0 6.0 4.0 2.0 0 12.0 10.0 8.0 6.0 4.0 2.0 0 12.0 10.0 8.0 6.0 4.0 2.0 0 ...
Page 24
HCS301 FIGURE 9-2: POWER-UP AND TRANSMIT TIMING Button Press Detect PWM Output Button Input Sn TABLE 9-3: POWER-UP AND TRANSMIT TIMING V = +3.5 to 13.0V DD Commercial(C): Tamb = 0°C to +70°C Industrial(I): ...
Page 25
FIGURE 9-4: CODE WORD FORMAT: PREAMBLE/HEADER PORTION 50% Duty Cycle Preamble E FIGURE 9-5: CODE WORD FORMAT: DATA PORTION LSB MSB Bit 0 Bit 1 Bit 30 Bit 31 Bit 32 Bit 33 Bit 58 Bit 59 ...
Page 26
HCS301 FIGURE 9-6: HCS301 TE VS. TEMP (BY CHARACTERIZATION ONLY) 1.7 1.6 1.5 1.4 1.3 1 1.1 1.0 0.9 0.8 0.7 0.6 -50 -40 -30 -20 - DS21143C-page ...
Page 27
PACKAGING INFORMATION 10.1 Package Marking Information 8-Lead PDIP XXXXXXXX XXXXXNNN YYWW 8-Lead SOIC XXXXXXX XXXYYWW NNN Legend: XX...X Customer specific information* Y Year code (last digit of calendar year) YY Year code (last 2 digits of calendar year) WW ...
Page 28
HCS301 10.2 Package Details /HDG 3ODVWLF 'XDO ,Q/LQH 3 ± PLO %RG\ >3',3@ 1RWH 1RWHV DS21143C-page 28 © 2011 Microchip Technology Inc. ...
Page 29
Note: © 2011 Microchip Technology Inc. HCS301 DS21143C-page 29 ...
Page 30
HCS301 Note: DS21143C-page 30 © 2011 Microchip Technology Inc. ...
Page 31
PP %RG\ >62,&@ 1RWH © 2011 Microchip Technology Inc. HCS301 DS21143C-page 31 ...
Page 32
HCS301 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. REVISION HISTORY ...
Page 33
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 web ...
Page 34
HCS301 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 ...
Page 35
HCS301 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS301 - /P Package: Temperature Range: Device: © 2011 Microchip Technology Inc Plastic DIP (300 ...
Page 36
HCS301 NOTES: DS21143C-page 36 © 2011 Microchip Technology Inc. ...
Page 37
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 38
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/ ...