HCS500-ISM MICROCHIP [Microchip Technology], HCS500-ISM Datasheet - Page 8

no-image

HCS500-ISM

Manufacturer Part Number
HCS500-ISM
Description
KEELOQ CODE HOPPING ENCODER
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
HCS500
4.2
4.2.1
The microcontroller command consists of four parts.
The first part activates the command mode, the second
part is the actual command, the third is the address
accessed, and the last part is the data. The microcon-
troller starts the command by taking the clock line high
for up to 500 ms. The decoder acknowledges the start-
up sequence by taking the data line high. The micro-
controller takes the clock line low, after which the
decoder will take the data line low, tri-state the data line
and wait for the command to be clock in. The data must
be set up on the rising edge and will be sampled on the
falling edge of the clock line.
FIGURE 4-3:
DS40153B-page 8
HCS500
C Data
Data
CLK
Command Mode
MICROCONTROLLER COMMAND MODE
ACTIVATION
A
T
T
Start Command
REQ
RESP
MICROCONTROLLER COMMAND MODE ACTIVATION
T
T
START
ACK
B
LSB
T
CLKL
Command Byte
T
CLKH
MSB
Preliminary
T
CMD
T
DS
C
LSB
4.2.2
The HCS500 uses collision detection to prevent
clashes between the decoder and microcontroller.
Whenever the decoder receives a valid transmission
the following sequence is followed:
• The decoder first checks to see if the clock line is
• The decoder takes the data line high and checks
• If the clock line goes high after 50 s but before
• The microcontroller can then start to clock out the
high. If the clock line is high, the valid transmis-
sion notification is aborted, and the microcontrol-
ler command mode request is serviced.
that the clock line doesn’t go high within 50 s . If
the clock line goes high, the valid transmission
notification is aborted and the command mode
request is serviced.
500 ms, the decoder will acknowledge by taking
the data line low.
80-bit data stream of the received transmission.
Address Byte
COLLISION DETECTION
MSB
T
ADDR
D
LSB
1997 Microchip Technology Inc.
Data Byte
MSB
T
DATA
E

Related parts for HCS500-ISM