TB090

TB090
MCP2030 Three-Channel Analog Front-End Device Overview
Author:
Youbok Lee, Ph.D.
Microchip Technology Inc.
FIGURE 1:
PIN DIAGRAM
14-pin TSSOP, SOIC, PDIP
INTRODUCTION
The device has programmable internal tuning capacitors
for each input channel. The user can program these
capacitors up to 63 pF, 1 pF per step. These internal
tuning capacitors can be used effectively for fine-tuning
of the external LC resonant circuit.
VSS
1
14
VSS
CS
2
13
LCCOM
SCLK/ALERT
3
RSSI
4
TABLE 1:
Names
12
NC
11
LCX
10
LCY
6
9
LCZ
7
8
VDD
NC 5
LFDATA/
CCLK/SDIO
VDD
MCP2030
The MCP2030 is a stand-alone, Analog Front-End
(AFE) device for Low-Frequency (LF) sensing and
bidirectional communication applications. The device
can output demodulated data, carrier clock or RSSI
current. The demodulated data and carrier clock outputs
are available on the LFDATA pin, while the RSSI output
is available on the RSSI pin. The RSSI current output is
linearly proportional to the input signal strength. Device
features are controlled by the programming of its internal
Configuration registers.
PINOUT DESCRIPTION
Description
External LC resonant antenna circuits are connected to
LCX, LCY and LCZ. The LCCOM pin is used as a
reference terminal for each antenna connection.
VDD
Supply Voltage: 1.8 - 3.6V.
CS
Chip select input for the modified
3-wire SPI interface.
The device can detect an input signal with amplitude as
low as ~1 mVPP and can demodulate an amplitudemodulated input signal with as low as an 8%
modulation depth. An individual channel’s sensitivity
can be reduced by programming the Configuration
register if it is too sensitive.
SCLK
Clock input for the modified 3-wire SPI
interface.
ALERT
Alert output. This pin goes low if there
is a parity error in the Configuration
register, or if the 32 ms alarm timer has
timed out.
The device is optimized for very low-current
consumption and has various battery-saving lowpower modes (Sleep, Standby, Active). The device can
also be operated in Battery Backup and Batteryless
modes using a few external components.
The device is available in 14-pin TSSOP, SOIC and
PDIP packages. This device is also used as the AFE in
the PIC16F639. Figure 1 shows the pin diagram of the
device, followed by the pinout descriptions in Table 1.
The key features of the device are summarized in
Table 2.
RSSI
NC
LFDATA
Not connected.
Demodulated data output.
CCLK
Carrier clock output.
SDIO
Serial input or output data for the
modified 3-wire SPI interface.
LCX, LCY,
LCZ
LCCOM
VSS
© 2005 Microchip Technology Inc.
RSSI current output.
Input pins for external LC antennas.
Common reference input for the
external LC antennas.
Ground reference voltage.
DS91090B-page 1
TB090
TABLE 2:
DEVICE FEATURES
Parameters/Features
Description
Supply Voltage
1.8 - 3.6V
LF Input Channels:
• Sensitivity
• Input Sensitivity Reduction
• Channel Selection
• Modulation Depth Selection
• Output Enable Pattern
• LF Talk-back
1-6 mVPP
Programmable up to -30 dB (-2 dB/step) for each channel.
Each channel can be individually enabled or disabled.
8%, 14%, 33%, 60%
Programmable: High and low pulse durations (9 different selections).
Sends data by modulating input coil voltage.
Optimum Input Frequency
125 kHz
Selectable Output Type:
• Demodulated Data
• RSSI
• Carrier Clock
Demodulated data for amplitude modulated input.
Current output proportional to input signal strength.
Input Carrier/1 or Input Carrier/4.
Antenna Tuning Capacitance
Programmable up to 63 pF (1 pF/step) for each channel.
Eight Configuration Registers
Readable and programmable via a modified 3-wire SPI interface.
The STATUS register is read-only.
STATUS Register
Indicates channel activities, AGC active status, Alarm timer status, Parity bit
error status.
Currents:
• Sleep
• Standby
• Active
200 nA (typ.)
2 µA (1 channel enabled), 3 µA (2 channels enabled),
4 µA (3 channels enabled).
10 µA (1 channel enabled), 11 µA (2 channels enabled),
13 µA (3 channels enabled).
Base Station Data Rate to
Transponder
10 Kbps (max) with NRZ data format.
SPI commands
Read or Write Configuration registers.
Commands: Clamp On, Clamp Off, Sleep, AGC Preserve On,
AGC Preserve Off, Soft Reset.
Internal Soft Reset
Reset internal circuits if there is no input for 16 ms and looking for a new data
packet.
32 ms Alarm timer
Set ALERT pin low and set Alarm bit high if 32 ms Alarm timer has timed out.
Operating Temperature
-40°C to +85°C
Note:
This device is also used as an AFE section in the PIC16F639. Refer to the PIC12F635/PIC16F636/639
Data Sheet (DS41232) for more detail.
DS91090B-page 2
© 2005 Microchip Technology Inc.
TB090
THEORY OF DEVICE OPERATION
When the output enable (wake-up) filter is enabled, the
demodulated output is available after the wake-up filter.
Figure 2 shows a valid input waveform structure and
demodulated output. The user can program the
parameters of the output enable filter (or wake-up
filter). The filter can also be enabled or disabled.
The device detects amplitude-modulated input signals
and sends data by clamping on and off the input signal.
The device’s features are controlled by programming
the internal Configuration registers. The device has
eight Configuration registers that are programmable
and readable by an external microcontroller (MCU)
using a modified 3-wire SPI interface. The STATUS
register is a read-only register and indicates a status of
the device operation in real time. The output type
(demodulated data, RSSI current, carrier clock) can be
selected by programming the Configuration register.
When the output type is selected for the demodulated
output, the device is looking for input signals with a
predefined header. The valid input header structure is
given in EXAMPLE 1: “Predefined Header Format”.
EXAMPLE 1:
PREDEFINED HEADER FORMAT
AGC Stabilization (>3.5 ms)
FIGURE 2:
When the filter is enabled and the input signal meets
the filter requirement, it enables the output. Otherwise,
there will be no output. See more details in References
[1]-[3] for the programming details of the output enable
filter. The device does not require any predefined input
header structure for the RSSI or carrier clock outputs.
AGC Gap
Output Enable Filter
Data
INPUT WAVEFORM STRUCTURE AND DEMODULATED OUTPUT
Input Signal
Programmable
Output Enable Filter
AGC
Stabilization Time
Data Field
Gap
Pulse
>3.5 ms
Output Enable Pulse
High Time
Output Enable Pulse
Low Time
Data Field
Demodulated Output
© 2005 Microchip Technology Inc.
Start bit
DS91090B-page 3
TB090
Figure 3 shows an example of a bidirectional
communication PKE system using the MCP2030 and
PIC16F684, which has an internal Analog-to-Digital
(A/D) feature. The RSSI output from the MCP2030 can
be digitized by the PIC16F684 and sent to the base
station.
FIGURE 3:
EXAMPLE OF EXTERNAL CIRCUITS FOR BIDIRECTIONAL COMMUNICATIONS
MCP2030
PIC16F684
SW1
VSS
CS
SW2
SCLK/ALERT
SW3
SW4
To ADC
VSS
LCCOM
NC
RSSI
LCX
NC
LFDATA/
CCLK/SDIO
VDD
LCY
air-core
coil
ferrite-core
coil
ferrite-core
coil
LCZ
VDD
+3V
315/434 MHz
RF Circuitry
(UHF TX)
CONCLUSIONS
REFERENCES
The MCP2030 is a stand-alone, 3-channel AFE device
for LF sensing and bidirectional transponder
applications. The device’s high input sensitivity
(1 mVPP) and ability to detect weakly modulated input
signals (8%) with low-power features make this device
well suited for various applications, such as a low-cost
Passive Keyless Entry (PKE) transponder, LF initiator
sensor in Tire Pressure Monitoring Systems (TPMS)
and long-range access control applications.
1.
DS91090B-page 4
2.
3.
“PIC12F635/PIC16F636/639
Data
Sheet”
(DS41232); Microchip Technology Inc.
AN959, “Using the PIC16F639 MCU for Smart
Wireless Applications” (DS00959);
Microchip Technology Inc.
TB088, “PIC16F639 Microcontroller Overview”
(DS91088); Microchip Technology Inc.
© 2005 Microchip Technology Inc.
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’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 Microchip intellectual property
rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron,
dsPIC, KEELOQ, 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,
PICMASTER, 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, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Linear Active Thermistor,
MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM,
PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo,
PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode,
Smart Serial, SmartTel, Total Endurance and WiperLock 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.
© 2005, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 quality system certification for
its worldwide headquarters, design and wafer fabrication facilities in
Chandler and Tempe, Arizona and Mountain View, California in
October 2003. The Company’s quality system processes and
procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping
devices, Serial EEPROMs, 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.
© 2005 Microchip Technology Inc.
DS91090B-page 5
WORLDWIDE SALES AND SERVICE
AMERICAS
ASIA/PACIFIC
ASIA/PACIFIC
EUROPE
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://support.microchip.com
Web Address:
www.microchip.com
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
India - Bangalore
Tel: 91-80-2229-0061
Fax: 91-80-2229-0062
China - Beijing
Tel: 86-10-8528-2100
Fax: 86-10-8528-2104
India - New Delhi
Tel: 91-11-5160-8631
Fax: 91-11-5160-8632
Austria - Wels
Tel: 43-7242-2244-399
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
China - Chengdu
Tel: 86-28-8676-6200
Fax: 86-28-8676-6599
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
China - Fuzhou
Tel: 86-591-8750-3506
Fax: 86-591-8750-3521
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
Korea - Gumi
Tel: 82-54-473-4301
Fax: 82-54-473-4302
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
Atlanta
Alpharetta, GA
Tel: 770-640-0034
Fax: 770-640-0307
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
Kokomo, IN
Tel: 765-864-8360
Fax: 765-864-8387
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
San Jose
Mountain View, CA
Tel: 650-215-1444
Fax: 650-961-0286
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Shunde
Tel: 86-757-2839-5507
Fax: 86-757-2839-5571
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
China - Xian
Tel: 86-29-8833-7250
Fax: 86-29-8833-7256
Malaysia - Penang
Tel: 60-4-646-8870
Fax: 60-4-646-5086
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-572-9526
Fax: 886-3-572-6459
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
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
10/31/05
DS91090B-page 6
© 2005 Microchip Technology Inc.