Вы находитесь на странице: 1из 33
A compact starter kit with your favorite microcontroller and two mikroBUS ™ sockets
A compact starter kit with your favorite microcontroller and two mikroBUS ™ sockets

A compact starter kit with your favorite microcontroller and two mikroBUS sockets

A compact starter kit with your favorite microcontroller and two mikroBUS ™ sockets

TO OUR VALUED CUSTOMERS

I want to express my thanks to you for being interested in our products and for having confidence in MikroElektronika.

The primary aim of our company is to design and produce high quality electronic products and to constantly improve the performance thereof in order to better suit your needs.

the performance thereof in order to better suit your needs. Nebojsa Matic General Manager The PIC

Nebojsa Matic

General Manager

The PIC ® and Windows ® logos and product names are trademarks of Microchip Technology ® and Microsoft ® in the U.S.A. and other countries.

Table of contents

Introduction to clicker 2 for PIC32MX Key features

4

3.2

Programming with mikroProg programmer mikroProg Suite for PIC ® software

15

5

16

1. Power supply

7

4. Buttons and LEDs

18

2. PIC32MX460F512L microcontroller Key microcontroller features

9

5. Power management and battery charger

20

9

6. Oscillators

21

3. Programming the microcontroller

10

7. USB connection

23

3.1 Programming with mikroBootloader step 1 – Connecting clicker 2 for PIC32MX step 2 – Browsing for .HEX file step 3 – Selecting .HEX file step 4 – Uploading .HEX file step 5 – Finish upload

11

 

8. Pads

25

11

9. Pinout

26

12

9.1

PWM jumper selection

27

12

9.2

RF3/USBID jumper selection

28

13

10.

click boards are plug and play!

29

14

11.

Dimensions

31

Page 3

Introduction to clicker 2 for PIC32MX

Clicker 2 for PIC32MX is a compact dev. kit with two mikroBUS sockets for

click board connectivity. You can use it to quickly build your own gadgets with unique functionalities and features. It carries the PIC32MX460F512L,

a 32-bit MIPS M4K core

PIC32 microcontroller, two indication LEDs, two general purpose buttons, a reset button, an on/off switch, a

li-polymer battery connector,

a USB Mini-B connector and

two mikroBUS socket. A mikroProg connector and a 2x26 pinout for interfacing with external electronics

and a 2x26 pinout for interfacing with external electronics are also provided. The mikroBUS ™ connector

are also provided. The mikroBUS connector consists of two 1x8 female headers with SPI, I 2 C, UART, RST, PWM, Analog and Interrupt lines as well as 3.3V, 5V and GND power lines. Clicker 2 for PIC32MX board can be powered over a

USB cable.

power supply via USB cable (5V DC) via USB cable (5V DC)

60.4 x 81 mm (2.4 x 3.2 inch)can be powered over a USB cable. power supply via USB cable (5V DC) board dimensions

board dimensions

weight 26 g (0. 057 lbs) 26 g (0. 057 lbs)

Page 4

Key features

ON/OFF switch Pads for connecting external ON/OFF switch 32.768 KHz crystal oscillator 8 MHz crystal oscillator
Pads for connecting external ON/OFF switch ON/OFF switch 32.768 KHz crystal oscillator 8 MHz crystal oscillator
32.768 KHz crystal oscillator ON/OFF switch Pads for connecting external ON/OFF switch 8 MHz crystal oscillator
8 MHz crystal oscillatorON/OFF switch Pads for connecting external ON/OFF switch 32.768 KHz crystal oscillator

PIC32MX460F512L32.768 KHz crystal oscillator 8 MHz crystal oscillator 2x26 connection pads mikroBUS ™ sockets 1 and

2x26 connection pads mikroBUS ™ sockets 1 and 2 Pushbuttons Additional LEDs LTC3586-1 USB power manager IC Power
mikroBUS 2x26 connection pads ™ sockets 1 and 2 Pushbuttons Additional LEDs LTC3586-1 USB power manager IC sockets 1 and 2
Pushbuttons 2x26 connection pads mikroBUS ™ sockets 1 and 2 Additional LEDs LTC3586-1 USB power manager IC
Additional LEDs 2x26 connection pads mikroBUS ™ sockets 1 and 2 Pushbuttons LTC3586-1 USB power manager IC Power
LTC3586-1 USB power manager IC mikroBUS ™ sockets 1 and 2 Pushbuttons Additional LEDs Power and Charge indication LEDs RESET button
Power and Charge indication LEDs 2 Pushbuttons Additional LEDs LTC3586-1 USB power manager IC RESET button USB mini-B connector Li-Polymer battery
RESET button USB power manager IC Power and Charge indication LEDs USB mini-B connector Li-Polymer battery connector Programmer
USB mini-B connector USB power manager IC Power and Charge indication LEDs RESET button Li-Polymer battery connector Programmer connector
Li-Polymer battery connector LTC3586-1 USB power manager IC Power and Charge indication LEDs RESET button USB mini-B connector Programmer
Programmer connectorUSB power manager IC Power and Charge indication LEDs RESET button USB mini-B connector Li-Polymer battery

1 12 2 13 3 4 5 6 6 7 7 8 8 9 9
1
12
2
13
3
4
5
6
6
7
7
8
8
9
9
10
14
11
15

Page 5

VCC-BAT VCC-BAT VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3
VCC-BAT
VCC-BAT
VCC-3.3 V
VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3 V
VCC-3.3 V
VCC-3.3 V
VCC-3.3 V
VSYS
CN1
VCC-3.3 V
VCC-5V
VCC-3.3 V
VCC-5V
C38
C40
C9
C10
C11
C12
C35
C36
C37
BATT
HDR1
HDR2
RESET#
CONN
RB0-MB1_AN0
RD4-MB1-PWM5
RB4-MB2_AN4
MB2_PWM
2.2uF
10uF
100nF
100nF
100nF
100nF
100nF
100nF
100nF
AN
PWM
AN
PWM
RE2-MB1_RST
RE8-MB1-INT1
RB2-MB2_RST
RE9-MB2-INT2
E1
RST
INT
RST
INT
RB15-AN15
RG13-MB1_CS
RF2-UART1_RX
RB1-MB2_CS
RF4-UART2_RX
VCC-3.3 V
Vcap
CS
RX
CS
RX
RB14-AN14
RG6_SPI2_SCK
RF8-UART1_TX
RG6_SPI2_SCK
RF5-UART2_TX
SCK
TX
SCK
TX
RB13-AN13
RD1-PWM2
RG7_SPI2_MISO
RA2-I2C2_SCL
RG7_SPI2_MISO
RA2-I2C2_SCL
10uF
MISO
SCL
MISO
SCL
RB11-AN11
RD2-PWM3
RG8_SPI2_MOSI
RA3-I2C2_SDA
RG8_SPI2_MOSI
RA3-I2C2_SDA
AN
MOSI
SDA
MOSI
SDA
RB10-AN10
PWM
RD3-PWM4
LDO3V3
3.3V
5V
3.3V
5V
RB9-AN9
RD0-PWM1
1
2
GND
GND
GND
GND
RB8-AN8
RD12-GPIO
SW1
R17
U1
RA14-INT3
RD13-GPIO
JS202011AQN
1K
LDO3V3
LDO3V3
VCC-3.3 V VCC-3.3 V VCC-3.3 V LDO3V3
VCC-3.3 V
RA15-INT4
RD5-GPIO
LD4B
RE9-MB2-INT2
INT
RD6-GPIO
6
R15
RED
R16
C14
C15
C16
C17
RG15-STAT
1
75
RE8-MB1-INT1
RD7-GPIO
RG15
VSS
RG12-GPIO
5
PWR-EN
2
74
OSC32_OUT
RF12-GPIO
RF0-GPIO
2K2
10K
22uF
1uF
10nF
1uF
VCC-3.3
VDD
SOSCO/RC14
MB2_PWM
3
73
OSC32_IN
RD9-GPIO
RF1-GPIO
RG15-STAT
X2
C18
RE5
SOSCI/RC13
RD0-PWM1
RE6-GPIO
72
RD0-PWM1
RD8-GPIO
RG0-GPIO
4
4
100nF
RE6
RD0
5
71
J1
RA4-GPIO
RA6-GPIO
RE7
RD11
R18
32.768KHz
6
70
RA9-GPIO
RA7-GPIO
M2
C34
C33
RC1
RD10
7
69
RD9-GPIO
RF3-GPIO
RE0-GPIO
VCC-3. 3
AVCC
VCC-3.3 V
3K3
RC2
RD9
22pF
22pF
HD1
VSYS
VSYS
8
68
RD8-GPIO
RA0-GPIO
RG14-GPIO
RC3
RD8
FP1
1
9
67
RA15-INT4
RE6-GPIO
RF4-UART2_RX
DMP2305U
RB6-PGC2
RC4
RA15
RX
U2
C19
C20
2
RG6_SPI2_SCK
10
66
RA14-INT3
RG6_SPI2_SCK
RF5-UART2_TX
RB7-PGD2
R9
RG6
RA14
SCK
TX
LTC3586-1
3
RG7_SPI2_MISO
11
65
C1
C2
RG7_SPI2_MISO
RA2-I2C2_SCL
2.2uF
2.2uF
RESET#
RG7
VSS
SDI
SCL
4
RG8_SPI2_MOSI
12
64
OSC2
RG8_SPI2_MOSI
RA3-I2C2_SDA
R7
RG8
PIC32MX460F512L
OSC2/RC15
100nF
2.2uF
SDO
SDA
5
RESET#
13
63
OSC1
X1
MCLR
OSC1/RC12
VCC-3.3 V
VCC-3.3 V
VCC-BAT
RG9-T3
14
62
mPROG
RG9
VDD
32
19
15
61
BAT
SWCD3
VSS
100pin TQFP
RA5
8MHz
PWR-EN
33
18
PWR-EN
16
60
RA4-GPIO
C5
C6
EN4
EN3
VDD
RA4
34
17
RA0-GPIO
17
59
RA3-I2C2_SDA
VSYS
VOUT
VOUT3
RA0
RA3
22pF
22pF
35
16
RE8-MB1-INT1
18
58
RA2-I2C2_SCL
VCC-3.3 V
VCC-USB
VBUS
LTC3586
VOUT3
VCC-3.3 V
RE8
RA2
36
15
RE9-MB2-INT2
19
57
USB-D_P
L1
3.3uH
VBUS
VIN3
VCC-3.3V VCC-3.3V
RE9
D+/RG2
R28
37
14
20
56
USB-D_N
R29
SW
VIN3
L2
2.2uH
RB5
D-/RG3
R3
FAULT
38
13
RB4-MB2_AN4
21
55
C21
FAULT#
SWAB3
RB4
VUSB
10K
R19
22
54
USB-DET
R20
RB3
VBUS
R4
C22
324K
LDO3V3
33pF
RB2-MB2_RST
23
53
RF8-UART1_TX
USB-ID
RESET#
RST
RB2
RF8
10K
C23
10pF
RB1-MB2_CS
24
52
RF2-UART1_RX
USB-ID-RF3
1K
VCC-BAT
VCC-BAT
22uF
RB1
RF2
RB0-MB1_AN0
25
51
USB-ID-RF3
RF3-GPIO
T1
RB0
RF3
C3
M1
R22
R21
J2
R10
R23
C24
105K
1M
100nF
1K69
300pF
15K
R11
R1
R2
RF13-SENSEL
C25
VCC
-5V
100nF
1K
2K2
2K2
DMP2305U
L3
VCC-5V VCC-5V VCC-5V
VCC-5V
VCC-5V
VCC-3.3 V
VCC-USB
R12
2.2uH
100K
C29
C30
C27
C28
LD3
T2
VCC-3.3 V
VCC-3.3 V
T3
CN2
R26
FP2
VCC-USB
LDO3V3
AVCC
R13
88K7
10pF
22uF
1uF
10nF
FERRITE
R24 100
VCC-USB
USB-DET
100K
R5
R6
RB12-VSENSE
VBUS
USB-D_N
10K
10K
D-
R14
C31
C32
R27
R8
C13
USB-D_P
D+
100K
16K9
470
100nF
USB-ID
22uF
10uF
ID
C26
GND
VSYS
10nF
USB MINIB
1
31
ILIM0
GATE
2
30
ILIM1
CHRG#
3
29
LDO3V3
PROG
4
28
CLPROG
FB1
5
27
NTC
VIN1
6
26
VOUT4
SW1
7
25
VOUT4
SW2
8
24
SW4
VIN2
9
23
MODE
FB2
10
22
FB4
VIN4
11
21
FB3
EN1
12
20
VC3
EN2
RB6-PGC2
26
100
RE4-T2
RB6
RE4
RB7-PGD2
27
99
RE3-LD1
RB7
RE3
RA9-GPIO
28
98
RE2-MB1_RST
RA9
RE2
RA10-LD2
29
97
RG13-MB1_CS
RA10
RG13
30
96
RG12-GPIO
AVDD
RG12
31
95
RG14-GPIO
AVSS
RG14
RB8-AN8
32
94
RB8
RE1
RB9-AN9
33
93
RE0-GPIO
RB9
RE0
RB10-AN10
34
92
RA7-GPIO
RB10
RA7
RB11-AN11
35
91
RA6-GPIO
RB11
RA6
36
90
RG0-GPIO
VSS
RG0
37
89
VDD
RG1
38
88
RF1-GPIO
RA1
RF1
RF13-SENSEL
39
87
RF0-GPIO
RF13
RF0
RF12-GPIO
40
86
RF12
VDD
RB12-VSENSE
41
85
RB12
VCAP/VDDCORE
RB13-AN13
42
84
RD7-GPIO
RB13
RD7
RB14-AN14
43
83
RD6-GPIO
RB14
RD6
RB15-AN15
44
82
RD5-GPIO
RB15
RD5
45
81
RD4-MB1-PWM5
VSS
RD4
46
80
RD13-GPIO
VDD
RD13
47
79
RD12-GPIO
RD14
RD12
48
78
RD3-PWM4
RD15
RD3
RF4-UART2_RX
49
77
RD2-PWM3
RF4
RD2
RF5-UART2_TX
50
76
RD1-PWM2
RF5
RD1
RE3-LD1
RE4-T2
RG9-T3
RA10-LD2

clicker 2 for PIC32MX schematic

Page 6

1. Power supply

Figure 1-1: Connecting USB power supply

USB power supply

You can supply power to the board with a Mini-B USB cable provided in the package. On-board voltage regulators provide the appropriate voltage levels to each component on the board. Power LED (GREEN) will indicate the presence of power supply.

Battery power supply

You can also power the board using a Li-Polymer battery, via on-board battery connector. On-board battery charger circuit enables you to charge the battery over USB connection. LED diode (RED) will indicate when battery is charging. Charging current is ~300mA and charging voltage is 4.2V DC.

Figure 1-2: Connecting Li-Polymer battery

NOTE

click boards that use a 3.3V power supply can draw up to 750 mA of current, which is more current than a USB can supply (500 mA); In those cases you would need to use the battery as the power supply, or the vsys pin on the side of the board.

Page 7

LDO3V3 LDO3V3 VCC-3.3 V VCC-3.3 V VCC-3.3 V LDO3V3 LD4B R15 RED R16 C14 C15
LDO3V3
LDO3V3
VCC-3.3 V VCC-3.3 V VCC-3.3 V LDO3V3
LD4B
R15
RED
R16
C14
C15
C16
C17
SW1
JS202011AQN
22uF
1uF
1uF
VCC-3.3 V
2K2
10K
10nF
RG15-STAT
6
3
5
2
R18
VCC-3.3
M2
4
1
3K3
VSYS
VSYS
DMP2305U
U2
C19
C20
LTC3586-1
2.2uF
2.2uF
VCC-BAT
19
33 32 BAT
SWCD3
PWR-EN
18
PWR-EN
EN4
EN3
17
VSYS
VOUT3
35 34 VOUT
16
VCC-USB
VOUT3
36 VBUS
LTC3586
VCC-3.3 V
15
L1
3.3uH
37 VBUS
VIN3
VCC-3.3V VCC-3.3V
14
VIN3
L2
2.2uH
FAULT
38 SW
13
C21
FAULT#
SWAB3
R19
R20
C22
324K
LDO3V3
33pF
10K
C23
10pF
22uF
R22
R21
R23
C24
105K
1K69
300pF
15K
C25
VCC
-5V
100nF
L3
VCC-5V VCC-5V VCC-5V
VCC-5V
VCC-5V
VCC-3.3 V
2.2uH
C29
C30
C27
C28
LD3
R26
VCC-USB
LDO3V3
88K7
10pF
22uF
1uF
10nF
VCC-USB
C31
C32
R27
R8
16K9
470
22uF
10uF
VSYS
1
31
ILIM0
GATE
2
30
ILIM1
CHRG#
3
29
LDO3V3
PROG
4
28
CLPROG
FB1
5
27
NTC
VIN1
6
26
VOUT4
SW1
7
25
VOUT4
SW2
8
24
SW4
VIN2
9
23
MODE
FB2
10
22
FB4
VIN4
11
21
FB3
EN1
12
20
VC3
EN2
LDO3V3 R17 1K PWR-EN C18 100nF
LDO3V3
R17
1K
PWR-EN
C18
100nF

VCC-BAT

R10

1M

R11

VCC-BAT

M1 DMP2305U
M1
DMP2305U
PWR-EN C18 100nF VCC-BAT R10 1M R11 VCC-BAT M1 DMP2305U 1K RB12-VSENSE R12 100K R13 100K

1K

RB12-VSENSE

R12

100K

R13

100K

R14

100K

RF13-SENSEL

C13

100nF

RB12-VSENSE R12 100K R13 100K R14 100K RF13-SENSEL C13 100nF VCC-BAT VCC-BAT CN1 C38 BATT CONN
RB12-VSENSE R12 100K R13 100K R14 100K RF13-SENSEL C13 100nF VCC-BAT VCC-BAT CN1 C38 BATT CONN
VCC-BAT VCC-BAT CN1 C38 BATT CONN 2.2uF VCC-USB CN2 FP2 FERRITE 1 VBUS 2 D-
VCC-BAT
VCC-BAT
CN1
C38
BATT
CONN
2.2uF
VCC-USB
CN2
FP2
FERRITE
1
VBUS
2
D-
3
D+
4
ID
5
C26
GND
10nF
USB MINIB

Figure 1-3: Power supply schematic

Page 8

AVCC VCC-3.3 V FP1 C1 C2 100nF 2.2uF VSYS HDR1 HDR2 VCC-3.3 V VCC-3.3 V
AVCC
VCC-3.3 V
FP1
C1
C2
100nF
2.2uF
VSYS
HDR1
HDR2
VCC-3.3 V
VCC-3.3 V

2. PIC32MX460F512L microcontroller

MIPS M4K 32-bit core - 80MHz, PIC 32 MX 105 DMIPS - 5 Stage Pipeline,
MIPS
M4K 32-bit core
-
80MHz,
PIC 32 MX
105 DMIPS
- 5
Stage Pipeline, 32-bit ALU
32-bit
32
Core
Trace
HW
Registers
DMA
2-wire
USB
The PIC32MX clicker development tool comes
with the PIC32MX460F512L microcontroller.
This 32-bit MIPS M4K Core high performance
microcontroller is rich with on-chip peripherals
and features 512KB of Flash and 32KB RAM. It
has integrated full speed USB 2.0. support.
JTAG
Mul/Div
Shadow
Set
4Ch
Debug
OTG
Instruction
Data
Bus Matrix
Interrupt
GPIO
Buffer Prefetch Cache
Flash
SRAM
VREG
Controller
(85)
Peripherial Bus
Key microcontroller features
16-bit
16
Ch
Input
Output
16-bit
Parallel
10-bit
Capture
Compare
Timers
Port
ADCs
(5)
PWM(5)
(5)
• 105 DMIPS/ 80MHz, 32-bit MIPS M4K Core;
Analog
I2C
UARTs
SPI
RTCC
Comparators
(2)
(2)
(2)
• 512K Flash (plus 12K boot Flash);
(2)
• 32K RAM (can execute from RAM);
• 85 I/O pins;
• SPI, I 2 C, A/D, UART;
• 16-bit, 32-bit Digital Timers;
• Internal Oscillator 8MHz, 32kHz;
• RTCC; etc.

Page 9

3. Programming the microcontroller

3. Programming the microcontroller Figure 3-1: PIC32MX460F512L microcontroller The microcontroller can be programmed in
3. Programming the microcontroller Figure 3-1: PIC32MX460F512L microcontroller The microcontroller can be programmed in

Figure 3-1:

PIC32MX460F512L

microcontroller

The microcontroller can be programmed in three ways:

01
01

Using USB HID mikroBootloader,

02
02

Using external mikroProg for PIC32MX programmer

03
03

Using external ICD2/3® programmer

Page 10

3.1 Programming with mikroBootloader

You can program the microcontroller with bootloader which is preprogrammed by default. To transfer .hex file from a PC to MCU you need bootloader software (mikroBootloader USB HID) which can be downloaded from:

www.mikroe.com/downloads/get/2210/( mikroBootloader USB HID ) which can be downloaded from: clicker_2_pic32mx_bootloader_v100.zip After the

clicker_2_pic32mx_bootloader_v100.zip

After the mikroBootloader software is downloaded, unzip it to desired location and start it.

clicker 2 for PIC32MX Bootloader WinRAR ZIP archive WinRAR ZIP archive

it. clicker 2 for PIC32MX Bootloader WinRAR ZIP archive clicker 2 for PIC32MX Bootloader File folder
it. clicker 2 for PIC32MX Bootloader WinRAR ZIP archive clicker 2 for PIC32MX Bootloader File folder
it. clicker 2 for PIC32MX Bootloader WinRAR ZIP archive clicker 2 for PIC32MX Bootloader File folder

clicker 2 for PIC32MX Bootloader File folder

Software

File folder

mikroBootloader USB HID.exe Bootloader tool for mikroElektron mikroElektronika Bootloader tool for mikroElektron mikroElektronika

Firmware

File folder

clicker 2 for PIC32MX PIC32MX460F512L USB HID Bootloader v1.300.hex HEX File HEX File

Page 11

step 1 – Connecting PIC32MX clicker

01
01

Figure 3-2: USB HID mikroBootloader window

01
01

To start, connect the USB cable, or if already connected press the Reset button on your PIC32MX clicker. Click the Connect button within 5s to enter the bootloader mode, otherwise existing microcontroller program will execute.

step 2 – Browsing for .HEX file

01
01

Figure 3-3: Browse for HEX

01
01

Click the Browse for HEX button and from a pop-up window (Figure 3.4) choose the .HEX file which will be uploaded to MCU memory.

Page 12

step 3 – Selecting .HEX file

01 02
01
02

Figure 3-4: Selecting HEX

Select .HEX file using open dialog window.uploaded to MCU memory. Page 12 step 3 – Selecting .HEX file 01 02 Figure 3-4:

Click the Open button. Open button.

step 4 – Uploading .HEX file

01
01

Figure 3-5: Begin uploading

01
01

To start .HEX file bootloading click the Begin uploading button.

Page 13

01
01

Figure 3-6: Progress bar

01
01

Progress bar enables you to monitor .HEX file uploading.

step 5 – Finish upload

01
01

Figure 3-7: Restarting MCU

Click OK button after the uploading process is finished. OK button after the uploading process is finished.

Press Reset button on PIC32MX clicker board and wait for 5 seconds. Your program will run Reset button on PIC32MX clicker board and wait for 5 seconds. Your program will run automatically.

Page 14

Figure 4-8: mikroBootloader ready for next job
Figure 4-8: mikroBootloader ready for next job

3.2 Programming with mikroProg programmer

The microcontroller can be programmed with external mikroProg for PIC programmer and mikroProg Suite for PIC ® software. The external programmer is connected to the development system via 1x5 connector Figure 3-9. mikroProg is a fast USB 2.0 programmer with hardware debugger support. It supports PIC10®, dsPIC30/33®, PIC24® and PIC32® devices in a single programmer. It supports over 570 microcontrollers from Microchip®. Outstanding performance, easy operation and elegant design are its key features.

You can also program it with ICD2® or ICD3® if you reroute the wires like shown here.

1. NC GND 2. PGC MCLR# 3. 4. PGD PGD GND PGC VCC 3.3V VCC
1. NC
GND
2.
PGC
MCLR#
3.
4.
PGD
PGD
GND
PGC
VCC 3.3V
VCC 3.3V
5.
6.
MCLR#

ICD2/3

programmer

clicker 2 for PIC32MX 1x5 programming headers

Page 15

Figure 3-8:

mikroProg

connector

mikroProg Suite for PIC ® Software

mikroProg Suite ™ for PIC ® Software The mikroProg ™ programmer requires special programming software

The mikroProg programmer requires special programming software called mikroProg Suite for PIC ® . It can be used for programming all Microchip ® microcontroller families, including PIC10 ® , PIC12 ® , PIC16 ® , PIC18 ® , dsPIC30/33 ® , PIC24 ® and PIC32 ® . The software has intuitive interface and SingleClick programming technology. Just download the latest version of mikroProg Suite and your programmer is ready to program new devices. mikroProg Suite is updated regularly, at least four times a year, so your programmer will be more and more powerful with each new release.

Figure 3-9: Main window of mikroProg Suite ™ for PIC ® programming software Page 16
Figure 3-9: Main window of mikroProg Suite ™ for PIC ® programming software
Page 16
powerful with each new release. Figure 3-9: Main window of mikroProg Suite ™ for PIC ®

NOTE

Before attaching the programming connector, you have to solder the provided 1x5 male header to the programming pads (HD1).

VCC-3.3 V E1 V ca p 10uF U1 75 1 RG15 V S S 74
VCC-3.3 V
E1
V
ca p
10uF
U1
75
1 RG15
V
S S
74
OSC32_OUT
2 3 VD D
SOSCO/RC14
73
OSC32_IN
X2
4 RE5
SOSCI/RC13
72
5 RE6
RD0
71
6 RE7
RD11
32.768KHz
70
C34
C33
7 RC1
RD10
69
8 RC2
RD9
22pF
22pF
68
9 RC3
RD8
67
10 RC4
RA15
66
11 RG6
RA14
65
RG7
V
S S
64
RESET#
13 12 PIC32MX460F512L
14
OSC2
RG8
OSC2/RC15
63
OSC1
X1
MCLR
OSC1/RC12
62
15 RG9
VD
D
61
V
S S
RA5
8MHz
60
C5
C6
16 VD D
100pin TQFP
17
RA4
59
18 RA0
RA3
22pF
22pF
58
19 RE8
RA2
57
20 RE9
D+/RG2
56
21 RB5
D-/RG3
55
22 RB4
VUSB
54
23 RB3
VBUS
53
24 RB2
RF8
52
25 RB1
RF2
51
RB0
RF3
VCC-3. 3
HD1
1
RB6-PGC2
2
RB7-PGD2
3
RESET#
4
5
mPROG
AVCC
RB6-P GC2
RB7-P GD 2
26
100
RB6
RE4
27
99
RB7
RE3
28
98
RA 9
RE2
29
97
RA 10
RG13
30
96
A
VD D
RG12
31
95
A
VS S
RG14
32
94
RB8
RE1
33
93
RB9
RE0
34
92
RB10
RA7
35
91
RB11
RA6
36
90
V
SS
RG0
37
89
V
DD
RG1
38
88
RA 1
RF1
39
87
RF13
RF0
40
86
RF12
V
D D
41
85
RB12
V
CAP /VD D CORE
42
84
RB13
RD7
43
83
RB14
RD6
44
82
RB15
RD5
45
81
V
SS
RD4
46
80
V
DD
RD13
47
79
RD 14
RD12
48
78
RD 15
RD3
49
77
RF4
RD2
50
76
RF5
RD1

Figure 3-10: mikroProg connection schematic

Page 17

VCC-3.3 V VCC-3.3 V C40 C9 10uF 100nF
VCC-3.3 V
VCC-3.3 V
C40
C9
10uF
100nF
VCC-3.3 V VCC-3.3 V C10 C11 100nF 100nF VCC-3.3 V VCC-3.3 V C12 C35 100nF
VCC-3.3 V
VCC-3.3 V
C10
C11
100nF
100nF
VCC-3.3 V
VCC-3.3 V
C12
C35
100nF
100nF
VCC-3.3 V
VCC-3.3 V
C36
C37
100nF
100nF
on the 03 02 01 Figure 4-1: Two LEDs, two buttons and a reset button
on
the
03 02
01
Figure 4-1:
Two LEDs, two buttons
and a reset button

The

level

4. Buttons and LEDs

The board also contains a 01 reset button and a pair of 02 buttons and 03 LEDs, as well as

an

Reset button is used to manually reset the

as well as an Reset button is used to manually reset the ON/OFF switch. microcontroller by

ON/OFF

switch.

microcontroller by generating

a

microcontroller’s reset pin. LEDs can

low

voltage

be used for visual indication of the logic state on two pins (RE3) and (RA10).

An

high (1) is present on the pin. Pressing any of the two buttons can change the logic state of the microcontroller pins (RE4 and RG9) from logic high (1) to logic low (0). In addition to the onboard ON/OFF switch, two pads (EXT and PSW) allow you to connect your own external switch.

active LED indicates that a logic

Page 18

VCC-3.3 V E1 R3 VCC-3.3 V V ca p 10K R4 RESET# RST 10uF 1K
VCC-3.3 V
E1
R3
VCC-3.3 V
V
ca p
10K
R4
RESET#
RST
10uF
1K
T1
C3
U1
100nF
VCC-3.3 V
VCC-3.3 V
75
C40
C9
1 RG15
V
S S
74
OSC32_OUT
3 2 VD D
SOSCO/RC14
73
OSC32_IN
X2
10uF
100nF
4 RE5
SOSCI/RC13
72
5 RE6
RD0
71
6 RE7
RD11
32.768KHz
70
C34
C33
7 RC1
RD10
69
8 RC2
RD9
22pF
22pF
VCC-3.3 V
VCC-3.3 V
68
9 RC3
RD8
67
10 RC4
RA15
66
11 RG6
RA14
C10
C11
AVCC
VCC-3.3 V
65
RG7
V
S S
FP1
13 12 PIC32MX460F512L
14
64
RG8
OSC2/RC15
100nF
100nF
RESET#
63
OSC1
X1
MCLR
OSC1/RC12
RG9-T3
62
15 RG9
VD
D
C1
C2
100pin TQFP
17
61
V
S S
RA5
8MHz
60
100nF
2.2uF
C5
C6
16 VD D
RA4
59
VCC-3.3 V
VCC-3.3 V
18 RA0
RA3
22pF
22pF
58
19 RE8
RA2
57
20 RE9
D+/RG2
C12
C35
56
21 RB5
D-/RG3
55
22 RB4
VUSB
100nF
100nF
54
23 RB3
VBUS
53
24 RB2
RF8
52
25 RB1
RF2
51
RB0
RF3
R1
R2
VCC-3.3 V
VCC-3.3 V
2K2
2K2
C36
C37
100nF
100nF
T2
VCC-3.3 V
VCC-3.3 V
T3
R5
R6
10K
10K
AVCC
RB6-P GC2
RB7-P GD 2
RA 9-GPI O
RA 10-L D2
26
100
RE4-T2
RB6
RE4
27
99
RE3-LD1
RB7
RE3
28
98
RA 9
RE2
29
97
RA 10
RG13
30
96
A
VD D
RG12
31
95
A
VS S
RG14
RB8-A N8
RB9-A N9
RB10-A N1 0
RB11-A N1 1
32
94
RB8
RE1
33
93
RB9
RE0
34
92
RB10
RA7
35
91
RB11
RA6
36
90
V
SS
RG0
37
89
V
DD
RG1
38
88
RA 1
RF1
RF13-S ENS EL
RF12-GP IO
RB12-V S ENS E
RB13-A N1 3
RB14-A N1 4
RB15-A N1 5
39
87
RF13
RF0
40
86
RF12
V
D D
41
85
RB12
V
CAP /VD D CORE
42
84
RB13
RD7
43
83
RB14
RD6
44
82
RB15
RD5
45
81
V
SS
RD4
46
80
V
DD
RD13
47
79
RD 14
RD12
48
78
RD 15
RD3
RF4-U ART2_ RX
49
77
RF4
RD2
RF5-U ART2_ TX
50
76
RF5
RD1
RE3-L D1
RE4-T2
RG9-T3
RA 10-L D2

Figure 4-2: Other modules connection schematic

Page 19

5. Power management and battery charger

Clicker 2 for PIC18FJ features LTC®3586-1, a highly integrated power management and battery charger IC that includes a current limited switching PowerPath manager. LTC®3586 also enables battery charging over a USB connection.

Figure 5-1: power management and battery charger IC
Figure 5-1:
power
management
and battery
charger IC

Page 20

6. Oscillators

Board is equipped with 8MHz and 32.7kHz crystal oscillators (X1 and X2) that provide external clock waveforms to the microcontroller OSC2 and OSC1 (X1) and SOSCO and SOSCI (X2) pins. This base frequency is suitable for further clock multipliers and ideal for generation of necessary USB clock, which ensures proper operation of bootloader and your custom USB-based applications.

Figure 6-1: Figure 6-2: 32.768kHz 8MHz crystal crystal oscillator oscillator module (X2) module (X1)
Figure 6-1:
Figure 6-2:
32.768kHz
8MHz
crystal
crystal
oscillator
oscillator
module (X2)
module (X1)

Page 21

E1 VCC-3.3 V V ca p 10uF U1 VCC-3.3 V VCC-3.3 V 75 C40 C9
E1
VCC-3.3 V
V
ca p
10uF
U1
VCC-3.3 V
VCC-3.3 V
75
C40
C9
1 RG15
V
S S
74
OSC32_OUT
3 2 VD D
SOSCO/RC14
73
OSC32_IN
X2
10uF
100nF
4 RE5
SOSCI/RC13
72
5 RE6
RD0
71
6 RE7
RD11
32.768KHz
70
C34
C33
7 RC1
RD10
69
8 RC2
RD9
22pF
22pF
VCC-3.3 V
VCC-3.3 V
68
9 RC3
RD8
67
10 RC4
RA15
66
11 RG6
RA14
C10
C11
65
RG7
V
S S
12 13 PIC32MX460F512L
14
64
OSC2
RG8
OSC2/RC15
100nF
100nF
63
OSC1
X1
MCLR
OSC1/RC12
62
15 RG9
VD D
100pin TQFP
17
61
V
S S
RA5
8MHz
60
C5
C6
16 VD D
RA4
59
VCC-3.3 V
VCC-3.3 V
18 RA0
RA3
22pF
22pF
58
19 RE8
RA2
57
20 RE9
D+/RG2
C12
C35
56
21 RB5
D-/RG3
55
22 RB4
VUSB
100nF
100nF
54
23 RB3
VBUS
53
24 RB2
RF8
52
AVCC
VCC-3.3 V
25 RB1
RF2
51
RB0
RF3
VCC-3.3 V
VCC-3.3 V
FP1
C36
C37
C1
C2
100nF
2.2uF
100nF
100nF
AVCC
26
100
RB6
RE4
27
99
RB7
RE3
28
98
RA 9
RE2
29
97
RA 10
RG13
30
96
A
VD D
RG12
31
95
A
VS S
RG14
32
94
RB8
RE1
33
93
RB9
RE0
34
92
RB10
RA7
35
91
RB11
RA6
36
90
V
SS
RG0
37
89
V
DD
RG1
38
88
RA 1
RF1
39
87
RF13
RF0
40
86
RF12
V
D D
41
85
RB12
V
CAP /VD D CORE
42
84
RB13
RD7
43
83
RB14
RD6
44
82
RB15
RD5
45
81
V
SS
RD4
46
80
V
DD
RD13
47
79
RD 14
RD12
48
78
RD 15
RD3
49
77
RF4
RD2
50
76
RF5
RD1

NOTE

The use of crystal in all other schematics is implied even if it is purposely left out, because of the schematics clarity.

Page 22

Figure 6-3:

Crystal

oscillator

schematic

7. USB connection

PIC32MX460F512L microcontrollers has an integrated USB module, which enables you to implement USB communication functionality to your clicker 2 board. Connection with target USB host is done over a Mini-B USB connector which is positioned next to the battery connector.

Figure 7-1:

Connecting USB cable to clicker 2

Page 23

VCC-3.3 V VCC-3.3 V C40 C9 10uF 100nF VCC-3.3 V VCC-3.3 V C10 C11 100nF
VCC-3.3 V
VCC-3.3 V
C40
C9
10uF
100nF
VCC-3.3 V
VCC-3.3 V
C10
C11
100nF
100nF
VCC-3.3 V
VCC-3.3 V
C12
C35
100nF
100nF
VCC-3.3 V
VCC-3.3 V
C36
C37
100nF
100nF
E1 VCC-USB Vcap CN2 FP2 FERRITE R24 100 10uF USB-DET 1 VBUS USB-D_N 2 D-
E1
VCC-USB
Vcap
CN2
FP2
FERRITE
R24 100
10uF
USB-DET
1
VBUS
USB-D_N
2
D-
USB-D_P
3
D+
USB-ID
4
ID
U1
5
C26
GND
10nF
75
USB MINIB
1 RG15
VSS
74
OSC32_OUT
2 3 VDD
SOSCO/RC14
73
OSC32_IN
X2
4 RE5
SOSCI/RC13
72
5 RE6
RD0
71
6 RE7
RD11
32.768KHz
70
C34
C33
7 RC1
RD10
69
8 RC2
RD9
22pF
22pF
68
9 RC3
RD8
67
10 RC4
RA15
AVCC
VCC-3.3 V
66
11 RG6
RA14
65
FP1
RG7
VSS
13 12 PIC32MX460F512L
14
64
OSC2
RG8
OSC2/RC15
63
OSC1
X1
MCLR
OSC1/RC12
C1
C2
62
RG9
VDD
15 16 100pin TQFP
17
61
100nF
2.2uF
VSS
RA5
8MHz
60
C5
C6
VDD
RA4
59
18 RA0
RA3
22pF
22pF
58
19 RE8
RA2
57
USB-D_P
20 RE9
D+/RG2
R28
56
USB-D_N
21 RB5
D-/RG3
R29
55
22 RB4
VUSB
54
USB-DET
23 RB3
VBUS
53
USB-ID
24 RB2
RF8
52
USB-ID-RF3
25 RB1
RF2
51
USB-ID-RF3
RF3-GPIO
RB0
RF3
J2
AVCC
26
100
RB6
RE4
27
99
RB7
RE3
28
98
RA9
RE2
29
97
RA10
RG13
30
96
AVDD
RG12
31
95
AVSS
RG14
32
94
RB8
RE1
33
93
RB9
RE0
34
92
RB10
RA7
35
91
RB11
RA6
36
90
VSS
RG0
37
89
VDD
RG1
38
88
RA1
RF1
39
87
RF13
RF0
40
86
RF12
VDD
41
85
RB12
VCAP/VDDCORE
42
84
RB13
RD7
43
83
RB14
RD6
44
82
RB15
RD5
45
81
VSS
RD4
46
80
VDD
RD13
47
79
RD14
RD12
48
78
RD15
RD3
49
77
RF4
RD2
50
76
RF5
RD1

VCC-3.3 V

Figure 7-2: USB module connection schematic

Page 24

8. Pads

AVCC VCC-3.3 V FP1 E1 VCC-3.3 V V ca p C1 C2 10uF 100nF 2.2uF
AVCC
VCC-3.3 V
FP1
E1
VCC-3.3 V
V
ca p
C1
C2
10uF
100nF
2.2uF
U1
VSYS
RG15-STAT
1
75
RG15
V
S S
HDR1
2
74
OSC32_OUT
HDR2
VD
D
SOSCO/RC14
RESET#
3
73
OSC32_IN
X2
RE5
SOSCI/RC13
RE6-GPIO
4
72
RD0-PWM1
RB15-AN15
RE6
RD0
5
71
RB14-AN14
RE7
RD11
32.768KHz
6
70
C34
C33
RB13-AN13
RC1
RD10
RD1-PWM2
7
69
RD9-GPIO
RB11-AN11
RC2
RD9
RD2-PWM3
22pF
22pF
AN
8
68
RD8-GPIO
RB10-AN10
RC3
RD8
PW M
RD3-PWM4
9
67
RA15-INT4
RB9-AN9
RC4
RA15
RD0-PWM1
RG6_SPI2_SCK
10
66
RA14-INT3
RB8-AN8
R9
RG6
RA14
RD12-GPIO
RG7_SPI2_MISO
11
65
RA14-INT3
RG7
V
S S
RD13-GPIO
RG8_SPI2_MOSI
12
64
OSC2
RA15-INT4
R7
RG8
RESET#
PIC32MX460F512L
OSC2/RC15
RD5-GPIO
13
63
OSC1
X1
RE9-MB2-INT2
INT
MCLR
OSC1/RC12
RD6-GPIO
RG9-T3
14
62
RE8-MB1-INT1
RG9
VD
D
RD7-GPIO
15
61
RF12-GPIO
V
S S
100pin TQFP
RA5
RF0-GPIO
8MHz
16
60
RA4-GPIO
C5
C6
RD9-GPIO
VD
D
RA4
RF1-GPIO
RA0-GPIO
17
59
RA3-I2C2_SDA
RD8-GPIO
RA0
RA3
RG0-GPIO
22pF
22pF
RE8-MB1-INT1
18
58
RA2-I2C2_SCL
RA4-GPIO
RE8
RA2
RA6-GPIO
RE9-MB2-INT2
19
57
USB-D_P
RA9-GPIO
RE9
D+/RG2
R28
RA7-GPIO
20
56
USB-D_N
RF3-GPIO
RB5
D-/RG3
R29
RE0-GPIO
RB4-MB2_AN4
21
55
RA0-GPIO
RB4
VUSB
RG14-GPIO
22
54
USB-DET
RE6-GPIO
RB3
VBUS
RF4-UART2_RX
RB2-MB2_RST
23
53
RF8-UART1_TX
USB-ID
RX
RG6_SPI2_SCK
RB2
RF8
RF5-UART2_TX
SCK
RB1-MB2_CS
24
52
RF2-UART1_RX
USB-ID-RF3
TX
RG7_SPI2_MISO
RB1
RF2
RA2-I2C2_SCL
SD I
RB0-MB1_AN0
25
51
USB-ID-RF3
RF3-GPIO
SC L
RG8_SPI2_MOSI
RB0
RF3
RA3-I2C2_SDA
SDO
SD A
J2
VCC-3.3 V
VCC-3.3 V
AVCC
VCC-3.3 V
VCC-3.3 V VCC-3.3 V VCC-3.3 V VCC-3.3 V
VCC-3.3 V
VCC-3.3 V
VCC-3.3 V
C40
C9
C10
C11
C12
C35
C36
C37
10uF
100nF
100nF
100nF
100nF
100nF
100nF
100nF
Pads HDR2
Figure 8-1: Connecting pads schematic
Pads HDR1
RB6-P GC2
RB7-P GD 2
RA 9-GPI O
RA 10-L D2
26
100
RE4-T2
RB6
RE4
27
99
RE3-L D1
RB7
RE3
28
98
RE2-MB 1_RST
RA
9
RE2
29
97
RG13-M B1_CS
RA
10
RG13
30
96
RG12-G PIO
A
VD D
RG12
31
95
RG14-G PIO
A
VS S
RG14
RB8-A N8
RB9-A N9
RB10-A N1 0
RB11-A N1 1
32
94
RB8
RE1
33
93
RB9
RE0
34
92
RB10
RA7
35
91
RB11
RA6
36
90
RE0-GP IO
RA 7-GPI O
RA 6-GPI O
RG0-GP IO
V
SS
RG0
37
89
V
DD
RG1
38
88
RF1-GP IO
RA
1
RF1
RF13-S ENS EL
39
87
RF0-GP IO
RF13
RF0
RF12-GP IO
40
86
RF12
V
D D
RB12-V S ENS E
41
85
RB12
V
CAP /VD D CORE
RB13-A N1 3
42
84
RB13
RD7
RB14-A N1 4
43
83
RB14
RD6
RB15-A N1 5
44
82
RB15
RD5
45
81
RD 7-GPI O
RD 6-GPI O
RD 5-GPI O
RD 4-MB1- PWM5
V
SS
RD4
46
80
RD 13-GPI O
V
DD
RD13
47
79
RD 12-GPI O
RD
14
RD12
48
78
RD
15
RD3
RF4-U ART2_ RX
RF5-U ART2_ TX
49
77
RF4
RD2
50
76
RD 3-PWM4
RD 2-PWM3
RD 1-PWM2
RF5
RD1

Most microcontroller pins are available for further connectivity via two 1x26 rows of connection pads on both sides of the clicker 2 for PIC32MX board. They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and others.

They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and
They are designed to match additional shields, such as Battery Boost shield, Gaming, PROTO shield and

Page 25

9. Pinout

Reset pin

Reference Ground

PWM lines

Digital I/O lines RX UART1 Lines TX SCL I 2 C2 Lines SDA 3.3V power
Digital I/O lines
RX
UART1 Lines
TX
SCL
I 2 C2 Lines
SDA
3.3V power supply
Reference Ground

Pin functions

RST

GND

RD1 RD2 RD3 RD0

RD2

RD3

RD0

RD12 RD13 RD5 RD6 RD7 RF0 RF1 RG0 RA6 RA7 RE0 RG14
RD12
RD13
RD5
RD6
RD7
RF0
RF1
RG0
RA6
RA7
RE0
RG14

RF4

RF5

RA2

RA3

3.3V

GND

VSYS GND RB15 RB14 RB13 RB11 RB10 RB9 RB8 RA14 RA15 RE9 RE8 RF12 RD9
VSYS
GND
RB15
RB14
RB13
RB11
RB10
RB9
RB8
RA14
RA15
RE9
RE8
RF12
RD9
RD8
RA4
RA9
RF3
RA0
RE6
RG6
RG7
RG8
3.3V
GND

Digital linesRD9 RD8 RA4 RA9 RF3 RA0 RE6 RG6 RG7 RG8 3.3V GND Analog Lines Interrupt Lines

Analog LinesRA9 RF3 RA0 RE6 RG6 RG7 RG8 3.3V GND Digital lines Interrupt Lines SPI Lines Page

RE6 RG6 RG7 RG8 3.3V GND Digital lines Analog Lines Interrupt Lines SPI Lines Page 26

Interrupt Lines

SPI Lines Page 26
SPI Lines
Page 26

I 2 C Lines 2 C Lines

UART linesLines Interrupt Lines SPI Lines Page 26 I 2 C Lines System power supply Reference Ground

System power supply Reference Ground

Analog Lines

Interrupt Lines

Digital I/O lines

SCK

SDI

SDO 3.3V power supply Reference Ground

Lines Interrupt Lines Digital I/O lines SCK SDI SDO 3.3V power supply Reference Ground SPI1 Lines

SPI1 Lines

Pin functions

PWM linesAnalog Lines Interrupt Lines Digital I/O lines SCK SDI SDO 3.3V power supply Reference Ground SPI1

9.1 PWM jumper selection

Clicker 2 for PIC32MX employs a solution to optimize the use of available pins and MCU I/Os. The PWM SEL jumper (Figure 9-2) enables two modes of use for the second available PWM line:

The default position of the jumper is for applications when you’re not using the PWM line on the 1x26 pinout on the right side of the board. This keeps this PWM available through mikroBUS ™ 2 2

If you resolder the jumper into the secondThis keeps this PWM available through mikroBUS ™ 2 position, it would turn the PWM line

position, it would turn the PWM line on mikroBUS 2 into a GPIO. You would use this in scenarios where you already utilized the PWM through the 1x26 pinout (which would make the PWM pin on mikroBUS 2 unusable)

Analog line RB0 RD4 PWM line RE2 RE8 Interrupt line Digital lines* RG13 RF2 RX
Analog line
RB0
RD4
PWM line
RE2
RE8
Interrupt line
Digital lines*
RG13
RF2
RX
UART1 lines
SCK
RG6
RF8
TX
SPI2
MISO
RG7
RA2
SCL
lines
I 2 C2 lines
MOSI
3.3V power supply
RG8
RA3
3.3V
5V
Reference ground
GND
GND
SDA
5V power supply
Reference ground
Analog line RB4 RD0 PWM line RB2 RE9 Interrupt line Digital lines* RB1 RF4 RX
Analog line
RB4
RD0
PWM line
RB2
RE9
Interrupt line
Digital lines*
RB1
RF4
RX
UART2 lines
SCK
RG6
RF5
TX
SPI2
MISO
RG7
RA2
SCL
lines
I 2 C2 lines
MOSI
3.3V power supply
Reference ground
RG8
RA3
3.3V
5V
GND
RD5
SDA
5V power supply
Reference ground

Figure 9-1: mikroBUS individual and shared lines

SDA 5V power supply Reference ground Figure 9-1: mikroBUS ™ individual and shared lines Figure 9-2:

Figure 9-2:

PWM SEL jumper

SDA 5V power supply Reference ground Figure 9-1: mikroBUS ™ individual and shared lines Figure 9-2:

9.2 RF3/USBID Jumper selection

Clicker 2 for PIC32MX employs a solution to optimize the use of available pins and MCU I/Os. The PWM SEL jumper (Figure 9-2) enables two modes of use for the second available PWM line:

1 2
1
2

To use RF3 as a GPIO, keep the jumper in the default position (connected to the corresponding pin on the 1x26 connection pad, see page 26)

To connect the RF3 MCU pin to USB-ID (one of

the four pins on the USB port), resolder the RF3 SEL jumper (zero-ohm resistor) to the other position.

pins on the USB port), resolder the RF3 SEL jumper (zero-ohm resistor) to the other position.

Figure 9-3:

RF3/USBID jumper

10. click boards are plug and play!

Up to now, MikroElektronika has released more than a 100 mikroBUS compatible click boards. On the average, one click board is released per week. It is our intention to provide you with as many add-on boards as possible, so you will be able to expand your development board with additional functionality. Each board comes with a set of working example code. Please visit the click boards webpage for the complete list of currently available boards:

Figure 10-1:

clicker 2 for PIC32MX

www.mikroe.com/click driving click ™ boards

www.mikroe.com/click

driving click

boards

Page 29

RFid click ™ BarGraph click ™ Relay click ™ 7seg click ™ 8x8 click ™

RFid click

RFid click ™ BarGraph click ™ Relay click ™ 7seg click ™ 8x8 click ™ THERMO

BarGraph click

RFid click ™ BarGraph click ™ Relay click ™ 7seg click ™ 8x8 click ™ THERMO

Relay click

RFid click ™ BarGraph click ™ Relay click ™ 7seg click ™ 8x8 click ™ THERMO

7seg click

™ BarGraph click ™ Relay click ™ 7seg click ™ 8x8 click ™ THERMO click ™

8x8 click

click ™ Relay click ™ 7seg click ™ 8x8 click ™ THERMO click ™ FM click

THERMO click

click ™ 7seg click ™ 8x8 click ™ THERMO click ™ FM click ™ Gyro click

FM click

click ™ 8x8 click ™ THERMO click ™ FM click ™ Gyro click ™ Page 30

Gyro click

Page 30

™ THERMO click ™ FM click ™ Gyro click ™ Page 30 Bluetooth2 click ™ EEPROM

Bluetooth2 click

FM click ™ Gyro click ™ Page 30 Bluetooth2 click ™ EEPROM click ™ Thunder click

EEPROM click

click ™ Page 30 Bluetooth2 click ™ EEPROM click ™ Thunder click ™ LightHz click ™

Thunder click

30 Bluetooth2 click ™ EEPROM click ™ Thunder click ™ LightHz click ™ USB SPI click

LightHz click

30 Bluetooth2 click ™ EEPROM click ™ Thunder click ™ LightHz click ™ USB SPI click

USB SPI click

30 Bluetooth2 click ™ EEPROM click ™ Thunder click ™ LightHz click ™ USB SPI click

Pressure click

11. Dimensions

11. Dimensions Page 31

Page 31

DISCLAIMER

All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, may be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika. The manual PDF edition can be printed for private or local use, but not for distribution. Any modification of this manual is prohibited.

MikroElektronika provides this manual ‘as is’ without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties or conditions of merchantability or fitness for a particular purpose.

MikroElektronika shall assume no responsibility or liability for any errors, omissions and inaccuracies that may appear in this manual. In no event shall MikroElektronika, its directors, officers, employees or distributors be liable for any indirect, specific, incidental or consequential damages (including damages for loss of business profits and business information, business interruption or any other pecuniary loss) arising out of the use of this manual or product, even if MikroElektronika has been advised of the possibility of such damages. MikroElektronika reserves the right to change information contained in this manual at any time without prior notice, if necessary.

HIGH RISK ACTIVITIES

The products of MikroElektronika are not fault – tolerant nor designed, manufactured or intended for use or resale as on – line control equipment in hazardous environments requiring fail – safe performance, such as in the operation of nuclear facilities, aircraft navigation or communication systems, air traffic control, direct life support machines or weapons systems in which the failure of Software could lead directly to death, personal injury or severe physical or environmental damage (‘High Risk Activities’). MikroElektronika and its suppliers specifically disclaim any expressed or implied warranty of fitness for High Risk Activities.

TRADEMARKS

The MikroElektronika name and logo, mikroC , mikroBasic , mikroPascal , Visual TFT , Visual GLCD , mikroProg , Ready , MINI , mikroBUS , EasyPIC , EasyAVR , Easy8051 , click boards and mikromedia are trademarks of MikroElektronika. All other trademarks mentioned herein are property of their respective companies. All other product and corporate names appearing in this manual may or may not be registered trademarks or copyrights of their respective companies, and are only used for identification or explanation and to the owners’ benefit, with no intent to infringe.

Copyright © 2014 MikroElektronika. All Rights Reserved.

Page 32

If you want to learn more about our products, please visit our web site at
If you want to learn more about our products, please visit our web site at
If you want to learn more about our products, please visit our web site at

If you want to learn more about our products, please visit our web site at www.mikroe.com If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com

Clicker 2 for PIC32MX manual ver 1.02

proposals, do not hesitate to contact us at office@mikroe.com Clicker 2 for PIC32MX manual ver 1.02

0100000070901