Remote control via RF or IR is popular for many applications, including vehicle alarms and automatic garage doors. Conventional remote-control systems are based on unidirectional transmission and have limited security. More sophisticated devices based on bidirectional transmission are also available but are not widely used because of their high cost and other disadvantages.
Popular unidirectional transmission systems currently have two crucial security shortcomings: the codes they transmit are usually fixed, and the number of possible code combinations is relatively small. Either of these shortcomings can lead to unauthorized access. Two conditions are required to implement secure remote-control systems:
The KeeLoq protocol's code-hopping system easily meets both conditions. Its 64-bit transmission code with two to five bits of status information uses a total of 66 to 69 bits to make scanning impossible. The 32-bit encrypted portion provides more than 4 billion code combinations. A complete scan of these code combinations would take 17 years. The hopping code algorithm will never respond to the same code twice over several lifetimes of a typical system.
KeeLoq technology offers two basic types of transmission for authentication: unidirectional and bidirectional transponder.
KeeLoq Unidirectional Transmission, also called KeeLoq code-hopping technology, is a worldwide standard that is used to defeat scanners and grabbers, to provide a simple yet highly secure solution for authentication, Remote Keyless Entry (RKE) or Passive Keyless Entry (PKE) applications. Its features include:
KeeLoq Bidirectional Transponder Transmission, which uses the 125 kHz carrier frequency, is implemented in transponder systems to defeat cloning. The essential features of this transmission are:
A remote-control transmitter is a small radio transmitter typically used in vehicle security systems that transmits a code number on a particular frequency. An integrated circuit encoder normally generates this code number, and the transmit frequency is set by the country in which the code is being used. Due to the simple transmission format, it is easy to build a simple receiver, called a code or key grabber, that can receive signals from these transmitters and record the transmissions for replaying later.
KeeLoq technology supports three levels of security:
Learning involves the receiver calculating the transmitter’s crypt key, decrypting the received hopping code, storing the serial number and synchronizing the counter value and crypt key in EEPROM. The different types of learning are:
All KeeLoq technology devices are programmed using a serial method, which uses CLK, DATA and MCLR for a few devices. This serial mode allows the devices to be programmed in the system or programmer socket, which increases the flexibility of designing cryptographic encoders, decoders and transponders into electronic systems.
The manufacturer’s code, encryption keys and synchronization information are encrypted in the external or internal EEPROM as the devices are memory mapped. The programming voltage range for VDD is +5V ± 10% for all devices.
Note: Devices with on-chip EEPROM do not store encrypted keys; only devices with off-die EEPROM will encrypt information before storing it.
To use our KeeLoq technology encoder and decoder products, you need to be licensed by Microchip. If you are using one of our devices that integrate the KeeLoq technology software, your license is part of your standard terms and conditions of sale.
If you want to integrate the KeeLoq technology encoder or decoder software into another product, you will need to agree to the click-through license agreement terms before you download the software:
Any installation, use or copying of the KeeLoq technology encoder, decoder software or documentation shall also constitute acceptance of license agreement terms. Contact your local Microchip sales representative for additional information.