ISSC BM77EVB User Manual

BM77EVB
Evaluation Kit
User’s Guide
iSSC Te chnologies Corp.
Date Revision Content Version
2014/10/03 Revision for BM77EVB WPS, Oct 2014 0.4
© 2014 ISSC Technologies Corp.
1
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.
2
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.
3
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.
4
2. Block Diagram
The diagram below shows a simplified block diagram for the BM77EVB. For more detailed information please refer to BM77EVB schematic in Appendix B, BM77EVB Schematic.
P1
USB
RED
D1
JP1
Battery Connector
(3.3V - 4.3V)
External I2C
CN2
USB-to-UART Serial Converter
MCP2200
D+ D-
U3
LDO
EXT_3V3
VDD VUSB
U10
U5
VCC_HCI
LDO
(1.8V)
5V
U6
LDO
VCC_2V4
RESET
U1
EXT_3V7
LDO
JP2 BM77 Module
USB
VBAT
BAT
SW_BTN
SW5
[Push-On/Push-Off]
RTS
CTS
RESET
SW4
3V3
3V3
WAKE-UP
SW3
1V8
JP10
TX
RX
VCC_HCI
VCC_2V4/
EXT_3V3
U8/U9
BAT_IN
SW_BTN LDO33_O
VDD_IO LDO18_O
WAKEUP PMULDO_O P04
P15 P12/SCL
P13/SDA
U11
JP6
M_RX U_RX
JP5
M_TX U_TX
JP9
M_RTS U_CTS
JP7
M_CTS U_RTS
LED1
BLUE
3V3
External Antenna
(03 Option Only) BT_RF
LED1
P37 P36 P34 P33 P32 P31
TXD RXD
MODE
APP
EAN
P24 P20
ON
ON
© 2014 ISSC Technologies Corp.
System Configuration
TEST
WRITE
FLASH
123
ON
3V3
UART_CTS/P17
SW1
EAN P24 P20
123
ON
BM77 EVB BLOCK DIAGRAM
P05
UART_RTS/P00
P24
EAN
RST_N
P20
RESET
SW2
Last Revised: 2014-08-24 SB
5
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 bu t t o n mu s t be pr essed down to make BM77 wo rk .
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 s tate
© 2014 ISSC Technologies Corp.
6
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 BM7 7 & MCP2200. Remove the jumper if not using flow cont rol.
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 MC P2200 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 Pin ON Function
Test Mode High=Disable/ Application Low=Enable/ Test Mode
1 2 3 P20 P24 EAN Low Low High
3.3. Mode Switch Settings
Flash Write High=Disable Low=Enable
Boot by Flas h or ROM High=ROM Low=Flash
Mode Switch PIN Definition
Write Flash
Test Mode (Write EEPROM)
© 2014 ISSC Technologies Corp.
1. P20: Low
2. P24: Low
3. EAN: High
1. P20: Low
2. P24: High
7
3. EAN: Low
Application (default)
1. P20: High
2. P24: High
3. EAN: Low
© 2014 ISSC Technologies Corp.
8
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 d emonstra te th e ba sic d at a cap ab ilities of the BM77EVB, an d interoperability w ith 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
o Android device runn ing Android 4.3 or later o iOS: 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 Too l, “BTChat_V1.0.3.apk” available www.microchip.com/BM77 iOS Terminal “BLETR”, available on Apple AppStore™ MCP2200 dri ver 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.
9
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 Manag er port list, it may be necessary to install Microchip MCP2200 driver. (Search Internet by typing keyword”
Microchi p 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.
10
Loading...
+ 23 hidden pages