mikroElektronika CLICKER2 FOR PIC32MX Manual

mikroElektronika CLICKER2 FOR PIC32MX Manual

A compact starter kit with two mikrobus sockets

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CLICKER2 FOR PIC32MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for mikroElektronika CLICKER2 FOR PIC32MX

  • Page 1 A compact starter kit with your favorite microcontroller and two mikroBUS sockets ™...
  • Page 2 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.
  • Page 3: Table Of Contents

    Table of contents Introduction to clicker 2 for PIC32MX 3.2 Programming with mikroProg programmer ™ Key features mikroProg Suite for PIC software ™ ® 1. Power supply 4. Buttons and LEDs 2. PIC32MX460F512L microcontroller 5. Power management and battery charger Key microcontroller features 6.
  • Page 4: Introduction To Clicker 2 For Pic32Mx

    Introduction to clicker 2 for PIC32MX Clicker 2 for PIC32MX is a are also provided. The compact dev. kit with two mikroBUS connector ™ mikroBUS sockets for consists of two 1x8 female ™ click board connectivity. headers with SPI, I C, UART, ™...
  • Page 5: Key Features

    Key features ON/OFF switch Pads for connecting external ON/OFF switch 32.768 KHz crystal oscillator 8 MHz crystal oscillator PIC32MX460F512L 2x26 connection pads mikroBUS sockets 1 and 2 ™ Pushbuttons Additional LEDs LTC3586-1 USB power manager IC Power and Charge indication LEDs RESET button USB mini-B connector Li-Polymer battery connector...
  • Page 6 VCC-BAT VCC-BAT VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VCC-3.3V VSYS VCC-3.3V VCC-5V VCC-3.3V VCC-5V HDR1 HDR2 BATT RESET# RB0-MB1_AN0 RD4-MB1-PWM5 RB4-MB2_AN4 MB2_PWM 2.2uF CONN 10uF 100nF 100nF 100nF 100nF 100nF 100nF 100nF RE2-MB1_RST RE8-MB1-INT1 RB2-MB2_RST RE9-MB2-INT2 RB15-AN15 RG13-MB1_CS RF2-UART1_RX RB1-MB2_CS RF4-UART2_RX VCC-3.3V...
  • Page 7: Power Supply

    1. Power supply Battery power supply Figure 1-1: Connecting USB 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.
  • Page 8 LDO3V3 LDO3V3 VCC-3.3V VCC-3.3V VCC-3.3V LDO3V3 LDO3V3 VCC-BAT VCC-BAT AVCC VCC-3.3V LD4B JS202011AQN VCC-3.3V 22uF 10nF RG15-STAT RF13-SENSEL 2.2uF 100nF PWR-EN VCC-3.3 DMP2305U 100nF VSYS VSYS 100K DMP2305U VSYS 100K LTC3586-1 RB12-VSENSE 2.2uF 2.2uF HDR1 HDR2 100K 100nF VCC-BAT SWCD3 PWR-EN PWR-EN VSYS...
  • Page 9: Pic32Mx460F512L Microcontroller

    2. PIC32MX460F512L microcontroller 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. Key microcontroller features •...
  • Page 10: Programming The Microcontroller

    3. Programming the microcontroller Figure 3-1: PIC32MX460F512L microcontroller The microcontroller can be programmed in three ways: Using USB HID mikroBootloader, Using external mikroProg for PIC32MX programmer ™ Using external ICD2/3® programmer Page 10...
  • Page 11: Programming With Mikrobootloader

    Software File folder mikroBootloader USB HID.exe Figure 3-2: USB HID mikroBootloader window Bootloader tool for mikroElektron... mikroElektronika To start, connect the USB cable, or if already connected Firmware File folder press the Reset button on your PIC32MX clicker. Click the...
  • Page 12: Step 2 - Browsing For .Hex File

    step 2 – Browsing for .HEX file step 3 – Selecting .HEX file Figure 3-3: Browse for HEX Figure 3-4: Selecting HEX Click the Browse for HEX button and from a Select .HEX file using open dialog window. pop-up window (Figure 3.4) choose the .HEX file which will be uploaded to MCU memory.
  • Page 13: Step 4 - Uploading .Hex File

    step 4 – Uploading .HEX file Figure 3-5: Begin uploading Figure 3-6: Progress bar To start .HEX file bootloading click the Progress bar enables you to monitor .HEX file Begin uploading button. uploading. Page 13...
  • Page 14: Step 5 - Finish Upload

    step 5 – Finish upload Figure 4-8: mikroBootloader ready for next job Figure 3-7: Restarting MCU Click OK button after the uploading process is finished. Press Reset button on PIC32MX clicker board and wait for 5 seconds. Your program will run automatically. Page 14...
  • Page 15: Programming With Mikroprog ™ Programmer

    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 ™...
  • Page 16: Mikroprog Suite ™ For Pic ® Software

    mikroProg Suite for PIC 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 ®...
  • Page 17 VCC-3.3V Vcap 10uF RG15 OSC32_OUT SOSCO/RC14 VCC-3.3V VCC-3.3V OSC32_IN SOSCI/RC13 RD11 32.768KHz RD10 10uF 100nF 22pF 22pF RA15 RA14 OSC2 PIC32MX460F512L OSC2/RC15 VCC-3.3V VCC-3.3V RESET# OSC1 MCLR OSC1/RC12 100pin TQFP 8MHz 100nF 100nF 22pF 22pF D+/RG2 D-/RG3 VUSB VBUS VCC-3.3V VCC-3.3V NOTE Before attaching...
  • Page 18: Buttons And Leds

    4. Buttons and LEDs The board also contains a reset button and a pair of buttons LEDs, as well as an ON/OFF switch. The Reset button is used manually reset microcontroller by generating a low voltage level on the microcontroller’s reset pin. LEDs can be used for visual indication of the logic state on two pins (RE3) and (RA10).
  • Page 19 VCC-3.3V VCC-3.3V Vcap RESET# 10uF 100nF VCC-3.3V VCC-3.3V RG15 OSC32_OUT SOSCO/RC14 OSC32_IN 10uF 100nF SOSCI/RC13 RD11 32.768KHz RD10 22pF 22pF VCC-3.3V VCC-3.3V RA15 RA14 AVCC VCC-3.3V PIC32MX460F512L OSC2/RC15 100nF 100nF RESET# OSC1 MCLR OSC1/RC12 RG9-T3 100pin TQFP 8MHz 100nF 2.2uF VCC-3.3V VCC-3.3V 22pF...
  • Page 20: Power Management And Battery Charger

    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...
  • Page 21: Oscillators

    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 Figure 6-1: Figure 6-2: 32.768kHz...
  • Page 22 VCC-3.3V Vcap 10uF VCC-3.3V VCC-3.3V RG15 OSC32_OUT SOSCO/RC14 OSC32_IN 10uF 100nF SOSCI/RC13 RD11 32.768KHz RD10 22pF 22pF VCC-3.3V VCC-3.3V RA15 RA14 OSC2 PIC32MX460F512L OSC2/RC15 100nF 100nF OSC1 MCLR OSC1/RC12 100pin TQFP 8MHz VCC-3.3V VCC-3.3V 22pF 22pF D+/RG2 D-/RG3 VUSB 100nF 100nF VBUS AVCC...
  • Page 23: Usb Connection

    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 24 VCC-USB VCC-3.3V Vcap FERRITE R24 100 10uF USB-DET VBUS USB-D_N USB-D_P USB-ID VCC-3.3V VCC-3.3V 10nF USB M INIB RG15 OSC32_OUT SOSCO/RC14 OSC32_IN 10uF 100nF SOSCI/RC13 RD11 32.768KHz RD10 22pF 22pF VCC-3.3V VCC-3.3V RA15 AVCC VCC-3.3V RA14 OSC2 PIC32MX460F512L OSC2/RC15 100nF 100nF OSC1 MCLR...
  • Page 25: Pads

    8. Pads AVCC VCC-3.3V VCC-3.3V Vcap 10uF 2.2uF 100nF VSYS RG15-STAT RG15 HDR1 OSC32_OUT HDR2 RESET# SOSCO/RC14 OSC32_IN SOSCI/RC13 RE6-GPIO RD0-PWM1 RB15-AN15 RB14-AN14 RD11 32.768KHz RB13-AN13 RD10 RD1-PWM2 RD9-GPIO RB11-AN11 RD2-PWM3 22pF 22pF RD8-GPIO RB10-AN10 RD3-PWM4 RA15-INT4 RB9-AN9 RD0-PWM1 RA15 RG6_SPI2_SCK RA14-INT3 RB8-AN8...
  • Page 26: Pinout

    9. Pinout Reset pin VSYS System power supply Reference Ground Reference Ground RB15 RB14 RB13 RB11 Analog Lines PWM lines RB10 RD12 RD13 RA14 RA15 Interrupt Lines RF12 Digital I/O lines Digital I/O lines RG14 UART1 Lines SPI1 Lines C2 Lines 3.3V power supply 3.3V 3.3V...
  • Page 27: Pwm Jumper Selection

    9.1 PWM jumper selection Clicker 2 for PIC32MX employs a solution to optimize Analog line PWM line Interrupt line the use of available pins and MCU I/Os. The PWM Digital lines* RG13 UART1 lines SEL jumper (Figure 9-2) enables two modes of SPI2 MISO use for the second available PWM line:...
  • Page 28: Rf3/Usbid Jumper Selection

    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: 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...
  • Page 29: Click ™ Boards Are Plug And Play

    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...
  • Page 30 RFid click Relay click 8x8 click FM click Bluetooth2 click Thunder click ™ ™ ™ ™ ™ ™ USB SPI click ™ BarGraph click 7seg click THERMO click Gyro click EEPROM click LightHz click Pressure click ™ ™ ™ ™ ™...
  • Page 31: Dimensions

    11. Dimensions Page 31...
  • Page 32 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.
  • Page 33 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...

This manual is also suitable for:

Mikroe-1717

Table of Contents