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 provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, K
EELOQ, microID, MPLAB, PIC, PICmicro, PICSTART,
PRO MATE, PowerSmart, rfPIC and SmartShunt are
registered trademarks of Microchip Technology Incorporated
in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB,
SEEVAL, SmartSensor and The Embedded Control Solutions
Company are registered trademarks of Microchip Technology
Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, ECAN,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active
Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit,
PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal,
PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB,
rfPICDEM, Select Mode, Smart Serial, SmartTel, Total
Endurance, UNI/O, 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.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona, Gresham, Oregon and Mountain View, California. The
Company’s quality system processes and procedures are for its PIC
8-bit MCUs, KEELOQ
microperipherals, nonvolatile memory and analog products. In addition,
Microchip’s quality system for the design and manufacture of
development systems is ISO 9001:2000 certified.
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This 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” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available on-line help files.
®
IDE on-line help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
MCP2030 Bidirectional Communication Demo Kit. Items discussed in this chapter
include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Customer Support
DOCUMENT LAYOUT
This document describes the MCP2030 Bidirectional Communication Demo Kit. The
manual layout is as follows:
• Chapter 1. “Quick Start” – Describes the MCP2030 Bidirectional
Communication Demo Kit set-up instructions.
• Chapter 2. “System Overview” – A system overview of the MCP2030
Bidirectional Communication Demo Kit is discussed.
• Chapter 3. “Hardware and Firmware Overview” – Describes the MCP2030
Bidirectional Communication Demo Kit hardware and firmware.
• Appendix A. “Schematic and Layouts” – Shows the schematic and board
layouts for the MCP2030 Bidirectional Communication Demo Kit.
• Appendix B. “Bill of Materials (BOM)” - Lists the parts used to build the demo
boards that make up MCP2030 Bidirectional Communication Demo Kit.
Consult this document for instructions on how to use the PICkit 2 Microcontroller
Programmer hardware and software.
PIC12F635/PIC16F636/639 Data Sheet (DS41232)
Data sheet for the PIC12F635/PIC16F636/639 8/14-pin Flash-based, 8-bit CMOS
microcontrollers with nanoWatt technology.
PIC18F2585/2680/4585/4680 Data Sheet (DS39625)
Data sheet for the PIC18F2585/2680/4585/4680 28/40/44-pin enhanced Flash
microcontrollers with ECAN
MCP2030 Data Sheet, “Three-Channel Analog Front-End Device“ (DS21981)
Data sheet for the MCP2030 device.
TC4421/TC4422 Data Sheet, “High-Speed MOSFET Drivers” (DS21420)
Data sheet for the TC4421/TC4422 9A High-Speed MOSFET Driver. Gives an
overview of the device including electrical characteristics.
MCP3421 Data Sheet, “18-Bit Delta-Sigma Analog-to-Digital Converter with I
Interface and On-Board Referece” (DS22003)
Data sheet for the MCP3421 18-Bit Delta-Sigma Analog-to-Digital Converter.
™
technology, 10-bit A/D and nanoWatt technology.
2
C
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product Selector Guide, latest Microchip press
releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
Customers should contact their distributor, representative or field application engineer
for support. 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
This section provides the user a quick step-by-step instruction guide on how to set-up
the MCP2030 Bidirectional Communication Demo Kit.
1.1.1Transponder Unit
Connect power to the Transponder unit by inserting a 3V NiHM (CR2032) battery to the
battery holder in the bottom side of the Transponder. When the Transponder is
powered on, it is waiting for a 125 kHz low frequency (LF) command from the Base
Station unit. On the PCB, there are three LF antenna coils: One large air-core coil on
the bottom side and two ferrite-core coils on the top side. These three coils detect
125 kHz low frequency (LF) signals from x, y, and z directions. The Transponder also
has a SAW (Surface Acoustic Wave) based UHF transmitter. A rectangular loop trace
on the PCB is the UHF antenna. The Transponder has two LED diodes. A green LED
(D6) will blink when the Transponder receives a valid LF command, and a red LED (D7)
will blink when it transmitting an UHF response.
MCP2030 Bidirectional Communication Demo Kit User’s Guide
1.1.2Base Station Unit:
Supply power to the Base Station unit with a 9V - 18V power supply. As soon as the
power is supplied, the LED D2 will light on, and the unit starts transmitting an LF
command.The unit also waits for the responses from the Transponder at any time,
except during the transmission of the LF command. When the unit receives a valid
response from the Transponder, the LED D3 will blink and the received Transponder
ID and RSSI (Received Signal Strength Indicator) value will be displayed on the LCD.
MPLAB® ICD 2
Programming Jack
9V
Power
Supply
UHF
Antenna
UHF Receiver
Module
125 kHz LF
Antenna
1.1.3When both the Base Station and Transponder units are
powered-on:
When the two units are powered-on, they will communicate by themselves. The Base
Station sends a 125 kHz LF command and the Transponder responds to the command.
When the Transponder is placed within about 2 meters to the Base Station unit, the two
units may have a successful communication with each other and the Base Station unit
will display the received Transponder ID and RSSI value on the LCD. This is called a
bidirectional communication. User can test the RSSI by moving the Transponder within
the Base Station’s LF field. The RSSI value will increase as the Transponder comes
closer to the Base Station antenna and decrease as moves away from it. The two units
are communicating with each other as long as the boards are powered. You can also
test one directional communication from the Transponder to the Base Station unit by
pressing button switch (SW3 or SW4) on the Transponder. The range of the one
directional communication is about 20 meters.
This MCP2030 Bidirectional Communication Demo Kit shows you how to create a
smart hands-free bidirectional communication system using the stand-alone MCP2030
and microcontroller. All MCU firmware used for both the Transponder and Base Station
units are included in the CD ROM provided with the MCP2030 Bidirectional Communication Demo Kit. The user can easily modify the firmware for their own applications.
This section describes how to use the MCP2030 Bidirectional Communication Demo
Kit.
The MCP2030 Bidirectional Communication Demo Kit consists of two Transponders
and a Base Station unit. The Transponder consists of an MCP2030 (stand-alone
three-axis analog front-end device), a PIC16F636, and an MCP3421(18-bit
delta-sigma analog-to-digital converter). Unlike the existing PKE Reference Design
System (P/N: APGRD001) from Microchip Technology Inc., this Transponder uses
stand-alone devices for the bidirectional passive keyless entry (PKE) operation. This
system also demonstrates the received signal strength indicator (RSSI) function using
the MCP3421 delta-sigma ADC. When the Transponder receives a Base Station command, it transmits its ID and sampled RSSI value. By monitoring or mapping the RSSI
values, the user can estimate location or motion of the transponder with respect to the
Base Station unit. For example, for the automotive passive keyless entry (PKE) applications, the Base Station mounted inside the vehicle can determine whether the transponder is located inside or outside of the vehicle, or in the front or back seat in the
vehicle.
The Base Station unit consists of a PIC18F4680, a low frequency (LF) power amplifier,
an LF receiver section, a 434 MHz UHF receiver module, an LCD display, and
CAN/LIN transceiver sections. The components in the LF receiver section and the
CAN/LIN transceiver sections are populated on the PCB for future use, but their
functions are not utilized for this demo version. Any user who needs these features can
contact Microchip Technology Inc. for further information.
The MCP2030 Bidirectional Communication Demo Kit has been designed for easy
modification by customers. The firmware of both the Transponder and Base Station
units can be easily modified using the MPLAB
MCP2030 BIDIRECTIONAL
COMMUNICATION DEMO KIT
Chapter 2. System Overview
®
in-circuit serial programmers.
USER’S GUIDE
Response
LCD
434 MHz AM
Receiver
(PIC18F4680)
Microcontroller
Base StationTransponder
LF
Transmitter/
Receiver
LED
125 kHz
LC Series
Resonant Circuit
LF Command
(125 kHz)
(UHF)
Ant. X
Ant. Y
Ant. Z
125 kHz
LC Parallel
Resonant Circuit
434 MHz
Transmitter
(PIC16F636)
(MCP2030)
Analog Front-End
LED
Button
SW
MCU
ADC
(MCP3421)
FIGURE 2-1:MCP2030 Bidirectional Communication System Block Diagram.