HC512T-I/SO [ETC]

Consumer IC ; 消费性IC\n
HC512T-I/SO
型号: HC512T-I/SO
厂家: ETC    ETC
描述:

Consumer IC
消费性IC\n

文件: 总26页 (文件大小:318K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
HCS512  
®
KEELOQ Code Hopping Decoder  
FEATURES  
Security  
DESCRIPTION  
The Microchip Technology Inc. HCS512 is a code hop-  
ping decoder designed for secure Remote Keyless  
Entry (RKE) systems. The HCS512 utilizes the pat-  
ented KEELOQ code hopping system and high security  
learning mechanisms to make this a canned solution  
when used with the HCS encoders to implement a uni-  
directional remote keyless entry system.  
• Secure storage of Manufacturer’s Code  
• Secure storage of transmitter’s keys  
• Up to four transmitters can be learned  
• KEELOQ code hopping technology  
• Normal and secure learning mechanisms  
PACKAGE TYPE  
Operating  
PDIP, SOIC  
• 4.0V – 6.0V operation  
• 4 MHz external RC oscillator  
• Learning indication on LRNOUT  
• Auto baud rate detection  
• Power saving SLEEP mode  
LRNIN  
LRNOUT  
NC  
1
2
3
4
5
6
7
8
9
18  
17  
16  
15  
14  
13  
12  
11  
10  
RFIN  
NC  
OSCIN  
OSCOUT  
VDD  
MCLR  
GND  
S0  
Other  
• Stand-alone decoder  
DATA  
CLK  
• On-chip EEPROM for transmitter storage  
• Four binary function outputs–15 functions  
• 18-pin DIP/SOIC package  
S1  
S2  
SLEEP  
VLOW  
Typical Applications  
S3  
• Automotive remote entry systems  
• Automotive alarm systems  
• Automotive immobilizers  
• Gate and garage openers  
• Electronic door locks  
BLOCK DIAGRAM  
RFIN  
Reception Register  
DECRYPTOR  
• Identity tokens  
• Burglar alarm systems  
DATA  
EEPROM  
CONTROL  
CLK  
Compatible Encoders  
LRNIN  
All KEELOQ encoders and transponders configured for  
the following setting:  
MCLR  
SLEEP  
OSCIN  
OSCILLATOR  
• PWM modulation format (1/3-2/3)  
TE in the range from 100 µs to 400 µs  
• 10 x TE Header  
OUTPUT  
CONTROL  
S3 VLOW LRNOUT  
S2  
S0 S1  
• 28-bit Serial Number  
The Manufacturer’s Code, transmitter keys, and syn-  
chronization information are stored in protected on-  
chip EEPROM. The HCS512 uses the DATA and CLK  
inputs to load the Manufacturer’s Code which cannot  
be read out of the device.  
• 16-bit Synchronization counter  
• Discrimination bits equal to Serial Number 8 LSbs  
• 66- to 69-bit length code word.  
2002 Microchip Technology Inc.  
DS40151D-page 1  
HCS512  
The HCS512 operates over a wide voltage range of  
3.0 volts to 6.0 volts. The decoder employs automatic  
baud rate detection which allows it to compensate for  
wide variations in transmitter data rate. The decoder  
contains sophisticated error checking algorithms to  
ensure only valid codes are accepted.  
during normal operation to derive the crypt  
key and decrypt the received code word’s  
encrypted portion.  
- Secure Learn  
The transmitter is activated through a special  
button combination to transmit a stored 60-bit  
seed value used to generate the transmitter’s  
crypt key. The receiver uses this seed value  
to derive the same crypt key and decrypt the  
received code word’s encrypted portion.  
1.0  
SYSTEM OVERVIEW  
Key Terms  
Manufacturer’s code – A unique and secret 64-  
bit number used to generate unique encoder crypt  
keys. Each encoder is programmed with a crypt  
key that is a function of the manufacturer’s code.  
Each decoder is programmed with the manufac-  
turer code itself.  
The following is a list of key terms used throughout this  
data sheet. For additional information on KEELOQ and  
Code Hopping, refer to Technical Brief 3 (TB003).  
RKE - Remote Keyless Entry  
Button Status - Indicates what button input(s)  
activated the transmission. Encompasses the 4  
button status bits S3, S2, S1 and S0 (Figure 8-2).  
1.1  
HCS Encoder Overview  
Code Hopping - A method by which a code,  
viewed externally to the system, appears to  
change unpredictably each time it is transmitted.  
The HCS encoders have a small EEPROM array which  
must be loaded with several parameters before use.  
The most important of these values are:  
Code word - A block of data that is repeatedly  
• A crypt key that is generated at the time of pro-  
duction  
transmitted upon button activation (Figure 8-1).  
Transmission - A data stream consisting of  
• A 16-bit synchronization counter value  
repeating code words (Figure 8-1).  
• A 28-bit serial number which is meant to be  
unique for every encoder  
Crypt key - A unique and secret 64-bit number  
used to encrypt and decrypt data. In a symmetri-  
cal block cipher such as the KEELOQ algorithm,  
the encryption and decryption keys are equal and  
will therefore be referred to generally as the crypt  
key.  
The manufacturer programs the serial number for each  
encoder at the time of production, while the ‘Key Gen-  
eration Algorithm’ generates the crypt key (Figure 1-1).  
Inputs to the key generation algorithm typically consist  
of the encoder’s serial number and a 64-bit manufac-  
turer’s code, which the manufacturer creates.  
Encoder - A device that generates and encodes  
data.  
Encryption Algorithm - A recipe whereby data is  
scrambled using a crypt key. The data can only be  
interpreted by the respective decryption algorithm  
using the same crypt key.  
Note: The manufacturer code is a pivotal part of  
the system’s overall security. Conse-  
quently, all possible precautions must be  
taken and maintained for this code.  
Decoder - A device that decodes data received  
from an encoder.  
Decryption algorithm - A recipe whereby data  
scrambled by an encryption algorithm can be  
unscrambled using the same crypt key.  
Learn – Learning involves the receiver calculating  
the transmitter’s appropriate crypt key, decrypting  
the received hopping code and storing the serial  
number, synchronization counter value and crypt  
key in EEPROM. The KEELOQ product family facil-  
itates several learning strategies to be imple-  
mented on the decoder. The following are  
examples of what can be done.  
- Simple Learning  
The receiver uses a fixed crypt key, common  
to all components of all systems by the same  
manufacturer, to decrypt the received code  
word’s encrypted portion.  
- Normal Learning  
The receiver uses information transmitted  
DS40151D-page 2  
2002 Microchip Technology Inc.  
HCS512  
FIGURE 1-1:  
CREATION AND STORAGE OF CRYPT KEY DURING PRODUCTION  
Production  
Programmer  
HCS512  
Transmitter  
Serial Number  
EEPROM Array  
Serial Number  
Crypt Key  
Sync Counter  
.
.
.
Key  
Crypt  
Key  
Manufacturer’s  
Code  
Generation  
Algorithm  
The 16-bit synchronization counter is the basis behind  
the transmitted code word changing for each transmis-  
sion; it increments each time a button is pressed. Due  
to the code hopping algorithm’s complexity, each incre-  
ment of the synchronization value results in greater  
than 50% of the bits changing in the transmitted code  
word.  
A receiver may use any type of controller as a decoder,  
but it is typically a microcontroller with compatible firm-  
ware that allows the decoder to operate in conjunction  
with an HCS512 based transmitter. Section 5.0  
provides detail on integrating the HCS512 into a sys-  
tem.  
A transmitter must first be ‘learned’ by the receiver  
before its use is allowed in the system. Learning  
includes calculating the transmitter’s appropriate crypt  
key, decrypting the received hopping code and storing  
the serial number, synchronization counter value and  
crypt key in EEPROM.  
Figure 1-2 shows how the key values in EEPROM are  
used in the encoder. Once the encoder detects a button  
press, it reads the button inputs and updates the syn-  
chronization counter. The synchronization counter and  
crypt key are input to the encryption algorithm and the  
output is 32 bits of encrypted information. This data will  
change with every button press, its value appearing  
externally to ‘randomly hop around’, hence it is referred  
to as the hopping portion of the code word. The 32-bit  
hopping code is combined with the button information  
and serial number to form the code word transmitted to  
the receiver. The code word format is explained in  
greater detail in Section 8.2.  
In normal operation, each received message of valid  
format is evaluated. The serial number is used to deter-  
mine if it is from a learned transmitter. If from a learned  
transmitter, the message is decrypted and the synchro-  
nization counter is verified. Finally, the button status is  
checked to see what operation is requested. Figure 1-3  
shows the relationship between some of the values  
stored by the receiver and the values received from  
the transmitter.  
FIGURE 1-2:  
EEPROM Array  
BUILDING THE TRANSMITTED CODE WORD (ENCODER)  
KEELOQ  
Encryption  
Algorithm  
Crypt Key  
Sync Counter  
Serial Number  
Button Press  
Information  
32 Bits  
Encrypted Data  
Serial Number  
Transmitted Information  
2002 Microchip Technology Inc.  
DS40151D-page 3  
HCS512  
FIGURE 1-3:  
BASIC OPERATION OF RECEIVER (DECODER)  
1
Received Information  
EEPROM Array  
32 Bits of  
Encrypted Data  
Button Press  
Information  
Manufacturer Code  
Serial Number  
Check for  
Match  
Serial Number  
2
Sync Counter  
Crypt Key  
3
KEELOQ  
Decryption  
Algorithm  
Perform Function  
Indicated by  
Decrypted  
Synchronization  
Counter  
Check for  
Match  
5
4
button press  
NOTE: Circled numbers indicate the order of execution.  
2.0  
PIN ASSIGNMENT  
Decoder  
Function  
Buffer  
Type(1)  
PIN  
I/O (1)  
Description  
1
2
LRNIN  
LRNOUT  
NC  
I
O
I
TTL  
TTL  
TTL  
ST  
Learn input - initiates learning, 10K pull-up required on input  
Learn output - indicates learning  
3
Do not connect  
4
MCLR  
Ground  
S0  
Master clear input  
5
P
Ground connection  
6
O
O
O
O
O
I
TTL  
TTL  
TTL  
TTL  
TTL  
TTL  
Switch 0  
7
S1  
Switch 1  
Switch 2  
8
S2  
9
S3  
Switch 3  
10  
11  
12  
VLOW  
Battery low indication output  
Connect to RFIN to allow wake-up from SLEEP  
Clock in Programming mode and Synchronous mode  
SLEEP  
CLK  
TTL/ST (2)  
I/O  
TTL/ST (2)  
13  
DATA  
I/O  
Data in Programming mode and Synchronous mode  
14  
15  
16  
17  
18  
VDD  
OSCOUT (1MHZ)  
OSCIN (4MHz)  
NC  
P
O
I
TTL  
ST  
Power connection  
Oscillator out (test point)  
Oscillator in – recommended values 4.7 kand 22 pF  
I
RFIN  
TTL  
RF input from receiver  
Note 1: P = power, I = in, O = out, and ST = Schmitt Trigger input.  
2: Pin 12 and Pin 13 have a dual purpose. After RESET, these pins are used to determine if Programming  
mode is selected in which case they are the clock and data lines. In normal operation, they are the clock  
and data lines of the synchronous data output stream.  
DS40151D-page 4  
2002 Microchip Technology Inc.  
HCS512  
A special status message is transmitted on the second  
pass of learn. This allows the controlling microcontrol-  
ler to determine if the learn was successful (Result = 1)  
and if a previous transmitter was overwritten (Overwrite  
= 1). The status message is shown in Figure 3-2.  
3.0  
3.1  
DESCRIPTION OF FUNCTIONS  
Parallel Interface  
The HCS512 activates the S3, S2, S1 & S0 outputs  
when a new valid code is received. The outputs will be  
activated for approximately 500 ms. If a repeated code  
is received during this time, the output extends for  
approximately 500 ms.  
Table 3-1 show the values for TX1:0 and the number of  
transmitters learned.  
TABLE 3-1:  
TX1  
STATUS BITS  
TX0  
Number of Transmitters  
3.2  
Serial Interface  
0
0
1
1
0
1
0
1
One  
Two  
The decoder has a PWM/Synchronous interface con-  
nection to microcontrollers with limited I/O. An output  
data stream is generated when a valid transmission is  
received. The data stream consists of one START bit,  
four function bits, one bit for battery status, one bit to  
indicate a repeated transmission, two status bits, and  
one STOP bit. (Table 3-1). The DATA and CLK lines are  
used to send a synchronous event message.  
Three  
Four  
FIGURE 3-1: DATA OUTPUT FORMAT  
VLOW  
START  
S3  
S2  
S1  
S0  
REPEAT  
TX1  
TX0  
TX0  
STOP  
FIGURE 3-2: STATUS MESSAGE FORMAT  
START  
RESULT  
0
0
0
0
OVRWR  
TX1  
STOP  
A 1-wire PWM or 2-wire synchronous interface can be used.  
In 1-wire mode, the data is transmitted as a PWM signal with a basic pulse width of 400 µs.  
In 2-wire mode, Synchronous mode PWM bits start on the rising edge of the clock, and the bits must be sampled on the  
falling edge. The START bit is a ‘1’ and the STOP bit is ‘0’.  
FIGURE 3-2: PWM OUTPUT FORMAT(1)  
1/31/31/3  
LOGIC “1”  
LOGIC “0”  
1200 µs  
600 µs  
CLK  
DATA  
START  
S3  
S2  
S1  
S0  
VLOW  
RPT Reserved Reserved STOP  
1200 µs  
Note:  
The Decoder output PWM format logic (“1” / “0”) is reversed with respect of the Encoder modulation format.  
2002 Microchip Technology Inc.  
DS40151D-page 5  
HCS512  
The following checks are performed on the decoder to  
determine if the transmission is valid during learn:  
4.0  
4.1  
DECODER OPERATION  
Learning a Transmitter to a  
Receiver  
• The first code word is checked for bit integrity.  
• The second code word is checked for bit integrity.  
• The hopping code is decrypted.  
Either the serial number-based learning method or the  
seed-based learning method can be selected. The  
learning method is selected in the configuration byte. In  
order for a transmitter to be used with a decoder, the  
transmitter must first be ‘learned’. When a transmitter is  
learned to a decoder, the decoder stores the crypt key,  
a check value of the serial number and current syn-  
chronization value in EEPROM. The decoder must  
keep track of these values for every transmitter that is  
learned. The maximum number of transmitters that can  
be learned is four. The decoder must also contain the  
Manufacturer’s Code in order to learn a transmitter.  
The Manufacturer’s Code will typically be the same for  
all decoders in a system.  
• If all the checks pass, the serial number and syn-  
chronization counters are stored in EEPROM  
memory.  
Figure 4-1 shows a flow chart of the learn sequence.  
FIGURE 4-1: LEARN SEQUENCE  
Enter Learn  
Mode  
Wait for Reception  
of a Valid Code  
Wait for Reception  
of Second  
Non-Repeated  
Valid Code  
The HCS512 has four memory slots. After an “erase  
all” procedure, all the memory slots will be cleared.  
Erase all is activated by taking LRNIN low for approxi-  
mately 10 seconds. When a new transmitter is learned,  
the decoder searches for an empty memory slot and  
stores the transmitter’s information in that memory slot.  
When all memory slots are full, the decoder randomly  
overwrites existing transmitters.  
Generate Key  
from Serial Number  
or Seed Value  
Use Generated Key  
to Decrypt  
4.1.1  
LEARNING PROCEDURE  
Compare Discrimination  
Value with Serial Number  
Learning is activated by taking the LRNIN input low for  
longer than 64 ms. This input requires an external pull-  
up resistor.  
No  
Equal  
To learn a new transmitter to the HCS512 decoder, the  
following sequence is required:  
?
Yes  
1. Enter Learning mode by pulling LRNIN low for  
longer than 64 ms. The LRNOUT output will go  
high.  
Learn  
Unsuccessful  
Learn successful. Store:  
Serial number check value  
Synchronization counter  
crypt key  
2. Activate the transmitter until the LRNOUT out-  
put goes low indicating reception of a valid code  
(hopping message).  
3. Activate the transmitter a second time until the  
LRNOUT toggles for 4 seconds (in Secure  
Learning mode, the seed transmission must be  
transmitted during the second stage of learn by  
activating the appropriate buttons on the trans-  
mitter).  
Exit  
If LRNIN is taken low momentarily during the  
learn status indication, the indication will be ter-  
minated. Once a successful learning sequence  
is detected, the indication can be terminated  
allowing quick learning in a manufacturing  
setup.  
4. The transmitter is now learned into the decoder.  
5. Repeat steps 1-4 to learn up to four transmitters.  
6. Learning will be terminated if two non-sequential  
codes were received or if two acceptable codes  
were not decoded within 30 seconds.  
DS40151D-page 6  
2002 Microchip Technology Inc.  
HCS512  
FIGURE 4-2: DECODER OPERATION  
4.2  
Validation of Codes  
Start  
The decoder waits for a transmission and checks the  
serial number to determine if the transmitter has been  
learned. If learned, the decoder decrypts the encrypted  
portion of the transmission using the crypt key. It uses  
the discrimination bits to determine if the decryption  
was valid. If everything up to this point is valid, the  
synchronization value is evaluated.  
No  
Transmission  
Received  
?
Yes  
4.3  
Validation Steps  
Does  
No  
Ser # Check Val  
Match  
?
Validation consists of the following steps:  
• Search EEPROM to find the Serial Number  
Check Value Match  
• Decrypt the Hopping Code  
Yes  
Decrypt Transmission  
• Compare the 10 bits of discrimination value with  
the lower 10 bits of serial number  
• Check if the synchronization counter falls within  
the first synchronization window.  
Is  
No  
Decryption  
Valid  
?
• Check if the synchronization counter falls within  
the second synchronization window.  
• If a valid transmission is found, update the syn-  
chronization counter, else use the next transmitter  
block and repeat the tests.  
Yes  
Execute  
Command  
and  
Update  
Counter  
Is  
Counter  
Within 16  
?
Yes  
No  
Is  
Counter  
Within 32K  
?
No  
Yes  
Save Counter  
in Temp Location  
2002 Microchip Technology Inc.  
DS40151D-page 7  
HCS512  
is referred to as "Double Operation" because a trans-  
mission with synchronization counter value in this win-  
dow will require an additional, sequential counter  
transmission prior to executing the intended function.  
Upon receiving the sequential transmission the  
decoder executes the intended function and stores the  
synchronization counter value. This resynchronization  
occurs transparently to the user as it is human nature  
to press the button a second time if the first was unsuc-  
cessful.  
4.4  
Synchronization with Decoder  
(Evaluating the Counter)  
The KEELOQ technology patent scope includes a  
sophisticated synchronization technique that does not  
require the calculation and storage of future codes. The  
technique securely blocks invalid transmissions while  
providing transparent resynchronization to transmitters  
inadvertently activated away from the receiver.  
Figure 4-3 shows a 3-partition, rotating synchronization  
window. The size of each window is optional but the  
technique is fundamental. Each time a transmission is  
authenticated, the intended function is executed and  
the transmission’s synchronization counter value is  
stored in EEPROM. From the currently stored counter  
value there is an initial "Single Operation" forward win-  
dow of 16 codes. If the difference between a received  
synchronization counter and the last stored counter is  
within 16, the intended function will be executed on the  
single button press and the new synchronization  
counter will be stored. Storing the new synchronization  
counter value effectively rotates the entire synchroniza-  
tion window.  
The third window is a "Blocked Window" ranging from  
the double operation window to the currently stored  
synchronization counter value. Any transmission with  
synchronization counter value within this window will  
be ignored. This window excludes previously used,  
perhaps code-grabbed transmissions from accessing  
the system.  
Note: The synchronization method described in  
this section is only a typical implementation  
and because it is usually implemented in  
firmware, it can be altered to fit the needs  
of a particular system.  
A "Double Operation" (resynchronization) window fur-  
ther exists from the Single Operation window up to 32K  
codes forward of the currently stored counter value. It  
FIGURE 4-3:  
SYNCHRONIZATION WINDOW  
Entire Window  
rotates to eliminate  
use of previously  
used codes  
Blocked  
Window  
(32K Codes)  
Stored  
Synchronization  
Counter Value  
Double Operation  
(resynchronization)  
Window  
Single Operation  
Window  
(16 Codes)  
(32K Codes)  
The device will not enter SLEEP mode when:  
• A function output is active  
• Learn sequence active  
4.5  
SLEEP Mode  
The SLEEP mode of the HCS512 is used to reduce  
current consumption when no RF input signal is  
present. SLEEP mode will only be effective in systems  
where the RF receiver is relatively quiet when no signal  
is present. During SLEEP, the clock stops, thereby sig-  
nificantly reducing the operating current. SLEEP mode  
is enabled by the SLEEP bit in the configuration byte.  
• Device is in Programming mode  
The device will wake-up from SLEEP when:  
• The SLEEP input pin changes state  
• The CLOCK line changes state  
Note: During SLEEP mode the CLK line will  
change from an output line to an input line  
that can be used to wake-up the device.  
Connect CLK to LRNIN via a 100K resistor  
to reliably enter the Learn mode whenever  
SLEEP mode is active.  
The HCS512 will enter SLEEP mode when:  
• The RF line is low  
• After a function output is switched off  
• Learn mode is terminated (time-out reached)  
DS40151D-page 8  
2002 Microchip Technology Inc.  
HCS512  
5.0  
INTEGRATING THE HCS512  
INTO A SYSTEM  
6.0  
DECODER PROGRAMMING  
The PG306001 production programmer will allow easy  
setup and programming of the configuration byte and  
the manufacturer’s code.  
The HCS512 can act as a stand-alone decoder or be  
interfaced to a microcontroller. Typical stand-alone  
applications include garage door openers and elec-  
tronic door locks. In stand-alone applications, the  
HCS512 will handle learning, reception, decryption,  
and validation of the received code; and generate the  
appropriate output. For a garage door opener, the  
HCS512 input will be connected to an RF receiver, and  
the output, to a relay driver to connect a motor control-  
ler.  
6.1  
Configuration Byte  
The configuration byte is used to set system configura-  
tion for the decoder. The LRN bits determine which  
algorithm (Decrypt or XOR) is used for the key genera-  
tion. SC_LRN determines whether normal learn (key  
derived from serial number) or secure learn (key  
derived from seed value) is used.  
Typical systems where the HCS512 will be connected  
to a microcontroller include vehicle and home security  
systems. The HCS512 input will be connected to an RF  
receiver and the function outputs to the microcontroller.  
The HCS512 will handle all the decoding functions and  
the microcontroller, all the system functions. The Serial  
Output mode with a 1- or 2-wire interface can be used  
if the microcontroller is I/O limited.  
TABLE 6-1:  
CONFIGURATION BYTE  
Description  
Bit  
Name  
0
1
2
3
4
5
6
7
LRN0  
LRN1  
Learn algorithm select  
Not used  
SC_LRN Secure Learn enable (1 = enabled)  
SLEEP  
RES1  
RES2  
RES3  
RES4  
SLEEP enable (1 = enabled)  
Not used  
Not used  
Not used  
Not used  
TABLE 6-2:  
LEARN METHOD LRN0, LRN1  
DEFINITIONS  
LRN0  
Description  
0
1
Decrypt algorithm  
XOR algorithm  
2002 Microchip Technology Inc.  
DS40151D-page 9  
HCS512  
6.2  
Programming the Manufacturer’s  
Code  
6.4  
Checksum  
The checksum is used by the HCS512 to check that the  
data downloaded was correctly received before pro-  
gramming the data. The checksum is calculated so that  
the 10 bytes added together (discarding the overflow  
bits) is zero. The checksum can be calculated by add-  
ing the first 9 bytes of data together and subtracting the  
result from zero. Throughout the calculation the over-  
flow is discarded.  
The manufacturer’s code must be programmed into  
EEPROM memory through the synchronous program-  
ming interface using the DATA and CLK lines. Provision  
must be made for connections to these pins if the  
decoder is going to be programmed in circuit.  
Programming mode is activated if the CLK is low for at  
least 1 ms and then goes high within 64 ms after power-  
up, stays high for longer than 8 ms but not longer than  
128 ms. After entering Programming mode the 64-bit  
manufacturer’s code, 8-bit configuration byte, and 8-bit  
checksum is sent to the device using the synchronous  
interface. After receiving the 80-bit message the check-  
sum is verified and the information is written to  
EEPROM. If the programming operation was success-  
ful, the HCS512 will respond with an Acknowledge  
pulse.  
Given  
a
manufacturer’s code of 01234567-  
89ABCDEF16 and a Configuration Word of 116, the  
checksum is calculated as shown in Figure 6-1. The  
checksum is 3F16  
.
6.5  
Test Transmitter  
The HCS512 decoder will automatically add a test  
transmitter each time an Erase All Function is done. A  
test transmitter is defined as a transmitter with a serial  
number of zero. After an Erase All, the test transmitter  
will always work without learning and will not check the  
synchronization counter of the transmitter. Learning of  
any new transmitters will erase the test transmitter.  
After programming the manufacturer’s code, the  
HCS512 decoder will automatically activate an  
Erase All function, removing all transmitters from the  
system.  
6.3  
Download Format  
Note 1: A transmitter with a serial number of zero  
cannot be learned. Learn will fail after the  
first transmission.  
The manufacturer’s code and configuration byte must  
be downloaded Least Significant Byte, Least Signifi-  
cant bit first as shown in Table 6-3.  
2: Always learn at least one transmitter after  
an Erase All sequence. This ensures that  
the test transmitter is erased.  
TABLE 6-3:  
Byte 4 Byte 3  
DOWNLOAD DATA  
Byte 9  
Byte 8  
Byte 7  
Byte 6  
Byte 5  
Byte 2  
Byte 1  
Byte 0  
Check-  
sum  
Man  
Key_7  
Man  
Key_6  
Man  
Key_5  
Man  
Key_4  
Man  
Key_3  
Man  
Key_2  
Man  
Key_1  
Man  
Key_0  
Config  
Byte 0, right-most bit downloaded first.  
FIGURE 6-1: CHECKSUM CALCULATION  
0116 + 2316 = 246  
2416 + 4516 = 6916  
6916 + 6716 = D016  
D016 + 8916 = 15916  
5916 + AB16 = 10416 (Carry is discarded)  
0416 + CD16 = D116 (Carry is discarded)  
D116 + EF16 = 1C016  
C016 + 116 = C116 (Carry is discarded)  
(FF16 - C116) + 116 = 3F16  
DS40151D-page 10  
2002 Microchip Technology Inc.  
HCS512  
FIGURE 6-2: PROGRAMMING WAVEFORMS  
MCLR  
T
CKL  
TACK  
TACKH  
TPS  
TPH1  
TPH2  
TCKH  
CLK  
(Clock)  
DAT  
Bit0  
Bit1  
Bit78 Bit79  
(Data)  
Ack  
Acknowledge  
pulse  
Enter Program Mode  
80-bit Data Package  
TABLE 6-4:  
PROGRAMMING TIMING REQUIREMENTS  
Parameter  
Symbol  
Min.  
Max.  
Units  
Program mode setup time  
Hold time 1  
TPS  
TPH1  
TPH2  
TCKH  
TCKL  
TACK  
TACKH  
1
8
64  
128  
320  
320  
320  
80  
ms  
ms  
ms  
ms  
ms  
ms  
ms  
Hold time 2  
0.05  
0.05  
0.050  
Clock High Time  
Clock Low Time  
Acknowledge Time  
Acknowledge duration  
1
Note:  
FOSC equals 4 MHz.  
2002 Microchip Technology Inc.  
DS40151D-page 11  
HCS512  
7.0  
KEY GENERATION SCHEMES  
The HCS512 decoder has two key generation schemes. Normal learning uses the transmitter’s serial number to derive  
two input seeds which are used as inputs to the key generation algorithm. Secure learning uses the seed transmission  
to derive the two input seeds. Two key generation algorithms are available to convert the inputs seeds to secret keys.  
The appropriate scheme is selected in the Configuration Word.  
FIGURE 7-1:  
Serial  
Patched  
Number  
Key Generation  
Algorithms  
-------------------  
Decrypt  
Manufacturer’s  
Key  
Encoder  
Key  
XOR  
Seed  
7.1  
Normal Learning (Serial Number Derived)  
The two input seeds are composed from the serial number in two ways, depending on the encoder type. The encoder  
type is determined from the number of bits in the incoming transmission. SourceH is used to calculate the upper 32 bits  
of the crypt key, and SourceL, for the lower 32 bits.  
For 28-bit serial number encoders (66 / 67-bit transmissions):  
SourceH = 6H + 28 bit Serial Number  
SourceL = 2H + 28 bit Serial Number  
7.2  
Secure Learning (Seed Derived)  
The two input seeds are composed from the seed value that is transmitted during secure learning. The lower 32 bits of  
the seed transmission is used to compose the lower seed, and the upper 32 bits, for the upper seed. The upper 4 bits  
(function code) are set to zero.  
For 32-bit seed encoders:  
SourceH = Serial Number Lower 28 bits (with upper 4 bits always zero)  
SourceL = Seed 32 bits  
For 48-bit seed encoders:  
SourceH = Seed Upper 16 bits + Serial Number Upper 16 bits (with upper 4 bits always zero) << 16  
SourceL = Seed Lower 32 bits  
For 60-bit seed encoders:  
SourceH = Seed Upper 28 bits (with upper 4 bits always zero)  
SourceL = Seed Lower 32 bits  
DS40151D-page 12  
2002 Microchip Technology Inc.  
HCS512  
7.3  
Key Generation Algorithms  
There are two key generation algorithms implemented in the HCS512 decoder. The KEELOQ decryption algorithm pro-  
vides a higher level of security than the XOR algorithm. Section 6.1 describes the selection of the algorithms in the con-  
figuration byte.  
7.3.1  
KEELOQ DECRYPT ALGORITHM  
This algorithm uses the KEELOQ decryption algorithm and the manufacturer’s code to derive the crypt key as follows:  
Key Upper 32 bits = Decrypt (SourceH)  
64 Bit Manufacturers Code  
Key Lower 32 bits = Decrypt (SourceL) 64 Bit Manufacturers Code  
7.3.2 XOR WITH THE MANUFACTURER’S CODE  
The two 32-bits seeds are XOR with the manufacturer’s code to form the 64 bit crypt key.  
Key Upper 32 bits = SourceH XOR Manufacturers Code Upper 32 bits  
Key Lower 32 bits = SourceL XOR Manufacturers Code Lower 32 bits  
After programming the manufacturer’s code, the HCS512 decoder will automatically activate an Erase All function,  
removing all transmitters from the system.  
If LRNIN is taken low momentarily during the learn status indication, the indication will be terminated. Once a successful  
learning sequence is detected, the indication can be terminated, allowing quick learning in a manufacturing setup.  
FIGURE 7-2: HCS512 KEY GENERATION  
LRN0 = 0  
Normal Learn (SC_LRN = 0)  
Padding  
28-bit Serial Number  
28-bit Serial Number  
LS 32 bits of crypt key  
MS 32 bits of crypt key  
2
KEELOQ  
Decryption  
Algorithm  
Padding  
6
LRN0 = 0  
Secure Learn (SC_LRN = 1)  
LS 32 bits of Seed Transmission  
LS 32 bits of crypt key  
MS 32 bits of crypt key  
KEELOQ  
Decryption  
Algorithm  
Padding  
0000b  
MS 28 bits of Seed Transmission  
LRN0 = 1  
XOR  
Secure Learn XOR (SC_LRN = 1)  
LS 32 bits of Seed Transmission  
LS 32 bits of crypt key  
MS 32 bits of crypt key  
Padding  
0000b  
MS 28 bits of Seed Transmission  
2002 Microchip Technology Inc.  
DS40151D-page 13  
HCS512  
and the 28-bit serial number. The encrypted and non-  
encrypted combined sections increase the number of  
8.0  
8.1  
KEELOQ ENCODERS  
Transmission Format (PWM)  
combinations to 7.38 x 1019  
.
The KEELOQ encoder transmission is made up of sev-  
eral parts (Figure 8-1). Each transmission begins with  
a preamble and a header, followed by the encrypted  
and then the fixed data. The actual data is 66/69 bits  
which consists of 32 bits of encrypted data and 34/37  
bits of non-encrypted data. Each transmission is fol-  
lowed by a guard period before another transmission  
can begin. The encrypted portion provides up to four  
billion changing code combinations and includes the  
button status bits (based on which buttons were acti-  
vated) along with the synchronization counter value  
and some discrimination bits. The non-encrypted por-  
tion is comprised of the status bits, the function bits,  
8.2  
Code Word Organization  
The HCSXXX encoder transmits a 66/69-bit code word  
when a button is pressed. The 66/69-bit word is con-  
structed from an encryption portion and a non-  
encrypted code portion (Figure 8-2).  
The Encrypted Data is generated from four button bits,  
two overflow counter bits, ten discrimination bits, and  
the 16-bit synchronization value.  
The Non-encrypted Data is made up from 2 status  
bits, 4 function bits, and the 28/32-bit serial number.  
FIGURE 8-1: TRANSMISSION FORMAT (PWM)  
TE  
TE  
TE  
LOGIC "0"  
LOGIC "1"  
T
BP  
50% Preamble  
10xTE  
Header  
Encrypted  
Portion  
Fixed Code  
Portion  
Guard  
Time  
FIGURE 8-2:  
CODE WORD ORGANIZATION  
34 bits of Fixed Portion  
32 bits of Encrypted Portion  
Repeat VLOW  
(1-bit) (1-bit)  
Button  
Status  
Serial Number  
(28 bits)  
Button  
Status  
OVR  
(2 bits) (10 bits)  
DISC  
Sync Counter  
(16 bits)  
S2 S1 S0 S3  
S2 S1 S0 S3  
MSb  
MSb  
LSb  
LSb  
66 Data bits  
Transmitted  
LSb first.  
Repeat VLOW  
(1-bit) (1-bit)  
Button  
Status  
1 1 1 1  
Serial Number  
(28 bits)  
SEED  
(32 bits)  
SEED replaces Encrypted Portion when all button inputs are activated at the same time.  
DS40151D-page 14  
2002 Microchip Technology Inc.  
HCS512  
9.0  
ELECTRICAL CHARACTERISTICS FOR HCS512  
Absolute Maximum Ratings †  
Ambient temperature under bias.............................................................................................................-55°C to +125°C  
Storage temperature ...............................................................................................................................-65°C to +150°C  
Voltage on any pin with respect to VSS (except VDD) ............................................................................ -0.6V to VDD +0.6V  
Voltage on VDD with respect to Vss....................................................................................................................0 to +7.5V  
Total power dissipation (Note 1) ..........................................................................................................................800 mW  
Maximum current out of VSS pin.............................................................................................................................150 mA  
Maximum current into VDD pin................................................................................................................................100 mA  
Input clamp current, Iik (VI < 0 or VI > VDD)............................................................................................................± 20 mA  
Output clamp current, IOK (VO < 0 or VO >VDD) ....................................................................................................± 20 mA  
Maximum output current sunk by any I/O pin..........................................................................................................25 mA  
Maximum output current sourced by any I/O pin ....................................................................................................20 mA  
Note: Power dissipation is calculated as follows: Pdis = VDD x {IDD - IOH} + {(VDD–VOH) x IOH} + (VOl x IOL)  
† NOTICE: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the  
device. This is a stress rating only and functional operation of the device at those or any other conditions above  
those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for  
extended periods may affect device reliability.  
2002 Microchip Technology Inc.  
DS40151D-page 15  
HCS512  
TABLE 9-1:  
DC CHARACTERISTICS  
Standard Operating Conditions (unless otherwise stated)  
Operating temperature  
Commercial (C):  
Industrial (I):  
0°C TA +70°C for commercial  
-40°C TA +85°C for industrial  
Symbol  
VDD  
Characteristic  
Min  
4.0  
Typ()  
Max  
6.0  
Units  
Conditions  
Supply Voltage  
V
V
VPOR  
VDD start voltage to  
VSS  
ensure RESET  
SVDD  
IDD  
VDD rise rate to  
ensure RESET  
0.05*  
V/ms  
Supply Current  
1.8  
7.3  
15  
4.5  
10  
32  
mA  
mA  
µA  
FOSC = 4 MHz, VDD = 5.5V  
(During EEPROM programming)  
In SLEEP mode  
VIL  
VIH  
Input Low Voltage  
Input High Voltage  
Output Low Voltage  
Output High Voltage  
VSS  
0.48 VDD  
0.16 VDD  
VDD  
V
V
V
V
except MCLR = 0.2 VDD  
except MCLR = 0.85 VDD  
IOL = 8.5 mA, VDD = 4.5V  
IOH = -3.0 mA, VDD = 4.5V  
VOL  
VOH  
0.6  
VDD-0.7  
† Data in “Typ” column is at 5.0V, 25°C unless otherwise stated. These parameters are for design guidance only  
and are not tested.  
*
These parameters are characterized but not tested.  
Note: Negative current is defined as coming out of the pin.  
TABLE 9-2:  
AC CHARACTERISTICS  
Symbol  
Characteristic  
Min  
Typ  
Max  
Units  
Conditions  
FOSC  
Oscillator frequency  
2.7  
65  
4
6.21  
MHz  
REXT = 10K, CEXT = 10 pF  
1080  
µs  
4.5V < VDD < 5.5V  
Oscillator components tolerance < 6%.  
PWM elemental  
pulse width  
TE  
130  
1080  
µs  
3V < VDD < 6V  
Oscillator components tolerance <10%  
TOD  
TA  
Output delay  
70  
322  
32  
90  
500  
50  
115  
740  
74  
ms  
ms  
ms  
ms  
ns  
Output activation time  
TRPT  
TLRN  
TMCLR  
TOV  
REPEAT activation time  
LRNIN activation time  
MCLR low time  
21  
32  
150  
Time output valid  
150  
222  
ms  
*
These parameters are characterized but not tested.  
FIGURE 9-1: RESET WATCHDOG TIMER, OSCILLATOR START-UP TIMER AND POWER-UP  
TIMER TIMING  
VDD  
MCLR  
TMCLR  
TOV  
I/O Pins  
DS40151D-page 16  
2002 Microchip Technology Inc.  
1 Code Word 50 ms  
RFIN  
S[3,2,1,0]  
VLOW  
Note 1  
TOD  
TA  
TA  
Note 2  
LRNOUT  
0s  
1s  
2s  
3s  
4s  
5s  
Note 1: Output is activated as long as code is received.  
2: Output is activated if battery low (VLOW) is detected.  
VDD  
LM7805  
VI  
12V  
1
2
3
VO  
MCP100-450  
G
N
D
VDD  
1N4004/7  
LOW VOLTAGE DETECTOR—DO NOT OMIT  
100 µF  
100 µF  
GND  
G
N
VO  
VI  
D
POWER SUPPLY  
VDD  
10K  
RECEIVE DATA INPUT  
1
1K  
1K  
LRNOUT  
S0  
S1  
S2  
S3  
14  
1K  
1K  
1K  
P2  
4.7K  
4
17  
18  
1
NC  
RFIN  
LRNIN  
MCLR  
V
D
3
16  
15  
D
NC  
2
LRNOUT  
OSCIN  
OSCOUT  
6
S0  
S1  
S2  
1K  
VLOW  
7
8
9
S3  
10  
11  
12  
13  
VLOW  
SLEEP  
CLK  
DAT  
G
N
D
22 pF  
P3  
DATA  
P4  
VDD  
10K  
P4  
5
HCS512  
CLOCK  
RESET  
P3  
P2  
100K  
GND  
P1  
LEARN  
BUTTON  
In-Circuit  
Programming Pads  
HCS512  
10.0 PACKAGING INFORMATION  
10.1 Package Marking Information  
18-Lead PDIP (300 mil)  
Example  
HCS512  
0110017  
XXXXXXXXXXXXXXXXX  
XXXXXXXXXXXXXXXXX  
YYWWNNN  
18-Lead SOIC (300 mil)  
Example  
XXXXXXXXXXXX  
XXXXXXXXXXXX  
XXXXXXXXXXXX  
HCS512  
/SO  
YYWWNNN  
0110017  
Legend: XX...X Customer specific information*  
Y
YY  
WW  
NNN  
Year code (last digit of calendar year)  
Year code (last 2 digits of calendar year)  
Week code (week of January 1 is week ‘01’)  
Alphanumeric traceability code  
Note: In the event the full Microchip part number cannot be marked on one line, it will  
be carried over to the next line thus limiting the number of available characters  
for customer specific information.  
*
Standard PICmicro device marking consists of Microchip part number, year code, week code, and  
traceability code. For PICmicro device marking beyond this, certain price adders apply. Please check  
with your Microchip Sales Office. For QTP devices, any special marking adders are included in QTP  
price.  
2002 Microchip Technology Inc.  
DS40151D-page 19  
HCS512  
10.2 Package Details  
18-Lead Plastic Dual In-line (P) – 300 mil (PDIP)  
E1  
D
2
α
n
1
E
A2  
L
A
c
A1  
B1  
β
p
B
eB  
Units  
INCHES*  
NOM  
MILLIMETERS  
Dimension Limits  
MIN  
MAX  
MIN  
NOM  
18  
MAX  
n
p
Number of Pins  
Pitch  
18  
.100  
.155  
.130  
2.54  
Top to Seating Plane  
A
.140  
.170  
3.56  
2.92  
3.94  
3.30  
4.32  
Molded Package Thickness  
Base to Seating Plane  
Shoulder to Shoulder Width  
Molded Package Width  
Overall Length  
A2  
A1  
E
.115  
.015  
.300  
.240  
.890  
.125  
.008  
.045  
.014  
.310  
5
.145  
3.68  
0.38  
7.62  
6.10  
22.61  
3.18  
0.20  
1.14  
0.36  
7.87  
5
.313  
.250  
.898  
.130  
.012  
.058  
.018  
.370  
10  
.325  
.260  
.905  
.135  
.015  
.070  
.022  
.430  
15  
7.94  
6.35  
22.80  
3.30  
0.29  
1.46  
0.46  
9.40  
10  
8.26  
6.60  
22.99  
3.43  
0.38  
1.78  
0.56  
10.92  
15  
E1  
D
Tip to Seating Plane  
Lead Thickness  
L
c
Upper Lead Width  
B1  
B
Lower Lead Width  
Overall Row Spacing  
Mold Draft Angle Top  
Mold Draft Angle Bottom  
§
eB  
α
β
5
10  
15  
5
10  
15  
* Controlling Parameter  
§ Significant Characteristic  
Notes:  
Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed  
.010” (0.254mm) per side.  
JEDEC Equivalent: MS-001  
Drawing No. C04-007  
DS40151D-page 20  
2002 Microchip Technology Inc.  
HCS512  
18-Lead Plastic Small Outline (SO) – Wide, 300 mil (SOIC)  
E
p
E1  
D
2
B
n
1
h
α
45°  
c
A2  
A
φ
β
L
A1  
Units  
INCHES*  
NOM  
MILLIMETERS  
Dimension Limits  
MIN  
MAX  
MIN  
NOM  
18  
MAX  
n
p
Number of Pins  
Pitch  
18  
.050  
.099  
.091  
.008  
.407  
.295  
.454  
.020  
.033  
4
1.27  
Overall Height  
A
.093  
.104  
2.36  
2.24  
2.50  
2.31  
0.20  
10.34  
7.49  
11.53  
0.50  
0.84  
4
2.64  
2.39  
0.30  
10.67  
7.59  
11.73  
0.74  
1.27  
8
Molded Package Thickness  
Standoff  
A2  
A1  
E
.088  
.004  
.394  
.291  
.446  
.010  
.016  
0
.094  
.012  
.420  
.299  
.462  
.029  
.050  
8
§
0.10  
10.01  
7.39  
11.33  
0.25  
0.41  
0
Overall Width  
Molded Package Width  
Overall Length  
E1  
D
Chamfer Distance  
Foot Length  
h
L
φ
Foot Angle  
c
Lead Thickness  
Lead Width  
.009  
.014  
0
.011  
.017  
12  
.012  
.020  
15  
0.23  
0.36  
0
0.27  
0.42  
12  
0.30  
0.51  
15  
B
α
β
Mold Draft Angle Top  
Mold Draft Angle Bottom  
0
12  
15  
0
12  
15  
* Controlling Parameter  
§ Significant Characteristic  
Notes:  
Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed  
.010” (0.254mm) per side.  
JEDEC Equivalent: MS-013  
Drawing No. C04-051  
2002 Microchip Technology Inc.  
DS40151D-page 21  
HCS512  
ON-LINE SUPPORT  
Microchip provides on-line support on the Microchip  
World Wide Web (WWW) site.  
Systems Information and Upgrade Hot Line  
The Systems Information and Upgrade Line provides  
system users a listing of the latest versions of all of  
Microchip's development systems software products.  
Plus, this line provides information on how customers  
can receive any currently available upgrade kits.The  
Hot Line Numbers are:  
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 must have access to the Internet  
and a web browser, such as Netscape or Microsoft  
Explorer. Files are also available for FTP download  
from our FTP site.  
1-800-755-2345 for U.S. and most of Canada, and  
1-480-792-7302 for the rest of the world.  
ConnectingtotheMicrochipInternetWebSite  
The Microchip web site is available by using your  
favorite Internet browser to attach to:  
www.microchip.com  
The file transfer site is available by using an FTP ser-  
vice to connect to:  
ftp://ftp.microchip.com  
The web site and file transfer site provide a variety of  
services. Users may download files for the latest  
Development Tools, Data Sheets, Application Notes,  
User’s Guides, Articles and Sample Programs. A vari-  
ety of Microchip specific business information is also  
available, including listings of Microchip sales offices,  
distributors and factory representatives. Other data  
available for consideration is:  
• Latest Microchip Press Releases  
Technical Support Section with Frequently Asked  
Questions  
• Design Tips  
• Device Errata  
• Job Postings  
• Microchip Consultant Program Member Listing  
• Links to other useful web sites related to  
Microchip Products  
• Conferences for products, Development Systems,  
technical information and more  
Listing of seminars and events  
DS40151D-page 22  
2002 Microchip Technology Inc.  
HCS512  
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 documentation  
can better serve you, please FAX your comments to the Technical Publications Manager at (480) 792-4150.  
Please list the following information, and use this outline to provide us with your comments about this Data Sheet.  
To:  
Technical Publications Manager  
Reader Response  
Total Pages Sent  
RE:  
From:  
Name  
Company  
Address  
City / State / ZIP / Country  
Telephone: (_______) _________ - _________  
FAX: (______) _________ - _________  
Application (optional):  
Would you like a reply?  
Y
N
Literature Number:  
DS40151D  
Device:  
HCS512  
Questions:  
1. What are the best features of this document?  
2. How does this document meet your hardware and software development needs?  
3. Do you find the organization of this data sheet easy to follow? If not, why?  
4. What additions to the data sheet do you think would enhance the structure and subject?  
5. What deletions from the data sheet could be made without affecting the overall usefulness?  
6. Is there any incorrect or misleading information (what and where)?  
7. How would you improve this document?  
8. How would you improve our software, systems, and silicon products?  
2002 Microchip Technology Inc.  
DS40151D-page 23  
HCS512  
HCS512 PRODUCT IDENTIFICATION SYSTEM  
To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office.  
HCS512  
/P  
P = Plastic DIP (300 mil Body), 18-lead  
SO = Plastic SOIC (300 mil Body), 18-lead  
Package:  
Temperature  
Range:  
Blank = 0°C to +70°C  
I = -40°C to +85°C  
HCS512  
HCS512T  
Code Hopping Decoder  
Code Hopping Decoder (Tape and Reel)  
Device:  
Sales and Support  
Data Sheets  
Products supported by a preliminary Data Sheet may have an errata sheet describing minor operational differences and recom-  
mended workarounds. To determine if an errata sheet exists for a particular device, please contact one of the following:  
1. Your local Microchip sales office  
2. The Microchip Corporate Literature Center U.S. FAX: (480) 792-7277  
3. The Microchip Worldwide Site (www.microchip.com)  
Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using.  
New Customer Notification System  
Register on our web site (www.microchip.com/cn) to receive the most current information on our products.  
DS40151D-page 24  
2002 Microchip Technology Inc.  
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. — U.S.A.: 5,686,904; R.S.A.: 95/5429  
Information contained in this publication regarding device  
applications and the like is intended through suggestion only  
and may be superseded by updates. It is your responsibility to  
ensure that your application meets with your specifications.  
No representation or warranty is given and no liability is  
assumed by Microchip Technology Incorporated with respect  
to the accuracy or use of such information, or infringement of  
patents or other intellectual property rights arising from such  
use or otherwise. Use of Microchip’s products as critical com-  
ponents in life support systems is not authorized except with  
express written approval by Microchip. No licenses are con-  
veyed, implicitly or otherwise, under any intellectual property  
rights.  
Trademarks  
The Microchip name and logo, the Microchip logo, FilterLab,  
KEELOQ, MPLAB, PIC, PICmicro, PICMASTER, PICSTART,  
PRO MATE, SEEVAL and The Embedded Control Solutions  
Company are registered trademarks of Microchip Technology  
Incorporated in the U.S.A. and other countries.  
dsPIC, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,  
In-Circuit Serial Programming, ICSP, ICEPIC, microID,  
microPort, Migratable Memory, MPASM, MPLIB, MPLINK,  
MPSIM, MXDEV, PICC, PICDEM, PICDEM.net, rfPIC, Select  
Mode and Total Endurance are trademarks of Microchip  
Technology Incorporated in the U.S.A.  
Serialized Quick Turn Programming (SQTP) is a service mark  
of Microchip Technology Incorporated in the U.S.A.  
All other trademarks mentioned herein are property of their  
respective companies.  
© 2002, Microchip Technology Incorporated, Printed in the  
U.S.A., All Rights Reserved.  
Printed on recycled paper.  
Microchip received QS-9000 quality system  
certification for its worldwide headquarters,  
design and wafer fabrication facilities in  
Chandler and Tempe, Arizona in July 1999. The  
Company’s quality system processes and  
procedures are QS-9000 compliant for its  
PICmicro® 8-bit MCUs, KEELOQ® code hopping  
devices, Serial EEPROMs and microperipheral  
products. In addition, Microchip’s quality  
system for the design and manufacture of  
development systems is ISO 9001 certified.  
2002 Microchip Technology Inc.  
DS40151D - page 25  
WORLDWIDE SALES AND SERVICE  
Japan  
AMERICAS  
ASIA/PACIFIC  
Microchip Technology Japan K.K.  
Benex S-1 6F  
3-18-20, Shinyokohama  
Kohoku-Ku, Yokohama-shi  
Kanagawa, 222-0033, Japan  
Tel: 81-45-471- 6166 Fax: 81-45-471-6122  
Corporate Office  
Australia  
2355 West Chandler Blvd.  
Microchip Technology Australia Pty Ltd  
Suite 22, 41 Rawson Street  
Epping 2121, NSW  
Chandler, AZ 85224-6199  
Tel: 480-792-7200 Fax: 480-792-7277  
Technical Support: 480-792-7627  
Web Address: http://www.microchip.com  
Australia  
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755  
Korea  
Rocky Mountain  
China - Beijing  
Microchip Technology Korea  
168-1, Youngbo Bldg. 3 Floor  
Samsung-Dong, Kangnam-Ku  
Seoul, Korea 135-882  
2355 West Chandler Blvd.  
Chandler, AZ 85224-6199  
Tel: 480-792-7966 Fax: 480-792-7456  
Microchip Technology Consulting (Shanghai)  
Co., Ltd., Beijing Liaison Office  
Unit 915  
Bei Hai Wan Tai Bldg.  
Atlanta  
500 Sugar Mill Road, Suite 200B  
Atlanta, GA 30350  
Tel: 82-2-554-7200 Fax: 82-2-558-5934  
No. 6 Chaoyangmen Beidajie  
Beijing, 100027, No. China  
Tel: 86-10-85282100 Fax: 86-10-85282104  
Singapore  
Microchip Technology Singapore Pte Ltd.  
200 Middle Road  
#07-02 Prime Centre  
Singapore, 188980  
Tel: 65-334-8870 Fax: 65-334-8850  
Taiwan  
Microchip Technology Taiwan  
11F-3, No. 207  
Tung Hua North Road  
Taipei, 105, Taiwan  
Tel: 770-640-0034 Fax: 770-640-0307  
China - Chengdu  
Boston  
Microchip Technology Consulting (Shanghai)  
Co., Ltd., Chengdu Liaison Office  
Rm. 2401, 24th Floor,  
Ming Xing Financial Tower  
No. 88 TIDU Street  
Chengdu 610016, China  
Tel: 86-28-6766200 Fax: 86-28-6766599  
China - Fuzhou  
Microchip Technology Consulting (Shanghai)  
Co., Ltd., Fuzhou Liaison Office  
Unit 28F, World Trade Plaza  
No. 71 Wusi Road  
Fuzhou 350001, China  
Tel: 86-591-7503506 Fax: 86-591-7503521  
China - Shanghai  
Microchip Technology Consulting (Shanghai)  
Co., Ltd.  
Room 701, Bldg. B  
Far East International Plaza  
No. 317 Xian Xia Road  
Shanghai, 200051  
Tel: 86-21-6275-5700 Fax: 86-21-6275-5060  
China - Shenzhen  
Microchip Technology Consulting (Shanghai)  
Co., Ltd., Shenzhen Liaison Office  
Rm. 1315, 13/F, Shenzhen Kerry Centre,  
Renminnan Lu  
Shenzhen 518001, China  
Tel: 86-755-2350361 Fax: 86-755-2366086  
2 Lan Drive, Suite 120  
Westford, MA 01886  
Tel: 978-692-3848 Fax: 978-692-3821  
Chicago  
333 Pierce Road, Suite 180  
Itasca, IL 60143  
Tel: 630-285-0071 Fax: 630-285-0075  
Dallas  
4570 Westgrove Drive, Suite 160  
Addison, TX 75001  
Tel: 972-818-7423 Fax: 972-818-2924  
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139  
EUROPE  
Denmark  
Microchip Technology Nordic ApS  
Regus Business Centre  
Lautrup hoj 1-3  
Ballerup DK-2750 Denmark  
Tel: 45 4420 9895 Fax: 45 4420 9910  
Detroit  
Tri-Atria Office Building  
32255 Northwestern Highway, Suite 190  
Farmington Hills, MI 48334  
Tel: 248-538-2250 Fax: 248-538-2260  
Kokomo  
France  
2767 S. Albright Road  
Kokomo, Indiana 46902  
Tel: 765-864-8360 Fax: 765-864-8387  
Los Angeles  
Microchip Technology SARL  
Parc d’Activite du Moulin de Massy  
43 Rue du Saule Trapu  
Batiment A - ler Etage  
91300 Massy, France  
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79  
18201 Von Karman, Suite 1090  
Irvine, CA 92612  
Tel: 949-263-1888 Fax: 949-263-1338  
Germany  
New York  
150 Motor Parkway, Suite 202  
Hauppauge, NY 11788  
Microchip Technology GmbH  
Gustav-Heinemann Ring 125  
D-81739 Munich, Germany  
Tel: 49-89-627-144 0 Fax: 49-89-627-144-44  
Tel: 631-273-5305 Fax: 631-273-5335  
San Jose  
Hong Kong  
Italy  
Microchip Technology Inc.  
2107 North First Street, Suite 590  
San Jose, CA 95131  
Microchip Technology Hongkong Ltd.  
Unit 901-6, Tower 2, Metroplaza  
223 Hing Fong Road  
Kwai Fong, N.T., Hong Kong  
Tel: 852-2401-1200 Fax: 852-2401-3431  
Microchip Technology SRL  
Centro Direzionale Colleoni  
Palazzo Taurus 1 V. Le Colleoni 1  
20041 Agrate Brianza  
Tel: 408-436-7950 Fax: 408-436-7955  
Toronto  
Milan, Italy  
Tel: 39-039-65791-1 Fax: 39-039-6899883  
6285 Northam Drive, Suite 108  
Mississauga, Ontario L4V 1X5, Canada  
Tel: 905-673-0699 Fax: 905-673-6509  
India  
Microchip Technology Inc.  
India Liaison Office  
United Kingdom  
Arizona Microchip Technology Ltd.  
505 Eskdale Road  
Winnersh Triangle  
Wokingham  
Divyasree Chambers  
1 Floor, Wing A (A3/A4)  
No. 11, O’Shaugnessey Road  
Bangalore, 560 025, India  
Tel: 91-80-2290061 Fax: 91-80-2290062  
Berkshire, England RG41 5TU  
Tel: 44 118 921 5869 Fax: 44-118 921-5820  
01/18/02  
DS40151D-page 26  
2002 Microchip Technology Inc.  

相关型号:

HC512T-SO

Consumer IC
ETC

HC5137-030

Regulator, 1 Output, Hybrid,
SPECTRUM

HC5137-030/883

Regulator, 1 Output, Hybrid,
SPECTRUM

HC5137-030/B

Regulator, 1 Output, Hybrid,
SPECTRUM

HC5137-355

Regulator, 1 Output, Hybrid,
SPECTRUM

HC5137-355/883

Regulator, 1 Output, Hybrid,
SPECTRUM

HC5137-355/B

Regulator, 1 Output, Hybrid,
SPECTRUM

HC51R5

HCMOS/TTL COMPATIBLE
CONNOR-WINFIE

HC51R5-FREQ-OUT29

HCMOS/TTL Output Clock Oscillator, 1MHz Min, 70MHz Max
CONNOR-WINFIE

HC51RA

3.3V, 14 PIN DIP HCMOS ENABLE/DISABLE
CONNOR-WINFIE

HC51RA-FREQ-OUT27

HCMOS Output Clock Oscillator, 1MHz Min, 70MHz Max, HERMETICALLY SEALED, WELDED, METAL, DIP-4
CONNOR-WINFIE

HC51U

Crystal Resonator
AEL