Professional Documents
Culture Documents
Peripheral Initializer
(PI)
2013 Microchip Technology Incorporated. All Rights Reserved.
17006 PCG
Slide
Class Objectives
At the end of this class you will be able to:
17006 PCG
Slide
Agenda
Part 1:
What is PI
Why PI
Part 2:
17006 PCG
Slide
Agenda
Continued
Part 3:
Lab 1
Lab 2
Lab 3
Lab 4
Lab 5
Lab 6
Demo for 16-Bit Devices
Summary
17006 PCG
Slide
What is PI?
17006 PCG
Slide
What is PI?
What is PI?
17006 PCG
Slide
What is PI?
17006 PCG
Slide
What is PI?
17006 PCG
Slide
Why PI?
17006 PCG
Why?
Slide
Why PI?
17006 PCG
Slide
10
Installing PI
17006 PCG
Slide
11
Install PI
Select Microchip PI
17006 PCG
Slide
12
Install PI
Click Install
Install Wizard
17006 PCG
Slide
13
Sections of PI
17006 PCG
Slide
14
Sections of PI
Composer
Composer Area
Area
Pin
Pin Manager
Manager Area
Area
17006 PCG
Slide
15
Sections of PI
Pin
Pin Manager
Manager
Modules
Modules
Generate
Generate Code
Code
View
View Report
Report
PI
PI Module
Module
Composer
Composer Area
Area
17006 PCG
Slide
16
Sections of PI
PI
PI Resource
Resource
Area
Area
Project
Project Resources
Resources
Device
Device Resources
Resources
17006 PCG
Slide
17
Sections of PI
Selecting a module
from Device Resources
17006 PCG
Slide
18
Sections of PI
17006 PCG
Slide
19
Sections of PI
17006 PCG
Slide
20
Sections of PI
17006 PCG
Select
Select
GPIO:GPIO
GPIO:GPIO
Slide
21
Sections of PI
17006 PCG
Slide
22
Sections of PI
17006 PCG
Slide
23
Sections of PI
Or in parallel
17006 PCG
Slide
24
Sections of PI
17006 PCG
Slide
25
Sections of PI
17006 PCG
Slide
26
Sections of PI
17006 PCG
Slide
27
Lab 1:
Light an LED
17006 PCG
Slide
28
PICDEM 2 Plus
Demonstration Board
Part Number:
163022-1
PIC16F1937
MCP2200 USB to RS232
Demo Board and cable
Speech Playback
PICtail Plus Daughter
Board
17006 PCG
Slide
29
Lab 1 Objectives
17006 PCG
Slide
30
Lab 2:
User Timer0 Overflow to Blink
an LED
17006 PCG
Slide
31
Lab 2 Objectives
17006 PCG
Slide
32
Lab 3:
User Timer1 Interrupt to Blink
an LED
17006 PCG
Slide
33
Lab 3 Objectives
17006 PCG
Slide
34
Lab 4:
Hello World
17006 PCG
Slide
35
Lab 4 Objectives
17006 PCG
Slide
36
Lab 5:
Read the ADC using TMR2
interrupt and send to EUSART
17006 PCG
Slide
37
Lab 5 Objectives
17006 PCG
Slide
38
Lab 5 Objectives
17006 PCG
Slide
39
Lab 6:
Lets Play Some Music
17006 PCG
Slide
40
Lab 6 Objectives
Open Lab 6
Configure and use the PWM to drive
various tones to the Speech Playback
PICtail Plus board
Configure the ADC the same was as Lab
5 with Vref equal to rail to rail
Use the measure ADC value to alter the
sound to the Speech Playback PICtail
Plus board
17006 PCG
Slide
41
Lab 6 Objectives
17006 PCG
Slide
42
Summary
Today we covered:
17006 PCG
Slide
43
Summary
17006 PCG
Slide
44
Summary
Future support
October Release
February Release
July 2014
17006 PCG
Slide
45
Questions?
Thank you!
2013 Microchip Technology Incorporated. All Rights Reserved.
17006 PCG
Slide
46
Additional Resources
17006 PCG
Slide
47
17006 PCG
Slide
48
17006 PCG
Slide
49
LEGAL NOTICE
SOFTWARE:
You may use Microchip software exclusively with Microchip products. Further, use of Microchip software is subject to the copyright notices, disclaimers, and any license
terms accompanying such software, whether set forth at the install of each program or posted in a header or text file.
Notwithstanding the above, certain components of software offered by Microchip and 3rd parties may be covered by open source software licenses which include
licenses that require that the distributor make the software available in source code format. To the extent required by such open source software licenses, the terms of
such license will govern.
NOTICE & DISCLAIMER:
These materials and accompanying information (including, for example, any software, and references to 3 rd party companies and 3rd party websites) are for informational
purposes only and provided AS IS. Microchip assumes no responsibility for statements made by 3 rd party companies, or materials or information that such 3 rd parties
may provide.
MICROCHIP DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY DIRECT OR INDIRECT, SPECIAL,
PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL LOSS, DAMAGE, COST, OR EXPENSE OF ANY KIND RELATED TO THESE MATERIALS OR ACCOMPANYING
INFORMATION PROVIDED TO YOU BY MICROCHIP OR OTHER THIRD PARTIES, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE POSSIBLITY OF SUCH
DAMAGES OR THE DAMAGES ARE FORESEEABLE.
TRADEMARKS:
The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC 32 logo, rfPIC, SST, SST Logo,
SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, InCircuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient
Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC,
UniWinDriver, WiperLock, ZENA and Z-Scale 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.
GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
17006 PCG
Slide
50