The BM71-XPro board is a hardware platform designed to evaluate and test the capabilities of the BM71 Bluetooth
RF module. The BM71-XPro board provides multiple options for rapid prototyping and developing applications. The
board is supported by Atmel Studio, an integrated development platform, which provides predefined applications and
examples.
®
Features
• USB-UART Bridge (MCP2200) for Host PC Operation
• On Board 3.3V LDO for Power Regulation
• On Board SPI Flash for Storing Firmware Images (DFU OTA)
• Test Point for GPIO Pin (P1_3)
• Reset Push Button
• DIP Switch to Control:
– BM71 operation mode
– LED
– GPIO pin
• Passive RC Filters for PWM and ADC Inputs
• Atmel Studio (ASF3), to Provide Predefined Application Examples
The Microchip Website.................................................................................................................................35
The following figure shows the layout of the BM71-XPro board and illustrates the components available in the board:
Figure 1-1. BM71-XPro Board
BM71-XPro
Kit Contents
1.1 Reference Documentation
Microchip offers several smartphone applications, available for free in both the App Store (iPhone®) and Google
Play™ store (Android™), to evaluate the BM71 module. For details on the currently available apps, please refer to the
BM71 XPro webpage.
For further information, refer to the following:
• BM70/71 Bluetooth® Low Energy (BLE) Module Data Sheet (DS60001372)
• BM70/71 Bluetooth® Low Energy Module User’s Guide (DS50002542).
A description of some of the key features in the BM71-XPro board is provided below. Refer to Figure 1-1 for details of
the kit contents.
2.1 Power Supply
Power the BM71-XPro kit using any of the power sources listed below:
• Micro USB port (J1)
• XPro Connector
Use the J2 header for selecting between these power supply options using a jumper. The green LED (LD1) indicates
that the board is powered by a micro-USB. The micro-USB has ESD and overcurrent protection, and the input to the
module is controlled via an LDO (U1). The BM71-XPro board can be operated in a standalone mode when powered
via the micro-USB.
2.2 USB-UART Bridge
The MCP2200 in the BM71-XPro board provides the option to evaluate the BM71 module in Standalone mode. By
default (out of the box), the BM71 module is set to operate in Auto mode. So, the module, once powered via the
micro-USB, will be able to connect to a peer Bluetooth Low Energy device and open a data pipe for data transfer.
Refer to 3.1 Connecting the BM71 XPRO to MBD App in Auto Mode for details. Apart from powering the board, the
micro-USB port can also be used to evaluate and test the module via a host PC. Microchip provides emulation tools,
such as a UI tool, auto pattern tool, and manual tool (refer to BM71 webpage for details) to evaluate the BM71 via a
host PC. The BM71 module can be set to operate in Manual mode for complete control or in Auto mode for a simple
data pipe application.
BM71-XPro
Hardware Features
2.3 XPRO Connector
The BM71-XPro board has an Xplained Pro (XPRO) header to offer connectivity and control from a host MCU. The
header is based on a standard extension header and its pin details are specified in the following table. The headers
have a pitch of 2.54 mm. For details on the operating the BM71-XPro via a host MCU Xplained Pro board, refer to
3.3 Connecting the BM71-XPro to MBD App in Manual Mode (Host PC).
Table 2-1. Extension Header (J1) Pin Description
Pin#Pin nameDescription
1IDID Chip communication
2GNDGround
3ADC1Connected to pin P2_0 to set system configuration
The DIP switch has three switches which provide the functions described in the following table.
Table 2-2. DIP Switch Functions
Switch#Function
1Manually set the BM71 system configuration. Connected to pin P2_0.
• ON: Memory Programming mode
• OFF: Application mode
2Turn the Blue LED (LD4) ON/OFF
3Control the GPIO pin P1_3
2.5 Reset Switch
The Reset push button is connected to the BM71 module reset line. When the Reset button is pressed, it drives the
reset line to ground. The BM71-XPro board has an on-board voltage detected reset IC (MCP112) connected to the
Reset pin of the BM71.
2.6 Current Measurement Header
A J3 header can be used for current measurement.. All power to the BM71-XPro is routed through these header pins.
To measure the power consumption of the module, remove the jumper and replace it with an ammeter. To make sure
only the power consumption of the BM71 module is measured, turn off the blue LED using switch #2 of the DIP
switch.
2.7 On-board SPI Flash
An SST25VF080B SPI Flash memory is included in the BM71-XPro board for nonvolatile firmware storage. This can
be used to update the device firmware for the BM71 or the host MCU.
Note: BM71 Xplained Pro board is intended for use for development, demonstration or evaluation purposes only. It
is not a finished appliance, nor is it intended for incorporation into or reference design for finished appliances that are
made commercially available.
Every effort has been made to minimize electromagnetic emissions from the product. However, under certain
conditions, the system (this product connected to a host application circuit via Xplained Pro extension header for
communicating with External SPI Flash) may emit individual electromagnetic component frequencies which exceed
the maximum values allowed by the standards. The frequency and magnitude of the emissions will be determined by
several factors, including layout and routing of the application with which the product is used. The recommendation is
to add external series resistors on the Xplained Pro Extension Header SPI signals to the External SPI Flash if the
product causes emissions above the permissible limits of the standard. For reference for the BM71 module
placement and layout guidelines please refer the BM71 Module datasheet.
The BM70/71 module supports following modes, which affect the overall Bluetooth Low Energy and hardware
behavior:
• Auto operation configuration or Auto mode: By default, the BM70/71 module is set to operate in the Auto
mode. The Auto mode restricts the available Bluetooth Low Energy operations by only allowing the Bluetooth
Low Energy peripheral to act as a raw data pipe. This is compatible with hosts who only require the BM70/71
module to act as a virtual UART cable between the host and the remote peer device.
• Manual operation configuration or Manual mode: Manual operation provides the host MCU a lot more control
and functional options over the BM71 Bluetooth Low Energy protocol and operation in comparison to the Auto
Operation mode. This configuration is used by a host MCU to leverage the flexibility and feature set offered by
both the Bluetooth Low Energy protocol and the BM71 module (for example: private services and
characteristics).
Note: For more details, refer to the Section 1.1 Operation Overview in the BM70/71 Bluetooth Low Energy Module
User’s Guide (DS50002542).
The simplest method to start evaluating the BM71 is to connect it to a host PC that supports USB CDC virtual COM
(serial) ports and operates in Auto mode. In this mode, the user can directly connect to the BM71 from a peer device
(phone app) and open a raw data pipe. Refer to 3.1 Connecting the BM71 XPRO to MBD App in Auto Mode for
connection procedure. See 3.2 Configuring the BM71 Module to Operate in Manual Mode (Host PC) and 3.3
Connecting the BM71-XPro to MBD App in Manual Mode (Host PC) for an example of Manual mode of operation.
BM71-XPro
Module Configuration
3.1 Connecting the BM71 XPRO to MBD App in Auto Mode
Hardware/Software required:
• BM71-XPro board; Mini-USB cable.
• A PC host supporting USB CDC virtual serial port. BM71-XPro board uses MCP2200 USB to UART bridge. The
drivers can be downloaded from http://www.microchip.com/MCP2200.
• Terminal Emulator application. TeraTerm or CoolTerm is recommended.
• Microchip MBD app for iOS or Android. Available in:
– App Store (iOS) for iPhones.
– Google Play Store for Android phones.
By default, the BM71 module is set to operate in Auto mode. For details on the Auto mode of operation on the BM71
module, refer to section 1.1.2.1 in the BM70/71 User’s Guide (DS50002542).
The procedure to connect the BM71-XPro board to a peer device (phone/table) via host PC is given below:
1.Ensure that the BM71-XPro board is configured as follows:
1.1.Jumper on the J2 header is closed to select USB power option.
1.2.The current measurement jumper on J3 is present.
1.3.Switch 1 (system configuration) on the DIP switch is set to OFF.
1.4.Switch 2 (blue LED) on the DIP switch is set to ON.
2.Connect the BM71-XPro board to a host PC using the mini-USB cable. Ensure that green LED (LD1) is solid
ON indicating USB power.
3.Connect BM71-XPro to a PC host using micro-USB cable.
3.1.Verify the virtual COM port is enumerated on a host PC. If the COM port does not enumerate, the
MCP2200 drivers may be missing from the host PC. If needed, the drivers can be downloaded from
the www.microchip.com/MCP2200 webpage.
3.2.Press the Reset button (SW1) and verify that the blue LED (LD4) is flashing intermittently.
4.Start the Terminal Emulator software. In this example, TeraTerm is used. Configure the serial port settings of
the enumerated COM port as shown in the following figure.
11. In the serial emulator application (TeraTerm), enter any text and this should show up in the transparent UART
page in the app.
3.2 Configuring the BM71 Module to Operate in Manual Mode (Host PC)
Hardware/Software required:
• BM71-XPro board; Mini-USB cable.
• A PC host supporting USB CDC virtual serial port. BM71-XPro board uses MCP2200 USB to UART bridge. The
drivers can be downloaded from http://www.microchip.com/MCP2200.
• BM71 emulator tools: UI Tool. These tools can be download from the BM71 webpage.
The procedure to change the BM71 to Manual mode via host PC is given below:
1.Ensure that the BM71-XPro board is configured as follows:
1.1.Middle jumper on J2 is closed to select USB power option.
1.2.The current measurement jumper on J3 is present.
1.3.Switch 2 (blue LED) on the DIP switch is set to ON.
2.Connect the BM71-XPro board to the host PC using the mini-USB cable. Ensure that the green LED (LD1) is
solid ON indicating USB power.
3.Connect BM71-XPro board to the host PC using micro-USB cable. Verify the virtual COM port is enumerated
on the host PC. If the COM port does not enumerate, the MCP2200 drivers may be missing from the host PC.
If needed, the drivers can be downloaded from the http://www.microchip.com/MCP2200 web page.
4.Set switch 1 (system configuration) on the DIP switch to ON. Press the Reset button (SW1). The blue LED
(LD4) should turn to a solid ON.
5.Open the UI tool (see the following figure) and Click on ‘Load’.
13. In the ‘Read/Write Flash’ dialog box, select an appropriate COM port and click on ‘Write’. In the confirmation
window, click ‘Yes’ to update EFLASH.
Figure 3-10. Read / Write Flash
14. After the successful Flash write, a confirmation message will be flashed as shown in the following figure.
16. Set switch 1 (system configuration) on the DIP switch to ON. Press the Reset button (SW1). The blue LED
(LD4) should blink intermittently.
17. The module is now set to work in Manual mode.
3.3 Connecting the BM71-XPro to MBD App in Manual Mode (Host PC)
Hardware/Software required:
• BM71-XPro board; Mini-USB cable.
• A PC host supporting USB CDC virtual serial port. BM71-XPro board uses MCP2200 USB to UART bridge. The
drivers can be downloaded from http://www.microchip.com/MCP2200.
• BM71 emulator tools: UI Tool and Manual pattern tool. These tools can be download from the BM71 webpage.
• Microchip MBD app for iOS or Android. Available in:
– App Store (IOS) for iPhones
– Google Play Store for Android devices
To configure the module to operate in Manual mode, follow the procedure described in the 3.2 Configuring the BM71
Module to Operate in Manual Mode (Host PC). The procedure to connect to a peer device (phone/tablet) in Manual
mode is given below:
1.Ensure that the BM71-XPro board is configured as follows:
1.1.Middle jumper on J2 is closed to select USB power option.
1.2.The current measurement jumper on J3 is present.
1.3.Switch 1 (system configuration) on the DIP switch is set to OFF.
1.4.Switch 2 (blue LED power) on the DIP switch is set to ON.
2.Connect the BM71-XPro board to the host PC using the mini-USB cable. Ensure that green LED (LD1) is solid
ON indicating USB power.
3.Connect BM71-XPro to the host PC using micro-USB cable. Verify the virtual COM port is enumerated on host
PC. If the COM port does not enumerate, the MCP2200 drivers may be missing from the host PC. If needed,
the drivers can be downloaded from the http://www.microchip.com/MCP2200 webpage.
4.Press the Reset button (SW1) and verify that the blue LED (LD4) is flashing intermittently.
5.Open the manual pattern tool. Select the enumerated COM port for the BM71-XPro board in the COM port
drop down list (top-left - see following figure) and click ‘Connect’. The ‘Connect’ button should change to
‘Disconnect’ upon a successful connection.
6.To verify the module information (not mandatory), in the ‘Common’ tab (left side), under the ‘Common
Command’ section, select ‘0x01: Read Local Information’ for the ‘Opcode’ field. Click ‘Send’ (see following
figure). The module will respond with the Bluetooth MAC address, firmware version and hardware version. The
response is shown in the “Log view” window.
14. The manual tool should show the connection details once the connection from the peer device (phone/tablet)
is successfully executed (see the following figure).
15. On the MBD app, click on “Transfer data to device”. The Transparent UART screen should open. Ensure that
the ‘Write with Response’ in the app is set to ON. The data pipe is now open.
17. Go to the ‘Transparent’ tab on the manual tool. Check operation of the data pipe, by entering data in the app or
in the ‘Send Data’ field in the manual tool.
18. The transparent UART data pipe is now operational in Manual mode.
3.4 Using the BM70/71 MCU drivers
Microchip offers a library of MCU drivers for the BM70/71 modules integrated into the Harmony and ASF3 for
MPLAB® and Atmel Studio, respectively. This section describes how to access the BM71 MCU drivers from ASF3
library in Atmel Studio.
Hardware/software required:
• Atmel Studio 7.x7.0 with ASF3 installed (version 3.44.0 or later).
• SAML21 Xplained Pro board.
• BM71-XPro board.
To use the BM71 MCU drivers in ASF3, the BM71-XPro board needs to be connected to EXT1 header of the BM71XPro board (see following figure).
Figure 3-22. BM71-XPro Board Connected to the SAML21 Xplained Pro
BM71-XPro
Module Configuration
1.Connect to the BM71-XPro board to EXT1 header of the SAML21 Xplained Pro board. Open Atmel Studio
software. On the top menu, select ‘File’ → ‘New’ → ‘Example Project’.
2.In the ‘New Example Project’ dialog box
2.1.Select Device Family: as “SAML21” from the drop down list and enter ‘ble_host_sdk’ in the search
field as shown in the following figure. The list of example projects should be available in the ‘All
Projects’ tab. (If not visible, try clicking on the horizontal triangle to expand the list under ‘Atmel-Atmel
Corp.’ header.
Figure 3-23. Opening an Example Project for BM71-XPro Board
BM71-XPro
Module Configuration
3.The list of available example projects is provided. Select any project to get started. In the preceding figure, the
iBeacon was selected as an example. Click OK in the succeeding dialog box to accept the terms and
conditions. The iBeacon example will now be loaded as can be seen in the following Solution Explorer window.
The firmware in the BM71 module can be updated using a PC Tool isupdate.exe over the USB port. The latest BM71
firmware images and the isupdate.exe tool are available from the BM71 product webpage.
The procedure to change/update the firmware on the BM71 module using the host PC utility is given below:
1.Download the firmware zip file from the BM71 webpage and extract the contents. The zip file contains the
isupdate.exe utility and a folder including the firmware images.
2.Connect the BM71-XPro board to the host PC using the micro-USB cable.
3.Verify that swtich#1 of the DIP switch (SW2) is set to ON position. Press Reset button (SW1) and verify that
the blue LED (LD4) is solid ON indicating that the BM71 is in Memory Programming mode.
4.Launch the isupdate.exe application. In the tool:
4.1.Select the COM port used by the BM71-XPro board.
4.2.Verify that other settings (baud, memory type, and address) are set as follows:
4.2.1.Baudrate: 115200
4.2.2.Memory type/subtype: Flash/Embedded
4.2.3.Address: 0000
Figure 4-1. Firmware Update Tool
BM71-XPro
4.3.Click the Connect button and verify that the “Port connect -> COMxx” is displayed in the text box.
4.4.Verify firmware update is successfully completed. The “End of Write Memory” message is displayed.
4.5.Click the Disconnect button to close the COM port.
4.6.Set switch 1 in DIP switch SW2 to the ‘1’ position for Application mode.
This equipment (SAM R34 Xplained Pro Evaluation Kit/A09-3167) is intended for evaluation purposes only. The
following regulatory notices are to cover the requirements under the regulatory approval.
6.1 Europe
This equipment (A09-3167) has been assessed under the Radio Equipment Directive (RED) for use in European
Union countries. A Declaration of Conformity must be issued for each of these standards and kept on file as
described in Radio Equipment Directive.
Furthermore, the manufacturer must maintain a copy of the module's documentation and ensure the final product
does not exceed the specified power ratings, antenna specifications, and/or installation requirements as specified in
the user manual. If any of these specifications are exceeded in the final product, a submission must be made to a
notified body for compliance testing to all required standards.
Important: On account of the nature of radio equipment, the height of the CE marking affixed to radio
equipment may be lower than 5 mm, provided that it remains visible and legible. More detailed information
about CE marking requirements, refer Article 19 of "DIRECTIVE 2014/53/EU OF THE EUROPEAN
PARLIAMENT AND OF THE COUNCIL" of 16 April 2014.
BM71-XPro
Agency Certification
SIMPLIFIED EU DECLARATION OF CONFORMITY
Hereby, Microchip Technology Inc. declares that the radio equipment type [A09-3110] is in compliance with Directive
2014/53/EU.
The full text of the EU declaration of conformity is available at the following internet address (refer product specific
pages): http://www.microchip.com/design-centers/wireless-connectivity/.
Microchip provides online support via our website at http://www.microchip.com/. This website is used to make files
and information easily available to customers. Some of the content available includes:
• 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 design partner program member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of
seminars and events, listings of Microchip sales offices, distributors and factory representatives
Product Change Notification Service
Microchip’s product change notification service helps keep customers current on Microchip products. Subscribers will
receive email notification whenever there are changes, updates, revisions or errata related to a specified product
family or development tool of interest.
To register, go to http://www.microchip.com/pcn and follow the registration instructions.
Customer Support
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Embedded Solutions Engineer (ESE)
• Technical Support
Customers should contact their distributor, representative or ESE for support. Local sales offices are also available to
help customers. A listing of sales offices and locations is included in this document.
Technical support is available through the web site at: http://www.microchip.com/support
Microchip Devices Code Protection Feature
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.
Legal Notice
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 unless
otherwise stated.
Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime,
BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox,
KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST,
MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer,
QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,
TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control,
HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus,
ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider,
Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom,
CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM,
dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP,
INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF,
MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM,
PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad
I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense,
ViewSpan, WiperLock, Wireless DNA, 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.
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of
Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.