PIC32MX360F256L-80I/PT Microchip Technology, PIC32MX360F256L-80I/PT Datasheet
![IC PIC MCU FLASH 256K 100-TQFP](/photos/12/13/121330/c04-100-tqfp_sml.jpg)
PIC32MX360F256L-80I/PT
Specifications of PIC32MX360F256L-80I/PT
Available stocks
Related parts for PIC32MX360F256L-80I/PT
PIC32MX360F256L-80I/PT Summary of contents
Page 1
... Getting Started with PIC32 © 2008 Microchip Technology Inc. User’s Guide DS61146B ...
Page 2
... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...
Page 3
... Adding Files to the Project ........................................................................... 27 5.10 Attaching the Debugger .............................................................................. 31 5.11 Building the Project .................................................................................... 32 5.12 Testing the Code ........................................................................................ 32 Chapter 6. Technical Support Resources 6.1 Introduction ................................................................................................... 37 Index ............................................................................................................................. 39 Worldwide Sales and Service .................................................................................... 40 © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 Table of Contents DS61146B-page iii ...
Page 4
... NOTES: DS61146B-page iv © 2008 Microchip Technology Inc. ...
Page 5
... Conventions Used in this Guide • Recommended Reading • The Microchip Web Site • Development Systems Customer Change Notification Service • Customer Support • Document Revision History © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 Preface NOTICE TO CUSTOMERS ® IDE online help. ...
Page 6
... The manual layout is as follows: • Chapter 1. PIC32 Features • Chapter 2. PIC32 Product Family • Chapter 3. PIC32 Architecture • Chapter 4. PIC32 Tools • Chapter 5. Step-by-Step Procedures to Setup, Build, and Run a Demo Project • Chapter 6. Technical Support Resources DS61146B-page 2 © 2008 Microchip Technology Inc. ...
Page 7
... N‘Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Italic Courier New Square brackets [ ] Curly brackets and pipe character Ellipses... © 2008 Microchip Technology Inc. Represents Referenced books MPLAB Emphasized text ...is the only compiler... A window the Output window A dialog ...
Page 8
... Microchip consultant program member listing • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives DS61146B-page 4 © 2008 Microchip Technology Inc. ...
Page 9
... Technical support is available through the web site at: http://support.microchip.com DOCUMENT REVISION HISTORY Revision A (October 2007) • Initial Release of this Document. Revision B (March 2008) • Updates © 2008 Microchip Technology Inc. ® II device programmers and the PICSTART ® 1 and PICkit 2 development programmers. ...
Page 10
... NOTES: DS61146B-page 6 © 2008 Microchip Technology Inc. ...
Page 11
... Scalability: • Industry known MIPS32-compatible M4K CPU core with 5 stage pipeline • Large family of devices with Flash memory options from 512 KB • Pin compatible with 64/100 pin PIC24FJXXXGA family of 16-bit microcontrollers © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 DS61146B-page 7 ...
Page 12
... REAL ICE™, and MPLAB ICD 2. • Software Peripheral Libraries compatible with those for Microchip 16-bit microcontrollers • Microchip developed middleware modules such as TCP/IP and 16-bit file system DS61146B-page 8 ® tool-suite – MPLAB IDE, MPLAB C32 C Compiler, MPLAB © 2008 Microchip Technology Inc. ...
Page 13
... Also a rich set of peripherals – Five timers, 16 channels of 10-bit A/D Converters and communication interfaces: SPI, I Please consult the “PIC32MX Family Data Sheet” (DS61143) for a complete list of family variants, core and peripheral characteristics. FIGURE 2-1: © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 PIC32 MCU MODULES 4 4 ...
Page 14
... NOTES: DS61146B-page 10 © 2008 Microchip Technology Inc. ...
Page 15
... See Table 1-4 for I/O port pin descriptions. 2: Some features are not available on certain device variants. 3: BOR functionality is provided when the on-board voltage regulator is enabled. 4: PORTA is not present on 64 pin devices © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 PIC32 BLOCK DIAGRAM V DDCORE OSC2/CLKO OSC/SOSC ...
Page 16
... Data transfers can occur while the core is in IDLE mode • Integrated programmable CRC engine: calculates on the fly while the data is transferred. Enhanced Parallel Master Port: • 8- and 16-bit data interface • 16-bit address lines, expandable using GPIO lines • 2 Chip Select lines DS61146B-page 12 © 2008 Microchip Technology Inc. ...
Page 17
... Read/write access to all data RAM and SFRs without stopping CPU • Instruction Trace Port: - 5-Wire, nonintrusive trace port - Triggered by complex breakpoint logic block © 2008 Microchip Technology Inc. ® channels, 10/7 bits mode addressing, broadcast capable DS61146B-page 13 ...
Page 18
... Individual output pin open-drain enable/disable • Individual input pin weak pull-up enable/disable • Monitor selective inputs and generate interrupt on mismatch condition Note: Input pin weak pull-up and interrupt on mismatch features are available only on select I/O pins. DS61146B-page 14 © 2008 Microchip Technology Inc. ...
Page 19
... MPLAB PM3 Device Programmer: a Microchip universal device programmer suitable for development and manufacturing purposes. • MPLAB SIM32 Device Simulator: Accurately simulates many PIC32 peripherals and the CPU in selectable cycle and clock-accurate modes © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 ® DS61146B-page 15 ...
Page 20
... MPLAB IDE Text Editor MPLAB IDE Compiler (PIC32-gcc) MPLAB IDE Linker (PIC32-ld) MPLAB IDE Debugger MPLAB ICD 2 Emulator/ Programmer MPLAB IDE Macro Processor (PIC32-cpp) MPLAB IDE Assembler (PIC32-as) MPLAB IDE Simulator MPLAB REAL ICE™ Emulator/Programmer © 2008 Microchip Technology Inc. ...
Page 21
... MPLAB C32 compiler has built-in knowledge of library header and archive files. The peripheral include files are located in C:\Program Files\Microchip\MPLAB C32\pic32mx\include\peripheral and the full source code is located in C:\Program Files\Microchip\MPLAB C32\pic32-libs\peripheral loca- tion in corresponding peripheral sub-directory. The Peripheral Library contains following include files: © 2008 Microchip Technology Inc. DS61146B-page 17 ...
Page 22
... Library for Real-Time Clock and Calendar support rtcc.h Library for system level operations system.h Library for Serial Peripheral Interface support spi.h Library to support 16 and 32-bit timers timer.h Library supporting the enhanced UART module uart.h Library to support the Watchdog Timer module wdt.h Description © 2008 Microchip Technology Inc. ...
Page 23
... USB Embedded Host Stack (HID and Mass Storage) - USB Device Stack (HID, Mass Storage and CDC class) 4.6.2 3rd Party Tools Check the PIC32 home page (www.microchip.com/PIC32) to learn about the list of companies with support for PIC32. © 2008 Microchip Technology Inc. DS61146B-page 19 ...
Page 24
... PIC32 examples available in C:\ProgramFiles\Microchip\MPLAB C32\examples and on www.microchip.com/pic32. • Errata (DS80350, DS80367) • Migration Documents – available in future • Design Notes, Tips and Tricks – available in future • Development Tool Ordering Guide – available in future DS61146B-page 20 © 2008 Microchip Technology Inc. ...
Page 25
... Select Start>Settings>Control Panel to open the control panel. - Double click on Add/Remove Programs. Find MPLAB IDE and select it. - Click Change/Remove to remove the program from your system. Note: Administrative access might be required in order to uninstall the MPLAB. © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 DS61146B-page 21 ...
Page 26
... In the Project Wizard the language tools will be selected. For this tutorial, the PIC32 tools will be used. For other projects, either other Microchip or third party tools might be selected. - Add Files in Project We’ll add a template file and a linker script to the project. - Create Code DS61146B-page 22 MPLAB IDE START SCREEN © 2008 Microchip Technology Inc. ...
Page 27
... A red light indicates no support for this device. Support may be forthcoming or inappropriate for the tool. © 2008 Microchip Technology Inc. MPLAB IDE SELECT DEVICE DS61146B-page 23 ...
Page 28
... The Step One dialog allows you to select the device, which we’ve already done. Make sure that it displays the proper PIC32 variant. If not, select the required PIC32 variant from the drop down menu. Click Next>. FIGURE 5-3: DS61146B-page 24 MPLAB IDE WIZARD SELECT DEVICE © 2008 Microchip Technology Inc. ...
Page 29
... C:\Program Files\Microchip\MPLAB IDE\ MPLAB C32\bin\PIC32-ar.exe If these paths do not show up correctly, use the Browse button to set them to the proper files in the MPLAB IDE subfolders. When you are finished, click Next>. FIGURE 5-4: © 2008 Microchip Technology Inc. MPLAB IDE SELECT LANGUAGE TOOLSUITE DS61146B-page 25 ...
Page 30
... Step Three of the wizard allows you to name the project and put it into a folder. This sample project will be called MyTestProject. Using the Browse button, place the project in a folder named Projects32. Click Next>. FIGURE 5-5: DS61146B-page 26 MPLAB IDE NAMING THE PROJECT © 2008 Microchip Technology Inc. ...
Page 31
... Just press Next> and the following Summary Screen will show up: FIGURE 5-6: Press Finish and the workspace dialog shows up: FIGURE 5-7: © 2008 Microchip Technology Inc. MPLAB IDE SUMMARY SCREEN MPLAB IDE SAVE WORKSPACE DS61146B-page 27 ...
Page 32
... The Editor window will show up. Let’s type in a very simple Hello World program in the Editor window and save it in Projects32 directory as main.c. We’ll use the UART Peripheral Library provided by Microchip: DS61146B-page 28 MPLAB IDE PROJECT SAVE © 2008 Microchip Technology Inc. ...
Page 33
... If the Project window is not open, select View->Project from the top IDE menu. The linker script that’s needed for this project is selected automatically by the MPLAB IDE. We don’t need to add any other file to our project. © 2008 Microchip Technology Inc. MPLAB IDE MAIN.C FILE DS61146B-page 29 ...
Page 34
... FIGURE 5-10: TIP: Files can be added and projects saved by using the right mouse button in the project window. In case of error, files can be manually deleted by selecting them and using the right mouse click menu. DS61146B-page 30 MPLAB IDE PROJECT SAVED © 2008 Microchip Technology Inc. ...
Page 35
... Once you have selected the tool, the “Debug Toolbar” should be present just below the main menu bar, together with other toolbars that may be selected. Note: Be sure to select Debug from the MPLAB IDE Build Configuration drop down list. © 2008 Microchip Technology Inc. ® EXPLORER 16, MPLAB REAL ICE™ AND PIC32MX360F512L PIM ...
Page 36
... Hyper Terminal application on the PC (Programs->Accesso- ries->Communications->Hyper Terminal). Select a proper name for this connection, click OK and then, in the “Connect To” screen select the COM port that’s connected to the development board. DS61146B-page 32 MPLAB IDE PROJECT BUILD © 2008 Microchip Technology Inc. ...
Page 37
... Click Debugger->Run from the main menu, or Run from the Debug toolbar. The program should start running and it will reach the set breakpoint. The MPLAB IDE window will look very similar to this one: © 2008 Microchip Technology Inc. HYPER TERMINAL CONNECTION SCREEN DS61146B-page 33 ...
Page 38
... The Program Memory window Now, if you take a look to the PC Hyper Terminal window, you should see the output sent by our simple test program to the serial line: FIGURE 5-15: DS61146B-page 34 MPLAB IDE BREAKPOINT REACHED HYPER TERMINAL RECEIVED CHARACTERS © 2008 Microchip Technology Inc. ...
Page 39
... IDE. For further information about PIC32 please see the documentation list provided in this document. For more information about the MPLAB IDE please see the “MPLAB IDE Quick Start Guide” (DS51281) available on our site at www.microchip.com following the Design link. © 2008 Microchip Technology Inc. DS61146B-page 35 ...
Page 40
... NOTES: DS61146B-page 36 © 2008 Microchip Technology Inc. ...
Page 41
... Chapter 6. Technical Support Resources 6.1 INTRODUCTION For information about the Technical Support provided please visit Support.microchip.com. © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 DS61146B-page 37 ...
Page 42
... NOTES: DS61146B-page 38 © 2008 Microchip Technology Inc. ...
Page 43
... MPLAB Integrated Development Environment 15 MPLAB PM3 .................................................... 15 MPLAB REAL ICE In-Circuit Emulator ............. 15 MPLAB SIM32 Device Simulator ..................... 15 R Reading, Recommended .......................................... 4 Readme .................................................................... 4 © 2008 Microchip Technology Inc. GETTING STARTED WITH PIC32 Index S Step-by Step Procedures to Setup, Build, and Run a Demo Project MPLAB Project Manager ................................. 21 Step-by-Step Guide Overview ...
Page 44
... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...