• Part: AN652
  • Description: Code Hopping Decoder Using Secure Learn
  • Manufacturer: Microchip Technology
  • Size: 180.71 KB
Download AN652 Datasheet PDF
Microchip Technology
AN652
AN652 is Code Hopping Decoder Using Secure Learn manufactured by Microchip Technology.
FEATURES - Stand alone decoder - patible with Microchip HCS200, HCS300, HCS301, HCS360, and HCS361 encoders - Automatic bit rate detection - Automatic encoder type detection - Four function outputs - Six learnable transmitters - RC Oscillator OVERVIEW This application note fully describes the working of a code hopping decoder implemented on a Microchip PIC16C56 microcontroller. This decoder uses the secure learn (seed-based) method of learning new transmitters. This application note describes the various KEELOQ code hopping encoders that can be used with the decoder, the decoder hardware, and the various software modules prising the system. The software can be used to implement a stand alone decoder or integrate with full function security systems. The decoder supports the Microchip HCS200, HCS300, HCS301, HCS360, and HCS361 KEELOQ code hopping encoders. FIGURE 1: LEARN INIT LEARN IND Vcc MCLR GND S0 S1 S2 S3 PIC16C56 KEELOQ DECODER 1 2 3 PIC16C56 Secure Learn Decoder 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 RFIN NC OSC OUT OSC IN Vcc BUT LRNT EE CS EE CK EE DIO THE INFORMATION CONTAINED IN THIS DOCUMENT IS PROPRIETARY AND CONFIDENTIAL INFORMATION OF MICROCHIP TECHNOLOGY INC. THEREFORE, ALL PARTIES ARE REQUIRED TO ENTER INTO A NONDISCLOSURE AGREEMENT BEFORE RECEIVING THIS DOCUMENT. KEELOQ is a registered trademark of Microchip Technology Inc. © 1996 Microchip Technology Inc. DS00652B_C-page 1 This document was created with Frame Maker 4 0 4 INTRODUCTION TO KEELOQ ENCODERS All KEELOQ encoders use the KEELOQ code hopping technology to make each transmission by an encoder unique. The encoder transmissions have two parts. The first part changes each time the encoder is activated and is called the hopping code part and is encrypted. The second part is the unencrypted part of the transmission, principally containing the encoder’s serial number identifying it to a decoder. Refer to DS91002, Introduction to KEELOQ. Unencrypted Code Serial Number The encoder’s...