English
Language : 

HCS512_02 Datasheet, PDF (4/26 Pages) Microchip Technology – KEELOQ® Code Hopping Decoder
HCS512
FIGURE 1-3:
BASIC OPERATION OF RECEIVER (DECODER)
1 Received Information
Button Press
Information
Serial Number
32 Bits of
Encrypted Data
EEPROM Array
Manufacturer Code
2
Check for
Match
3
KEELOQ
Decryption
Algorithm
Serial Number
Sync Counter
Crypt Key
Perform Function
5
Indicated by
button press
Decrypted
Synchronization
Counter
4
Check for
Match
NOTE: Circled numbers indicate the order of execution.
2.0 PIN ASSIGNMENT
PIN
Decoder
Function
I/O (1)
Buffer
Type(1)
Description
1
LRNIN
2
LRNOUT
3
NC
4
MCLR
5
Ground
6
S0
7
S1
I
TTL
Learn input - initiates learning, 10K pull-up required on input
O
TTL
Learn output - indicates learning
—
TTL
Do not connect
I
ST
Master clear input
P
—
Ground connection
O
TTL
Switch 0
O
TTL
Switch 1
8
S2
9
S3
10
VLOW
11
SLEEP
O
TTL
O
TTL
O
TTL
I
TTL
Switch 2
Switch 3
Battery low indication output
Connect to RFIN to allow wake-up from SLEEP
12
CLK
I/O
TTL/ST (2)
Clock in Programming mode and Synchronous mode
13
DATA
I/O
TTL/ST (2)
Data in Programming mode and Synchronous mode
14
VDD
P
—
Power connection
15 OSCOUT (1MHZ)
O
TTL
Oscillator out (test point)
16 OSCIN (4MHz)
I
ST
Oscillator in – recommended values 4.7 kΩ and 22 pF
17
NC
—
—
18
RFIN
I
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.