MINI-32 Manual - MikroElektronika

Transcription

MINI-32 Manual - MikroElektronika
MINI-32
™
The whole PIC32 development board fitted in DIP26
form factor, containing powerful PIC32MX534F064H
microcontroller. It’s pin compatible with PIC16F887 and
PIC18(L)F45K20 microcontrollers!
MINI
PIC32
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.
Nebojsa Matic
General Manager
The PIC32® 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 MINI-32
4
Key features
4
System Specification
5
1. Programming with mikroBootloader
6
step 1 – Connecting MINI-32 6
step 2 – Browsing for .HEX file 7
step 3 – Selecting .HEX file 7
step 4 – Uploading .HEX file
8
step 5 – Finish upload
9
2. Schematic
10
3. Pinout
11
4. Dimensions
12
Page 3
Introduction to MINI-32
Miniature and powerful development tool designed to work as
stand alone device or as MCU card in DIP40 socket. MINI-32 is
pre programmed with USB HID bootloader so it is not necessary
to have external programmer. If there is need for external
programmer (mikroProg) attach it to MINI-32 via pads marked
with RB6 (PGC), RB7 (PGD) and MCLR.
Key features
01 Connection Pads
02 USB MINI-B connector
03 32.768kHz Crystal oscillator
04 8 MHz Crystal oscillator
05 Microcontroller PIC32MX534F064H
06 DATA LED (connected on RD6)
07 STAT LED (connected on RG6)
08 POWER supply LED
09 Reset button
10 Power supply regulator
Page 4
02
System Specification
10
power supply
01
03
3.3V via pads or 5V via USB
04
power consumption
depends on MCU state (max current
into 3.3V pad is 300mA)
05
board dimensions
50.8 x 17.78mm (2 x 0.7“)
06
07
08
weight
~9g (0.02 lbs)
09
Page 5
1. Programming with mikroBootloader
step 1 – Connecting MINI-32
You can program the microcontroller with bootloader which
is pre programmed into the device by default. To transfer
.hex file from a PC to MCU you need bootloader software
(mikroBootloader USB HID) which can be downloaded from:
http://www.mikroe.com/eng/downloads/get/1678/
mini32_bootloader_v200.zip
01
After software is downloaded unzip it to desired location and
start mikroBootloader USB HID software.
Figure 1-1: USB HID mikroBootloader window
01 To start, connect the USB cable, or if already connected
press the Reset button on your MINI-32 board. Click the
”Connect” button within 5s to enter the bootloader mode,
otherwise existing microcontroller program will execute.
Page 6
step 2 – Browsing for .HEX file
step 3 – Selecting .HEX file
01
01
02
Figure 1-2: Browse for HEX
Figure 1-3: Selecting HEX
01 Click the ”Browse for HEX” button and from a
pop-up window (Figure 1-3) choose the .HEX file
which will be uploaded to MCU memory.
01 Select .HEX file using open dialog window.
02 Click the ”Open” button.
Page 7
step 4 – Uploading .HEX file
01
01
Figure 1-4: Begin uploading
Figure 1-5: Progress bar
01 To start .HEX file bootloading click the
”Begin uploading” button.
01 You can monitor .HEX file uploading via progress bar
Page 8
step 5 – Finish upload
01
Figure 1-6: Restarting MCU
Figure 1-7: mikroBootloader ready for next job
01 Click the ”OK” button after uploading is finished
and wait for 5 seconds. Board will automatically
reset and your new program will execute.
Page 9
2. Schematic
E3
10uF
RB7
RB6
RD3
RD2
RD1
RD10
RD9
RD8
RE4
RE3
RE2
RE1
RE0
RF1
RF0
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
VCC-3.3
RE5
RE6
RE7
RG6
RG7
RG8
MCLR#
R1
10K
RF1
RF0
RB14
RB15
RD0
RG6
RE0
RE1
T1
RB5
RB4
CN2
RB1
RB0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
RE5
RE6
RE7
RG6
RG7
RG8
MCLR
RG9
GND
VDD
RB5
RB4
RB3
RB2
RB1
RB0
RG6
RD6
C5
RE4
RE3
RE2
RE1
RE0
RF1
RF0
VDD
VCAP/VCORE
RD7
RD6
RD5
RD4
RD3
RD2
RD1
VCC-3.3
SOSCO/RC14
SOSCI/RC13
RD0
RD11
RD10
RD9
RD8
GND
OSC2/RC15
OSC1/RC12
VDD
D+/RG2
D-/RG3
VUSB
VBUS
USBID/RF3
PIC32MX534F064H
RB6/PGC2
RB7/PGD2
AVDD
AGND
RB8
RB9
RB10
RB11
GND
VDD
RB12
RB13
RB14
RB15
RF4
RF5
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
X2
RD0
RD11
RD10
RD9
RD8
32.768kHz
X1
C6
22pF
C7
22pF
22pF
R2
100
DATA
R4
4K7
R3
4K7
VCC-USB
CN3
1
2
3
4
5
USBDM
USBDP
USB-ID
RB14
RB15
RF4
RF5
LD3
RB6
RB7
LD2
VBUS
DD+
ID
GND
USB MI NI -B
VCC-USB
1
3
E1
10uF
VCC-3.3
REG1
GND
Vin
Vout
MC33269DT3.3
VCC-3.3
VCC-3.3
R5
2K2
2
E2
10uF
Page 10
POWER
LD1
VCC-3.3
C1
100nF
VCC-3.3
C2
100nF
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CN1
USB-DET
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
STAT
RE7
RE6
RE5
RE4
RF4
RF5
RG8
RG7
RE3
RE2
8MHz
C9
USBDP
USBDM
USB-DET
USB-ID
22pF
R7
100
RB8
RB9
MCLR#
RB5
RB4
RB1
RB0
RD11
RB9
RD5
RD4
RB8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
VCC-3.3
RD6
RD5
RD4
RD3
RD2
RD1
VCC-3.3
VCC-3.3
C3
100nF
C8
100nF
3. Pinout
Pin functions
AN5
Pin functions
MCLR
RB7
PGED2
RB5
RB6
PGEC2
SCL3/SDO3/U1TX
Programming lines
AN4
RB4
RD3
AN1/VREF-
RB1
RD2
SDA3/SDI3/U1RX
AN0/VREF+
RB0
RD1
SCK3/U1RTS
INT4
RD11
RD10
INT3
AN9
RB9
RD9
INT2
RD5
RD8
RTCC/INT1
RD4
3.3V
3.3V Power supply
AN8/U5RX
RB8
GND
GND
3.3V Power supply
3.3V
RE7
Analog I/O
Digital I/O
GND
GND
RE6
C1TX
RF1
RE5
C1RX
RF0
RE4
AN14/U5TX
RB14
RF4
U2RX
AN15
RB15
RF5
U2TX
INT0
RD0
RG8
SCL4/SDO2
SCK2
RG6
RG7
SDA4/SDI2
RE0
RE3
RE1
RE2
CAN
Digital I/O
Analog Lines
Interrupt Lines
SPI Lines
Page 11
I2C Lines
I2C
SPI/UART
Digital I/O
UART
I2C / SPI
Digital I/O
UART lines
CAN lines
17.78mm (700 mils)
4. Dimensions
50.8mm (2000 mils)
2.54mm (100 mils)
Page 12
Notes:
Page 13
Notes:
Page 14
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, the MikroElektronika logo, mikroC™, mikroBasic™, mikroPascal™, MINI™, EasyPIC™, mikroBUS™, Click Boards™, mikroProg™,
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 © MikroElektronika, 2012, All Rights Reserved.
Page 15
MINI
PIC32
If you want to learn more about our products, please visit our website 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/esupport
If you have any questions, comments or business proposals,
do not hesitate to contact us at [email protected]
MINI – 32 Manual
ver. 1.01
0 100000 021194