DM303007 Microchip Technology, DM303007 Datasheet

KIT DEVELOPMENT KEELOQ 3

DM303007

Manufacturer Part Number
DM303007
Description
KIT DEVELOPMENT KEELOQ 3
Manufacturer
Microchip Technology
Type
KeeLoq®r
Datasheet

Specifications of DM303007

Frequency
433.92MHz
Processor To Be Evaluated
PIC16F886
Data Bus Width
8 bit
Interface Type
USB
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC16
Silicon Core Number
PIC16F
Silicon Family Name
PIC16F8xxx
Kit Contents
MCU, 2x Programmable Transmitter Boards, Receiver Board,
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
OQ ®
K
L
3 Development Kit
EE
User’s Guide
© 2009 Microchip Technology Inc.
DS41378A

Related parts for DM303007

DM303007 Summary of contents

Page 1

... © 2009 Microchip Technology Inc. OQ ® 3 Development Kit User’s Guide DS41378A ...

Page 2

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Highlights ..................................................................................................... 17 3.3 Installing the K 3.4 Starting the Program ................................................................................... 17 3.5 Selecting a Device ....................................................................................... 17 3.6 Programming the HCS362 Transmitter. ....................................................... 18 3.6.1 Programming the Part ............................................................................... 20 3.7 Programming the PIC16F636 Transmitter ................................................... 20 3.8 Memory Map for XTEA/AES ......................................................................... 24 © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE OQ Table of Contents ® ...

Page 4

... Introduction .................................................................................................. 35 7.2 Highlights ..................................................................................................... 35 7.3 Main Features .............................................................................................. 35 7.4 PICkit™ 2 Pin Assignments ......................................................................... 36 7.5 Programming the Transmitter ...................................................................... 36 7.6 Transmitter Firmware ................................................................................... 36 Chapter 8. Troubleshooting 8.1 Introduction ................................................................................................... 37 8.2 Frequently Asked Questions ........................................................................ 37 OQ ® Appendix Development Kit Schematics EE DS41378A-page Graphical User Interface .................................. 25 © 2009 Microchip Technology Inc. ...

Page 5

... Chapter 2. “Getting Started” • Chapter 3. “Using the K • Chapter 4. “Using the I • Chapter 5. “K • Chapter 6. “K • Chapter 7. “K • Chapter 8. “Troubleshooting” • Appendix A. “K © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE OQ Preface NOTICE TO CUSTOMERS OQ ® ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2009 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... For the latest information on using other tools, read the tool-specific Readme files in the Readmes subdirectory of the MPLAB IDE installation directory. The Readme files contain update information and known issues that may not be included in this user’s guide. © 2009 Microchip Technology Inc. ® ® ...

Page 8

... Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 and PRO MATE Plus and PICkit™ 1 development programmers. DS41378A-page 4 ® II device programmers and the PICSTART © 2009 Microchip Technology Inc. ® ® ...

Page 9

... Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (March 2009) • Initial Release of this Document. © 2009 Microchip Technology Inc. Preface DS41378A-page 5 ...

Page 10

... Development Kit User’s Guide EE OQ NOTES: DS41378A-page 6 © 2009 Microchip Technology Inc. ...

Page 11

... OQ • PIC16F636 K • HCS362 K EE • 433.92 MHz ASK receiver board • Documentation and software CD-ROM • Optional PICkit 2 Programmer/Debugger • Optional USB cable • Optional PICkit Serial Analyzer © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE OQ ® Development Kit Overview ...

Page 12

... L 3 DEVELOPMENT KIT EE OQ Standard 9-volt power connector PICkit™ 2 programming header PICkit Serial header Radio receiver connector (PICtail™ compatible) Generous prototyping area LEDs Push-Buttons (3 buttons) LCD display (2*16 characters) PIC16F886 L Kit. The received EE OQ © 2009 Microchip Technology Inc. ...

Page 13

... The module characteristics are: • Single channel, fixed frequency of 433.92 MHz • ASK modulation • Baud rate: 4800bps For more information on the rfRXD0420 receiver module, please refer to the technical brief TB070. © 2009 Microchip Technology Inc. ® Development Kit Overview EE OQ ...

Page 14

... The RF transmitters use a simple Colpitts oscillator driven by a SAW (Surface Acoustic Wave) resonator. Both transmitters are powered by a CR2032 or equivalent 3V battery (not included in the kit). DS41378A-page 10 RFRXD0420 RECEIVER BOARD TRANSMITTER BOARD L hardware encoder OQ © 2009 Microchip Technology Inc. ...

Page 15

... The I C GUI uses the PICkit Serial Analyzer connected to the controller to communicate and display the results on the PC. More details can be found in Chapter 4. “Using the I2C™ GUI Interface Demo Tool”. © 2009 Microchip Technology Inc. ® Development Kit Overview EE OQ ® ...

Page 16

... Development Kit User’s Guide EE OQ NOTES: DS41378A-page 12 © 2009 Microchip Technology Inc. ...

Page 17

... Starting the K 2 • Basic I C communication • Source code 2.3 SETTING UP THE K EE Plug the radio board into the PICtail 14 pin connector as shown in Figure 2-1 below: FIGURE 2-1: Connect the controller power supply. © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT ...

Page 18

... Install a 3V CR2032 or equivalent battery on the PIC16F636 transmitter board. Press any button on the transmitter board. LED-D4 will flash and the serial number and the decoded transmitted information will appear on the LCD display. DS41378A-page 14 LCD SCREEN – WELCOME MESSAGE © 2009 Microchip Technology Inc. ...

Page 19

... The installer software installs everything automatically. Once the installer software begins you must accept the Microchip License Agreement in order to proceed with the installation process. More details can be found in Chapter 3. “Using the K MPLAB Plug-In”. © 2009 Microchip Technology Inc. LCD SCREEN WITH DECODED INFORMATION L 3 DEVELOPMENT KIT SOFTWARE OQ ...

Page 20

... IDE (navigate to Start > All Programs > Microchip > MPLAB IDE v8. Development Kit I C Graphical User Interface by navigating Development Kit > click Development Kit I C Graphical User Interface, navigate to Start Development Kit > click related Development Kit GUI. C Graphical User Interface 2 C GUI VB © 2009 Microchip Technology Inc. ...

Page 21

... The plug-in can be used with or without having a currently loaded project (workspace). 3.5 SELECTING A DEVICE In the MPLAB K Click on an item in the left side tree. The right side of the Main window changes according to the current selected item. © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE ...

Page 22

... The HCS362 transmitter only supports traditional K DS41378A-page 18 L Plug-in supports direct programming of the HCS362 transmitter OQ L menu Programmer menu OQ L plug-in and the MPLAB current programmer. If using the same OQ L plug-in. Different programmers can be used at the same time plug-in is independent encryption © 2009 Microchip Technology Inc. ...

Page 23

... Cyclic Redundancy Check code used by the decoder to verify the integrity of a code word. Selecting Time bits will send different bit patterns at different points in time when pressing and holding a button. This permits multiple functions obtained from the same function code. © 2009 Microchip Technology Inc. 3 Development Kit MPLAB Plug-In Description DS41378A-page 19 ...

Page 24

... DS41378A-page 20 L /AES source codes are provided by Microchip under the plug-in cannot directly program the microcontroller in the same OQ . Otherwise, the E L Software encoder software encoder plug-in can export the EE OQ © 2009 Microchip Technology Inc. ...

Page 25

... PLL Interface Select Choose between ASK and FSK for the PLL Interface. Minimum Code Words Used to select the minimum number of code words transmitted when the device is activated. © 2009 Microchip Technology Inc. 3 Development Kit MPLAB Plug-In Description or 10xT . E ...

Page 26

... Queue counter : 7--- ---- Start/Stop Pulse Enable 0x1D Discrimination value 8 LSB 0x1E 0x1F 0x20 0x21 64-bit encryption key. MSB first 0x22 0x23 0x24 0x25 DS41378A-page 22 L OPTIONS plug-in uses the following memory EE OQ Encoder Encoder 1 Encoder 2 Encoder 1 © 2009 Microchip Technology Inc. ...

Page 27

... LED On Time Select (Encoder 1) Once you have selected all the required options you can export the memory map to the EEPROM memory by pressing the EEPROM export button. © 2009 Microchip Technology Inc. 3 Development Kit MPLAB Plug-In Minimum Code Words Value Dual Encoder RF Enable Output Select Time-out Select Value2 Time(s) 2 ...

Page 28

... Depending on the seed length, the key generation algorithm changes accordingly. DS41378A-page 24 L /AES transmitter. The full version plug-in advanced trans © 2009 Microchip Technology Inc. ...

Page 29

... C Graphical User Interface (GUI) • how to use the I 4.3 OVERVIEW: INSTALLING THE I Insert the K EE CD-ROM directory and find the Setup.exe file located in the I Follow the direction on the screen to install the I © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT C™ GUI Interface Demo Tool ® ...

Page 30

... If the connection to the controller board is correct, then the message box in the middle will read (Figure 4-3): FIGURE 4-3: DS41378A-page Graphical User Interface requires the Microsoft 2 C mode. The controller board is configured slave node. THE GUI WINDOW MESSAGE BOX READING ® .NET Framework © 2009 Microchip Technology Inc. ...

Page 31

... Checking the Continuous Read box will send a read request to the controller board every 300 ms. The information on the current last transmission is sent to the GUI at this rate. FIGURE 4-4: © 2009 Microchip Technology Inc. 2 C™ GUI Interface Demo Tool Test Buffer 01234567 ...

Page 32

... Transmitters) tells the controller to erase all previously learned transmitters. For more information on I application note AN1248, “PIC MCU-Based C”. DS41378A-page communication protocol specific commands used to communicate with the controller board Buffer 2 C and K L decoding application, please refer to the Receiver System Interfaced via © 2009 Microchip Technology Inc. ...

Page 33

... The communication is done using the I which case the PICkit Serial Analyzer is the master device and the board acts slave I C device. The pin assignments are shown in Figure 5-1. FIGURE 5-1: Note: © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE OQ ® ...

Page 34

... D4 LED will turn off. • now, the controller will be able to respond to the learned transmitter. This is confirmed by the D1-D4 LEDs corresponding to the four buttons on the remote control. DS41378A-page 30 PICkit™ 2 PIN ASSIGNMENTS Pin Description /MCLR Target (ground ICSPDAT/PGD 5 = ICSPCLK/PGC 6 = Auxiliary © 2009 Microchip Technology Inc. ...

Page 35

... The prototyping area includes convenient V custom circuitry. The user must ensure that the Prototype area custom circuit current draw added to the controller board consumption does not exceed the 100 mA total limit. © 2009 Microchip Technology Inc. ® L Development Kit Controller ...

Page 36

... Development Kit User’s Guide EE OQ NOTES: DS41378A-page 32 © 2009 Microchip Technology Inc. ...

Page 37

... A guard period is usually left between the transmissions. During this period nothing is transmitted by the encoder. © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT ...

Page 38

... The LCD will display the serial number and the encrypted section (already decrypted) of the last received transmission. When a new transmission is received, the display is automatically updated. DS41378A-page 34 ® PWM TRANSMISSION FORMAT AES or XTEA radio packet received by the radio receiver module decoder. The Development Kit master device (the PICkit © 2009 Microchip Technology Inc. ...

Page 39

... Four selectable baud rates • PWM, VPWM, PPM and Manchester modulation The included CD also contains software for a K encoder, which include a larger serial number and crypt keys. All other functionality remains the same. © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT ...

Page 40

... TRANSMITTER FIRMWARE The PIC16F636 transmitter is based software encoder. The source code is available on the K CD-ROM. DS41378A-page 36 PICkit™ 2 PIN ASSIGNMENTS MCLR GND ICSPDAT ICSPCLK NC L encoder firmware and thus plug-in allows fully Development Kit EE OQ © 2009 Microchip Technology Inc. ...

Page 41

... A: Yes, provided that the programmer hardware is only selected for the K and the MPLAB main software uses another programmer (or none the No, you need to load the source code project first. For the PIC16F636, the K plug-in can only export EEPROM data. © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE ...

Page 42

... Development Kit User’s Guide EE OQ NOTES: DS41378A-page 38 © 2009 Microchip Technology Inc. ...

Page 43

... Appendix FIGURE A-1: LAYOUT OF THE K © 2009 Microchip Technology Inc. ® DEVELOPMENT KIT EE OQ ® Development Kit Schematics OQ L EVALUATION KIT III CONTROLLER BOARD EE OQ LED_K LED_A DB7 LCD7 LCD6 DB6 DB5 LCD5 LCD4 DB4 DB3 GND DB2 VR1 DB1 DD V DB0 ...

Page 44

... Development Kit User’s Guide EE OQ FIGURE A-2: RECEIVER BOARD DS41378A-page OUT_OA IF1N OAN IF1P OAP SS V RSSI IN_MIX1 VSS OUT_LNA OUTP NC GAIN_LNA NC OUTN SS V © 2009 Microchip Technology Inc. ...

Page 45

... K EE FIGURE A-3: HCS362 HARDWARE ENCODER TRANSMITTER BOARD © 2009 Microchip Technology Inc. ® Development Kit Schematics OQ U2 GND GND C1 1n Antenna GND C4 470p S1* C2 GND C3 8p2 1p2 GND BFS17 R3 150 GND PICkit™ GND J2 GND DS41378A-page 41 ...

Page 46

... Development Kit User’s Guide EE OQ FIGURE A-4: PIC16F636 SOFTWARE ENCODER TRANSMITTER BOARD Antenna S1* BFS17 DS41378A-page 42 GND GND GND C4 470p C2 GND C3 1p2 8p2 GND T1 R3 150 SAW_R960 GND PICkit™ GND GND J2 GND © 2009 Microchip Technology Inc. ...

Page 47

... NOTES: © 2009 Microchip Technology Inc. ® 3 Development Kit User’s Guide OQ DS41378A-page 43 ...

Page 48

... Fax: 886-3-6578-370 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2009 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords