BM70 Compact Demo Board User's Guide

Appendix C. BM-70-CDB Example Configuration

C.1 INTRODUCTION

This section shows a procedure for updating the configuration parameters of the BM70 module using the BM-70-CDB.

C.2 REQUIREMENTS

C.2.1 Hardware Requirements

  • BM-70-CDB.
  • Bluetooth-enabled smartphone
  • iPhone 4S or later version (it must support BLE) or
  • Android device running Android 4.3 or later version.
  • Windows host PC with USB port.
  • MicroUSB cable.

C.2.2 Software Requirements

Download and install the latest firmware and corresponding tools (Firmware_SoftwareTools_Vx_xx.zip) from the Microchip website: www.microchip.com/BM70.

  • Firmware update tool (BM7xBLE_IS187x_FlashUpdateTool.exe).
  • Firmware hex images (*.H00, *.H01, *.H02, *.H03).
  • Configuration tool (IS187x_102_BLEDK3_UI v100.xxx.exe).
  1. Ensure the latest firmware is downloaded to the IS1870 IC on the BM-70-CDB. The initial BLE firmware version programmed into BM70 modules in Microchip's manufacturing line at the time of releasing this product to market was version 1.03. The latest firmware is made available on the BM70 product web page on Microchip's website.
  2. Ensure that the exact version of the Configuration tool (UI Tool) matches the specific firmware version programmed into the IS1870 IC's Flash memory is used to configure the module. For ease of use, the UI tool, firmware and firmware update utility are all provided in a single zip file for each version of firmware released by Microchip to the website. The latest firmware for the BM70 module is not compatible with older versions of the Configuration tool. To ensure the correct version of firmware and tools are being used together, a Firmware_Software_Vx_xx.zip file is provided. This archive contains firmware along with the compatible software tools for this specific firmware version.
  3. In the following example, the BM-70-CDB with firmware version 1.06 and Configuration tool (IS187x_102_BLEDK3_UI v100.132.exe) is used.

C.3 SETTING CONFIGURATION PARAMETERS

The Configuration tool or User Interface (UI) tool is a PC based program, which enables the user to change the configuration parameters of the BM70 (for hardware details on configuration, refer to Chapter 2. “Interface Description”). The following list provides some examples of the parameter settings that can be updated on the BM70 module using the UI tool (for the description of features, refer to Chapter 1. “Overview”):

  • Device name
  • UART settings
  • BLE connection settings
  • Add or edit GATT service table.

Perform the following actions to update the UI parameter settings:

1

Open the UI tool and click Load, see Figure C-1. The Loading Option window is displayed.

Download and unzip the contents of the Firmware_Soft-ware-Tools_Vx_xx.zip file, which is available at the Microchip website: www.microchip.com/BM70. The configuration tool is part of this zip file content and located under the sub-folder "ConfigurationTool/". In this demonstration, the IS187x_102_BLEDK3_UI v100.132.exe tool is used. This tool version corresponds to firmware version v1.06. This information is shown in by the file name, Firmware_SoftwareTools_Vx_xx.zip, where "Vx_xx" is the firmware version.

cdb-fig-c-1.png
FIGURE C-1: CONFIGURATION TOOL WINDOW

2

In the Loading Option window, click Load Text File to load default configuration parameters, see Figure C-2.

cdb-fig-c-2.png
FIGURE C-2: Loading Option Window

3

From the Open dialog, select the default configuration parameter text file (provided with the Firmware_SoftwareTools_Vx_xx.zip file under the "ConfiguartionTool/" sub-folder) and then click Open, see Figure C-3.

cdb-fig-c-3.png
FIGURE C-3: OPEN DIALOG BOX TO SELECT DEFAULT CONFIGURATION

4

From the Configuration Tool window, click Edit to start editing the default parameters, see Figure C-4.

cdb-fig-c-4.png
FIGURE C-4: CONFIGURATION TOOL WINDOW - EDIT OPTION

5

From the Main Feature window, click BLEDK and then click OK, see Figure C-5.

cdb-fig-c-5.png
FIGURE C-5: MAIN FEATURE WINDOW

6

The UI tool displays a window with various configuration options (tabs) in tabular format. Click the System Setup tab, and in the Name fragment box, type “BM70_BLE” (or any user-defined name), as shown in Figure C-6.

Click the Help button to get information related to UI parameters.

cdb-fig-c-6.png
FIGURE C-6: CONFIGURING PARAMETERS - SYSTEM SETUP

7

Click the LE Mode Setup tab and under the Advertising Data Setting section, select Device Name to advertise the device name, as shown in Figure C-7. This ensures that the name fragment is included in the advertising packet.

cdb-fig-c-7.png
FIGURE C-7: CONFIGURING PARAMETERS - LE MODE SETUP

8

Click Finish. The Configuration Tool main window is displayed, see Figure C-8.

cdb-fig-c-8.png
FIGURE C-8: CONFIGURATION TOOL WINDOW

9

From the Configuration Tool window, perform any one of these actions:

  • Click Save to save the selected parameter settings as .txt or .hex files (for later production programming).
  • Click Export to export a log file along with the parameters to a .txt file. The log file contains the settings of configuration parameters, which were edited.

10

To program the configuration parameters on the BM70 module, perform these actions:

  • Connect the BM-70-CDB to the host PC using the micro USB cable.
  • Verify that USB power is selected in J6 (close pins 2 and 3) and J8 (current measurement test point) is closed.
  • Verify that Switch 2 on SW2 is set to ON position.
  • Press SW1 (Reset) button and verify that LD2 is showing a non-flashing blue that indicates the BM70 is in Programming mode.
  • Go to the Configuration Tool window and click Write to program the settings into the internal memory of the BM70 module, see Figure C-9.
cdb-fig-c-9.png
FIGURE C-9: WRITE CONFIGURATION
  • The Read/Write Flash window is displayed. Select the values for COM Port and Baud rate (must be 115200 for the configuration to succeed), and then click Write, see Figure C-10.
cdb-fig-c-10.png
FIGURE C-10: COM SETTINGS TO WRITE CONFIGURATION
  • A message box will appear displaying the message “Write the UI configuration settings to EFLASH! Are you sure?”. Click Yes to write the configuration, see Figure C-11.
cdb-fig-c-11.png
FIGURE C-11: WRITE EFLASH ALERT
cdb-fig-c-12.png
FIGURE C-12: WRITE EFLASH FINISH
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site 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.