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, dsPIC,
K
logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL 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, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Octopus, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, 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
T empe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memo ry and
analog products. In addition, Microchip’s quality system for the desig n
and manufacture of development systems is ISO 9001:2000 certified.
The Microchip Web Site ....................................................................................................................................................................... 29
Customer Change Notification Service ................................................................................................................................................ 29
Customer Support ................................................................................................................................................................................ 29
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com or fax the Reader Response Form in the back of this data sheet to (480) 792-4150. We
welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
The MRF24J40MC is a 2.4 GHz IEEE Std. 802.15.4™
compliant, surface mount module with integrated
crystal, internal voltage regulator, matching circuitry,
Power Amplifier (PA), Low Noise Amplifier (LNA) with
50Ω external antenna connector. The MRF24J40MC
module operates in the non-licensed 2.4 GHz
frequency band. The integrated module design frees
the integrator from extensive RF and antenna design,
and regulatory compliance testing, allowing quicker
time to market.
The MRF24J40MC module is compatible with
Microchip’s ZigBee
Environment software stacks. The MiWi Development
Environment software stack is available as a free
download, including source code, from the Microchip
web site: http://www.microchip.com/wireless.
The MRF24J40MC module has received regulatory
approvals for modular devices in the United States
(FCC) and Canada (IC). Modular approval removes the
need for expensive RF and antenna design, and allows
the end user to place the MRF24J40MC module inside
a finished product and not require regulatory testing for
an intentional radiator (RF transmitter). To maintain
®
, and MiWi™ Development
conformance, refer to module settings in Section 3.1.1,
MRF24J40MC SETTINGS for the United States and
Section 3.2.1, MRF24J40MC SETTINGS for Canada.
The MRF24J40MC module has been tested and
conforms to ETS EN 300 328 V1.7.1 (2006-10)
European Standards. The module tests can be applied
toward final product certification and Declaration of
Conformity (DoC). To maintain conformance, refer to
module settings in Section , . Additional testing may be
required depending on the end application.
1.1Interface Description
Figure 1-1 shows a simplified block diagram of the
MRF24J40MC module. The module is based on the
Microchip Technology MRF24J40 IEEE 802.15.4™
2.4 GHz RF Transceiver IC. The module interfaces to
many popular Microchip PIC
through a 4-wire SPI interface, interrupt, wake, reset,
power and ground, as shown in Figure 1-2. Table 1-1
provides the pin descriptions.
Serial communication and module configuration for the
MRF24J40MC module are documented in the
“MRF24J40 IEEE 802.15.4™ 2.4 GHz RF Transceiver
Data Sheet” (DS39776). Refer to the “MRF24J40 Data
®
microcontrollers
FIGURE 1-1:PIC18FXXXX BLOCK DIAGRAM
TABLE 1-1:PIN DESCRIPTION
PinSymbolT ypeDescription
1GNDGround
2RESET
Legend: Pin type abbreviation: D = Digital, I = Input, O = Output
The MRF24J40MC is a surface mountable module.
Module dimensions are shown in Figure 1-3. The
module Printed Circuit Board (PCB) is 0.032" thick with
castellated mounting points on the edge. Figure 1-4 is
a recommended host PCB footprint for the
MRF24J40MC .
FIGURE 1-3:MODULE DETAILS
The MRF24J40MC has 50Ω ultra miniature coaxial
(U.FL) connector.
The MRF24J40MC module is based on the Microchip
Technology MRF24J40 2.4 GHz IEEE 802.15.4 RF
Transceiver IC. Serial communication and
configuration are documented in the “MRF24J40 Data Sheet” (DS39776).
This section emphasizes operational settings that are
unique to the MRF24J40MC module design that must
be followed for proper operation.
1.3.1PA/LNA CONTROL
Operation of the PA U3 and LNA U2 is controlled by the
MRF24J40 internal RF state machine through RF
switches, U1 and U4, and the GPIO1 and GPIO2 pins on
the MRF24J40. Figure 1-5 shows the PA/LNA block
diagram. Figure 2-2 is the schematic diagram for the
module.
FIGURE 1-5:PA/LNA BLOCK DIAGRAM
The internal RF state machine is configured for the PA/
LNA mode by setting TESTMODE (0x22<2:0>) = 111.
Pins GPIO1 and GPIO2 control the RF switches, PA
and LNA automatically when the MRF24J40 receives
and transmits data.
Note:A complete explanation of the operation of
the PA/LNA control is documented in the
“MRF24J40 Data Sheet” (DS39776),
Section 4.2 “External PA/LNA Control”.
Voltage regulator U5 supplies a regulated 2.2V to the
PA. This provides a stable voltage to the PA over the V
IN
voltage range of the module. U5 is enabled or shutdown
from GPIO3. Ensure that the GPIO3 direction has been
set to output (TRISGP3 (0x34<3>) = 1). Setting a logic
high (GPIO3 (0x33<3>) = 1) enables the voltage
regulator and supplies voltage to the PA. Setting a logic
low (GPIO3 (0x33<3>) = 0) will shutdown the voltage
regulator, disabling the PA, and provides the lowest
shutdown current.
Before performing an energy detection (see Section
3.6.1 “RSSI Firmware Request (RSSI Mode 1)” in the
“MRF24J40 Data Sheet” (DS39776)), perform the
following steps:
1.Configure the internal RF state machine to normal
operation (TESTMODE (0x22F<2:0>)
2.Configure GPIO2 and GPIO1 direction for
output (TRISGP2 (0x34<2>) = 1 and TRISGP1
(0x34<1>) = 1).
3.Set GPIO2 (0x33<2>) = 1 and GPIO1
(0x32<1>) = 0. This enables the LNA and
disables the PA.
4.Perform the energy detection following the steps
in Section 3.6.1 “RSSI Firmware Request (RSSI
Mode 1)” in the “MRF24J40 Data Sheet”
(DS39776).
Note:The LNA will amplify the received signal.
The RSSI value will include the receive
signal strength plus the LNA amplification.
= 000).
1.3.3SLEEP
To get the lowest power consumption from the
MRF24J40MC module during Sleep, it is necessary to
disable the PA, PA voltage regulator and LNA. To do
this, perform the following steps:
1.Configure the internal RF state machine to normal
operation (TESTMODE (0x22F<2:0>) = 000).
2.Configure the GPIO3, GPIO2 and GPIO1
direction for output (TRISGP3 (0x34<3>) = 1,
TRISGP2 (0x34<2>) = 1 and TRISGP1
(0x34<1>) = 1).
3.Set GPIO2 (0x33<2>) = 0 and GPIO1 (0x32<1>)
= 0. This disables the LNA and the PA.
4.Set GPIO3 (0x33<3>) = 0. This shuts down the
voltage regulator U5 that supplies 2.2 volts to
the PA.
5.Put the MRF24J40 to Sleep following the steps
in the “MRF24J40 Data Sheet” (DS39776).
When waking the module, re-enable the PA/LNA mode.