Page 2
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. Microchip received ISO/TS-16949:2009 certification for its worldwide Silicon Storage Technology is a registered trademark of headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona;...
Page 3
BM70 PICTAIL /PICTAIL PLUS EVB USER’S GUIDE Object of Declaration ™ BM70 PICtail /PICtail Plus Evaluation Board 2015-2016 Microchip Technology Inc. DS70005235C-Page 3 Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from...
Page 4
BM70 PICtail /PICtail Plus EVB User’s Guide NOTES: 2015-2016 Microchip Technology Inc. DS70005235C-Page 4 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from...
Chapter 5. USB-to-UART Converter and Host DUT 5.1 Connecting UART to BM70 EVB DUT ............45 5.2 Connecting UART to Host Microcontroller DUT ........... 46 A.1 Reference Schematics ................. 47 2015-2016 Microchip Technology Inc. DS70005235C-Page 5 Arrow.com. Arrow.com. Arrow.com.
Page 6
BM70 PICtail /PICtail Plus EVB User’s Guide NOTES: 2015-2016 Microchip Technology Inc. DS70005235C-Page 6 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
Page 7
Document Revision History DOCUMENT LAYOUT ™ This document describes how to use the BM70 PICtail /PICtail Plus EVB (also referred as “BM70 EVB”), as a development tool to emulate and debug firmware on a target board. This user’s guide is composed of the following chapters: •...
Page 8
Note 1: This is a note used in a bottom of the table or figure. table. 2015-2016 Microchip Technology Inc. DS70005235C-Page 8 Arrow.com. Arrow.com. Arrow.com.
Page 9
• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listings of seminars and events; and listings of Microchip sales offices, distributors and factory representatives 2015-2016 Microchip Technology Inc. DS70005235C-Page 9 Arrow.com. Arrow.com.
Page 10
(FAE) 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. 2015-2016 Microchip Technology Inc. DS70005235C-Page 10 Arrow.com. Arrow.com.
Page 11
Chapter 4. “Flash Programming Procedure” • Updated Chapter 5. “USB-to-UART Converter and Host DUT” • Updated Appendix A. “Schematics” Minor updates to text and formatting were incorporated throughout the document. 2015-2016 Microchip Technology Inc. DS70005235C-Page 11 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 12
BM70 PICtail /PICtail Plus EVB User’s Guide NOTES: 2015-2016 Microchip Technology Inc. DS70005235C-Page 12 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from Downloaded from...
EVB USER’S GUIDE Chapter 1. Introduction ™ Thank you for purchasing a Microchip Technology BM70 PICtail /PICtail Plus Evalua- tion Board (EVB). This document provides detailed information about the BM70 EVB. The BM70 EVB is designed to evaluate and demonstrate the capabilities of the Microchip BM70 BLE module.
There are three ways to supply power to theBM70 EVB: • Coin Cell battery (socket SK1 for CR2032 battery) • USB • PICtail socket connection 2.1.2 USB connectivity The BM70 EVB provides micro-USB cable connectivity. 2015-2016 Microchip Technology Inc. DS70005235C-Page 17 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 18
6 on the jumper bank J1 BM70 power source input TABLE 2-2: GROUND TEST CONNECTOR Part Signal Description Number 1 to 8 Ground test pins 2015-2016 Microchip Technology Inc. DS70005235C-Page 18 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 19
3V3_I 3V3 voltage of I C interface, short to V for volt- age supply Note: The jumper JP12 must be connected as a default jumper. 2015-2016 Microchip Technology Inc. DS70005235C-Page 19 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 20
TABLE 2-12: CONNECTOR JP8 Part Description Signal Number Connected to status LED (LED1) Power source of LED1, short to JP8 pin1 to enable the status LED function 2015-2016 Microchip Technology Inc. DS70005235C-Page 20 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
• Firmware update tool, isupdate.v4.0.0.207.rar • BLEDK3 Flash code, BT5505_BLEDK3_v103_c1457.rar • BLEDK3 UI tool, IS187x_102_BLEDK3_UI v100.123.rar • mBIoT Utility app, available at App Store for iPhone and at Google Play™ store for Android 2015-2016 Microchip Technology Inc. DS70005235C-Page 21 Arrow.com. Arrow.com. Arrow.com.
In this demonstration, the IS187x_102_BLEDK3_UI_Configuration_Tool v100.123 tool is used. This UI tool version corresponds to the firmware version of the “BLEDK3 v1.03”. FIGURE 3-1: BLEDK3 UI CONFIGURATION TOOL WINDOW 2015-2016 Microchip Technology Inc. DS70005235C-Page 22 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 23
4. From the Open dialog, select the default UI parameter text file (provided with the UI tool) and then click Open, see Figure 3-3. FIGURE 3-3: OPEN DIALOG BOX 2015-2016 Microchip Technology Inc. DS70005235C-Page 23 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 24
3-4. FIGURE 3-4: UI CONFIGURATION TOOL WINDOW 6. From the Main Feature window, click BLEDK and then click OK, see Figure 3-5. FIGURE 3-5: MAIN FEATURE WINDOW 2015-2016 Microchip Technology Inc. DS70005235C-Page 24 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 25
(or any user-defined name), see Figure 3-6. Note: Click Help button to get the information related to UI parameters. FIGURE 3-6: CONFIGURING UI PARAMETERS - SYSTEM SETUP 2015-2016 Microchip Technology Inc. DS70005235C-Page 25 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 26
8. Click the LE Mode Setup tab, and under the Advertising Data Setting section, select Device Name to advertise the device name, see Figure 3-7. FIGURE 3-7: ADVERTISING DATA SETTING 2015-2016 Microchip Technology Inc. DS70005235C-Page 26 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 27
11. To write UI parameters on the BM70 module, perform these actions: a) Set the switch SW7 in the ON position (Test mode), see Figure 3-9. SW7 IN TEST MODE FIGURE 3-9: 2015-2016 Microchip Technology Inc. DS70005235C-Page 27 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 28
On connection, LED1 (blue) and LED6 (red) on the BM70 EVB will turn ON. e) Go to the UI Configuration Tool window, and click Write to download UI parameters on the BM70 module, see Figure 3-8. 2015-2016 Microchip Technology Inc. DS70005235C-Page 28 Arrow.com. Arrow.com. Arrow.com.
Page 29
READ/WRITE FLASH g) A message box will appear displaying the message “Write Flash Finish”. Click OK to download UI parameters, see Figure 3-13. FIGURE 3-13: MESSAGE BOX 2015-2016 Microchip Technology Inc. DS70005235C-Page 29 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Press the Reset button (SW5) to reset the BM70 EVB. On connection, LED6 (red) will turn ON and LED1 (blue) blinks once at an interval. FIGURE 3-15: POWER ON BM70 EVB 2015-2016 Microchip Technology Inc. DS70005235C-Page 30 Arrow.com. Arrow.com.
Page 31
Getting Started 3. Download the mBIoT app from the App Store and enable the Bluetooth settings on the iPhone, see Figure 3-16. FIGURE 3-16: ENABLING BLUETOOTH AND MBIOT APPLICATION 2015-2016 Microchip Technology Inc. DS70005235C-Page 31 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 32
SELECT BM70 BLE UART 5. A list of discoverable devices will be displayed, tap on the BM70_BLE to con- nect, see Figure 3-18. FIGURE 3-18: DISCOVERED DEVICES VIEW 2015-2016 Microchip Technology Inc. DS70005235C-Page 32 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 33
Figure 3-19 FIGURE 3-19: CONNECTED DEVICE VIEW 7. Tap Device Info to check the device information, see Figure 3-20. FIGURE 3-20: DEVICE INFORMATION 2015-2016 Microchip Technology Inc. DS70005235C-Page 33 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 34
3-21. FIGURE 3-21: DEVICE INFORMATION 9. The BLE link is established between the BM70 EVB and an iPhone, see Figure 3-22. FIGURE 3-22: BLE LINK CONNECTION 2015-2016 Microchip Technology Inc. DS70005235C-Page 34 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
BLE UART Transparent, BLE GATT-based transceiver, Bea- con and BeaconThings functionality. For additional information on the BLEDK3 application functionality, refer to the “IS187x_BM7x BLEDK3 Application Note”, which is available at Microchip web site: www.microchip.com/bm-70-pictail. 2015-2016 Microchip Technology Inc. DS70005235C-Page 35 Arrow.com. Arrow.com. Arrow.com.
3. Connect the BM70 EVB to a PC using the micro-USB cable, see Figure 4-2. On connection, LED6 (red) and LED1 (blue) will turn on. Press the Reset button (SW5) to reset the BM70 module. FLASH PROGRAMMING SETUP FIGURE 4-2: 2015-2016 Microchip Technology Inc. DS70005235C-Page 37 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 38
- Memory type/subtype: Flash/Embedded Flash - Address: 0000 On successful connection, “Port connect -> Port Number” message will be displayed, Figure 4-3. FIRMWARE UPDATE TOOL WINDOW - PORT CONNECT FIGURE 4-3: 2015-2016 Microchip Technology Inc. DS70005235C-Page 38 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 39
Figure 4-4. FIRMWARE UPDATE TOOL WINDOW FIGURE 4-4: 8. Click Browse to display four Flash code files (.hex) downloaded from the Microchip web site. 2015-2016 Microchip Technology Inc. DS70005235C-Page 39 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 40
9. From the Open dialog, select Flash code files and click Open, see Figure 4-5. Note: In this demonstration, the BLEDK3 v1.03 is used. SELECTING FLASH CODE FILES FIGURE 4-5: 2015-2016 Microchip Technology Inc. DS70005235C-Page 40 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 42
11. The Firmware Update tool will start writing the Flash codes. Wait until the mes- sage “End of Write Memory!” with the elapse time is displayed, see Figure 4-7. FIGURE 4-7: FIRMWARE UPDATE FINISH 2015-2016 Microchip Technology Inc. DS70005235C-Page 42 Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 43
12. To verify the firmware version, enter the following parameters under the Flash/EEPROM/MCU/AHB Access section, and then click Read, see Figure 4-8: - Address: “100e” - Length (Hex): “02” FIGURE 4-8: ENTERING PARAMETERS 2015-2016 Microchip Technology Inc. DS70005235C-Page 43 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
Page 44
13. The Data (Hex) box will display the value “01 03” along with the related log infor- mation, see Figure 4-9. FIGURE 4-9: DATA (HEX) VALUE 14. After completing the firmware update, reboot the BM70 EVB using the Reset button (SW5). 2015-2016 Microchip Technology Inc. DS70005235C-Page 44 Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com. Arrow.com.
UI update. The P2_0 pin is connected to the switch SW7 to switch between Application and Test modes. FIGURE 5-1: UART CONNECTION TO BM70 EVB DUT 2015-2016 Microchip Technology Inc. DS70005235C-Page 45 Arrow.com. Arrow.com.
BM70 EVB through the HCI UART interface by a defined com- mand set. The P2_0 pin is controlled by the MCU to switch between Application and Test modes. FIGURE 5-2: UART CONNECTION TO HOST MICROCONTROLLER DUT 2015-2016 Microchip Technology Inc. DS70005235C-Page 46 Arrow.com. Arrow.com. Arrow.com.
Need help?
Do you have a question about the BM70 PICtail and is the answer not in the manual?
Questions and answers