MICROCHIP DM240016 User guide

PIC24FJ256GA7 Curiosity Development Board
Americas
Europe
Austria - Wels - 43-7242-2244-39 Denmark - Copenhagen - 45-4450-2828 Finland - Espoo - 358-9-4520-820 France - Paris - 33-1-69-53-63-20 France - Saint Cloud - 33-1-30-60-70-00 Germany - Garching - 49-8931-9700 Germany - Haan - 49 -2 12 9- 3766 40 0 Germany - Heilbronn - 49-7131-67-3636 Germany - Karl sr uh e- 49 -7 21 -6253 70 Germany - Munich - 49-89-627-144-0 Germany - Rosen hei m - 49 -8 03 1- 35 4- 560 Israel - Ra’ana na - 97 2-9 -7 44 -7 70 5 Italy - Milan - 39-0331-742611 Italy - Padova - 39-049-7625286 Netherlands - Drunen - 31-416 -69 039 9 Norway - Tr on dh eim - 47- 72 89 -7 56 1 Poland - Wa rs aw - 48 -2 2- 33 25 73 7 Romania - Buch ar est - 40 -2 1- 40 7- 87 -5 0 Spain - Madrid - 34-91-708-08-90 Sweden - Gothe nb er g - 46-3 1- 70 4- 60 -4 0 Sweden - S to c kh olm - 46 -8 -5 090 -4 65 4 UK - Wokingham - 44-118-921-5800
Microchip Technology Inc. • 2355 West Chandler Blvd. • Chandler, AZ 85224-6199
www.microchip.com
The Microchip name and l ogo, th e Micr ochip lo go, and MPLAB are regist ered tr ademarks of Micro chip Technology Incorporated in the U.S.A. and other countries. PICkit is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are property of thei r respective comp anies. © 2017, Microchip Technology Incorporated, Printed in the U.S.A. All Rights Reserved. 3/17
Asia/Pacific
Hong Kong - 852-2943-5100 Australia - Sydn ey - 61 -2 -9 868- 67 33 China - Beijing - 86-10-8569-7000 China - Chengdu - 86-28-8665-5511 China - Chongqing - 86-23-8980-9588 China - Dongguan - 86-769-8702-9880 China - Guangzhou - 86-20-8755-8029 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-3326-8000 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- 720 0 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-7830 Taiwan - Taipei - 886-2-2508-8600 Thailand - Bangkok - 66-2-694-1351
11/07/16
DS50002589A
Quick Start G uide
Overview
The PIC24FJ256GA7 Curiosity Development Board (DM240016) is a demonstra­tion, development and experimentation platform based on the PIC24FJ256GA705 low-power, low-cost microcontroller. The board has a built-in programmer/debugger and provides all of the hardware necessary to get started developing a complete embedded application. Some key features of the board include:
• PIC24FJ256GA705 general purpos e, 16-bit microcontroller
• PICkit™ On-Board (PKOB) circuit implements basic programming/debugging ability
•MCLR
• Red/Green/Blue (RGB) LED + two general purpose indicator LEDs
• 10k potentiometer
• 32.768 kHz crys tal
• Female headers for access to microcontroller I/O pins
• Circuit prototyping area
• Two mikroBUS™ interfaces for hardware expansion
Board Power-up
The board is intended to be powered th rough the mic ro-B USB connector (USB1). A MIC5528 linear regulator (U5) generates the +3.3V rail used by the PIC24FJ256GA705 microcontroller.
Getting Started
Microchip Technology provides several example projects that can be used to get started with the PIC24FJ256GA7 Curiosity Development Bo ard. The source code, the MPLAB (MCC) can be obtained from:
http://www.microchip.com/pic24fj256ga7curiosity http://www.microchip.com/curiosity http://www.microchip.com/mplab http://www.microchip.com/xc16 http://www.microchip.com/mcc
The preprogrammed “out-of-box” demo project for the PIC24FJ256GA7 Curiosity Development Board impleme nts an RGB color mixing applicat ion. In the demo , the potentiometer can be used to adjust each color channel intensity, independently, while the push buttons are used to select the channel to be adjusted.
In order to use the PKOB programmer/debugger within the MPLAB X IDE (v3.55 or later recommended), select:
Project Properties/Categories: Conf/Hardware Tool/Microchip Starter Kits/Starter Kits (PKOB)/“PIC24FJ256GA7 C...”
Schematics
The schematics for the PIC 2 4FJ 25 6G A7 C uri osi ty De ve lop ment Board are shown in Figure 1 and Figure 2.
Reset button + two general purpose push buttons
- Supports a wide variety of add-on click boards™ from MikroElektronica
(www.mikroe.com)
®
X IDE, the XC16 C compiler and the MPLAB Code Configurator
FIGURE 1: PIC24FJ256GA7 CURIOSITY DEVELOPMENT BOARD SCHEMATICS REV. 1.0 (PAGE 1 OF 2)
Designed with
Altium.com
18 pF 50V
C3
18 pF 50V
C4
5%
5%
32.768 kHz
X2
RA2_OSCI
0.1 μF 50V 0603
C6
Pin 31
0.1 μF 50V 0603
C8
Pin 17
0.1 μF 50V 0603
C5
Pin 42
1
3
2
MMBT3904
Q1
1
3
2
MMBT3904
Q2
820R 0603
1%
R7
820R 0603
1%
R8
1 4
2 3
S2
1 4
2 3
S1
DNP
C9
10k 1%
R3
10k 1%
R1
470R 0603
1%
R2
470R 0603
1%
R4
3V3
3V3
3V3
3V3
5V
RA0_RGB_RED
RA1_RGB_GREEN
RC7_RGB_BLUE
Pin 43
Pin 30
Pin 18
RA8_LE D1
RA9_LED2
12
DNP
J1
Net Tie
NT1
330R 0603
1%
R9
RED
LED1
RED
LED2
U1_V
DD
U1_V
DD
2
1
4
3
GREE N
RED
BLUE
5
6
RED, GREEN, BLUE
LED3
LED_RGB
RB11_PGC2
RB10_PGD2
14
23
S3
3V3
VPP/MCLR
V
DD
GND
ICSPCLK
NC
ICSPDAT
1 2 3 4 5 6
HDR-2.54 Male 1X6 STAGGE RED
DNP
J2
1k
0603
1%
R6
3V3
4.7k 0603 1%
R5
1 2 3 4
5
6
SC-70
1 2 3 4
5
6
SOT-23
Prototyping Area
1 μF 16V 0603
C7
Curre nt Measureme nt Point
Local VDD/VSS bypass/decoupling.)
MCLR
General Purpose LEDs
RGB LED
Buttons
Potentiometer
Oscillators
4.7k 0603
1%
R19
4.7k 0603
1%
R20
470R 0603 1%
R14
470R 0603 1%
R18
220R 0603 1%
R11
RB12_POT
RA11_S1
RA12_S2
2
1
3
10k
20%
R10
MCLR
RB4_SOSCI RA4_SOSCO
MCLR
DNP
C2
10 μF 25V 0805
C1
3V3
Pin 18Pin 17
STB
1
GND
2
OUT
3
V
DD
4
DSC6011JI 1A-008.0000 DNP
X1
C1INC/C2INC/C3INC/ TM PRN/RP 9/SDA1/T 1CK/CT ED4 /PMD3/IOCB9/ RB9
1
RP22/PMA
1
/
PMALH/IOCC6/RC6
2
RP23/ PMA0/P MALL /IOCC7/ RC7
3
RP24/ PMA5/IOCC8/R C8
4
R P 2 5 / C T E D7 / P M A 6/ I O C C 9/ R C 9
5
V
SS
6
V
CAP
7
RPIN29/I OCA11/R A11
8
PGD2/E MUD2/RP10/OCM1C/CTED11/PMD2/IOCB10/RB10
9
PGC2/EMUC2/REFI1/RP11/CTED9/PMD1/IOCB11/RB11
10
AN8/LVDIN/RP 12/PMD 0/IOCB12/RB12
11
AN7/C1INC/RP13/OCM1D/CTPLS/PMRD/PMWR/IOCB13/R B13
12
TMS /RP28/P MA2/PMA LU/I
OCA10/R A10
13
TCK/PMA7/IOCA7/RA7
14
CV
REF
/AN6/C3INB/R P1 4/CTE D5/PMWR /PMENB/ IOCB14/RB 14
15
AN9/C3INA/RP15/CTED6/PMA14/PMCS/PMCS1/IOCB15/RB15
16
AV
SS
17
AV
DD
18
MCLR
19
RPIN30/IOCA12/RA12
20
V
REF
+/CV
REF
+/ AN0 /C 3INC / R P2 6/ CT E D1 / IO CA0 /R A 0
21
V
REF
-/CV
REF
-/AN1/C3IND/RP27/CT ED2 /IOCA1/RA1
22
PGD1/EMUD1/AN2/CTC MP/C2INB/RP0/IOCB0/R B0
23
PGC1/EMUC1/AN1-/AN3/C2INA/RP1/CTE D12/IOCB1/R B1
24
AN4/C1INB/RP2/S DA2/CTE D13/IOCB2/ RB2
25
AN5/C1INA/RP3/SCL2/CTE D8/IOCB3/RB3
26
EIAN10/ RP16/PMB1/OCC0/RC0
27
AN11/RP17/PMA15/PMCS2/IOCC1/ RC1
28
AN12/RP18/PMACK1/ IOCC2/RC2
29
V
DD
30
V
SS
31
RPIN31/IOCA13/R A13
32
OSCI/CLKI/C1IND/IOCA2/RA2
33
OSCO/CLKO/C2IND/IOCA3/RA3
34
TDO/PMA8/IOCA8/RA8
35
SOSCI/RP4/IOCB4/RB4
36
SOSCO/ PWRLCLK/IOCA4/RA4
37
TD I /P MA 9/ I OC A9/R A9
38
AN13/RP19/PMB E0/IOCC3/RC3
39
RP20 /PMA4 /I OCC4/R C4
40
RP21/PMA3/IOCC5/RC5
41
V
SS
42
V
DD
43
RPIN32/IOCA14/RA14
44
PGD3/EMUD3/RP5/ASDA1/OCM1E/PMD7/ IOCB5/RB5
45
PGC3/EMU C3/RP6/ASCL1/OCM1F/PMD6/IOCB6/RB6
46
RP7/ OCM1A/CT ED3/PMD 5/INT0/ IOCB7/RB7
47
RP8/SCL1/OCM1B/CTED10/PMD4/IOCB8/RB8
48
U1
RB4_SOSCI
RA4_SOSCO
RA2_OSCI
RB12_POT
RC0_ANB
RC1_ANA RC2_MOSIB RC3_PWMA RC4_PWMB
RC5_INTB RC6_SCKB
RC7_RGB_BLUE
RC8_INTA RC9_CSA
RA10_CSB
RA0_RGB_RED RA1_RGB_GREEN
RA3
RA7 RA8_LED1 RA9_LED2
RA11_S1 RA12_S2 RA13_RSTA RA14_RSTB
RB0_TXA RB1_RXA RB2_SDAA RB3_SCLA
RB5_SDAB RB6_SCLB RB7_TXB RB8_RXB RB9_MISOB RB10_PGD2 RB11_PGC2
RB13_MISOA RB14_MOS
IA
RB15_SCKA
V
CAP
5V
5V
3V3
3V3
3V3
I/O Pin Access Headers
RB4_SOSCI
RA4_SOSCO
RA2_OSCI
RB12_POT
RA10_CSB
RA0_RGB_REDRA1_RGB_GREEN
RA3
RA7
RA8_LED1
RA9_LED2
RA11_S1
RA12_S2
RA13_RSTA
RA14_RSTB
RB0_TXARB1_RXA
RB2_SDAARB3_SCLA
RB5_SDABRB6_SCLB RB7_TXBRB8_RXB
RB9_MISOB
RB10_PGD2 RB11_PGC2
RB13_MISOA
RB14_MO SIA
RB15_SCKA
RC0_ANBRC1_ANA
RC2_MOSIB
RC3_PWMARC4_PWMB
RC5_INTB
RC6_SCKB
RC7_RGB_BLUERC8_INTA
RC9_CSA
HDR -2.54 Female 2x14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
J4
HDR -2.54 Female 2x14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
J5
U1_V
DD
MCLR
3V3
V
CAP
3V3
I2C Pull-Ups (DNP)
Note: Not populated, typically installed on mikroBUS™ daughter board instead.
RB6_SCLB
RB5_SDAB
RB3_SCLA
RB2_SDAA
DNPR12
DNPR13
DNP
R16
DNPR17
mikroBUS™ Interface A
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
+3.3V
7
GND
8
PWM
16
INT
15
RX
14
TX
13
SCL
12
SDA
11
+5V
10
GND
9
J
3
3V3 5V
0.1 μF 50V
0603
C10
0.1 μF 50V 0603
C11
RA13_RSTA
RB0_TXA
RB1_RXA
RB2_SDA
A
RB3_SCLARB13_MISOA
RB14_MOSIA
RB15_SCKA
RC1_ANA RC3_PWMA
RC8_INTA
RC9_CSA 1k
R15
1k
R22
AN
1
RST
2
CS
3
SCK
4
MISO
5
MOSI
6
+3.3V
7
GND
8
PWM
16
INT
15
RX
14
TX
13
SCL
12
SDA
11
+5V
10
GND
9
J10
mikroBUS™ Interface B
0.1 μF 50V 0603
C12
0.1 μF 50V 0603
C13
5V3V3
RA10_CSB
RA14_RSTB
RB5_SDAB
RB6_SCLB
RB7_TXB
RB8_RXB
RB9_MISOB
RC0_ANB
RC2_MOSIB
RC4_PWMB
RC5_INTB
RC6_SCKB
1k
R21
MCLR Reset Button
PIC24FJ256GA705-I/PT (TQFP-48)
DS50002589A
FIGURE 2: PIC24FJ256GA7 CURIOSITY DEVELOPMENT BOARD SCHEMATICS REV. 1.0 (PAGE 2 OF 2)
Designed with
Altium.com
PMD5/CN63/RE5
1
SCL3/ PMD6/C N64/RE 6
2
SDA3/PMD7/CN65/RE7
3
C1IND/RP21/PMA5/CN8/RG6
4
C1INC/RP26/PMA4/CN9/RG7
5
C2IND/RP19/ PMA3/ CN10/RG8
6
MCLR
7
RP27/PMA2/C2INC/CN11/RG9
8
V
SS
9
V
DD
10
PGEC3/AN5/C1INA/V
BUSON
/RP18 /CN7/RB5
11
PGED3/AN4/C1INB/USBOEN/RP28/CN6/ RB4
12
AN3/ C 2I NA / V
PIO
/CN5/RB3
13
AN2/C 2I NB / V
MIO
/RP13/CN4/ RB2
14
PGEC1/AN1/ V
REF
-/RP1/CN3/RB1
15
PGED1/AN0/V
REF
+/R P0/ PMA 6/C N2/R B0
16
PGEC 2/AN6/RP6/CN24/ RB6
17
PGED 2/AN7/RP7/R CV/C N25/RB7
18
AV
DD
19
AV
SS
20
AN8/RP8/CN26/R B8
21
AN9/RP9/P MA7/ CN27/RB 9
22
TMS/CV
REF
/AN10/ PMA13/CN28/RB10
23
TDO/AN11/PMA12/ CN29/RB11
24
V
SS
25
V
DD
26
TCK/AN12/PMA11/CTED2/CN30/R B12
27
TDI/AN13/PMA10/CTED1/CN31/RB13
28
AN14/CTPLS /R P14/PMA1/CN32/R B14
29
AN15/RP29/R EF O/PM A0/CN12/RB 15
30
SDA2/RP10/PMA9/CN17/RF4
31
SCL2/R P17/P MA8/C N18/R F5
32
RP16/USBID/CN71/ RF3
33
V
BUS
34
V
USB
35
D-/RG3
36
D+/RG2
37
V
DD
38
OSCI/CLKI/CN23/RC12
39
OSCO/CLKO/CN22/RC15
40
V
SS
41
RTCC/DMLN/
RP2/CN53/
RD8
42
DPLN/S DA1/RP4/CN54/R D9
43
SCL1/R P3/PMCS2/CN55/RD10
44
RP12/ PMCS1/CN56/RD11
45
DMH/RP 11/INT0/CN49/R D0
46
SOSCI/C3IND/CN1/RC13
47
SOSCO/T1CK/C3INC/RPI37/CN0/RC14
48
V
CPCON
/RP24/C N50/RD1
49
DPH/ RP23/C N51/RD2
50
RP22/PMBE/CN52/RD3
51
RP25/PMWR/
CN13/
RD4
52
RP20/PMRD/CN14/RD5
53
C3INB/CN15/R D6
54
C3INA/CN16/RD7
55
V
CAP/VDDCORE
56
ENVREG
57
V
BUSST/VCMPST1
/CN68/RF0
58
V
CMPST2
/CN69/RF1
59
PMD0/CN58/RE0
60
PMD1/CN59/RE1
61
PMD2/CN60/RE2
62
PMD3/CN61/RE3
63
PMD4/CN62/R E4
64
E
P
65
U4
1
3
2
MMBT3904
Q5
0.1 μF 50V
C16
330R
1%
R32
2.2k 1%
R54
100k 1%
R45
4.7k 1%
R31
D_P
D_N
D_N
D_P
0.1 μF 50V
C17
0.1 μF 50V
C18
0.1 μF 50V
C19
10k 1%
R23
3.16k 1%
R27
1k 1%
R25
VDD_SENSE VPP_SENSE
VPP_SENSE
VDD_SENSE
10k 1%
R49
100R
1%
R47
MCLR
4.7k 1%
R37
10k 1%
R48
CS
1
SO
2
WP
3
V
SS
4
SI
5
SCK
6
HOLD
7
V
CC
8
25LC256
U6
PKEE_CS
PKEE_WP PKEE_SCK
PKEE_MIS O
0.1 μF 50V
C20
PKEE_MISO
PKEE_CS
10k 1%
R51
PKEE_SCK
PKEE_MOSI
PKEE_MOSI
PKEE_WP
10k 1%
R24
PKSCK PKMISO PKMOSI
330R
1%
R29
330R
1%
R36
PKMOSI
PKMISO
PKSCK
RB10_PGD2
RB11_PGC2
PK_PGD PK_PGC
PK_PGC PK_PGD
3V3
3V3
3V3 3V3
3V3 3V3
3V
3
3V3 3V3 3V3
3V3
0.1 μF 50V
C15
10k 1%
R33
Power Status (Green)
LED4
5V
3V3
+t
500 mA Polyfuse 1210
TH1
100R
1%
R28
10k 1%
R35
10k 1%
R38
3V3
1
3
2
MMBT3904
Q4
10k 1%
R46
1
2
3
MMBT3906
Q3
10k 1%
R44
3V3
100k 1%
R42
3V3
VPP/MCLR
V
DD
GND
ICSPCLK
NC
ICSP DAT
2
31
12 MHz
X3
1 2 3 4 5 6
J11
DNP
R41
DNP
R39
3V3 3V3
RB7_TXB
RB8_RXB
DNP
R40
DNP
R43
1k 0603 1%
R30
1k 0603 1%
R34
3.57k 0603 1%
R26
ID
4
V
BUS
1
GND
5
D
-
2
D
+
3
0
USB micro-B FEMALE
USB1
PICkit™ On-Board
Target ICSP™ Signals
PKOB Serial EEPROM (25LC256)
Power Supply
5V
3V3
PKOB USB Interface
470R 0603 1%
R53
2.2 μF 10V 0603
C2 1
2.2 μF 10V 0603
C22
1 2 3 4 5 6
J1
2
PK_PGD PK_PGC
3V3
VPP/MCLR
V
DD
GND
ICSPCLK
NC
ICSPDAT
Bump on Hemisphere Black
PAD1 PAD2 PAD3 PAD4
V
OUT
1
V
OUT
2
GND
3
EN
4
NC
5
V
IN
6
MIC5528 3V3
U5
DNP
D1
4.7k 0603 1%
R52
PKVBUS
PKVBUS
10 μF 25V 0805
C14
Net Tie
0.5 mm
NT2
PIC24FJ256GB106
DS50002589A
Loading...