HCS320_11 MICROCHIP [Microchip Technology], HCS320_11 Datasheet

no-image

HCS320_11

Manufacturer Part Number
HCS320_11
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
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,
• Encryption keys are read protected
Operating
• 3.5V - 13.0V operation
• Shift key and three inputs
• 16 functions available
• Selectable baud rate
• Automatic code word completion
• Battery low signal transmitted to receiver
• Battery low indication on LED
• Non-volatile synchronization data
Other
• Easy-to-use programming interface
• On-chip EEPROM
• On-chip oscillator and timing components
• Button inputs have internal pull-down resistors
• Current limiting on LED output
• Low external component cost
Typical Applications
The HCS320 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.
4-bit function code, 2-bit status)
K
EE
L
OQ
®
Code Hopping Encoder
DESCRIPTION
The HCS320 from Microchip Technology Inc. is a code
hopping encoder designed for secure Remote Keyless
Entry (RKE) systems. The HCS320 utilizes the code
hopping technology which incorporates high security, a
small package outline, and low cost, to make this
device a perfect solution for unidirectional remote key-
less entry systems and access control systems.
PACKAGE TYPES
HCS320 BLOCK DIAGRAM
The HCS320 combines a 32-bit hopping code gener-
ated by a nonlinear encryption algorithm, with a 28-bit
serial number and six status bits to create a 66-bit
transmission stream. The length of the transmission
eliminates the threat of code scanning and the code
hopping mechanism makes each transmission unique,
thus rendering code capture and resend (code grab-
bing) schemes useless.
PDIP, SOIC
PWM
LED
SHIFT
V
V
S0
SS
S1
S2
DD
RESET circuit
LED driver
Oscillator
EEPROM
HCS320
1
2
3
4
32-bit shift register
SHIFT S
Button input port
Controller
2
S
8
5
1
DS41097D-page 1
6
7
Encoder
S
0
Power
switching
latching
and
V
V
LED
PWM
DD
SS

Related parts for HCS320_11

HCS320_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 function code, ...

Page 2

HCS320 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

HCS320 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 HCS320 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

HCS320 FIGURE 2-2: ENCODER OPERATION Power-Up (Button pressed) Set TX:= OFF RESET and Debounce Delay (10 ms) Transmit Yes Button Pressed? No Increment Shift Level Stop Transmit No Shift Button Pressed? Yes TX=ON? Yes Update Sync Info Encrypt With Crypt ...

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 be changed after every transmission. 3.3 Reserved Must be initialized to 0000H. 3.4 SER_0, SER_1 (Encoder Serial ...

Page 8

HCS320 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 HCS320 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

HCS320 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 Code word completion is an automatic feature that makes sure that the entire code word is transmitted, even if the transmit button is released before the trans- mission is complete. The HCS320 encoder ...

Page 12

HCS320 5.6 Blank Alternate Code Word Federal Communications Commission (FCC) part 15 rules specify the limits on fundamental power and harmonics that can be transmitted. Power is calcu- lated on the worst case average power transmitted in a 100 ms ...

Page 13

SHIFT Key Operation The HCS320 has four switch inputs usually connected to buttons as shown in Figure 2-1: Typical Circuits. Any button connected to input S0 called a TRANSMIT button as it causes a transmission ...

Page 14

HCS320 6.0 PROGRAMMING THE HCS320 When using the HCS320 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 15

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

Page 16

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

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 18

HCS320 FIGURE 7-3: SYNCHRONIZATION WINDOW Entire Window rotates to eliminate use of previously used codes DS41097D-page 18 Blocked Window (32K Codes) Stored Synchronization Counter Value Double Operation (resynchronization) Single Operation Window Window (32K Codes) (16 Codes) © 2011 Microchip Technology ...

Page 19

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 20

HCS320 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 21

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 22

HCS320 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 23

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 24

HCS320 FIGURE 9-1: TYPICAL ICC CURVE OF HCS320 12.0 10.0 8.0 6.0 4.0 2.0 0 DS41097D-page [V] BAT LEGEND Typical Maximum Minimum © 2011 Microchip Technology ...

Page 25

FIGURE 9-2: POWER-UP AND TRANSMIT TIMING Button Press Detect PWM Output Button Input Sn FIGURE 9-3: POWER-UP AND TRANSMIT TIMING REQUIREMENTS V = +3.5 to13.0V DD Commercial (C): Tamb = 0°C to +70°C Industrial ...

Page 26

HCS320 FIGURE 9-5: CODE WORD FORMAT: PREAMBLE/HEADER PORTION 50% Duty Cycle Preamble E FIGURE 9-6: CODE WORD FORMAT: DATA PORTION LSB MSB Bit 0 Bit 1 Bit 30 Bit 31 Bit 32 Bit 33 Bit 58 Bit ...

Page 27

FIGURE 9-7: HCS320 TE VS. TEMP (BY CHARACTERIZATION ONLY) 1.7 1.6 1.5 1.4 1.3 1.2 TE 1.1 1.0 0.9 0.8 0.7 0.6 -50 -40 -30 -20 - © 2011 Microchip ...

Page 28

HCS320 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 29

Package Details /HDG 3ODVWLF 'XDO ,Q/LQH 3 ±  PLO %RG\ >3',3@ 1RWH 1RWHV © 2011 Microchip Technology Inc. HCS320 DS41097D-page 29 ...

Page 30

HCS320 Note: DS41097D-page 30 © 2011 Microchip Technology Inc. ...

Page 31

Note: © 2011 Microchip Technology Inc. HCS320 DS41097D-page 31 ...

Page 32

HCS320 /HDG 3ODVWLF 6PDOO 2XWOLQH 61 ± 1DUURZ  PP %RG\ >62,&@ 1RWH DS41097D-page 32 © 2011 Microchip Technology Inc. ...

Page 33

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 34

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

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 36

HCS320 HCS320 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS320 - /P Package: Temperature Range: Device: DS41097D-page Plastic DIP (300 mil Body), ...

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

Related keywords