MICROCHIP DS70093A Technical data

rfPIC
Development Kit 1
User’s Guide
© 2003 Microchip Technology Inc. Preliminary DS70093A
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, K
EELOQ,
MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Accuron, Application Maestro, dsPIC, dsPICDEM, dsPICDEM.net, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
Serialized Quick Turn Programming (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.
© 2003, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999. The Company’s quality system processes and procedures are QS-9000 compliant for its PICmicro devices, Serial EEPROMs and microperipheral products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001 certified.
®
8-bit MCUs, KEELOQ
®
code hopping
DS70093A - page ii Preliminary © 2003 Microchip Technology Inc.
rfPIC™ Development Kit 1
User’s Guide
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. Getting Started
1.1 Introduction ..................................................................................................... 5
1.2 Highlights ........................................................................................................ 5
1.3 rfPIC Development Kit 1 Contents ................................................................. 5
1.4 Getting Started with the rfPIC Development Kit 1 .......................................... 6
1.4.1 Preparing the Receiver Module for Operation ................................. 6
1.4.2 Preparing the Transmitter Module for Operation ............................. 7
1.4.3 Demonstration Operation ................................................................ 7
1.5 Demonstration Programs and HEX Files ....................................................... 7
Chapter 2. Demonstration Programs
2.1 Introduction ..................................................................................................... 9
2.2 Highlights......................................................................................................... 9
2.3 About the Demonstration Programs ............................................................... 9
2.4 XMIT_DEMO ................................................................................................ 10
2.5 RCVR_DEMO .............................................................................................. 10
2.6 RCVR_ANALOG_DISPLAY ......................................................................... 10
2.7 XMIT_TEST................................................................................................... 11
2.7.1 Peak Power Measurement ............................................................ 11
2.7.2 Data Modulation and Bandwidth Measurement ............................. 11
2.8 Presentation Pal ........................................................................................... 11
2.8.1 USB Firmware - pres_pal.hex ....................................................... 11
2.8.2 Transmitter Firmware - prespal_xmit.hex ...................................... 12
2.9 Programming Templates .............................................................................. 12
Chapter 3. rfRXD0420 Receiver Module
3.1 Introduction ................................................................................................... 13
3.2 Highlights ...................................................................................................... 13
3.3 rfRXD0420 Description ................................................................................. 14
3.4 rfRXD0420 Schematic .................................................................................. 15
3.5 PCB Layout .................................................................................................. 16
3.6 Gerber Files .................................................................................................. 16
3.7 rfRXD0420 Receiver Module Bill-of-Materials .............................................. 17
3.8 Third Party Component Suppliers ................................................................. 18
© 2003 Microchip Technology Inc. Preliminary DS70093A-page iii
rfPIC™ Development Kit 1 User’s Guide
Chapter 4. rfPIC12F675 Transmitter Module
4.1 Introduction ................................................................................................... 19
4.2 Highlights ...................................................................................................... 19
4.3 rfPIC12F675 Description .............................................................................. 19
4.3.1 Power Requirements ..................................................................... 20
4.3.2 Programming the rfPIC12F675 ...................................................... 20
4.3.3 Optional 8-pin Socket U2 ............................................................... 20
4.4 rfPIC12F675 Schematic ............................................................................... 22
4.5 PCB Layout .................................................................................................. 23
4.6 Gerber Files .................................................................................................. 24
4.7 rfPIC12F675 Transmitter Module Bill-of-Materials ....................................... 25
4.8 Third Party Component Suppliers ................................................................ 26
Chapter 5. Troubleshooting
5.1 Introduction ................................................................................................... 27
5.2 Frequently Asked Questions ........................................................................ 27
5.2.1 Devices on the PICkit™ Starter Kit Have No Power? ................... 27
5.2.2 Programmer Not Found ................................................................. 28
5.2.3 Insert Device .................................................................................. 28
5.2.4 Checksum Verify Failed ................................................................. 29
Worldwide Sales and Service .....................................................................................32
DS70093A-page iv Preliminary © 2003 Microchip Technology Inc.
INTRODUCTION
HIGHLIGHTS
rfPIC™ Development Kit 1
User’s Guide

Preface

This chapter contains general information about this user’s guide and customer support that will be useful prior to using the rfPIC™ Development Kit 1.
Items discussed in this Preface are:
• About this Guide
• Warranty Registration
• Recommended Reading
• Troubleshooting
• Microchip On-Line Support
• Customer Change Notification Service
• Customer Support
ABOUT THIS GUIDE
This document describes how to use the rfPIC Development Kit 1. The manual layout is as follows:
Chapter 1: Getting Started – Step by step instructions on how to use your rfPIC
Development Kit 1.
Chapter 2: Demonstration Programs – Programs to familiarize the developer with
the rfPIC and rfRXD products and provide a starting point for future development.
Chapter 3: rfRXD0420 Receiver Module – Description, schematics, PCB layout,
and Bill-of-Materials.
Chapter 4: rfPIC12F675 Transmitter Module – Description, schematics, PCB
layout, and Bill-of-Materials.
Chapter 5: Troubleshooting – This chapter describes common problems
associated with using the rfPIC Development Kit 1 and steps on how to resolve them.
Worldwide Sales and Service – A list of Microchip sales and service locations
and telephone numbers worldwide.
© 2003 Microchip Technology Inc. Preliminary DS70093A-page 1
rfPIC™ Development Kit 1 User’s Guide
Conventions Used in This Guide
This manual uses the following documentation conventions:
TABLE 1: DOCUMENTATION CONVENTIONS
Description Represents Examples
Code (Courier font):
Plain characters Sample code
Filenames and paths
Angle brackets: < > Variables <label>, <exp>
Square brackets [ ] Optional arguments MPASMWIN [main.asm]
Curly brackets and pipe character: { | }
Lower case characters in quotes
Ellipses... Used to imply (but not show)
0xnnn A hexadecimal number where n is a
Italic characters A variable argument; it can be either a
Interface (Arial font):
Underlined, italic text with right arrow
Bold characters A window or dialog button to click OK, Cancel
Characters in angle brackets < >
Documents (Arial font):
Italic characters Referenced books
Choice of mutually exclusive arguments; An OR selection
Type of data
additional text that is not relevant to the example
hexadecimal digit
type of data (in lower case characters) or a specific example (in upper case characters).
A menu selection from the menu bar File > Save
A key on the keyboard <Tab>, <Ctrl-C>
#define START c:\autoexec.bat
errorlevel {0|1}
"filename"
list
"list_option...,
[
"list_option"]
0xFFFF, 0x007A
char isascii (char, ch);
®
MPLAB
IDE User’s Guide
Documentation Updates
All documentation becomes dated, and this user’s guide is no exception. Since the rfPIC™ Development Kit 1 User’s Guide and other Microchip tools are constantly evolving to meet customer needs, some rfPIC Development Kit 1 actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site to obtain the latest documentation available.
Documentation Numbering Conventions
Documents are numbered with a “DS” number. The number is located on the bottom of each page, in front of the page number. The numbering convention for the DS Number is: DSXXXXXA,
where:
XXXXX = The document number.
A = The revision level of the document.
DS70093A-page 2 Preliminary © 2003 Microchip Technology Inc.
WARRANTY REGISTRATION
Please complete the enclosed Warranty Registration Card and mail it promptly. Sending in your Warranty Registration Card entitles you to receive new product updates. Interim software releases are available at the Microchip web site.
RECOMMENDED READING
Other useful documents are listed below:
rfPIC12F675K/675F/675H Data Sheet (DS70091)
Consult this document for information regarding the rfPIC12F675 20-pin FLASH-based 8-bit CMOS microcontroller with UHF ASK/FSK transmitter device specifications.
rfRXD0420/0920 Data Sheet (DS70090)
Consult this document for information regarding the rfRXD0420 UHF ASK/FSK/FM receiver device specifications.
PIC12F629/675 Data Sheet (DS41190)
Consult this document for information regarding the PIC12F629/675 8-pin FLASH-based 8-bit CMOS microcontroller device specifications.
PIC16F630/676 Data Sheet (DS40039)
Consult this document for information regarding the PIC16F630/676 14-pin FLASH-based 8-bit CMOS microcontroller device specifications.
PICkit 1 FLASH Starter Kit User’s Guide (DS40051)
Consult this document for information regarding the PICkit 1 FLASH Starter Kit.
MPLAB
Consult this document for more information pertaining to the installation and features of the MPLAB Integrated Development Environment (IDE) Software.
To obtain these documents, contact the nearest Microchip sales location (see back page). These documents are also available on the Microchip web site at: www.microchip.com.
Application Notes
There are several application notes for the rfPIC products available on the rfPIC™ Development Kit CD-ROM.
Microsoft
This manual assumes that users are familiar with the Microsoft Windows operating system. Many excellent references exist for this software program, and should be consulted for general operation of Windows.
®
IDE User’s Guide (DS51025)
®
Windows® Manuals
Preface
TROUBLESHOOTING
See Chapter 5. "Troubleshooting" for information on common problems.
THE MICROCHIP INTERNET WEB SITE
Microchip provides easy access to our documentation and on-line support through our World Wide Web Site at www.microchip.com. You can download files from the web site or from our FTP site at ftp://ftp.microchip.com
© 2003 Microchip Technology Inc. Preliminary DS70093A-page 3
rfPIC™ Development Kit 1 User’s Guide
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Corporate Applications Engineer (CAE)
• Hot line
Customers should call their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. See the back cover for a listing of sales offices and locations.
Corporate Applications Engineers (CAEs) may be contacted at (480) 792-7627.
In addition, there is a Systems Information and Upgrade Line. This line provides system users a listing of the latest versions of all of Microchip's development systems software products. Plus, this line provides information on how customers can receive any cur­rently available upgrade kits.
The Hot Line Numbers are:
• 1-800-755-2345 for U.S. and most of Canada, and
• 1-480-792-7302 for the rest of the world
CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip started the customer notification service to help customers stay current on Microchip products with the least amount of effort. Once you subscribe, you will receive E-mail notification whenever we change, update, revise or have errata related to your specified product family or development tool of interest.
Go to the Microchip web site (www.microchip.com) and click on Customer Change Notification. Follow the instructions to register.
The Development Systems product group categories are:
• Compilers
• Emulators
• In-Circuit Debuggers
• MPLAB
• Programmers
Here is a description of these categories:
Compilers – The latest information on Microchip C compilers and other language tools. These include the MPLAB MPASM and MPLIB
Emulators – The latest information on Microchip in-circuit emulators. This includes the MPLAB
In-Circuit Debuggers – The latest information on Microchip in-circuit debuggers. These include the MPLAB
MPLAB – The latest information on Microchip MPLAB Development Environment for development systems tools. This list is focused on the MPLAB and debugging features.
Programmers – The latest information on Microchip device programmers. These include the PRO MATE programmer.
®
IDE
®
and MPLAB ASM30 assemblers; MPLINK™ and MPLAB® LINK30 linkers;
and MPLAB® LIB30 librarians.
®
ICE 2000.
®
®
IDE, MPASM™ simulator, MPLAB IDE Project Manager and general editing
®
II device programmer and PICSTART® Plus development
C17, MPLAB® C18 and MPLAB® C30 C Compilers;
ICD and MPLAB ICD 2.
®
IDE, the Windows® Integrated
DS70093A-page 4 Preliminary © 2003 Microchip Technology Inc.

1.1 INTRODUCTION

rfPIC™ Development Kit 1
User’s Guide

Chapter 1. Getting Started

The rfPIC Development Kit 1 is a demonstration and development kit for the rfPIC12F675K and rfPIC12F675F PICmicro transmitters and rfRXD0420 UHF ASK/FSK/FM receiver. The transmitter and receiver modules are designed to plug into the PICkit™ 1 FLASH Starter Kit expansion header J3 for a low-cost development system.

1.2 HIGHLIGHTS

This chapter discusses:
• rfPIC Development Kit 1 Contents
• Getting Started with the rfPIC Development Kit 1
• Demonstration Programs and HEX Files

1.3 rfPIC DEVELOPMENT KIT 1 CONTENTS

The rfPIC Development Kit 1 contains the following items:
1. rfPIC12F675K 315 MHz Transmitter Module
2. rfPIC12F675F 433.92 MHz Transmitter Module
3. rfRXD0420 315 MHz Receiver Module
4. rfRXD0420 433.92 MHz Receiver Module
5. Programmed PIC16F676
6. rfPIC™ Development Kit 1 Quick Start Guide
7. rfPIC™ Development Kit 1 CD-ROM
8. PICkit 1 FLASH Starter Kit Printed Circuit Board
9. USB Cable
10. PICkit™
11. MPLAB
1 FLASH Starter Kit CD-ROM
®
IDE CD-ROM
®
microcontrollers with UHF ASK/FSK
© 2003 Microchip Technology Inc. Preliminary DS70093A-page 5
rfPIC™ Development Kit 1 User’s Guide

1.4 GETTING STARTED WITH THE rfPIC DEVELOPMENT KIT 1

The transmitter modules come pre-programmed with a transmitter demonstration. The enclosed PIC16F676 is programmed with a receiver demonstration program. Together they demonstrate an on-off command and control application.
The PICkit platform for the transmitter and receiver modules.
To see your rfPIC Development Kit 1 in action, perform the following steps:
1 FLASH Starter Kit serves as a low-cost development and demonstration
1.4.1
Preparing the Receiver Module for Operation
Step 1:
Familiarize yourself with the PICkit 1 FLASH Starter Kit operation by reading the PICkit™ 1 FLASH Starter Kit User’s Guide (DS40051) and performing some of the tutorials. Familiarity with the PICkit Starter Kit will be assumed throughout this user’s guide.
Step 2: Remove power from the PICkit Starter Kit by disconnecting the USB cable.
Step 3:
Remove the PIC12F675 from the PICkit Starter Kit evaluation socket.
Step 4: Insert the PIC16F676 into the PICkit Starter Kit evaluation socket. See Figure 1-1.
Step 5: Insert a receiver module (315 or 433.92 MHz) into the PICkit Starter Kit expansion
header J3. Make certain that the receiver module is oriented correctly. See Figure 1-1.
Step 6: Insert the wire antenna into the antenna connector on the receiver module. See
Figure 1-1. The wire antenna length is determined by the receive frequency. For the corresponding frequency, insert the following wire antenna:
Frequency Antenna Length
315 MHz 9-3/8”
433.92 MHz 6-3/4”
FIGURE 1-1: rfPIC RECEIVER DEMONSTRATION
Wire Antenna
Expansion
USB Cable
LED D1
DS70093A-page 6 Preliminary © 2003 Microchip Technology Inc.
Header (J3)
rfRXD Receiver Module
LED D0
Insert PIC16F676
PICkit™ FLASH Starter Kit
Getting Started
Step 7: Power-on the PICkit Starter Kit by connecting the USB cable to a personal computer or
externally powered USB hub.
Note: There is no interaction between the receiver demonstration program in the
PIC16F676 and the personal computer.
The receiver module is ready for operation.
1.4.2
Preparing the Transmitter Module for Operation
Step 1: Select the transmitter module that matches the receive frequency of the receiver
module installed in the PICkit Starter Kit.
Step 2: Power-on the transmitter module by positioning the shunt jumper to the batt position on
P1 (between center pin and batt pin). See Figure 1-2.
The transmitter module is ready for operation.
FIGURE 1-2: rfPIC TRANSMITTER DEMONSTRATION
Jumper
rfPIC12F675
P1
PICkit™ Batt
GP0 GP1
Pwr Sel P1
GP3 GP4
rfPIC™ Transmitter Module
1.4.3
Demonstration Operation
The demonstration program is a simple on-off command and control application. Press­ing push button GP3 (SW2) on the transmitter module lights LED D0 on the PICkit Starter Kit. Pressing push button GP4 (SW1) lights LED D1.

1.5 DEMONSTRATION PROGRAMS AND HEX FILES

Additional demonstration programs are provided on the rfPIC™ Development Kit 1 CD-ROM. Chapter 2 provides an explanation of each program. HEX files and program source code are provided. The HEX files can be programmed into the rfPIC transmitter and receiver modules using the PICkit 1 FLASH Starter kit. The source code can be modified and compiled using the MPLAB software and the resulting HEX files programmed in the same manner.
®
Integrated Development Environment (IDE)
© 2003 Microchip Technology Inc. Preliminary DS70093A-page 7
Loading...
+ 25 hidden pages