HCS361_11 MICROCHIP [Microchip Technology], HCS361_11 Datasheet
HCS361_11
Related parts for HCS361_11
HCS361_11 Summary of contents
Page 1
FEATURES Security • Programmable 28/32-bit serial number • Programmable 64-bit encryption key • Each transmission is unique • 67-bit transmission code length • 32-bit hopping code • 35-bit fixed code (28/32-bit serial number, 4/0-bit function code, ...
Page 2
HCS361 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 ...
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
HCS361 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 HCS361 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
HCS361 3.0 EEPROM MEMORY ORGANIZATION The HCS361 contains 192 bits (12 x 16-bit words) of EEPROM memory (Table 3-1). This EEPROM array is used to store the encryption key information, synchronization value, etc. Further descriptions of the memory array is ...
Page 7
CONFIG (Configuration Word) The Configuration Word is a 16-bit word stored in EEPROM array that is used by the device to store information used during the encryption process, as well as the status of option configurations. Further explanations of ...
Page 8
HCS361 3.5.6 BACW: BLANK ALTERNATE CODE WORD BACW = 1 selects the encoder to transmit every sec- ond code word. This can be used to reduce the aver- age power transmitted over a 100 ms window and thereby transmit a ...
Page 9
SEED: ENABLE SEED TRANSMISSION If SEED = 0, seed transmission is disabled. The Inde- pendent Counter mode can only be used with seed transmission disabled since SEED_2 is shared with the second synchronization counter. With SEED = 1, seed ...
Page 10
HCS361 3.5.12 DELM: DELAY MODE If DELM = 1, delay transmission is enabled. A delayed transmission is indicated by inverting the lower nibble of the discrimination value. The Delay mode is primarily for compatibility with previous ...
Page 11
IND: INDEPENDENT MODE The Independent mode can be used where one encoder is used to control two receivers. Two counters (SYNC_A and SYNC_B) are used in Independent mode. As indicated in Table 3-2, function codes use ...
Page 12
HCS361 4.0 TRANSMITTED WORD 4.1 Transmission Format (PWM) The HCS361 transmission is made up of several parts (Figure 4-1 and Figure 4-2). Each transmission is begun with a preamble and a header, followed by the encrypted and then the fixed ...
Page 13
FIGURE 4-2: VPWM TRANSMISSION FORMAT (MOD = 1) VPWM TRANSMISSION SEQUENCE: WAKE-UP (TXWAK=1) Preamble Header Encrypt Fixed Dead Time WAKE-UP 33% Duty Cycle Wake-Up sequence 250xT VPWM BIT ENCODING: CODE WORD 10xT 18xT ...
Page 14
HCS361 5.0 SPECIAL FEATURES 5.1 Code Word Completion Code word completion is an automatic feature that ensures that the entire code word is transmitted, even if the button is released before the transmission is com- plete and that a minimum ...
Page 15
Auto-shutoff The Auto-shutoff function automatically stops the device from transmitting if a button inadvertently gets pressed for a long period of time. This will prevent the device from draining the battery if a button gets pressed while the transmitter ...
Page 16
HCS361 6.0 PROGRAMMING THE HCS361 When using the HCS361 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 ...
Page 17
TABLE 6-3: PROGRAMMING/VERIFY TIMING REQUIREMENTS = 5.0V ± 10 25° C ± 5 ° C Parameter Symbol Program mode setup time Hold time 1 Program cycle time Clock low time Clock high time Data setup time Data hold ...
Page 18
HCS361 7.0 INTEGRATING THE HCS361 INTO A SYSTEM Use of the HCS361 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 ...
Page 19
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 in ...
Page 20
HCS361 FIGURE 7-3: SYNCHRONIZATION WINDOW Entire Window rotates to eliminate use of previously used codes DS40146F-page 20 Blocked Window (32K Codes) Stored Synchronization Counter Value Double Operation (resynchronization) Single Operation Window Window (32K Codes) (16 Codes) © 2011 Microchip Technology ...
Page 21
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 22
HCS361 8.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 23
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 24
HCS361 8.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 25
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 listed ...
Page 26
HCS361 FIGURE 9-1: POWER-UP AND TRANSMIT TIMING Button Press Detect PWM Output Button Input Sn TABLE 9-3: POWER-UP AND TRANSMIT TIMING REQUIREMENTS V = +2.0 to 6.6V DD Commercial (C): Tamb = 0° C ...
Page 27
FIGURE 9-2: PWM FORMAT SUMMARY (MOD = 0) CODE WORD TXWAK TXWAK=1 33% Duty Cycle 10xT 18xT Preamble E FIGURE 9-3: PWM PREAMBLE/HEADER FORMAT (MOD=0) 28xT Preamble E FIGURE 9-4: PWM DATA FORMAT (MOD=0) LSB MSB ...
Page 28
HCS361 FIGURE 9-5: VPWM FORMAT SUMMARY (MOD = 1) WAKE-UP (TXWAK=1) Preamble Sync Encrypt Dead Time FIGURE 9-6: VPWM WAKE-UP FORMAT (MOD= 33% Duty Cycle Wake-Up sequence 250xT FIGURE 9-7: VPWM PREAMBLE/HEADER FORMAT (MOD= ...
Page 29
FIGURE 9-9: HCS361 NORMALIZED TE VS. TEMP 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 - © 2011 Microchip Technology ...
Page 30
HCS361 TABLE 9-4: TIMING PARAMETERS: PWM MODE (TXWAK= +2.0 to 6.6V DD Commercial (C):Tamb = 0° +70° C Industrial (I):Tamb = -40° +85° C Symbol Characteristic Basic pulse element T E PWM bit pulse ...
Page 31
TABLE 9-6: TIMING PARAMETERS: VPWM MODE (BSEL= +2.0 to 6.6V DD Commercial (C): Tamb = 0° +70° C Industrial (I): Tamb = -40° +85° C Symbol Characteristic Basic pulse element T E Preamble duration ...
Page 32
HCS361 10.0 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) ...
Page 33
Package Details /HDG 3ODVWLF 'XDO ,Q/LQH 3 ± PLO %RG\ >3',3@ 1RWH 1RWHV © 2011 Microchip Technology Inc. HCS361 DS40146F-page 33 ...
Page 34
HCS361 Note: DS40146F-page 34 © 2011 Microchip Technology Inc. ...
Page 35
Note: © 2011 Microchip Technology Inc. HCS361 DS40146F-page 35 ...
Page 36
HCS361 /HDG 3ODVWLF 6PDOO 2XWOLQH 61 ± 1DUURZ PP %RG\ >62,&@ 1RWH DS40146F-page 36 © 2011 Microchip Technology Inc. ...
Page 37
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 38
HCS361 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 39
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 40
HCS361 HCS361 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS361 — /P Package: Temperature Range: Device: DS40146F-page Plastic DIP (300 mil Body), ...
Page 41
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 42
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/ ...