Overview: M
Author: AN744
FIGURE 1: Modular Mid-Range PICmicro® KEELOQ® Decoder in C
DECODER PIN OUT
1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 NU NU VLOW LEARNOUT OUT3 OUT2 OUT1 OUT0 VDD VSS NU NU NU NU Lucio Di Jasio Microchip Technology Inc. MCLR LRNOUT RFIN NU NU LEARN NU VSS OSCIN OSCOUT NU NU NU OVERVIEW
This application note describes a KEELOQ code hopping decoder implemented on a Microchip Mid-range Enhanced FLASH MCU (PIC16F872). The software has been designed as a group of independent modules (standard C source files "C" ). For clarity and ease of maintenance, each module covers a single function. Each module can be modified to acmodate a different behavior, support a different MCU, and/or a different set of peripherals (memories, timers, etc.).