HCS412I MICROCHIP [Microchip Technology], HCS412I Datasheet
HCS412I
Related parts for HCS412I
HCS412I Summary of contents
Page 1
K L Code Hopping Encoder and Transponder EE OQ FEATURES Security • Programmable 64-bit encoder crypt key • Two 64-bit IFF keys • Keys are read protected • 32-bit bi-directional challenge and response using one of two possible keys • ...
Page 2
HCS412 GENERAL DESCRIPTION The HCS412 combines patented K EE ping technology with bi-directional transponder chal- lenge-and-response security into a single chip solution for logical and physical access control. When used as a code hopping encoder, the HCS412 is ideally suited ...
Page 3
Encoder Overview The HCS412 code hopping transcoder is designed specifically for passive entry systems; primarily vehicle access. The transcoder portion of a passive entry sys- tem is integrated into a transmitter, carried by the user and operated to gain ...
Page 4
HCS412 2.0 DEVICE DESCRIPTION 2.1 Pinout Description The HCS412’s footprint is identical to other encoders in the K L family, except for the two pins reserved for EE OQ low frequency communication. TABLE 2-1: PINOUT SUMMARY Pin Pin Name Number ...
Page 5
FIGURE 2-4: DATA PIN DIAGRAM DATA < IN > OE DATA > OUT 120 k FIGURE 2-6: TYPICAL APPLICATION CIRCUITS Battery-less Short Range Transponder Long Range / Proximity Activated Transponder / Encoder Short Range Transponder with RFEN Control / Long ...
Page 6
HCS412 2.2 Architecture Overview 2.2.1 WAKE-UP LOGIC AND POWER DISTRIBUTION The HCS412 automatically goes into a low-power Standby mode once connected to the supply voltage. Power is supplied to the minimum circuitry required to detect a wake-up condition; button activation ...
Page 7
TABLE 2-2: OSCILLATOR CALIBRATION VALUE (OSCT) OSCT3:0 Description Slowest Oscillator Setting (long T 0111b + : : 0011b Slower (longer T 0010b : 0001b Nominal Setting 0000b : 1111b Faster (shorter T 1110b : 1101b - : Fastest Oscillator Setting ...
Page 8
HCS412 2.2.7.2 TRANSPONDER INTERFACE Connecting an LC resonant circuit between the LC0 and the LC1 pins creates the bi-directional low fre- quency communication path with the HCS412. The internal circuitry on the HCS412 provides the fol- lowing functions: • LF ...
Page 9
TABLE 3-1: ENCODER MODE ACTIVATION 4-Bit Button Status SEED TMPSD LC0 (Note ...
Page 10
HCS412 FIGURE 3-2: CODE WORD ORGANIZATION 28-bit Serial Number (XSER = 0) Fixed Code Portion (37 Bits) CRC QUE V BUT SER 1 LOW 2 Bits 2 Bits 1-Bit 4 Bits 12 MSb’ MSb S2 S1 ...
Page 11
CYCLE REDUNDANCY CHECK (CRC) The CRC bits may be used to check the received data integrity, but it is not recommended when operating near the low voltage trip point, see Note below. The CRC is calculated on the 65 ...
Page 12
HCS412 FIGURE 3-4: SEED CODE WORD DATA FORMAT QUE CRC V BUT 2 Bits 2 Bits LOW 1-Bit 4 Bits 12 Most Sig Bits MSb LC0 Shaded data included in CRC calculation Note: ...
Page 13
FIGURE 3-5: PWM TRANSMISSION FORMAT—MOD = 0 TOTAL TRANSMISSION: Preamble Sync Encrypt 31 RFT Preamble, 50% Duty Cycle E Long Preamble (LPRE) disabled FIGURE 3-6: MANCHESTER TRANSMISSION FORMAT—MOD = 1 TOTAL TRANSMISSION: Preamble START bit bit 0 bit 1 bit ...
Page 14
HCS412 The Code Word Blanking Enable (CWBE) option may be used to reduce the average power of a transmission by transmitting only every second or every fourth code word (Figure 3-7). This selectable determined in conjunction with the baud rate ...
Page 15
FIGURE 3-8: RF ENABLE/ASK/FSK OPTIONS AFSK = , RFEN = 1 SWITCH S2/RFEN/LC1 DATA LEDON AFSK = 1, RFEN = SWITCH S2/RFEN/LC1 DATA FIGURE 3-9: LED OPERATION NORMAL OPERATION SWITCH Code Word DATA LED T LEDON LOW ...
Page 16
HCS412 3.4.8 QLVS FEATURES Setting the HCS412’s special QLVS (‘Quick Secure Learning’) configuration option enables the following options: • Reduces the time (T ) before a delayed seed DSD transmission begins. • Disables DATA modulation when the LED pin is ...
Page 17
TABLE 3-9: ENCODER TIMING SPECIFICATIONS V = +2.0 to 6.6V DD Commercial (C): +70 C AMB Industrial (I - +85 C AMB Parameter Time to second button press Transmit delay from button ...
Page 18
HCS412 4.0 TRANSPONDER OPERATION 4.1 IFF Mode The HCS412’s IFF Mode allows it to function as a bi- directional token or transponder. IFF mode capabilities include the following. • A bi-directional challenge and response sequence for IFF validation. HCS412 IFF ...
Page 19
FIGURE 4-1: FIELD ACKNOWLEDGE SEQUENCE T PU Inductive Comms (LC) RF Comms (DATA) Field Ack sequence repeats every 255 LF Inductive Comms (LC) 255LF RF Comms (DATA) Communication from reader to HCS412 Filed ACK Sequence from HCS412 to reader FIGURE ...
Page 20
HCS412 4.3 IFF Commands TABLE 4-2: LIST OF AVAILABLE IFF COMMANDS Opcode Anticollision Command (Section 4.3.1) 00000 Select HCS412, used if Anticollision enabled Read Commands (Section 4.3.2) 00001 Read configuration word 00010 Read low serial number (least significant 16 bits) ...
Page 21
ANTICOLLISION Multiple tokens in the same inductive field will simulta- neously respond to inductive commands. responses will collide making token authentication impossible. Enabling anticollision allows addressing of an individual token, regardless how many tokens are in the field. The ...
Page 22
HCS412 4.3.2 READ The transponder reader sends one of seven possible read commands indicating which 16-bit EEPROM word to retrieve (Table 4-4). The HCS412 retrieves the data and returns the 16-bit response. Each Read response is preceded by a 1LF ...
Page 23
TABLE 4-5: LIST OF WRITE COMMANDS Command Description Write Configuration word 01001 Write low serial number 01010 Write high serial number 01011 Write user EEPROM 0 01100 Write user EEPROM 1 01101 Write user EEPROM 2 01110 Write user EEPROM ...
Page 24
HCS412 4.3.4 BULK ERASE A Bulk Erase resets the HCS412’s memory map to all zeros. The transponder reader selects the appropriate device through anticollision, as need be, issues the PROGRAM command followed by the device’s 28-bit transport code, then resets ...
Page 25
FIGURE 4-9: PROGRAM SEQUENCE - CONSECUTIVE WORDS Communication from reader to HCS412 Communication from HCS412 to reader FIGURE 4-10: PROGRAMMING - VERIFICATION 01b Preamble Start Write 18x16-bit words total. Communication from reader to HCS412 Approximately ...
Page 26
HCS412 FIGURE 4-11: IFF CHALLENGE AND RESPONSE Activate Delay to ACK Field Command T ATO T PU ACK Start Communication from reader to HCS412 Communication from HCS412 to reader 4.3.7 CODE HOPPING REQUEST The command tells the ...
Page 27
ENABLE DEFAULT IFF COMMUNICATION The ENABLE DEFAULT IFF COMMUNICATION com- mand defaults certain HCS412 communication options such that the transponder reader may communicate to the device with a common (safe) protocol. The default setting remains for the duration of ...
Page 28
HCS412 4.4.2 ANTICOLLISION AND RF ECHO (LFSP = 11) In addition to enabling anticollision, this mode adds that all HCS412 responses and Acknowledges are echoed on the DATA output line. Responses are first transmit- ted on the DATA line, followed ...
Page 29
INTELLIGENT DAMPING (IDAMP) A high Q-factor LC antenna circuit connected to the HCS412 will continue to resonate after a strong LF field is removed, slowly decaying. The slow decay makes fast communication near the reader difficult as data bit ...
Page 30
HCS412 5.0 CONFIGURATION SUMMARY Table 5-1 summarizes the available HCS412 options. TABLE 5-1: HCS412 CONFIGURATION SUMMARY Reference Symbol Section KEY1 64-bit Encoder Key 1 SDVAL Section 3.2.7 60-bit seed value transmitted in CH Mode if (SEED = 1 AND TMPSD ...
Page 31
INTEGRATING THE HCS412 INTO A SYSTEM Use of the HCS412 in a system requires a compatible decoder. This decoder is typically a microcontroller with compatible firmware. Microchip will provide (via a free license agreement) firmware routines that accept transmissions ...
Page 32
HCS412 6.2 Decoder Operation Figure 6-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 33
FIGURE 6-3: SYNCHRONIZATION WINDOW Entire Window rotates to eliminate use of previously used codes FIGURE 6-4: BASIC OPERATION OF RECEIVER (DECODER) 1 Received Information Button Press Serial Number Information Check for 2 Match Perform Function Indicated by 5 button press ...
Page 34
HCS412 7.0 PROGRAMMING THE HCS412 The HCS412 requires some parameters programmed into the device before it can be used. The programming cycle allows the user to input all 288 bits in a serial data stream, which are then stored internally ...
Page 35
EEPROM Organization TABLE 7-1: HCS412 EEPROM ORGANIZATION 16Bit Word KEY1_1 2 KEY1_3 3 KEY1_5 4 KEY1_7 (KEY1 MSB) 5 SEED_1 / KEY2_1 6 SEED_3 / KEY2_3 7 SEED_5 / KEY2_5 / TCODE_1 8 ...
Page 36
HCS412 8.0 ELECTRICAL CHARACTERISTICS TABLE 8-1: ABSOLUTE MAXIMUM RATING Symbol V Supply voltage Input voltage IN V Output voltage OUT I Max output current OUT T Storage temperature STG T Lead soldering temp LSOL V ESD rating ...
Page 37
PACKAGING INFORMATION Package Type: 8-Lead Plastic Dual In-line (P) – 300 mil (PDIP Dimension Limits Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width Molded ...
Page 38
HCS412 Package Type: 8-Lead Plastic Small Outline (SN) – Narrow, 150 mil (SOIC Dimension Limits Number of Pins Pitch Overall Height Molded Package Thickness Standoff § Overall Width Molded Package Width Overall Length ...
Page 39
Package Marking Information 8-Lead PDIP (300 mil) XXXXXXXX XXXXXNNN YYWW 8-Lead SOIC (150 mil) XXXXXXXX XXXXYYWW NNN Legend: MM...M Microchip part number information XX...X Customer specific information* YY Year code (last 2 digits of calendar year) WW Week code ...
Page 40
HCS412 ON-LINE SUPPORT Microchip provides on-line support on the Microchip World Wide Web (WWW) site. The web site is used by Microchip as a means to make files and information easily available to customers. To view the site, the user ...
Page 41
READER RESPONSE It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip prod- uct. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our ...
Page 42
HCS412 10.0 HCS412 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. HCS412 — /X Package: Temperature Range: Device: Sales and Support Data Sheets Products supported by ...
Page 43
Microchip’s Secure Data Products are covered by some or all of the following patents: Code hopping encoder patents issued in Europe, U.S.A., and R.S.A. — U.S.A.: 5,517,187; Europe: 0459781; R.S.A.: ZA93/4726 Secure learning patents issued in the U.S.A. and R.S.A. ...
Page 44
W ORLDWIDE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Rocky Mountain 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-7456 Atlanta 500 Sugar Mill Road, ...