For those who aren't aware, the Piccolo 1-Day Workshop Material is available for free download. I've seen quite a few questions about how to use a peripheral in a certain way and how cumbersome the user's guides can be.
Besides the Header Files: http://focus.ti.com/mcu/docs/mcuprodmsptoolsw.tsp?sectionId=95&tabId=1222&familyId=916&toolTypeId=1#swtools
the workshop material is a great resource to get started.
Architecture Overview ...............................................................................................................................8
Programming Development Environment.................................................................................................10
Code Composer Studio.........................................................................................................................10
Linking Sections in Memory ................................................................................................................12
Lab 1: Linker Command File....................................................................................................................15
Peripheral Register Header Files .............................................................................................................19
Reset, Interrupts and System Initialization ...............................................................................................26
Reset ....................................................................................................................................................26
Interrupts .............................................................................................................................................28
Peripheral Interrupt Expansion (PIE) ...................................................................................................30
Oscillator / PLL Clock Module ............................................................................................................32
Watchdog Timer Module......................................................................................................................33
GPIO....................................................................................................................................................34
Lab 2: System Initialization ......................................................................................................................36
Control Peripherals .................................................................................................................................40
ADC Module .......................................................................................................................................40
Pulse Width Modulation......................................................................................................................42
ePWM..................................................................................................................................................43
eCAP ...................................................................................................................................................56
eQEP....................................................................................................................................................57
Lab 3: Control Peripherals......................................................................................................................59
Flash Programming .................................................................................................................................65
Flash Programming Basics ...................................................................................................................65
Programming Utilities and CCS Plug-in ..............................................................................................66
Code Security Module and Password ...................................................................................................67
Lab 4: Programming the Flash.................................................................................................................69
The student guide and all software files are included:
1-day Workshop material: http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=sprt517a
You can also find a link to this material in the product folder for every Piccolo device.
C2000 Get Started Site: http://focus.ti.com/mcu/docs/mcuproductcontentnp.tsp?sectionId=95&familyId=916&tabId=2288