2014 Microchip Technology Inc. DS70005190B
PIC32 Bluetooth® Starter Kit
User’s Guide
DS70005190B-page 2 2014 Microchip Technology Inc.
Information contained in this publication regarding deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights.
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.
Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.
QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV
== ISO/TS 16949 ==
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, flexPWR, JukeBlox, KEELOQ, KEELOQ logo, Kleer, LANCheck, MediaLB, MOST, MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC32 logo, RightTouch, SpyNIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet, KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, RightTouch logo, REAL ICE, SQI, Serial Quad I/O, 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.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
GestIC is a registered trademarks 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.
© 2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
ISBN: 978-1-63276-588-8
Object of Declaration: DM320018, PIC32 Bluetooth® Starter Kit
2014 Microchip Technology Inc. DS70005190B-page 3
PIC32 Bluetooth® Starter Kit User’s Guide
NOTES:
DS70005190B-page 4 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KIT
USER’S GUIDETable of Contents
Chapter 1. Introduction1.1 Kit Contents .................................................................................................. 131.2 PIC32 Bluetooth Starter Kit Functionality and Features ............................... 14
Chapter 2. Hardware2.1 Hardware features ........................................................................................ 17
Appendix A. Layout and Schematics ......................................................................... 19
Appendix B. Bill of Materials....................................................................................... 29
2014 Microchip Technology Inc. DS70005190B-page 5
PIC32 Bluetooth® Starter Kit User’s Guide
NOTES:
DS70005190B-page 6 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KITUSER’S GUIDE
Preface
INTRODUCTION
This chapter contains general information that will be useful to know before using the PIC32 Bluetooth Starter Kit. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the PIC32 Bluetooth Starter Kit as a development tool to emulate and debug firmware on a target board. This document includes the following chapters:
• Chapter 1. “Introduction” provides a brief overview of the starter kit, highlighting its features and uses.
• Chapter 2. “Hardware” provides the hardware descriptions of the starter kit.
• Appendix A. “Layout and Schematics” provides a block diagram, wire list, and detailed schematics of the starter kit.
• Appendix B. “Bill of Materials” provides the bill of material descriptions and the reference, manufacturer, and part numbers for the components used in the starter kit hardware.
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files.
2014 Microchip Technology Inc. DS70005190B-page 7
PIC32 Bluetooth® Starter Kit User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Italic characters Referenced books MPLAB IDE User’s Guide
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog
A menu selection select Enable Programmer
Quotes A field name in a window or dialog
“Save project before build”
Underlined, italic text with right angle bracket
A menu path File > Save
Bold characters A dialog button Click OK
A tab Click the Power tab
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Plain Courier New Sample source code #define START
Filenames autoexec.bat
File paths c:\mcc18\h
Keywords _asm, _endasm, static
Command-line options -Opa+, -Opa-
Bit values 0, 1
Constants 0xFF, ‘A’
Italic Courier New A variable argument file.o, where file can be any valid filename
Square brackets [ ] Optional arguments mcc18 [options] file [options]
Curly brackets and pipe character: { | }
Choice of mutually exclusive arguments; an OR selection
errorlevel {0|1}
Ellipses... Replaces repeated text var_name [, var_name...]
Represents code supplied by user
void main (void){ ...}
Notes A Note presents information that we want to re-emphasize, either to help you avoid a common pitfall or to make you aware of operating differences between some device family members. A Note can be in a box, or when used in a table or figure, it is located at the bottom of the table or figure. Note 1: This is a note used in a
table.
Note: This is a standard note box.
CAUTION
This is a caution note.
DS70005190B-page 8 2014 Microchip Technology Inc.
RECOMMENDED READING
This document describes how to use the starter kit. The following Microchip documents are available and recommended as supplemental reference resources.
Bluetooth Audio Development Kit Readme Files
For the latest information on using the development kit and its related demonstrations, please consult the Readme file provided in the installation directory. The Readme file contains information on revision updates and known issues that may not be included in this reference guide.
PIC32MX1XX/2XX Family Data Sheet (DS60001168)
Consult this document for detailed information on PIC32 devices. Reference information found in this data sheet includes:
• Device memory maps
• Device pinout and packaging details
• Device electrical specifications
• List of peripherals included on the devices
Section 27. “USB On-The-Go” (DS61126)
This section of the “PIC32 Family Reference Manual” provides a detailed description and overview of the functionality of the USB OTG module.
Microchip Bluetooth® Stack for PIC32
This application note provides information on the Application Programming Interfaces for various profiles, protocols, and decoders available in the Bluetooth Stack for PIC32 devices.
MPLAB® XC32 C/C++ Compiler User’s Guide (DS50001686)
This document details the use of Microchip’s MPLAB XC32 C/C++ Compiler to develop an application.
MPLAB® X IDE User’s Guide (DS50002027)
Refer to this document for more information pertaining to the installation and implementation of the MPLAB X IDE software, as well as the MPLAB SIM Simulator software that is included with it.
PICkit™ 3 In-Circuit Debugger/Programmer User’s Guide (DS50002116)
This document describes how to use the PICkit 3 as a development tool to emulate and debug firmware on a target board, as well as how to program devices.
PICkit 3 In-Circuit Debugger/Programmer Online Help File
A comprehensive help file for the debugger is included with MPLAB X IDE. Usage, trou-bleshooting and hardware specifications are covered. This may be more up-to-date than the printed documentation. Also, limitations are listed for various devices.
Note: Please contact Microchip Marketing for information regarding this document.
2014 Microchip Technology Inc. DS70005190B-page 9
PIC32 Bluetooth® Starter Kit User’s Guide
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at: http://www.microchip.com. This web site makes files and information easily available to customers. Accessible by most Internet browsers, the web site contains the following information:
• 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 consultant program member listings
• 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
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest.
To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers and other language tools
• Emulators – The latest information on the Microchip in-circuit emulator, MPLAB REAL ICE™
• In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 3
• MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the Windows® Integrated Development Environment for development systems tools
• Programmers – The latest information on Microchip programmers including the PICkit™ 3 development programmer
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer (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
DS70005190B-page 10 2014 Microchip Technology Inc.
DOCUMENT REVISION HISTORY
Revision A (July 2014)
This is the initial release of the PIC32 Bluetooth® Starter Kit User’s Guide.
Revision B (September 2014)
This revision includes updates to the Bill of Materials (see Table B-1).
2014 Microchip Technology Inc. DS70005190B-page 11
PIC32 Bluetooth® Starter Kit User’s Guide
NOTES:
DS70005190B-page 12 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KIT
USER’S GUIDEChapter 1. Introduction
®
Thank you for purchasing the Microchip Technology PIC32 Bluetooth Starter Kit (P/N: DM320018). This starter kit provides a low-cost solution for developing Bluetooth Serial Port Profile (SPP) applications.1.1 KIT CONTENTS
The starter kit ships with demonstration code that enables SPP full-duplex data trans-mission with many connected Bluetooth-enabled smart devices. The starter kit supplies on-board circuitry for full debug and programming capabilities and includes an inte-grated Bluetooth HCI module. Optionally, the starter kit board may be coupled with an expansion daughter board through its expansion header interface.
The PIC32 Bluetooth Starter Kit contains the following items:
• PIC32 Bluetooth Starter Kit development board, which includes:
- An integrated HCI-based Bluetooth radio
- USB host and device connectors
- High output multi-color LED
- Accelerometer and temperature sensor.
• USB Type-A to B-mini cable for power and debug of the development board
Note: The starter kit is preprogrammed with Bluetooth SPP full-duplex data transmission demonstration software and more demonstrations are planned in the near future. The demonstration applications are available for download with MPLAB® Harmony v0.80.02 or later. Please refer to the MPLAB Harmony documentation, which is available from http://microchip.com/harmony/ for more information on these demonstrations. An Android application for handsets is also available in this version of MPLAB Harmony to support the SPP data demonstration.
Note: If you are missing any part of a kit, contact a Microchip sales office for assis-tance. A list of Microchip offices for sales and service is provided on the last page of this document.
2014 Microchip Technology Inc. DS70005190B-page 13
PIC32 Bluetooth® Starter Kit User’s Guide
1.2 PIC32 BLUETOOTH STARTER KIT FUNCTIONALITY AND FEATURES
The top assembly of the development board in the PIC32 Bluetooth Starter Kit has the following key features, as indicated by the corresponding number in Figure 1-1.
1. PIC32MX270F256D 32-bit microcontroller (U1).
2. CREE high output multi-color LED with PWM input.3. USB Type-A connector to support USB host.4. USB mini-B connector for on-board debugging support.5. Device Reset push button.6. Five user-definable push buttons (SW1-SW5).7. SPI Serial EEPROM (2 Mb).8. Daughter board expansion connector (DAC or codec support).9. Integrated Certified HCI Class 1 Bluetooth radio module.10. Authentication connector.11. Integrated 3-axis accelerometer and temperature sensor.
FIGURE 1-1: PIC32 BLUETOOTH® STARTER KIT DEVELOPMENT BOARD LAYOUT (TOP VIEW)
7
5 6
8
1
34
2
9
10
6 6 6 6
11
DS70005190B-page 14 2014 Microchip Technology Inc.
Introduction
The bottom assembly of the development board in the starter kit has the following key features, as indicated by the corresponding number in Figure 1-2.
1. PIC24FJ256GB106 USB microcontroller for on-board debugging.
2. USB micro-AB receptacle for USB Host or Device connectivity for PIC32 USB applications.
3. Regulated +3.3V power supply for powering the starter kit through USB or an expansion board.
FIGURE 1-2: PIC32 BLUETOOTH® STARTER KIT DEVELOPMENT BOARD LAYOUT (BOTTOM VIEW)
1
2 3
2014 Microchip Technology Inc. DS70005190B-page 15
PIC32 Bluetooth® Starter Kit User’s Guide
NOTES:
DS70005190B-page 16 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KIT
USER’S GUIDEChapter 2. Hardware
This chapter describes the hardware features of the PIC32 Bluetooth Starter Kit
2.1 HARDWARE FEATURES
The following key features of the starter kit are presented in the order provided in 1.2 “PIC32 Bluetooth Starter Kit Functionality and Features”. Refer to Figure 1-1 and Figure 1-2 for their locations on the development board.
2.1.1 Bluetooth ModuleThe FLC-BTM805 is a dual-mode Bluetooth HCI module that allows original equipment manufacturers to add Bluetooth wireless capability to their products. The module supports BT2.1 and later with an HCI interface, which makes it simple to design into fully certified embedded Bluetooth solutions. The module supports Bluetooth Enhanced Data Rate (EDR) and delivers up to a 3 Mbps data rate. In addition, the module supports Class 1 transmission and multiple device connection.
2.1.2 Processor SupportThe development board in the starter kit is designed with a permanently mounted (i.e., soldered) PIC32MX270F256D microcontroller. Support for this microcontroller is available using the Microchip MPLAB® X IDE v2.10 and later, and with the MPLAB XC32 C/C++ Compiler v1.32 or later.
2.1.3 Powering the Starter KitUse one of the following methods to provide power to the starter kit:
• Connect USB bus power to the USB debug connector, J7
• Apply VBUS (+5V) power to the micro-B USB connector
• Connect an external application board with a regulated DC power supply that provides +5V to the J8 header (not populated)
2.1.4 USB Connectivity
2.1.4.1 HOST MODE
Connect the device to the Type-A connector, J1, which is located on the top of the starter kit development board.
2.1.4.2 DEVICE MODE
Connect the starter kit to the Host using a cable to port J2, which is located on the bottom of the starter kit development board.
2.1.4.3 DEBUGGING MODE
The starter kit includes a PIC24FJ256GB106 USB microcontroller that provides debug-ger connectivity over USB. The PIC24FJ256GB106 is hard-wired to the PIC32 device to provide protocol translation through the I/O pins of the PIC24FJ256GB106 to the ICSP™ pins of the PIC32 device.
Connect the starter kit to port J7, which is located on the top side of the starter kit development board.
2014 Microchip Technology Inc. DS70005190B-page 17
PIC32 Bluetooth® Starter Kit User’s Guide
2.1.5 Switches
Switches, SW1-SW6, are available on the development board of the starter kit. SW6 is connected to the reset pin (RB5) of the board. When Idle, the switches are pulled high (+3.3V), and they are grounded when pressed.
2.1.6 Other Features
The starter kit is integrated with a temperature sensor, the Cree high output multi-color LED with PWM, a 3D- accelerometer, and an authentication connector. These features are used for application development purposes.
DS70005190B-page 18 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KIT
USER’S GUIDEAppendix A. Layout and Schematics
FIGURE A-1: PIC32 BLUETOOTH STARTER KIT HIGH-LEVEL BLOCK DIAGRAM
PIC32MX270F256D
Low-cost Bluetooth HCI
Module
16/24- bit Codec (optional)
SPI Flash2 MB
Reset
Multicolor LED
Switches
3-D Accelerometer
Temperature Sensor
Type-A USB mini-B USBConnector Connector
and
2014 Microchip Technology Inc. DS70005190B-page 19
PIC32 Bluetooth® Starter Kit User’s Guide
TABLE A-1: PIC32 BLUETOOTH STARTER KIT WIRE LIST
PIC32MX270F256DPin Number
PIC32MX270F256D Pin Name Schematic Signal Name
1 RPB9/SDA1/CTED4/PMD3 GPIO_10/I2C1_SDA
2 RPC6/MA1/RC6 GPIO_1/UART1_Rx
3 RPC7/PMA0/RC7 GPIO_2/UART1_Tx
4 RPC8/PMA5/RC8 GPIO_18/UART2_RX
5 RPC9/TED7/PMA6/RC9 LED3#
6 VSS GND SET
7 VCAP 3.3VDD
8 PGED2/RPB10/D+/CTED11/RB10 PIC32_D+
9 PGEC2/RPB11/D-/RB11 PIC32_D-
10 VUSB3V3 —
11 AN11/RPB13/CTPLS/PMRD/RB13 GPIO_27/SPI2_SDI
12 PGED/TMS/PMA10/RA10 PGED2/PGED4
13 PGEC PGEC2/PGEC4
14 CVREFOUT/AN10/C3INB/RPB14/VBUSON/SCK1/TED5/RB14 GPIO_6/I2S1_BCLK
15 AN9/C3INA/RPB15/SCK2/TED6/PMCS1/RB15 GPIO_22/I2S2_BCLK
16 VSS AVSS
17 VDD AVDD
18 MCLR PIC32_MCLR#
19 PGED3/VREF+/CVREF+/AN0/C3INC/RPA0/CTED1/PMD7/RA0 LED1#
20 PGEC3/VREF-/CVREF-/AN1/RPA1/CTED2/PMD6/RA1 LED2#
21 PGED1/AN2/C1IND/C2INB/C3IND/RPB0/PMD0/RB0 FLASH_CS#/SS2#
22 PGEC1/AN3/C1INC/C2INA/RPB1/CTED12/PMD1/RB1 GPIO_3/UART1_CTS
23 AN4/C1INB/C2IND/RPB2/SDA2/CTED13/PMD2/RB2 VBUS_SENSE
24 AN5/C1INA/C2INC/RTCC/RPB3/SCL2/PMWR/RB3 SW1#
24 AN5/C1NA/C2INC/RTCC/RPB3/SCL2/PMWR/RB3 SW2#, SW3, SW4, SW5
25 AN6/RPC0/RC0 —
26 AN7/RPC1/RC1 GPIO_5/I2S1_MCLK
27 AN8/RPC2/PMA2/RC2 GPIO_4/UART1_RTS
28 VSS --VSS
29 VDD --VDD
30 OSC1/CLK1/RPA2/RA2 XTAL (8Mhz)
31 OSC2/CLK0/RPA3/RA3 XTAL (8Mhz)
32 TD0/RPA8/PMA8/RA8 GPIO_11/SPI1_SDI
33 SOSCI/RPB4/RB4 GPIO_8/I2S1_LRCL
34 SOSC0/RPA4/T1CK/CTED9/RA4 GPIO_25/I2S2_SDO
35 TD1/RPA9/PMA9/RA9 GPIO_9/I2S1_SDO
36 AN12/RPC3/RC3 GPIO_20/UART2_CTS
37 RPC4/PMA4/RC4 GPIO_19/UART2_TX
38 RPC5/PMA3/RC5 —
39 VSS -VSS
40 VDD -VDD
41 RPB5/USBID/RB5 GPIO_12 / STBY / RST
42 VBUS VBUS
43 RPB7/CTED3/PMD5/INT0/RB7 GPIO_21/UART2_RTS
44 RPB8/SCL1/CTED10/PMD4/RB8 GPIO_7/I2C1_SCL
DS70005190B-page 20 2014 Microchip Technology Inc.
FIGURE A-2: BOOST CONTROLLER
FIGURE A-3: 3-AXIS ACCELEROMETER
MCP1650S-E/MS
CS 3
NC6
FB 4
EXT 1GND2
SHDN5
NC 7
VIN8U2 +9 V
1.22vFB
10uF
C2510uF
C24
10kR7
4.7kR48
0.5R
R46
30kR47
31
2AO3424Q1
+5V_PD +9V
SD107WS
D1
LPS3015-153ML
15uHL1
+3.3V
SDA1
SCL1
+3.3V +3.3V
0.1uFC6
0.1uFC7
SDO1
SDx2
VDDIO 3
NC 4
INT15
INT26
VDD 7
GNDIO 8
GND 9
CSB10
PS11
SCx12
U3
BMA250E
+3.3V
0R
R35
+3.3V
ACC_INT0RR31
+3.3V
10kR8
DNPR59
2014 Microchip Technology Inc. DS70005190B-page 21
PIC32 Bluetooth® Starter Kit User’s Guide
FIGURE A-4: BLUETOOTH HCI MODULE
FIGURE A-5: SERIAL FLASH
FIGURE A-6: DAUGHTER BOARD CONNECTOR
NC1
GND2
VDD_AUX3
PIO_04
PIO_35
PIO_16
VDD_DIG7
PIO_48
PIO_29
PIO_510
VDD_PADS11
VREG_EN_RST#12 VDD_IN 13
VREG_OUT_HV 14
UART_TX 15
UART_RX 16
UART_RTS 17
UART_CTS 18
VDD_RADIO 19
SPI_PCM#_SEL 20
SPI_MOSI 21
CLK 22
SPI_CS# 23
SPI_MISO 24
GND
25
GND
26
GND
27
GND
28
NC
GND
VDD_AUX
PIO_0
PIO_3
PIO_1
VDD_DIG
PIO_4
PIO_2
PIO_5
VDD_PADS
VREG_EN_RST# VDD_IN
VREG_OUT_HV
UART_TX
UART_RX
UART_RTS
UART_CTS
VDD_RADIO
SPI_PCM#_SEL
SPI_MOSI
CLK
SPI_CS#
SPI_MISO
GND
GND
GND
GND
U4Bluetooth_BTM805CL2B
STBY/RST
UART2_RTS
UART2_CTS
UART2_TX
UART2_RX4M BaudMax <1%}
+3.3V
+3.3V
0.1uFC8
2.2uFC27
2.2uFC28
2.2uFC29
2.2uFC30
2.2uFC31
2.2uF
C32GREEN
D7
470R
R52
SO2 HOLD 7
WP3
Vss4 SI 5
SCK 6
CE1 Vdd 8
U5
SST25VF016_SO8
+3.3V
+3.3V
+3.3V
SS2
+3.3V
SDO2
SCK2
SDI2
0.1uFC9
10kR9
I2S1_MCLK
I2S1_BCLK
I2S1_SDO
I2S1_LRCL (FRAME/SS#)
(SCK1)
(REFCLKO)
UART1_Rx
UART1_Tx
UART1_CTS#
UART1_RTS#
SCL1
SDA1
+5V_PD
TSW-110-07-T-D
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
J3
TSW-106-07-F-D
1 2
3 4
5 6
7
9
8
10
11 12
J4
+3.3V+9 V
STBY/RST
CARD_ID
I2S1_SDI
DS70005190B-page 22 2014 Microchip Technology Inc.
FIGURE A-7: AUTHENTICATION CONNECTOR
SCL1 GND 2
SDA3 NC 4
VCC5 NC 6
NC7 RST 8
NC9 NC 10
J5
+3.3V
SDA1
SCL1
3.3kR28
+3.3V
0.1uFC10
3.3kR29
2014 Microchip Technology Inc. DS70005190B-page 23
PIC
32 Blu
etoo
th®
Starter K
it User’s G
uid
e
DS
70005190B
-page 24
2014 M
icrochip Technolo
gy Inc.
+3.3V_PKOB
VICE
10k
R14
10k
R13
8pF
C39
8pF
C38
12MHzY2
SERIAL EEPROM (25LC256)
2.21kR39
CS1 SO 2
WP3
VSS
4
SI5
SCK6
HOLD7
VCC
8
25LC256
U7
123456
J6
PGC__PKOBPGD_PKOB
+3.3V_PKOB
ICSP_MCLR_VPP_PICKIT3
UTIL_SDI
UTIL_SDO
UTIL_SCK
+3.3V_PKOB
UTIL_CS
UTIL_WP
1uFC21
10kR11
10kR10
ICSP SIGNALS
4.7kR44
4.7kR45
PGC4
PGD4
0RR34
0RR33
(Local Vdd/Vss bypass/decoupling.)
+3.3V_PKOB
0.1uFC11
0.1uFC12
0.1uFC13
0.1uFC14
0.1uFC15
ICSP_MCLR_VPP_TARGET
+3.3V_PKOB
100R1206
R63
10kR16
0RR36
100kR19
NP1
DNPR62
13
2MMBT3904Q2
12
3MMBT3906Q3
13
2MMBT3904Q4
FIGURE A-8: POWER DISTRIBUTION (SHEET 1 OF 2)
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
+3.3V_PKOB
ASSEMBLY_ID_0
ASSEMBLY_ID_1
ICSP_MCLR_VPP_PICKIT3
POWER_GOOD_PICKIT3
SCK
SDI
SDO
USB_D-
USB_D+
UTIL_SCK
UTIL_SDI
UTIL_SDO
VBUS_DE
VDD_SENSE
VPP_GND
VPP_ON
VPP_SENSE
VREF_2.5V
PGC__PKOB
PGD_PKOB
AN6/RB6
17PM
PD4/RE4
64
AVSS
20PM
PD1/RE1
61
PMA13
/AN10
/RB10
23RF0
58
VDD
26RD7
55
PMA1/AN14
/RB14
29PM
WR/RD4
52
PMA8/SC
L2/RF5
32VCPC
ON/RD1
49
AN0/RB016
AN3/RB313
VDD10
MCLR7
PMA5/RG64
PMD5/RE51
USBID/RF3 33
D-/RG3 36
OSC1/CLKIN/RC12 39
RTCC/RD8 42
PMCS1/RD11 45
SOSCO/RC14 48
AN2/RB214
AN1/RB115
PMA2/RG98
VSS9
AN5/RB511
PMD6/SCL3/RE62
PMD7/SDA3/RE73
PMA4/RG75
AN7/RB7
18
AVDD
19
AN8/RB8
21
PMPD
3/RE3
63
PMPD
2/RE2
62
PMPD
0/RE0
60
PMA12
/AN11
/RB11
24
VSS
25
PMA11
/AN12
/RB12
27
ENVREG
57
Vcap/VDDCORE
56
RD6
54
PMA0/AN15
/RB15
30
PMA9/SD
A2/RF4
31
PMBE/RD3
51
DHP/RD2
50
Vusb 35
Vbus 34
VSS 41
OSC2/CLKO/RC15 40
VDD 38
SOSCI/RC13 47
INT0/RD0 46
SCL1/PMCS2/RD10 44
USBOENAN4/RB412
PMA3/RG86
D+/RG2 37
SDA1/RD9 43
PMA7/AN9/RB9
22RF1
59
PMA10
/AN13
/RB13
28PM
RD/RD5
53
AN6/RB6
PMPD
4/RE4
AVSS
PMPD
1/RE1
PMA13
/AN10
/RB10
RF0
VDD
RD7
PMA1/AN14
/RB14
PMWR/RD4
PMA8/SC
L2/RF5
VCPC
ON/RD1
AN0/RB0
AN3/RB3
VDD
MCLR
PMA5/RG6
PMD5/RE5
USBID/RF3
D-/RG3
OSC1/CLKIKK N/RC12II
RTCC/RD8
PMCS1/RD11
SOSCO/RC14VV
AN2/RB2
AN1/RB1
PMA2/RG9
VSS
AN5/RB5
PMD6/SCL3/RE6
PMD7/SDA3/RE7
PMA4/RG7AN7/RB7
AVDD
AN8/RB8
PMPD
3/RE3
PMPD
2/RE2
PMPD
0/RE0
PMA12
/AN11
/RB11
VSS
PMA11
/AN12
/RB12
ENVREG
Vcap/VDDCORE
RD6
PMA0/AN15
/RB15
PMA9/SD
A2/RF4
PMBE/RD3
DHP/RD2
Vusb
Vbus
VSS
OSC2/CLKO/RC15
VDD
SOSCI/RC13
INT0/RD0II
SCL1/PMCS2/RD10
USBOENAN4/RB4
PMA3/RG8
D+/RG2
SDA1/RD9
PMA7/AN9/RB9
RF1
PMA10
/AN13
/RB13
PMRD/RD5
U6
PIC24FJ256GB106
VBUS_DEVICE_SWITCHED_SENSE
TARGET_POWER_ENABLE
200k
R40
330R
R25
3.16k
R49
10uFC26
1uFC2210k
R12
0.1uFC18
0.1uFC19
1kR3
100R
R50
UTIL_CS
UTIL_WP
TARGET
SCK
SDI
SDO330R
R22
330R
R23
330R
R24
VDD_SENSE
VPP_GND
VPP_ON
VPP_SENSE
10kR15
2.21kR37
3.92kR51
2.21kR38
DR6
10k
R17
10k
R18
2014
Microchip T
echnology Inc.D
S7
0005190B-p
age 25
F
+3.3V_PKOB
POWER_GOOD_PICKIT3
2.2kDNP
R58
GREEND5
2.2uFC34
330RR26
200kR41
0.1uFC16
0.1uFC17
GND
+3.3V_PKOB
N
IGURE A-9: POWER DISTRIBUTION (SHEET 1 OF 2)
USB_D-USB_D+
POWER DISTRIBUTION/SWITCHING
USB INTERFACE(BUS POWERED)
GND_E
P9
GND4
VIN1
PWRGD 5
VOUT 8
VIN2
SHDN3
SENSE 7
CDELAY 6
GND_E
P
GND
VIN
PWRGD
VOUT
VIN
SHDN
SENSE
CDELAY
U8
MCP1727-3302E/MF
+5V
0RR32
MBR0520
D2
ID 4
VBUS 1
GND 5
D- 2
D+ 3
0
USB MINI-B Female
J7
MBR0520D4
Low ESR
+5V_VUSB
EGND
Low ESR
2.2uFC33
MBR0520
D3
VBUS_DEVICE
+5V_PD
Low ESR
+5V_PD
12
3
J8
FLAGB 4
OUT 5
GND2
ON3
IN1
U9FPF2104
TARGET_POWER_ENABLE
VBUS_DEVICE_SWITCHED_SENSE
+3.3V
+3.3V_PKOB
4.7uFC35
GREED6
DNP
R60
330RR27
100kR20
100k
R21+3.3V
PIC32 Bluetooth® Starter Kit User’s Guide
FIGURE A-10: USER SWITCHES AND LEDs
LED_B
LED_R
LED_G
1
2
3 4
5
6
Blue
Green
Red
LED1
CREE CLX6A-FKB
+3.3V
+3.3V
S1 S2 S3 S4 S5
510R
R42
510R
R43
49.5KR56
102KR57
23KR55
BUTTON_ADC
1k
R2
0.1uFC5
3.3kR53
10kR54
3.3kR30
DS70005190B-page 26 2014 Microchip Technology Inc.
FIGURE A-11: PIC32MX270F245D MICROCONTROLLER
RB91
RC62
RC73
RC84
RC95
VSS6
VCAP7
D+/RB108
D-/RB119
VUSB3V310
RB1311
TMS/RA1012
TCK/RA713
RB1414
RB1515
AVSS16
AVDD17
MCLR18
PGED3/RA019
PGEC3/RA120
PGED1/RB021
PGEC1/RB122 RB2 23
RB3 24
RC0 25
RC1 26
RC2 27
VDD 28
VSS 29
OSC1/RA2 30
OSC2/RA3 31
TDO/RA8 32
RB4 33
RA4 34
TDI/RA9 35
RC3 36
RC4 37
RC5 38
VSS 39
VDD 40
USBID/RB5 41
VBUS 42
RB7 43
RB8 44U1
PIC32MX270F256D-50I/PT
+3.3V
+3.3V +3.3V
+3.3V
+3.3V
0.1uFC3
0.1uFC2
0.1uFC1
10uFC23
D+
D-
PGC4
PGD4
LED_B
LED_R
LED_G
USB_DET
BUTTON_ADC
ACC_INT
I2S1_SDI
SDI2 SDO2
SCK2
SDA1 SCL1
CARD_ID
UART2_CTS
UART2_TX
UART2_RX
UART1_Rx
UART1_Tx
UART1_CTS#
UART1_RTS#
I2S1_MCLK
I2S1_BCLK
I2S1_LRCL
I2S1_SDO
SS2
S6
0.1uFC4
20pF
C36
20pF
C37
1k
R1ICSP_MCLR_VPP_TARGET
10kR4
+3.3V
UART2_RTS
12MHz
Y1
1uFC20
STBY/RST
2014 Microchip Technology Inc. DS70005190B-page 27
PIC32 Bluetooth® Starter Kit User’s Guide
FIGURE A-12: USB CONNECTORS
SHIELD
6
D-2
5
D+3
VBUS1
4
J2
TYPE MICRO A/B
HOST TYPE - TYPE AD+D-
+5V_VUSB
USBID
VBUS1
GND4
D-2
D+3
VBUS
GND
D-D+
0 USB2.0-A
J1+5V_PD
USB_DET
10kR5
10kR6
DS70005190B-page 28 2014 Microchip Technology Inc.
PIC32 BLUETOOTH® STARTER KIT
USER’S GUIDEAppendix B. Bill of Materials
TABLE B-1: PIC32 BLUETOOTH STARTER KIT BILL OF MATERIALS
Designator Description Manufacturer Part Number
C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19
CAP CER .10 µF 50V X7R 0603 Panasonic ECJ-1VB1C104K
C20, C21, C22 CAP CER 1 µF 16V 10% X7R SMD 0603 Taiyo EMK107B7105KA-T
C23,C24, C25, C26
CAP CER 10 µF 16V 20% Y5V SMD 0805 Murata GRM21BF51C106ZE15L
C27,C28, C29, C30, C31, C32, C33, C34
CAP CER 2.2 µF 16V 10% X5R SMD 0603 TDK C1608X5R1C225K
C35 CAP CER 4.7 µF 10V 10% X5R SMD 0603 Taiyo LMK107BJ475KA-T
C36, C37 CAP CER 20 pF 50V 5% C0G SMD 0603 Murata GRM1885C1H200JA01D
C38, C39 CAP CER 8 pF 50V 0.5 pF C0G SMD 0603 TDK C1608C0G1H080D
D1 DIODE SCHOTTKY 30V 100 mA SOD323 Diodes Inc. SD107WS-7-F
D2, D3, D4 DIODE SCHOTTKY 20V 0.5A SOD123 Diodes Inc. MBR0520L
D5, D6, D7 LED, SMD, GRN, 0603 package Kingbright APT1608SGC
J1 CON USB 2.0 STD-A Female TH R/A FCI 87520-0010BLF
J2 CONN RCPT MICRO USB AB SMD R/A Hirose Electric Co., Ltd.
ZX62-AB-5PA(11)
J3 CONN HEADER 20POS .100" DL TIN Samtec TSW-110-07-T-D
J4 Terminal Strip, 2 X 6, 0.100 sp, 0.025 sq. post Samtec TSW-106-07-F-D
J5 HDR_10POS DL .1" R/A TIN_APPLE_AUTH Sullins PPTC052LJBN-RC
J7 CONN RECEPT MINI USB2.0 5POS Hirose Electric Co., Ltd.
UX60-MB-5ST
L1 15 µH +/-20% Coilcraft LPS3015-153ML
LED1 Cree CLX6A-FKB Cree Inc. CLX6A-FKB-CJNNRFJBB7A363
Q1 TRANS FET N-CH AO3424 30V 3.8A 1.4W SOT-23-3
Aplha & Omega AO3424
Q2, Q4 TRANS BJT NPN MMBT3904 40V 200 mA 310 mW SOT-23-3
Diodes Inc. MMBT3904-7-F
Q3 TRANS BJT PNP MMBT3906 -40V -200 mA 300 mW SOT-23-3
Diodes Inc. MMBT3906-7-F
S1, S2, S3, S4, S5, S6
SWITCH TACTILE SPST-NO 0.05A 12V C&K Component PTS635SK25SMTR LFS
U3 3-AXIS ACCELEROMETER DIGITAL I/F Bosch Sensortec BMA250E
U4 Bluetooth HCI Radio Module Flaircomm Microelectronics
BTM805CL2B
U9 IC SWITCH LOAD FULL FUNC SOT23-5 Fairchild FPF2104
Y1, Y2 CRYSTAL 12 MHz 8 pF SMD NX3225SA NDK NX3225SA-12.000MHZ-STD-CSR-1
R1, R2, R3 RES TKF 1k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF1001V
Note: The hardware contains some components that enable modularity, testing, and integrated debugger circuits, which are not intended for volume production.
2014 Microchip Technology Inc. DS70005190B-page 29
PIC32 Bluetooth® Starter Kit User’s Guide
R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14, R15, R16, R17, R18, R54
RES TKF 10k 1% 1/10W SMD 0603 Stackpole RMCF0603FT10K0
R19, R20, R21 RES TF 100k 1% 1/8W SMD 0603 Vishay MCT06030C1003FP500
R22, R23. R24, R25, R26, R27
RES TKF 330R 1% 1/16W SMD 0603 Stackpole RMCF0603FT330R
R28, R29, R30, R53
RES TKF 3.3k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF3301V
R31, R32, R33, R34, R35, R36
RES TKF 0R 1/10W SMD 0603 Rohm MCR03EZPJ000
R37, R38, R39 RES TKF 2.21k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF2211V
R40, R41 RES TKF 200k 1% 1/10W SMD 0603 Panasonic RMCF0603FT200K
R42, R43 RES TKF 510R 1% 1/10W SMD 0603 Yageo 9C06031A5100FKPFT
R44, R45, R48 RES TKF 4.7k 1% 1/10W SMD 0603 Rohm MCR03EZPFX4701
R46 RES TKF 0.5R 1% 1/4W SMD 0805 Stackpole CSR0805FKR500
R47 RES TKF 30k 1% 1/10W SMD 0603 Stackpole RMCF0603FT30K0
R49 RES TKF 3.16k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF3161V
R50 RES TKF 100R 1% 1/10W SMD 0603 Rohm MCR03EZPFX1000
R51 RES TKF 3.92k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF3921V
R52 RES TKF 470R 1% 1/10W SMD 0603 Yageo RC0603FR-07470RL
R55 RES TKF 23.2k 1% 1/10W SMD 0603 Stackpole RMCF0603FT23K2
R56 RES TKF 49.9k 1% 1/10W SMD 0603 Panasonic ERJ-3EKF4992V
R57 RES TKF 102k 1% 1/10W SMD 0603 Stackpole RMCF0603FT102K
R63 RES TKF 100R 1% 1/4W SMD 1206 Yageo RC1206FR-07100RL
U1 32-bit Microcontroller, 44-Pin TQFP Microchip PIC32MX270F256D-50I/PT
U2 MCP1650-E/MS_BOOST Microchip MCP1650S-E/MS
U5 IC Flash 16 Mbit 50 MHz 8-pin SOIC SST SST25VF016B-50-4C-S2AF
U6 IC PIC MCU Flash 256K 64-pin TQFP Microchip PIC24FJ256GB106-I/PT
U7 EEPROM SPI Microchip 25LC256T-I/SN
U8 IC REG LDO 1.5A 3.3V 8-pin DFN Microchip MCP1727-3302E/MF
TABLE B-1: PIC32 BLUETOOTH STARTER KIT BILL OF MATERIALS (CONTINUED)
Designator Description Manufacturer Part Number
Note: The hardware contains some components that enable modularity, testing, and integrated debugger circuits, which are not intended for volume production.
DS70005190B-page 30 2014 Microchip Technology Inc.
2014 Microchip Technology Inc. DS70005190B-page 31
NOTES:
DS70005190B-page 32 2014 Microchip Technology Inc.
AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.com
AtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455
Austin, TXTel: 512-257-3370
BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088
ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075
ClevelandIndependence, OH Tel: 216-447-0464 Fax: 216-447-0643
DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924
DetroitNovi, MI Tel: 248-848-4000
Houston, TX Tel: 281-894-5983
IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453
Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608
New York, NY Tel: 631-435-6000
San Jose, CA Tel: 408-735-9110
Canada - TorontoTel: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHarbour City, KowloonHong KongTel: 852-2943-5100Fax: 852-2401-3431
Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755
China - BeijingTel: 86-10-8569-7000 Fax: 86-10-8528-2104
China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889
China - ChongqingTel: 86-23-8980-9588Fax: 86-23-8980-9500
China - HangzhouTel: 86-571-8792-8115 Fax: 86-571-8792-8116
China - Hong Kong SARTel: 852-2943-5100 Fax: 852-2401-3431
China - NanjingTel: 86-25-8473-2460Fax: 86-25-8473-2470
China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205
China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066
China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393
China - ShenzhenTel: 86-755-8864-2200 Fax: 86-755-8203-1760
China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118
China - XianTel: 86-29-8833-7252Fax: 86-29-8833-7256
China - XiamenTel: 86-592-2388138 Fax: 86-592-2388130
China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049
ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 Fax: 91-80-3090-4123
India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632
India - PuneTel: 91-20-3019-1500
Japan - OsakaTel: 81-6-6152-7160 Fax: 81-6-6152-9310
Japan - TokyoTel: 81-3-6880- 3770 Fax: 81-3-6880-3771
Korea - DaeguTel: 82-53-744-4301Fax: 82-53-744-4302
Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934
Malaysia - Kuala LumpurTel: 60-3-6201-9857Fax: 60-3-6201-9859
Malaysia - PenangTel: 60-4-227-8870Fax: 60-4-227-4068
Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069
SingaporeTel: 65-6334-8870Fax: 65-6334-8850
Taiwan - Hsin ChuTel: 886-3-5778-366Fax: 886-3-5770-955
Taiwan - KaohsiungTel: 886-7-213-7830
Taiwan - TaipeiTel: 886-2-2508-8600 Fax: 886-2-2508-0102
Thailand - BangkokTel: 66-2-694-1351Fax: 66-2-694-1350
EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829
France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - DusseldorfTel: 49-2129-3766400
Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44
Germany - PforzheimTel: 49-7231-424750
Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781
Italy - VeniceTel: 39-049-7625286
Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340
Poland - WarsawTel: 48-22-3325737
Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91
Sweden - StockholmTel: 46-8-5090-4654
UK - WokinghamTel: 44-118-921-5800Fax: 44-118-921-5820
Worldwide Sales and Service
03/25/14