ISSC BM77EVB User manual

© 2014 ISSC Technologies Corp. 1
BM77EVB
Evaluation Kit
User’s Guide
iSSC Technologies Corp.
Revision History
Date Revision Content Version
2014/10/03 Revision for BM77EVB WPS, Oct 2014 0.4

© 2014 ISSC Technologies Corp. 2
TableofContents
1.Overview.................................................................................................................................3
1.1.BM77EVB Description...................................................................................................................................3
1.2.Features........................................................................................................................................................4
2.Block Diagram .......................................................................................................................5
3.Interface Description.............................................................................................................6
3.1.Power Switch Settings ..................................................................................................................................7
3.2.Mode Definitions...........................................................................................................................................7
3.3.Mode Switch Settings....................................................................................................................................7
4.Quick Start Guide to Using the BM77EVB..........................................................................9
4.1.Bluetooth SPP connection to Android Smartphone/Tablet ..............................................9
4.2.Bluetooth Low Energy Data Connection to iOS Device..................................................17
5.Appendix A: BM77SPP03 Module PIN Assignment.........................................................27
6.Appendix B: BM77EVB Schematic....................................................................................29
7.Appendix C: Q & A ..............................................................................................................32
8.Appendix D: Reversion History .........................................................................................33

© 2014 ISSC Technologies Corp. 3
1. Overview
This document describes the hardware and software for the ISSC BM77EVB evaluation kit.
The BM77EVB allows the designer to evaluate and demonstrate the capabilities of the ISSC BM77 Dual Mode
Bluetooth RF Module. The evaluation board includes an integrated configuration and programming interface for
plug-and-play capability. It also includes on-board connection and data status LEDs enabling rapid prototyping and
fast time to market.
In addition to BM77EVB hardware, several software applications are provided to demonstrate Bluetooth data
connections to the onboard BM77 module. The demonstration software consists:
Android Chat Application (SPP)
iOS Bluetooth Terminal (BLETR)
BT Chat Tool
1.1. BM77EVB Description
BM77EVB provides rapid prototyping and developing for Bluetooth data applications for Classic SPP or Bluetooth
Low Energy. It can be powered via USB host or external battery Li-Battery. The BM77EVB utilizes the BM77 module,
a fully certified Bluetooth 4.0 dual mode RF module supporting Bluetooth Classic SPP (Serial Port Profile) and
Bluetooth Low Energy (BTLE) – providing a Bluetooth serial data connections. The BM77EVB provides a USB
UART converter allowing flexible interface to host PC, a PC terminal utility and SmartPhone APPs to drive both
classic SPP and BTLE data connections.

© 2014 ISSC Technologies Corp. 4
1.2. Features
-Fully certified on board Bluetooth 3.0+EDR and Bluetooth 4.0 stack
-Class 2 transmitter, +2dBM typical
-Transparent serial data connection over Bluetooth Classic Serial Port Profile (SPP) and Bluetooth Low Energy
transparent serial data serive
-Automatic configuration mode for quick setup (default)
-Manual configuration mode where MCU can access configuration settings
-Configuration settings stored in EEPROM
-Onboard dipswitch block to set operating modes
-32- pin header to fully access BM77 pins
-Embedded MCP2200 USB-UART converter, no need for extra converter board or cable
-Integrated programming interface to update firmware and configuration settings

© 2014 ISSC Technologies Corp. 5
2. Block Diagram
The diagram below shows a simplified block diagram for the BM77EVB. For more detailed information please refer
to BM77EVB schematic inAppendix B, BM77EVB Schematic.
BAT_IN
JP2 BM77 Module
EXT_3V7
5V
USB
BAT
JP1
Battery Connector
(3.3V - 4.3V)
USB
P1
VBAT
LDO33_O
3V3 VDD_IO
LDO18_O
1V8
SW_BTN
EXT_3V3
MCP2200
VDD
VUSB
TX
RX
U11
U8/U9
VCC_HCI
VCC_2V4/
EXT_3V3
JP6
JP5
TXD
RXD
M_RX U_RX
M_TX U_TX
UART_CTS/P17
UART_RTS/P00
CTS
RTS
JP7
M_CTS U_RTS
JP9
M_RTS U_CTS
SW1
ON
123
WAKEUP
LED1
P24
EAN
RST_N
P20
P24
EAN
P20
3V3
P24
EAN
P20
APP
TEST
WRITE
FLASH
ON
ON
ON
123
System Configuration
MODE
VCC_2V4
VCC_HCI
LED1
D1
3V3
RESET
RED
BLUE
U10
P12/SCL
P13/SDA
External I2C JP10
3V3
P37
P36
P34
P33
P32
P31
(1.8V)
P04
P15
PMULDO_O
P05
BM77 EVB BLOCK DIAGRAM
D+
D-
USB-to-UART Serial Converter
LDO
U3
LDO
U5
LDO
U6
LDO
U1
CN2
Last Revised: 2014-08-24 SB
SW3
WAKE-UP
SW2
RESET
SW4
RESET
SW5
SW_BTN
[Push-On/Push-Off]
(03 Option Only) BT_RF
External Antenna

© 2014 ISSC Technologies Corp. 6
3. Interface Description
The illustration below shows a BM77EVB in its default configuration as shipped.
Description
1. JP1- Battery connector for Li-lon Battery, Voltage range 4.2~3.3V
2. JP2- Power source jumper
Source from BAT (4.2V~3.3)
Source from USB
(5V->LDO->3.7V)
3. SW5- The path between SW_BTN & BAT_IN, the button must be pressed down to make BM77 work.
4. JP3- Module 32-PIN out for connecting BM77 module to MCU
5. Bluetooth Module- BM77
6. I2C expansion port
7. I2C power jumper
8. SW3- Wake up button to wake up module from shutdown state

© 2014 ISSC Technologies Corp. 7
9. SW2- Reset button for Bluetooth module
10. JP4- Connect with iSSC propriety 8 PIN connector (EDGAR). Use Li-lon battery power and switch SW1
OFF while using EDGAR.
11. SW1- Mode Switch (see 3.2 Mode Definition, 3.3 Mode Settings)
12. JP7- CTS path of UART between BM77 & MCP2200. Remove the jumper if not using flow control.
13. JP9- RTS path of UART between BM77 & MCP2200. Remove the jumper if not using flow control.
14. JP6- RX path of UART between BM77 & MCP2200. Remove the jumper if trying to connect MCU & BM77.
15. JP5- TX path of UART between BM77 & MCP2200. Remove the jumper if trying to connect MCU & BM77.
16. U10- Microchip MCP2200 chip, USB/UART converter.
17. JP8- All the GPIO PIN connected to Microchip MCP2200.
18. SW4- Reset button for Microchip MCP2200
19. USB Connector- Micro USB connector
3.1. Power Switch Settings
Mode JP2
USB 5V
BAT 4.2V~3.3V
* Notice: SW5 button must be pressed down to wake BM77.
3.2. Mode Definitions
Switch Number 1 2 3
Pin P20 P24 EAN
ON Low Low High
Function Test Mode
High=Disable/ Application
Low=Enable/ Test Mode
Flash Write
High=Disable
Low=Enable
Boot by Flash or ROM
High=ROM
Low=Flash
3.3. Mode Switch Settings
Mode Switch PIN Definition
Write Flash
1. P20: Low
2. P24: Low
3. EAN: High
Test Mode
(Write EEPROM)
1. P20: Low
2. P24: High

© 2014 ISSC Technologies Corp. 8
3. EAN: Low
Application
(default)
1. P20: High
2. P24: High
3. EAN: Low

© 2014 ISSC Technologies Corp. 9
4. Quick Start Guide to Using the BM77EVB
The following sections describe how to establish Bluetooth serial data connections using the BM77EVB. The
purpose of the exercise is to demonstrate the basic data capabilities of the BM77EVB, and interoperability with other
Bluetooth devices. Please note that in all these demonstrations, the BM77EVB is a Bluetooth slave waiting for a
connection initiated by the Bluetooth master device.
For this demonstration, the following hardware and software is required:
Required Hardware:
BM77EVB Evaluation Kit, p/n EV77SPPS3MC2A available on www.microchipdirect.com
Bluetooth enabled Smartphone or Tablet
oAndroid device running Android 4.3 or later
oiOS: iPhone 4S or later, iPad3 or later, must support Bluetooth Low Energy
Windows Host PC with USB port
Required Software:
The software applications needed to demonstrate the BM77EVB is show below:
BT Chat Tool, “BT Chat v004.exe” available at www.microchip.com/BM77
Android Chat Tool, “BTChat_V1.0.3.apk” available www.microchip.com/BM77
iOS Terminal “BLETR”, available on Apple AppStore™
MCP2200 driver for Windows, available at www.microchip.com/MCP2200
4.1.Bluetooth SPP connection to Android Smartphone/Tablet
In this demonstration a Bluetooth (SPP) data connection will be established between the BT Chat Tool, across
BM77EVB to the Smartphone application. For the SPP demonstration an Android 4.3 or later smartphone or
tablet is required.
As illustrated below, the host PC runs a BT Chat Tool application, which transfers serial data over a COM port (USB
virtual COM port) to BM77EVB, where it is transmitted over a Bluetooth connection to the remote Bluetooth host,
which is this example is a Smartphone application.

© 2014 ISSC Technologies Corp. 10
Step 1. Verify JP2 is configured for USB power.
Default is using USB as the main power supply.
Step 2. Verify SW1 switches are set to Application mode.
Make sure the SW1 is under the Application Mode. 1: OFF, 2: OFF, 3: OFF
Step 3. Verify SW5 button is in the ON (pushed down).
Step 4. Using the micro USB cable, connect the BM77EVB to host PC USB port to power up EVB.
The blue connection LED1 indicates connection state as follows:
Stand-by State- the LED1 of EVB will blink once at a time. (Blue)
Pairing, Connected State- the LED01 will blink twice at a time.
Step 5. Verify Virtual COM port is created
If a virtual COM is not observed in the Device Manager port list, it may be necessary to install Microchip
MCP2200 driver. (Search Internet by typing keyword” Microchip MCP2200 Driver”)
Step 6. Run the BT Chat Tool.exe on your PC and make sure the COM Port is connected.

© 2014 ISSC Technologies Corp. 11
a. Select the COM Port assigned to the BM77EVB
b. Verify default BaudRate is 115200
c. Click Connect button.
d. The Connect button will change into a Disconnect button after connected.
e. Text box to enter characters to transmit.
f. Click Send to transmit text is to SmartPhone over BM77EVB Bluetooth connection.

© 2014 ISSC Technologies Corp. 12
g. The Black text are sent from PC tool (Bluetooth EVB)
h. The Red texts are sent from smart phone
i. Click the check box of Burst Send will be continuous to send text from this tool.
j. Repeat column means the how many times these texts will be resend.
k. Interval means the interval between two records.
l. Clear button will clear up the texts on the screen.
Step 7. Install theAndroid BT Chat APP on theAndroid device.
The installation is performed by copying or downloading the “BTChat_V1.0.3.apk” file onto the Android device. The
APK file can be copied onto Android device by using an SD Card to transfer file, or plugging Android device into host
PC where Android device mounts as external USB drive (Android MTP is required on host). Once the APK file
copied onto Android device, follow the instructions below.
a. As shown below in left illustration, use and opening from file from Android File Manager “My Files” App. It
may be necessary to enable the “Unknown Sources” in Device Security settings.
b. After successful install, the BtChat APP is displayed in Application view
a b

© 2014 ISSC Technologies Corp. 13
Step 8. Pairing the BM77EVB to the Android Device
a. Open Settings/ Bluetooth page and ON the Turn On Bluetooth.
b. Press Scan the button in step 2 to initiate the Bluetooth Device scan
c. Find the BM77EVB device named “Dual-SPP” and select it to start the pairing process.
d. Once paired, the Dual-SPP (BM77EVB) device will be listed in paired device list.
a
b
c
d

© 2014 ISSC Technologies Corp. 14
Step 9. Launch the BtChat APP on Android Device
a. BT Chat APP main window is displayed.
b. Use the Android menu button to open BT Chat menu options. Select the “Setting” button to open APP
setting view.
c. Enable the “Show Rx Text” options. Press the “Back” button to return to main window.
a b c

© 2014 ISSC Technologies Corp. 15
Step 10. Setting up Bluetooth SPP connection to the BM77EVB device
a. From BT ChatAPP main window, press theAndroid menu button to open BT Chat menu options. Select the
“Connect a device” button to open paired device list.
b. Select the “Dual-SPP” device to open an SPP connection to BM77EVB.
c. After connection is established the status message is displayed in main window.
a
b
c

© 2014 ISSC Technologies Corp. 16
Step 11. Transferring data from BM77 toAndroid Device via Bluetooth SPP connection
Launch the Bluetooth Chat application on host PC tool and set the correct COM port corresponding to the
BM77EVB.
a. Enter text to send in BTChat Android APP
b. Click “Send” to transmit text to BM77 connected to Bluetooth Chat on PC
c. Observe received text in red font color on Bluetooth Chat PC
d. Enter enter text to send in Bluetooth Chat PC
e. Click “Send” to transmit text to Android BTChat Android APP
f. Observe received text in BTChat Android APP
a b
c
d e
f

© 2014 ISSC Technologies Corp. 17
4.2.Bluetooth Low Energy Data Connection to iOS Device
This demonstration show how serial data is transmitted from BM77EVB (via PC Chat) to an iOS device using
Bluetooth Low Energy connection. This demonstration uses ISSC BLETR APP to connection to the BM77EVB.
Bluetooth Low Energy is utilized since iOS devices do not support Bluetooth Classic SPP data connections. A key
feature of the BM77 is transparent serial data connection from BM77 UART to an iOS device.
a. Using an iPhone 4S or later, iPad3 or later device, download and install “ISSC BLETR” APP. As illustrated
below, the BLETR App is available on the AppStore.

© 2014 ISSC Technologies Corp. 18
b. Turn on the Bluetooth radio in iPhone, iPod or iPad Settings application.
c. Go to Settings/ General/ Bluetooth Page.
d. Turn ON the Bluetooth.
e. Launch the iSSC BLETR APP and it will scan the Bluetooth Low Energy Peripheral devices and list them. If
the device does not appear press the “Refresh” button to restart the BTLE peripheral scan. Find the
Dual-SPP BTLE peripheral device. Select it to start a connection to the BM77EVB named Dual-SPP.
f. After a successful connection to BM77EVB, BLETR will display the device as connected as shown below.

© 2014 ISSC Technologies Corp. 19
g. Select the connected Dual-SPP device to display the top level view. This view presents three options when
connected to a BM77EVB.
Transparent - View to display received data, send data, and enable features
Proprietary- This view sets Bluetooth Low Energy connection parameters
Device Info -This view displays the settings for Bluetooth Low Energy Device Information Service

© 2014 ISSC Technologies Corp. 20
h. Selecting “Transparent” button opens the transparent Serial Data view as shown below. The default mode is
Raw (ASCII) mode where any data characters received are displayed in the large text box in red font.
Data Mode Transfer
Table of contents