background image

OLIMEX© 2012

PIC32-PINGUINO-MX220 User's Manual

CHAPTER 3 

SETTING UP THE PIC32-PINGUINO-MX220 BOARD

3. Introduction to the chapter

This section helps you set up the PIC32-PINGUINO-MX220 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.1 Electrostatic warning

PIC32-PINGUINO-MX220 is shipped in a protective anti-static package. The board must not be 
exposed to high electrostatic potentials. A grounding strap or similar protective device should be 
worn when handling the board. Avoid touching the component pins or any other metallic element.

3.2 Requirements

In order to set up the PIC32-PINGUINO-MX220, the following items are required:

If using the free PINGUINO IDE the ONLY requirement is a miniUSB to USB-A cable to connect 
to a computer.

If you want to upgrade the bootloader, or program the board without the PINGUINO-IDE there are 
pinouts for ICSP programmer (note that there isn't a connector mounted). You can use our PIC-
KIT3 programmer for custom programming without PINGUINO IDE.

3.3 Powering the board

The PIC32-PINGUINO-MX220 board is self-powered by the miniUSB if it is connected to a USB 
hub of a computer. 

To enter the bootloader mode hold the button BUT and then connect the miniUSB. Or after 
plugging the miniUSB hold the button BUT and then press RST.

Page 10 of 28

Summary of Contents for PIC32-PINGUINO-MX220

Page 1: ...PIC32 PINGUINO MX220 development board USER S MANUAL Initial release March 2012 Designed by OLIMEX Ltd 2011 All boards produced by Olimex LTD are ROHS compliant ...

Page 2: ...copyright holder unless it is clearly stated by Olimex that the product is licensed under the Open Source Hardware OSHW Definition 1 0 The product described in this document is subject to continuous development and improvements All particulars of the product and its use contained in this document are given by OLIMEX in good faith However all warranties implied or expressed including but not limite...

Page 3: ...tion to the chapter 10 3 1 Electrostatic warning 10 3 2 Requirements 10 3 3 Powering the board 10 3 4 Prebuilt software 11 CHAPTER 4 12 PIC32 PINGUINO MX220 BOARD DESCRIPTION 12 4 Introduction to the chapter 12 4 1 Layout top view 12 CHAPTER 5 13 THE PIC32MX220F032D MICROCONTROLLER 13 5 Introduction to the chapter 13 5 1 The microcontroller 13 CONTROL CIRCUITY 16 6 Introduction to the chapter 16 6...

Page 4: ...ponents 21 CHAPTER 8 22 MEMORY AND BLOCK DIAGRAM 22 8 Introduction to the chapter 22 8 1 Memory organization 23 CHAPTER 9 24 SCHEMATICS 24 9 Introduction to the chapter 24 9 1 Eagle schematic 24 9 2 Physical dimensions 26 CHAPTER 10 27 REVISION HISTORY 27 10 Introduction to the chapter 27 10 1 Document revision 27 10 2 Web page of your device 28 Page 4 of 28 ...

Page 5: ...IC32MX220F032D 32 bit 40 Mhz microcontroller 32KB Flash 8KB RAM Ultra Low Power design PINGUINO IDE ready Li Po battery connector for handheld applications Arduino Pinguino Maple shield pinout on the top UEXT connector which allows many extensions modules like RF ZIGBEE GSM GPS to be connected Two LEDs One USER BUTTON RESET button Mini USB connector is used which is common and used in most cell ph...

Page 6: ...essor more memory more peripherals wider range of options be sure to check the PIC32 PINGUINO OTG http olimex com dev pic32 pinguino otg html 1 3 Organization Each section in this document covers a separate topic organized as follow Chapter 1 is an overview of the board usage and features Chapter 2 has a short introduction to Arduino platform and its derivatives Pinguino and Maple Chapter 3 provid...

Page 7: ...220 User s Manual Chapter 7 covers the connector pinout peripherals and jumper description Chapter 8 shows the processor diagram and memory map Chapter 9 provides the schematics Chapter 10 contains the revision history Page 7 of 28 ...

Page 8: ...meaning strong friend The English pronunciation is Hardwin a namesake of Arduino of Ivrea More information could be found at the creators web page http arduino cc and in the Arduino Wiki http en wikipedia org wiki Arduino To make the story short Arduino is easy for beginners who lack Electronics knowledge but also does not restrict professionals as they can program it in C or mix of Arduino C lang...

Page 9: ... Download the latest Pinguino IDE distribution depending on your operation system and install it Connect your device in bootloader mode to the computer for PIC32 PINGUINO MX220 hold BUT and press RST after connected Start the IDE from it s shortcut From Preferences choose board for PIC32 PINGUINO MX220 that would be PIC32 Pinguino_220 From File Open navigate to the examples folder which is found i...

Page 10: ...r protective device should be worn when handling the board Avoid touching the component pins or any other metallic element 3 2 Requirements In order to set up the PIC32 PINGUINO MX220 the following items are required If using the free PINGUINO IDE the ONLY requirement is a miniUSB to USB A cable to connect to a computer If you want to upgrade the bootloader or program the board without the PINGUIN...

Page 11: ...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 Page 11 of 28 ...

Page 12: ...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 MX220 board itself 4 1 Layout top view Page 12 of 28 ...

Page 13: ...z Dhrystone 2 1 performance Code efficient C and Assembly architecture Single cycle MAC 32x16 and two cycle 32x32 multiply Clock Management 0 9 internal oscillator Programmable PLLs and oscillator clock sources Fail Safe Clock Monitor FSCM Independent Watchdog Timer Fast wake up and start up Power Management Low power management modes Sleep Idle Integrated Power on Reset and Brown out Reset 0 5 mA...

Page 14: ...IC modules Peripheral Pin Select PPS to allow function remap Real Time Clock and Calendar RTCC module Communication Interfaces USB 2 0 compliant Full speed OTG controller Two UART modules 10 Mbps Supports LIN 2 0 protocols and IrDA support Two 4 wire SPI modules 20 Mbps Two I2C modules up to 1 Mbaud with SMBus support Peripheral Pin Select PPS to allow function remap Parallel Master Port PMP Direc...

Page 15: ...d JTAG interface Unlimited program and six complex data breakpoints IEEE 1149 2 compatible JTAG boundary scan 1 For comprehensive information on the microcontroller visit the Microchip s web page for a datasheet At the moment of writing the microcontroller datasheet can be found at the following link http ww1 microchip com downloads en DeviceDoc 61168D pdf Page 15 of 28 ...

Page 16: ...rmation about reset circuit power circuit and quartz crystal locations 6 1 Reset PIC32 PINGUINO MX220 reset circuit includes R8 4 7 KΩ PIC32MX220F032D pin 18 MCLR and a RESET button Note that it also can be found at the ICSP header pin 1 6 2 Clock 8 MHz quarz crystal Q1 is found at pins 30 and 31 of the processor Page 16 of 28 ...

Page 17: ...nterfaces are given 7 1 Battery connector Pin Signal Name 1 VBAT 2 GND 7 2 ICSP pin holes The 6 pin ICSP header provides interface for custom programming debugging outside of the PINGUINO IDE Note the pin holes doesn t have a connector mouted over you have to mount it solder it yourself The pinout can be found in the table below It is important to check the jumper configuration for proper use of t...

Page 18: ...GUINO MX220 board has UEXT connector and can interface Olimex s UEXT modules For more information on our UEXT modules please visit http www olimex com dev OTHER UEXT pdf Pin Signal Name 1 3 3V 2 GND 3 U1TX 4 U2RX 5 SCL1 6 SDA1 7 SDI1 8 SDO1 9 SCK1 10 CS Page 18 of 28 ...

Page 19: ...self Pad Name Signal Pad Name Signal POWER CON1 DIGITAL CON2 RST RESET A0 AN6 RPC0 RC0 3V3 3 3 V A1 AN7 RPC1 RC1 5V 5 V A2 PGED1 AN2 C1IND C2INB C3 IND RPB0 PMD0 RB0 GND GROUND A3 PGEC1 AN3 C1INC C2INA RP B1 CTED12 PMD1 RB1 GND GROUND A4 AN4 C1INB C2IND RPB2 SDA 2 CTED13 PMD2 CNB2 RB2 VIN V in A5 AN5 C1INA C2INC RTCC RPB 3 SCL2 PMWR CNB3 RB3 DIGITAL CON5 DIGITAL CON4 AREF A ref D7 RPC7 PMA0 RC7 GN...

Page 20: ...in Signal Name 1 5V 2 D 3 D 4 Not connected 5 GND 7 7 Jumper description D10_E If open disconnects D10 on CON5 from the ARDUINO shield connector so you can use ICSP programming Default state is closed AREF_E When open provides AREF on the ICSP pin holes If closed AREF on CON5 pin D8 Default state is open Page 20 of 28 ...

Page 21: ...closed excludes LED2 Default state is open BUT_E If closed excludes button BUT Default state is open 7 9 Additional hardware components The components below are mounted on the PIC32 PINGUINO MX220 board but are not discussed above They are listed here for completeness General purpose button 2 LEDs Page 21 of 28 ...

Page 22: ...troduction 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 DS61168D released by Microchip for ones of higher quality Page 22 of 28 ...

Page 23: ...OLIMEX 2012 PIC32 PINGUINO MX220 User s Manual 8 1 Memory organization Page 23 of 28 ...

Page 24: ...tic is visible for reference here You can also find them on the web page for PIC32 PINGUINO MX220 at our site http www olimex com dev PIC32 PINGUINO MX220 html They are located in HARDWARE section Note that PIC32 PINGUINO MX220 schematic is released under Creative Commons Attribution Share Alike 3 0 United States License and the whole project is released under The EAGLE schematic is situated on th...

Page 25: ...OLIMEX 2012 PIC32 PINGUINO MX220 User s Manual Page 25 of 28 ...

Page 26: ...OLIMEX 2012 PIC32 PINGUINO MX220 User s Manual 9 2 Physical dimensions Note that all dimensions are in inches Page 26 of 28 ...

Page 27: ...on 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 1 Document revision Revision Changes Modified Pages Initial Initial Creation All A Added Open Hardware exception replaced headers with pin holes fixed various spelling errors 2 various various Page 27 of 28 ...

Page 28: ...d some examples ORDER CODES PIC32 PINGUINO MX220 completely assembled and tested PIC KIT3 PIC ICSP PIC programmer adapter for different types of ICSP connectors SHIELD LOL Duino compatible shield with a matrix of LEDs SHIELD EKG EMG Duino compatible shield for electrocardiography How to order You can order to us directly or by any of our distributors Check our webpage http www olimex com for more ...

Page 29: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd PIC32 PINGUINO MX220 ...

Reviews: