4
03/25/14 Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199 www.microchip.com The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip Technology Incorporated in the U.S.A. and 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. 03/14 DS50002267B *DS50002267B* Americas Atlanta - 678-957-9614 Austin - 512-257-3370 Boston - 774-760-0087 Chicago - 630-285-0071 Cleveland - 216-447-0464 Dallas - 972-818-7423 Detroit - 248-848-4000 Houston - 281-894-5983 Indianapolis - 317-773-8323 Los Angeles - 949-462-9523 New York - 631-435-6000 Phoenix - 480-792-7200 Santa Clara - 408-961-6444 Toronto - 905-673-0699 Europe Austria - Wels - 43-7242-2244-39 Denmark - Copenhagen - 45-4450-2828 France - Paris - 33-1-69-53-63-20 Germany - Munich - 49-89-627-144-0 Italy - Milan - 39-0331-742611 Netherlands - Drunen - 31-416-690399 Spain - Madrid - 34-91-708-08-90 UK - Wokingham - 44-118-921-5869 Asia/Pacific Australia - Sydney - 61-2-9868-6733 China - Beijing - 86-10-8569-2100 Asia/Pacific (Continued) China - Chengdu - 86-28-8665-5511 China - Chongqing - 86-23-8980-9588 China - Hangzhou - 86-571-8792-8115 China - Hong Kong SAR - 852-2943-5100 China - Nanjing- 86-25-8473-2460 China - Qingdao - 86-532-8502-7355 China - Shanghai - 86-21-5407-5533 China - Shenyang - 86-24-2334-2829 China - Shenzhen - 86-755-8864-2200 China - Wuhan - 86-27-5980-5300 China - Xiamen - 86-592-2388138 China - Xian - 86-29-8833-7252 China - Zhuhai - 86-756-3210040 India - Bangalore - 91-80-3090-4444 India - New Delhi - 91-11-4160-8631 India - Pune - 91-20-3019-1500 Japan - Osaka - 81-6-6152-7160 Japan - Tokyo - 81-3-6880-3770 Korea - Daegu - 82-53-744-4301 Korea - Seoul - 82-2-554-7200 Malaysia - Kuala Lumpur - 60-3-6201-9857 Malaysia - Penang - 60-4-227-8870 Philippines - Manila - 63-2-634-9065 Singapore - 65-6334-8870 Taiwan - Hsin Chu - 886-3-5778-366 Taiwan - Kaohsiung - 886-7-213-7840 Taiwan - Taipei - 886-2-2508-8600 Thailand - Bangkok - 66-2-694-1351 PIC32 Bluetooth ® Starter Kit Information Sheet The PIC32 Bluetooth Starter Kit (DM320018) provides a low-cost method for the development and testing of Bluetooth data transfer with PIC32 devices. The starter kit features a Bluetooth Radio, a combination 3-D accelerometer and temperature sensor, 16 Mb SPI Flash, an on-board debugger, five user buttons, as well as USB (Device and Host), I 2 S, I 2 C, and UART Interfaces. Installing MPLAB ® IDE and C Compilers Before you use the PIC32 Bluetooth Starter Kit, it is important that you have installed the Microchip MPLAB ® Integrated Development Environment (IDE). MPLAB IDE provides the assembler tools you will use for development. You will also need a C Compiler for the demonstration code. The MPLAB C Compiler seamlessly integrates into MPLAB IDE. Both the MPLAB IDE and C Compiler are free (see the note below) and are available for download at http://www.microchip.com/MPLAB and http://www.microchip.com/compilers, respectively. Demonstration Code and More Information For demonstration code and more information, visit: http://www.microchip.com/ pic32tools and click the PIC32 Bluetooth Starter Kit product link. Running the Demonstration Code After downloading the demonstration code and installing the development tools, please use the procedure outlined in the readme.txt file included with the demonstration code to download and run this application. Note: Standard Evaluation (Free) – All optimization levels are enabled for 60 days, but then revert to optimization level 1 only.

PIC32 Bluetooth Starter Kit Information Sheet · DS50002267B PIC32 Bluetooth Starter Kit Information Sheet Schematic (Sheet 1 of 3) USER'S42 SWITCH 0.1 Initial Proto RB9 1 RC6 2 RC7

Embed Size (px)

Citation preview

03/25/14

Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199www.microchip.com

The Microchip name and logo, the Microchip logo, and MPLAB are registered trademarks of Microchip TechnologyIncorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of their respectivecompanies. © 2014, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 03/14

DS50002267B

*DS50002267B*

AmericasAtlanta - 678-957-9614Austin - 512-257-3370Boston - 774-760-0087Chicago - 630-285-0071Cleveland - 216-447-0464Dallas - 972-818-7423Detroit - 248-848-4000Houston - 281-894-5983Indianapolis - 317-773-8323Los Angeles - 949-462-9523New York - 631-435-6000Phoenix - 480-792-7200Santa Clara - 408-961-6444Toronto - 905-673-0699

EuropeAustria - Wels - 43-7242-2244-39Denmark - Copenhagen - 45-4450-2828France - Paris - 33-1-69-53-63-20Germany - Munich - 49-89-627-144-0Italy - Milan - 39-0331-742611Netherlands - Drunen - 31-416-690399Spain - Madrid - 34-91-708-08-90UK - Wokingham - 44-118-921-5869

Asia/PacificAustralia - Sydney - 61-2-9868-6733China - Beijing - 86-10-8569-2100

Asia/Pacific (Continued)China - Chengdu - 86-28-8665-5511China - Chongqing - 86-23-8980-9588China - Hangzhou - 86-571-8792-8115China - Hong Kong SAR - 852-2943-5100China - Nanjing- 86-25-8473-2460China - Qingdao - 86-532-8502-7355China - Shanghai - 86-21-5407-5533China - Shenyang - 86-24-2334-2829China - Shenzhen - 86-755-8864-2200China - Wuhan - 86-27-5980-5300China - Xiamen - 86-592-2388138China - Xian - 86-29-8833-7252China - Zhuhai - 86-756-3210040India - Bangalore - 91-80-3090-4444India - New Delhi - 91-11-4160-8631India - Pune - 91-20-3019-1500Japan - Osaka - 81-6-6152-7160Japan - Tokyo - 81-3-6880-3770Korea - Daegu - 82-53-744-4301Korea - Seoul - 82-2-554-7200Malaysia - Kuala Lumpur - 60-3-6201-9857Malaysia - Penang - 60-4-227-8870Philippines - Manila - 63-2-634-9065Singapore - 65-6334-8870Taiwan - Hsin Chu - 886-3-5778-366Taiwan - Kaohsiung - 886-7-213-7840Taiwan - Taipei - 886-2-2508-8600Thailand - Bangkok - 66-2-694-1351

PIC32 Bluetooth® Starter Kit Information Sheet

The PIC32 Bluetooth Starter Kit (DM320018) provides a low-cost method for thedevelopment and testing of Bluetooth data transfer with PIC32 devices. The starterkit features a Bluetooth Radio, a combination 3-D accelerometer and temperaturesensor, 16 Mb SPI Flash, an on-board debugger, five user buttons, as well as USB(Device and Host), I2S, I2C, and UART Interfaces.

Installing MPLAB® IDE and C CompilersBefore you use the PIC32 Bluetooth Starter Kit, it is important that you haveinstalled the Microchip MPLAB® Integrated Development Environment (IDE). MPLABIDE provides the assembler tools you will use for development. You will also need aC Compiler for the demonstration code. The MPLAB C Compiler seamlesslyintegrates into MPLAB IDE. Both the MPLAB IDE and C Compiler are free (see thenote below) and are available for download at http://www.microchip.com/MPLAB andhttp://www.microchip.com/compilers, respectively.

Demonstration Code and More InformationFor demonstration code and more information, visit: http://www.microchip.com/pic32tools and click the PIC32 Bluetooth Starter Kit product link.

Running the Demonstration CodeAfter downloading the demonstration code and installing the development tools,please use the procedure outlined in the readme.txt file included with thedemonstration code to download and run this application.

Note: Standard Evaluation (Free) – All optimization levels are enabled for 60 days,but then revert to optimization level 1 only.

PIC32 Bluetooth Starter Kit Information Sheet

Schematic (Sheet 1 of 3)

USER'S SWITCH

0.1 Initial Proto

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

LED_B

LED_R

LED_G

0.1uFC3

0.1uFC2

0.1uFC1

10uFC23

1

2

3 4

5

6

Blue

Green

Red

LED1

CREE CLX6A-FKB

+3.3V

SHIELD

6

D-2

5

D+3

VBUS1

4

J2

TYPE MICRO A/B

HOST TYPE - TYPE A

D+

D-

D+D-

+5V_VUSB

PGC4

PGD4

LED_B

LED_R

LED_G

USB_DET

BUTTON_ADC

ACC_INT

I2S1_SDI

SDI2 SDO2

SCK2

+3.3V

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

USBID

S6

0.1uFC4

20pF

C36

20pF

C37

VBUS1

GND4

D-2

D+3

VBUS

GND

D-D+

0 USB2.0-A

J11k

R1ICSP_MCLR_VPP_TARGET

123456

J9

ICSP_MCLR_VPP_TARGET +3.3V

PGC4PGD4

+5V_PD

0.2 Fixed issues with PK

R36 to 10K fr

Processor change

TP enlarged

UART2_RTS moved from

DOWN moved from p

LED_B moved from p

10kR4

+3.3V

USB_DET

S1 S2 S3 S4 S5

510R

R42

510R

R43

49.5KR56

102KR57

23KR55

BUTTON_ADC

1k

R2

UART2_RTS

0.1uFC5

3.3kR53

10kR54

12MHz

Y1

1uFC20

10kR5

10kR6

3.3kR30STBY/RST

0.3 VARIOUS PIN C

SWITCH ARRAY CHANDIVIDER A

USB_DET circuit adde

ICSP Header (Unpopulated)

DS50002267B

PIC32 Bluetooth Starter Kit Information Sheet

Schematic (Sheet 2 of 3)

P

3/17/2014

Title

Size:

Date:C

P

3/17/2014

Title

Size:

Date:C

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%}

BLUETOOTH

+3.3V

+3.3V

SCL1 GND 2

SDA3 NC 4

VCC5 NC 6

NC7 RST 8

NC9 NC 10

J5

+3.3V

SDA1

SCL1

I2S1_MCLK

I2S1_BCLK

I2S1_SDO

I2S1_LRCL (FRAME/SS#)

(SCK1)

(REFCLKO)

UART1_Rx

UART1_Tx

UART1_CTS#

UART1_RTS#

SCL1

SDA1

AUDIO DAC DB CONN

+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

3.3kR28

+3.3V

MCP1650S-E/MS

CS 3

NC6

FB 4

EXT 1GND2

SHDN5

NC 7

VIN8U2

+3.3V

SDA1

SCL1

+3.3V +3.3V

3 Axis Accelerometer(I2C Slave Addr = 0011 000X)

+9 V

1.22vFB

+5V to +9V BOOST CONTROLLER

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

16M Serial Flash

+9 V

STBY/RST

SDI2

0.1uFC6

0.1uFC7

0.1uFC9

0.1uFC10

0.1uFC8

10uF

C2510uF

C24

2.2uFC27

2.2uFC28

2.2uFC29

2.2uFC30

2.2uFC31

2.2uF

C32GREEN

D7

10kR7

10kR9

4.7kR48

470R

R52

0.5R

R46

30kR47

31

2AO3424Q1

+5V_PD 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

AUTHENTICATION CONNECTOR

+9V

SD107WS

D1

ACC_INT

CARD_ID

I2S1_SDI

0RR31

+3.3V

10kR8

3.3kR29

DNPR59

LPS3015-153ML

15uHL1

DS50002267B

PIC32 Bluetooth Starter Kit Information Sheet

Schematic (Sheet 3 of 3)

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB

(Local Vdd/Vss bypass/decoupling.)

+3.3V_PKOB

+3.3V_PKOB

+3.3V_PKOB+3.3V_PKOB

+3.3V_PKOB

SERIAL EEPROM (25LC256)

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_DEVICE

VDD_SENSE

VPP_GND

VPP_ON

VPP_SENSE

VREF_2.5V

PGC__PKOB

PGD_PKOB

TARGET ICSP SIGNALS

SCK

SDI

SDO

ICSP_MCLR_VPP_TARGET

VDD_SENSE

VPP_GND

VPP_ON

VPP_SENSE

USB_D-USB_D+

+3.3V_PKOB

POWER_GOOD_PICKIT3

POWER DISTRIBUTION/SWITCHING

USB INTERFACE(BUS POWERED)

+3.3V_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/RG7

AN7/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

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

VBUS_DEVICE_SWITCHED_SENSE

TARGET_POWER_ENABLE

+5V

200k

R40

2.21kR39

10k

R14

10k

R13

330R

R22

330R

R23

330R

R24

330R

R25CS1 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

4.7kR44

4.7kR45

100R1206

R63

10kR16

0RR36

100kR19

10kR15

2.21kR37

3.92kR51

2.21kR38

DNPR61

DNPR62

0RR32

MBR0520

D2

ID 4

VBUS 1

GND 5

D- 2

D+ 3

0

USB MINI-B Female

J7

2.2kDNP

R58

GREEND5

UTIL_CS

UTIL_WP

* All resistors are +/-1% unless otherwise noted

3.16k

R49

MBR0520D4

FLAGB 4

OUT 5

GND2

ON3

IN1

U9FPF2104

TARGET_POWER_ENABLE

VBUS_DEVICE_SWITCHED_SENSE

+3.3V

Low ESR

+5V_VUSB

PGC4

PGD4

EGND

+3.3V_PKOB

Low ESR

10uFC26

1uFC21

1uFC22

2.2uFC33

2.2uFC34

4.7uFC35

8pF

C39

8pF

C38

GREEND6

10kR11

10kR10

10k

R12

DNP

R60

330RR27

330RR26

200kR41

MBR0520

D3

0.1uFC11

0.1uFC12

0.1uFC13

0.1uFC14

0.1uFC15

0.1uFC16

0.1uFC17

0.1uFC18

0.1uFC19

1kR3

100kR20

100k

R21

100R

R50

0RR34

0RR33

13

2MMBT3904Q2

12

3MMBT3906Q3

UTIL_CS

UTIL_WP

VBUS_DEVICE

+5V_PD

Low ESR

13

2MMBT3904Q4

GND

+3.3V_PKOB+5V_PD +3.3V

12

3

J8

12MHzY2

10k

R17

10k

R18

DS50002267B