HCS412I MICROCHIP [Microchip Technology], HCS412I Datasheet - Page 18

no-image

HCS412I

Manufacturer Part Number
HCS412I
Description
KEELOQ Code Hopping Encoder and Transponder
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
HCS412
4.0
4.1
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
• Read selected EEPROM areas.
• Write selected EEPROM areas.
• Request a code hopping transmission.
• Proximity Activation of a code hopping transmis-
4.2
The transponder reader initiates each communication
by turning on the low frequency field, then waits for a
HCS412 to Acknowledge the field.
The HCS412 enters IFF mode upon detecting a signal
on the LC0 LF antenna input pin. Once the incoming
signal has remained high for at least the power-up time
T
sequence indicating that the it has detected the LF
field, is in IFF Mode and is ready to receive commands
(Figure 4-1). The HCS412 will repeat the field Acknowl-
edge sequence every 255 LF
but no command is received (Figure 4-1).
The transponder reader follows the HCS412’s field
Acknowledge by sending the desired 5-bit command
and associated data. LF commands are always pre-
ceded by a 2 LF
Position Modulated (PPM) as shown in Figure 4-2. The
last command or data bit should be followed by leaving
the field on for a minimum of 6 LF
HCS412 PPM data responses are preceded by a 1
LF
data begins (Figure 4-4). The responses are sent either
on the LC antenna output alone or on both the LC out-
put and the DATA pin, depending on the device config-
uration (Section 4.4.2). This allows for short-range LF
responses as well as long-range RF responses.
Data to and from the HCS412 is always sent Least Sig-
nificant bit first. The data length and modulation format
vary according to the command and the transmission
path.
Data Length and Commands:
• Read and Write transfers 16 bits of data.
• Challenge and Response transfers 32 bits of data.
Modulation Format and Transmission Path:
• LF responses on the LC output are Pulse Position
DS41099C-page 18
PU
for IFF validation. HCS412 IFF responses may be
directed to use one of two available encryption
algorithms and one of two available crypt keys.
sion.
Modulated (PPM) according to Figure 4-2.
TE
, the device responds with a field Acknowledge
low pulse, followed by a 01b preamble before the
TRANSPONDER OPERATION
IFF Mode
IFF Communication
TE
low START pulse and are Pulse
TE
‘s if the field remains
TE
.
Preliminary
• RF responses on the DATA pin modulate accord-
Communication with the HCS412 over the low fre-
quency path (LC pins) uses a basic Timing Element,
LF
LFBSL, sets LF
(Table 4-1).
The response on the DATA pin uses the Encoder
mode’s RF Timing Element (RF
format set by the MOD configuration option (Table 3-6).
The RF responses use the standard Encoder mode for-
mat with the 32-bit hopping portion replaced by the
response data (Figure 4-19). If the response is only 16
bits, the 32 bits will contain 2 copies of the response
(Figure 4-16).
TABLE 4-1:
4.2.1
The HCS412’s internal oscillator will vary ±10% over
the device’s rated voltage and temperature range.
When the oscillator varies, both its transmitted T
expected T
Communication reliability with the token may be
improved by calculating the HCS412’s T
Acknowledge sequence and using this measured time
element in communication to and in reception routines
from the token.
Always begin and end the time measurement on rising
edges. Whether LF or RF, the falling edge decay rates
may vary but the rising edge relationships should
remain consistent. A common T
would be to time an 8 T
value down to determine the single T
measurement will give good resolution and may be
easily right-shifted (divide by 2) three times for the math
portion of the calculation (Figure 4-1).
Accurately measuring T
ing to an HCS412 as well as for inductive programming
a device. The configuration word sent during program-
ming contains the 4-bit oscillator tuning value. Accu-
rately determining T
calculate the correct oscillator tuning bits to place in the
configuration word, whether the device oscillator needs
to be sped up or slowed down to meet its desired T
ing to standard encoder transmissions
(Figure 3-5, Figure 3-6).
TE
LFBSL
. The Low Frequency Baud Rate Select option,
0
1
CALCULATING COMMUNICATION TE
E
when receiving will vary.
TE
LOW FREQUENCY BAUD
RATE SELECT BITS
to either 100
E
E
allows the programmer to
E
is important for communicat-
2002 Microchip Technology Inc.
sequence, then divide the
200 s
100 s
TE
LF
E
) and the modulation
TE
calculation method
E
value. An 8 T
s or 200
E
from the field
E
and
E
.
E
s

Related parts for HCS412I