PIC32-PINGUINO-MICRO development board USER’S MANUAL Revision A, April 2012 Designed by OLIMEX Ltd, 2011 All boards produced by Olimex LTD are ROHS compliant
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual Disclaimer: © 2012 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd. Other terms and product names may be trademarks of others. The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual Table of Contents CHAPTER 1.................................................................................................................5 OVERVIEW.................................................................................................................5 1. Introduction to the chapter.......................................................................................................5 1.1 Features..................................................
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 7.3 CON1.......................................................................................................................................17 7.4 CON2.......................................................................................................................................18 7.5 USB-OTG (On-The-Go)........................................................................................................19 7.6 SD/MMC Micro card slot..............
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 1 OVERVIEW 1. Introduction to the chapter Thank you for choosing the PIC32-PINGUINO-MICRO development board from Olimex! This document provides a User’s Guide for the Olimex PIC32-PINGUINO-MICRO development board. As an overview, this chapter gives the scope of this document and lists the board’s features. The document’s organization is then detailed.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 1.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 2 INTRODUCTION TO ARDUINO/PINGUINO/MAPLE 2. What is Arduino? Arduino is an open-source electronics prototyping platform, designed to make the process of using electronics in multidisciplinary projects easily accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard programming language and the boot loader that runs on the board.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual world. PINGUINO project founders decided to go with Python instead Java for processing language. For the moment PINGUINO is much more flexible than Arduino as it is not limited to 8bit microcontrollers.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 3 SETTING UP THE PIC32-PINGUINO-MICRO BOARD 3. Introduction to the chapter This section helps you set up the PIC32-PINGUINO-MICRO development board for the first time. Please consider first the electrostatic warning to avoid damaging the board, then discover the hardware and software required to operate the board. The procedure to power up the board is given, and a description of the default board behavior is detailed. 3.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual On powering the board the AND starting bootloader mode LED1 and LED2 should start blinking consecutively. 3.4 Prebuilt software The board comes with prebuilt PINGUINO bootloader. To enter this mode hold BUT and press RST then release BUT. Or connect the USB when BUT is pressed and then release BUT.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 4 PIC32-PINGUINO-MICRO BOARD DESCRIPTION 4. Introduction to the chapter Here you get acquainted with the main parts of the board. Note the names used on the board differ from the names used to describe them. For the actual names check the PIC32-PINGUINO-MICRO board itself. 4.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 4.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 5 THE PIC32MX440F256H MICROCONTROLLER 5. Introduction to the chapter In this chapter is located the information about the heart of PIC32-PINGUINO-MICRO – its microcontroller. The information is a modified version of the datasheet provided by its manufacturers. 5.1 The microcontroller High-Performance 32-bit RISC CPU: • MIPS32® M4K® 32-bit core with 5-stage pipeline • 80 MHz maximum frequency • 1.56 DMIPS/MHz (Dhrystone 2.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual • Internal 8 MHz and 32 kHz oscillators • Separate PLLs for CPU and USB clocks • Two I2C™ modules • Two UART modules with: - RS-232, RS-485 and LIN support - IrDA® with on-chip hardware encoder and decoder • Up to two SPI modules • Parallel Master and Slave Port (PMP/PSP) with 8-bit and 16-bit data and up to 16 address lines • Hardware Real-Time Clock and Calendar (RTCC) • Five 16-bit Timers/Counters (two 16-bit pairs combine to create two 32-bit timers) • F
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 6 CONTROL CIRCUITY 6. Introduction to the chapter Here you can find information about reset circuit, power circuit and quartz crystal locations. 6.1 Reset PIC32-PINGUINO-MICRO reset circuit includes D2 (1N4148), R16 (4.7kΩ), R2 (33Ω), C21 (4.7nF), PIC32MX440F256H pin 7 (#MCLR) and a RESET button. 6.2 Clock Quartz crystal Q1 8.000 MHz is connected to PIC32MX440F256H pin 39 (OSC1/CLKI/RC12) and pin 40 (OSC2/CLKO/RC15).
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 7 HARDWARE 7. Introduction to the chapter In this chapter are presented the connectors that can be found on the board all together with their pinout. Proto area is shown. Jumpers functions are described. Notes and info on specific peripherals are presented. Notes regarding the interfaces are given. 7.1 mini ICSP The miniICSP connector provides option to reprogram the board if you do not wish to use Pinguino IDE. Pin # Signal Name 1 RESET 2 +3.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual http://www.olimex.com/dev/OTHER/UEXT.pdf Pin 1 Signal +3.3V 2 3 4 5 6 7 8 9 10 GND TXD RXD SCL SDA MISO MOSI SCK #CS 7.3 CON1 For your convenience the pins are numbered individually on the top of the board. Please take extra care about the numbering.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 9 RE6/PMD6 10 RE7/PMD7 11 RF1 12 RG9/#SS2/PMA2/CN11 13 IC4/PMCS1/PMA14/INT4/RD11 14 RTCC/IC1/INT1/RD8 15 CN16/RD7 16 PGED1/AN0/VREF+/CVREF+/PMA6/CN2/RB0 17 AGND 18 AREF (via J1) Pin 16 19 +5V_EXT 20 GND 7.4 CON2 For your convenience the pins are numbered individually on the top of the board. Please take extra care about the numbering.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 9 TDO/AN11/PMA12/RB11 10 TMS/AN10/CVREFOUT/PMA13/RB10 11 AN9/C2OUT/PMA7/RB9 12 AN8/#U2CTS/C1OUT/RB8 13 AN4/C1IN-/CN6/RB4 14 AN3/C2IN+/CN5/RB3 15 AN2/C2IN-/CN4/RB2 16 PGEC1/AN1/VREF-/CVREF-/CN3/RB1 17 +3.3V 18 GND 19 +5V_VBUS 20 GND 7.5 USB-OTG (On-The-Go) Pin # Signal Name 1 +5V 2 D- 3 D+ 4 USB_ID 5 GND 7.
OLIMEX© 2012 2 DAT3/CS 3 CMD/DI 4 VDD 5 CLK/SCLK 6 VSS 7 DAT0/DO 8 DAT1 PIC32-PINGUINO-MICRO User's Manual 7.7 Jumper description L1_E This jumper, when closed, enables LED1. Default state is closed. L2_E This jumper, when closed, enables LED2. Default state is closed. BUT_J This jumper, when closed, enables BUT. Default state is closed.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual J1 When open analog voltage 3,3V reference (high). Default state is open. G9/F0 This jumper, when in position G9 – connects UEXT pin 10 (UEXT_#CS) to CON1-12 and pin 8 (RG9/#SS2/PMA2/CN11) and when in position F0 – connects UEXT pin 10 (UEXT_#CS) to PIC32MX440F256H pin 58 (RF0). Default state is in position F0. 7.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 10 D1/49 27 E2/62 11 D2/50 28 E1/61 12 D3/51 29 E0/60 13 D4/52 30 C13/47 14 D5/53 31 C14/48 15 D6/54 32 G6/4 16 B0/16 - 7.9 Additional hardware components The components below are mounted on the PIC32-PINGUINO-MICRO board but are not discussed above.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 8 MEMORY AND BLOCK DIAGRAM 8. Introduction to the chapter Below is located the block diagram of the processor and on the next page you can find a memory map for this family of processors. It is strongly recommended to refer to the original datasheet released by Microchip for ones of higher quality.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 8.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 9 SCHEMATICS 9. Introduction to the chapter In this chapter are located the schematics describing logically and physically PIC32-PINGUINOMICRO. 9.1 Eagle schematic PIC32-PINGUINO-MICRO schematic is visible for reference here. You can also find them on the web page for PIC32-PINGUINO-MICRO at our site: http://www.olimex.com/dev/PIC32PINGUINO-MICRO.html. They are located in HARDWARE section.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual ICSP 20pF 1N5819S/SS14 GND2 GND1 D1 GND4 GND3 USB VBUS DD+ ID GND +5V_VBUS DD+ USB_ID USB-OTG 3.3V 39 40 48 47 HN1x20 CON1-1 CON1-2 60 61 62 63 64 1 2 3 CON1-3 CON1-4 CON1-5 CON1-6 CON1-7 CON1-8 CON1-9 CON1-10 DD+ FB1 C15 C12 2.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 9.2 Physical dimensions Note that all dimensions are in inches.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual CHAPTER 10 REVISION HISTORY 10. Introduction to the chapter In this chapter you will find the current and the previous version of the document you are reading. Also the web-page for your device is listed. Be sure to check it after a purchase for the latest available updates and examples. 10.
OLIMEX© 2012 PIC32-PINGUINO-MICRO User's Manual 10.2 Web page of your device The web page you can visit for more info on your device is http://www.olimex.com/dev/PIC32PINGUINO-MICRO.html. There you can find more info and some examples.