HCS365_11 MICROCHIP [Microchip Technology], HCS365_11 Datasheet

no-image

HCS365_11

Manufacturer Part Number
HCS365_11
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
FEATURES
Security
• Two programmable 32-bit serial numbers
• Two programmable 64-bit crypt keys
• Two programmable 60-bit seed values
• Each transmission is unique
• 67/69-bit transmission code length
• 32-bit hopping code
• Crypt keys are read protected
Operating
• 2.05-5.5V operation
• Four button inputs
• 15 functions available
• Four selectable baud rates
• Selectable minimum code word completion
• Battery low signal transmitted to receiver
• Nonvolatile synchronization data
• PWM, VPWM, PPM, and Manchester modulation
• Button queue information transmitted
• Dual Encoder functionality
Other
• On-chip EEPROM
• On-chip tuned oscillator (±10% over voltage and
• Button inputs have internal pull-down resistors
• LED output
• PLL control for ASK and FSK
• Low external component count
Typical Applications
The HCS365 is ideal for Remote Keyless Entry (RKE)
applications. These applications include:
• Automotive RKE systems
• Automotive alarm systems
• Automotive immobilizers
• Gate and garage door openers
• Identity tokens
• Burglar alarm systems
© 2011 Microchip Technology Inc.
temperature)
K
EE
L
OQ
®
Code Hopping Encoder
PACKAGE TYPES
HCS365 BLOCK DIAGRAM
GENERAL DESCRIPTION
The HCS365 is a code hopping encoder designed for
secure Remote Keyless Entry (RKE) and secure
remote control systems. The HCS365 utilizes the
K
rates high security, a small package outline, and low
cost to make this device a perfect solution for unidirec-
tional authentication systems and access control sys-
tems.
The HCS365 combines a hopping code generated by a
nonlinear encryption algorithm, a serial number, and
status bits to create a secure transmission code. The
length of the transmission eliminates the threat of code
scanning and code grabbing access techniques.
EE
PDIP, SOIC
L
DATA
OQ ®
LED
S3/SHIFT/
RFEN
V
V
code hopping technology, which incorpo-
SS
DD
RESET circuit
S0
S1
S2
LED driver
Oscillator
EEPROM
1
2
3
4
HCS365
32-bit SHIFT register
S3/SHIFT S2 S
RFEN
Button input port
Controller
5
8
7
6
Encoder
1
DS41109E-page 1
S
0
Power
latching
and
switching
V
Vss
LED
DATA
DD

Related parts for HCS365_11

HCS365_11 Summary of contents

Page 1

FEATURES Security • Two programmable 32-bit serial numbers • Two programmable 64-bit crypt keys • Two programmable 60-bit seed values • Each transmission is unique • 67/69-bit transmission code length • 32-bit hopping code • Crypt ...

Page 2

HCS365 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

As indicated in the block diagram on page one, the HCS365 has a small EEPROM array which must be loaded with several parameters before use; most often programmed by the manufacturer at the time of produc- tion. The most important ...

Page 4

HCS365 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 DESCRIPTION As shown in the typical application circuits (Figure 2-1), the HCS365 is an easy device to use. It requires only the addition of buttons and RF circuitry for use as the encoder in your security application. A ...

Page 6

HCS365 The HCS365 has an onboard nonvolatile EEPROM. This EEPROM is used to store user programmable data and the synchronization counter. The data is pro- grammed at the time of production and includes the security related information such as encoder ...

Page 7

FIGURE 2-2: I/O CIRCUITS Figure 2-2(A) S0, S1, S2 Inputs Z IN Figure 2-2( PFET DATA I/O NFET Figure 2-2( DATA, RFEN STEP N Outputs © 2011 Microchip Technology Inc. FIGURE 2-3: Sample Buttons Get ...

Page 8

HCS365 3.0 EEPROM ORGANIZATION A summary of the HCS370 EEPROM organization is shown in the three tables below. The address column shows the starting address of the option and its length or bit position. Options larger than 8 bits are ...

Page 9

TABLE 3-2: ENCODER2 OPTIONS (SHIFT=1) Symbol Address :Bits 16 KEY2 34: 64 bits Encoder Key SEED2 2A: 60 bits Encoder Seed Value SYNC2 08: 20 bits Encoder Synchronization Counter (CNTSEL=1) 08: 18 bits Encoder Synchronization Counter (CNTSEL=0) plus overflow SER2 ...

Page 10

HCS365 TABLE 3-3: DEVICE OPTIONS Symbol Address :Bits 16 WAKE 3F: ---- --10 Wake-up CNTSEL 3F: ---- -2-- Counter Select VLOWL 3F: ---- 3--- Low Voltage Latch Enable VLOWSEL 3F: ---4 ---- Low Voltage Trip Point Select PLLSEL 3F: --5- ...

Page 11

Code Word Format code word consists of 32 bits of hopping EE OQ code data, 32 bits of fixed code data, and between bits of status information. Various code word formats are shown ...

Page 12

HCS365 FIGURE 3-2: CODE WORD DATA FORMAT (20-BIT COUNTER) With XSER=0, 20-bit Counter, QUEN=1 Fixed Code Portion (32 Bits) Status Information (5 Bits) QUE CRC V BUT LOW 2 Bits 2 Bits 1-Bit 4 Bits ...

Page 13

Seed Code Word Data Format A seed transmission transmits a code word that con- sists of 60 bits of fixed data that is stored in the EEPROM. This can be used for secure learning of encoders or whenever a ...

Page 14

HCS365 4.0 TRANSMITTED WORD 4.1 Transmission Modulation Format The HCS365 transmission is made up of several code words. Each code word contains a preamble, header, and data. A code word is separated from another code word by guard time. The ...

Page 15

FIGURE 4-3: VARIABLE PULSE WIDTH MODULATION (VPWM) VPWM BIT ENCODING 31xT 50% Preamble E FIGURE 4-4: PULSE POSITION MODULATION (PPM 31xT 50% Preamble E In addition to the Modulation Format, Guard Time, and Baud Rate, the ...

Page 16

HCS365 5.0 SPECIAL FEATURES 5.1 Internal RC Oscillator The HCS365 has an onboard RC oscillator that con- trols all the logic output timing characteristics. The oscillator frequency varies over temperature and volt- age variances, but stays within ±10% of the ...

Page 17

FIGURE 5-2: LED OPERATION LEDON LEDOFF LED V > LOW LED V < LOW LEDBL=1 LED V < LOW LEDBL=0 5.4 Cyclic Redundancy Check (CRC) The CRC bits are calculated on ...

Page 18

HCS365 7.0 INTEGRATING THE HCS365 INTO A SYSTEM Use of the HCS365 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

HCS365 FIGURE 7-3: SYNCHRONIZATION WINDOW Entire Window rotates to eliminate use of previously used codes 7.4 Security Considerations The strength of this security is based on keeping a secret inside the transmitter that can be verified by encrypted transmissions to ...

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

HCS365 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

HCS365 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 9.1 Maximum Ratings* Ambient temperature under bias............................................................................................................. -40°C to +125°C Storage temperature .............................................................................................................................. -65°C to +150°C Voltage on V w/respect to V ................................................................................................................ -0.3 to +7. Voltage on LED w/respect to V ..................................................................................................................-0.3 to +11V ...

Page 26

HCS365 TABLE 9-1: DC CHARACTERISTICS: HCS365 DC Characteristics All Pins Except Power Supply Pins Param Sym. Characteristic No. D001 V Supply Voltage DD D003 V V start voltage to ensure POR DD internal Power-on Reset signal D004 SV V rise ...

Page 27

TABLE 9-1: DC CHARACTERISTICS: HCS365 (CONTINUED) DC Characteristics All Pins Except Power Supply Pins Param Sym. Characteristic No. Output Low Voltage D080 V Output pins OL Output High Voltage D090 V Output pins OH D091 V LED OH Internal Pull-down ...

Page 28

HCS365 TABLE 9-2: AC CHARACTERISTICS Commercial (C 0° +70° C AMB Industrial (I -40° +85° C AMB Parameter Sym. Timing Element T E Power-up Time T PU PLL Set-up Time T PLL ...

Page 29

PACKAGING INFORMATION 8-Lead PDIP XXXXXXXX XXXXXNNN YYWW 8-Lead SOIC XXXXXXXX XXXXXXXX YYWWNNN Legend: MM...M Microchip part number information XX...X Customer specific information* YY Year code (last 2 digits of calendar year) WW Week code (week of January 1 is ...

Page 30

HCS365 /HDG 3ODVWLF 'XDO ,Q/LQH 3 ±  PLO %RG\ >3',3@ 1RWH 1RWHV DS41109E-page 30 © 2011 Microchip Technology Inc. ...

Page 31

Note: © 2011 Microchip Technology Inc. HCS365 DS41109E-page 31 ...

Page 32

HCS365 Note: DS41109E-page 32 © 2011 Microchip Technology Inc. ...

Page 33

PP %RG\ >62,&@ 1RWH © 2011 Microchip Technology Inc. HCS365 DS41109E-page 33 ...

Page 34

HCS365 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 35

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 36

HCS365 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 37

HCS365 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. . PART NO. X /XX Device Temperature Package Range Device HCS365: Code Hopping Encoder HCS365T: Code Hopping ...

Page 38

HCS365 NOTES: DS41109E-page 38 © 2011 Microchip Technology Inc. ...

Page 39

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 40

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/ ...

Related keywords