Académique Documents
Professionnel Documents
Culture Documents
Operational Description
• Single operating voltage: 3.0V to 3.6V (3.3V typi- Microchip’s RN4020 Bluetooth Low Energy Module
cal) provides a highly integrated solution for delivering low
power Bluetooth 4.1 solutions. The advanced com-
• Temperature range: -30°C to 85°C
mand interface offers rapid time to market.
• Low-power consumption
The RN4020 module complies with Bluetooth specifi-
• Simple, UART interface
cation version 4.1. It integrates RF, a baseband control-
• Integrated Crystal, Internal Voltage Regulator, ler, command API processor, making it a complete
Matching Circuitry, Memory Amplifier, and PCB Bluetooth Low Energy Solution.
Antenna
The RN4020 can be used with either low cost micro-
• Multiple IOs for control and status
controller for intelligent Bluetooth Low Energy applica-
• UART interface, GPIO, ADC tions. For simple sensor applications, the RN4020
• 64 KB internal serial flash internal scripting capabilities enable basic functions to
be implemented without the need for external host
RF/Analog Features MCU or software development tools.
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.
Figure 3-1 illustrates the interface between PIC micro- 3.2 Microchip Low-energy Data Profile
controller and RN4020 module. The minimum interface (MLDP)
consists of UART and WAKE_HW line. This enables
the microcontroller to communicate with RN4020 mod- The Microchip Low-energy Data Profile is a private
ule using ASCII command API. The command API is BTLE service that provides a 20 kbps serial data trans-
described in Section 6.0 “ASCII Command API”. port over Bluetooth Low Energy on the RN4020. Pin 8
(CMD/MLDP) is required. CTS/RTS hardware control
3.1 CTS/RTS Hardware Flow Control is also highly recommended for this service to avoid
data loss.
For customer applications using the Microchip Low-
For more information on how to use the MLDP data ser-
energy Data Profile, Pin 8 (CMD/MLDP) is required.
vice, refer to “RN4020 Bluetooth Low Energy
CTS/RTS hardware control is also required for this ser-
Module User’s Guide” (DS70005191).
vice to avoid buffer overruns.
M1 RN4020
1 2 BT_UART_TX
RB2/SS1/AN2 RF2/U1RX_E
PIO1 3 4 BT_UART_RX
RF6/SCK1 RF3/U1TX_E
PIO4 5 6
RF7/SDI1_E RG2/SCL1
PIO3 7 8
RF8/SDO1_E RG3/SDA1
9 10 SENSE MCLR 1 24
GND GND GND GND
11 12 BT_WAKE VDD3V3
RB0/AN0 RB1/AN1
13 14 AIO2 2 23
RB3/AN3 RB4/AN4 AIO2 VDD
15 16
GND GND
2
1
PIO2 17 18 PIO3 AIO1 3 22 RSVD3
RE9/INT2 RE8/INT1 AIO1 RSVD C1
BT_UART_RTS 19 20 BT_UART_CTS
RD14/U1CTS_E RD15/U1RTS_E 4.7uF
21 22 JP1 AIO0 4 21 RSVD2
VDD3V3 3.3V 3.3V VDD3V3 AIO0 RSVD
23 24
5V 5V
25 26 BT_UART_TX 5 20 RSVD1
9V 9V UART_TX RSVD
27 28 CMD/MLDP
RG0 RF0
29 30 SWAKE BT_UART_RX 6 19 PIO7
RG1 RF1 UART_RX PIO7
J2 PICTAIL PLUS 30 Pin SWAKE 7 18 BT_UART_RTS
WAKE_SW RTS/PIO6
MLDP_EV/PIO2/SS
1 2 CMD/MLDP 8 17 SPI_PIO
RE2 RA5 CMD/MLDP SPI/PIO
3 4 BT_WAKE
WS/PIO3/MOSI
RE3 RA4
5 6 SWAKE
WAKE_HW
RA7/OSC1 RA3
PIO4/MISO
7 8
PIO1/SCK
CTS/PIO5
RA6/OSC2 RC5
BT_UART_TX 9 10
RC7 RC4
BT_UART_RX 11 12
GND
GND
RC6 RC3
13 14
RB7 RA0
PIO3
PIO2
PIO1
15 16
RB6 RA1
PIO1 17 18 BT_UART_RTS
RB5 RA2
10
11
12
13
14
15
16
19 20
RB4 RC0
CMD/MLDP 21 22
RB3 RC1
BT_UART_CTS 23 24
RB2 RC2
BT_UART_CTS
PIO2 25 26
RB1 V_VAR Vin
BT_WAKE
PIO3 27 28 R1 R2 R3
RB0 GND i 330R 330R 330R
PIO1
PIO2
PIO3
PIO4
J1 PICTAIL 28 Pin Power Net
Power Net
i D4
Power Net TC1262-3.3VDBTR
VUSB i VDD3V3 D1 D2 D3
BT_UART_RTS
BT_WAKE
Tab
Vin C2 C3 VDD3V3
4.7uF 4.7uF 1 1
AIO2
2 2
PMEG2005CT,215 U1 AIO1 RSVD3
3 3
2
AIO0 RSVD2
Power Net i 4 4
BT_UART_TX RSVD1
S1 5 5
BT_UART_RX PIO7
R15 6 6
PIO3 SWAKE BT_UART_RTS
VDD3V3 7 7
BT_UART_CTS
VUSB FN 330R CMD/MLDP SPI_PIO
8 8
U2
BT_WAKE
7
PIC18LF25K50-I/ML J3 J4
R4
RA6
RA7
VSS
RA5
RA4
RA3
RA2
4k7
PIO1
PIO2
PIO3
PIO4
8 28
RC0 RA1
R5 SENSE 9 27 VDD3V3
C4 10k RC1 RA0
10nF BT_UART_TX 10 26 MCLR R6
RC2 MCLR/VPP/RE3
4k7
11 25 PGD
VDD3V3 VUSB3V3 RB7
1
2
3
4
5
6
7
8
J5 VUSB
1 12 24 PGC
VBUS D- RB6
2 D- J6
D-
6 3 D+ 13 23 PIO1
MTAB D+ D+ RB5
5 BT_UART_RX 14 22 PIO2
GND RC6 RB4
VDD
RC7
VSS
RB0
RB1
RB2
RB3
TH
USB Mini B
29
15
16
17
18
19
20
21
MCLR
1
BT_UART_CTS
VDD3V3
VDD3V3 2
3
PGD
4
SWAKE
C5 C6
RSVD3
RSVD2
BT_UART_TX PGC
100nF 100nF 5
J7
PICICSP
VDD3V3
Service Name Bluetooth SIG UUID Frequency Range 2.402 to 2.485 MHz
Peak Gain -0.23 dBi
Device Information 0x180A
Battery 0x180F
FIGURE 7-1: EFFICIENCY
Heart Rate 0x180D
Health Thermometer 0x1809
Glucose 0x1808
Blood Pressure 0x1810
Running Speed Cadence 0x1814
Cycling Speed Cadence 0x1816
Current Time 0x1805
Next DST Change 0x1807
Reference Time Update 0x1806
Link Loss 0x1803
Immediate Alert 0x1802
TX Power 0x1804
FIGURE 7-2: ANTENNA PLOT
Alert Notification 0x1811
Phone Alert Status 0x180E
Scan Parameters 0x1813
8.2.2 RF EXPOSURE
All transmitters regulated by IC must comply with RF
exposure requirements listed in RSS-102 - Radio Fre-
quency (RF) Exposure Compliance of Radiocommuni-
cation Apparatus (All Frequency Bands).
This module is approved for installation into mobile
and/or portable host platforms and must not be co-
located or operating in conjunction with any other
antenna or transmitter except in accordance with
8.3 Europe
The RN4020 module is an R&TTE Directive assessed
radio module that is CE marked and has been manu-
factured and tested with the intention of being inte-
grated into a final product.
The RN4020 module has been tested to R&TTE Direc-
tive 1999/5/EC Essential Requirements for Health and
Safety (Article (3.1(a)), Electromagnetic Compatibility
(EMC) (Article 3.1(b)), and Radio (Article 3.2) and are
summarized in Table 3-1: European Compliance Test-
ing. A Notified Body Opinion has also been issued. All
test reports are available on the RN4020 product web
page at http://www.microchip.com.
• 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.
QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
CERTIFIED BY DNV Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
== ISO/TS 16949 == 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.