C2000 Microcontroller Workshop
Workshop Guide and Lab Manual
C2000 Microcontroller Workshop
Revision 6.1
May 2015
Important Notice
ii C2000 Microcontroller Workshop - Introduction
Important Notice
Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or
to discontinue any product or service without notice, and advise customers to obtain the latest
version of relevant information to verify, before placing orders, that information being relied on is
current and complete. All products are sold subject to the terms and conditions of sale supplied at
the time of order acknowledgment, including those pertaining to warranty, patent infringement,
and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time
of sale in accordance with TI’s standard warranty. Testing and other quality control techniques
are utilized to the extent TI deems necessary to support this warranty. Specific testing of all
parameters of each device is not necessarily performed, except those mandated by government
requirements.
Customers are responsible for their applications using TI components.
In order to minimize risks associated with the customer’s applications, adequate design and
operating safeguards must be provided by the customer to minimize inherent or procedural
hazards.
TI assumes no liability for applications assistance or customer product design. TI does not
warrant or represent that any license, either express or implied, is granted under any patent right,
copyright, mask work right, or other intellectual property right of TI covering or relating to any
combination, machine, or process in which such semiconductor products or services might be or
are used. TI’s publication of information regarding any third party’s products or services does not
constitute TI’s approval, warranty or endorsement thereof.
Copyright 2009 – 2015 Texas Instruments Incorporated
Revision History
September 2009 – Revision 1.0
May 2010 – Revision 2.0
December 2010 – Revision 2.1
July 2011 – Revision 3.0
September 2011 – Revision 3.1
October 2012 – Revision 4.0
May 2014 – Revision 5.0
February 2015 – Revision 6.0
May 2015 – Revision 6.1
C2000 Microcontroller Workshop
C2000 Microcontroller Workshop - Introduction iii
C2000 Microcontroller Workshop
C2000™ Microcontroller Workshop
Texas Instruments
Technical Training
Copyright © 2015 Texas Instruments. All rights reserved.
C2000 is trademarks of Texas Instruments.
Introductions
Introductions
Name
Company
Project Responsibilities
DSP / Microcontroller Experience
TI Processor Experience
Hardware / Software - Assembly / C
Interests
C2000 Microcontroller Workshop
iv C2000 Microcontroller Workshop - Introduction
C2000 Microcontroller Workshop Outline
C2000™ Microcontroller Workshop Outline
1. Architecture Overview
2. Programming Development Environment
• Lab: Linker command file
3. Peripheral Register Header Files
4. Reset and Interrupts
5. System Initialization
• Lab: Watchdog and interrupts
6. Analog Subsystem
• Lab: Build a data acquisition system
7. Control Peripherals
• Lab: Generate and graph a PWM waveform
8. Direct Memory Access (DMA)
• Lab: Use DMA to buffer ADC results
9. Control Law Accelerator (CLA)
• Lab: Use CLA to filter PWM waveform
10. System Design
• Lab: Run the code from flash memory
11. Dual-Core Inter-Processor Communications (IPC)
• Lab: Transfer data using IPC
12. Communications
13. Support Resources
Required Workshop Materials
Required Workshop Materials
http://processors.wiki.ti.com/index.php/
C2000_Multi-Day_Workshop
F28377D Experimenter’s Kit (TMDXDOCK377D)
Install Code Composer Studio v6.1.0
Run the workshop installer
C2000 Microcontroller Workshop-6.0-Setup.exe
Lab Files / Solution Files
Student Guide and Documentation
C2000 Microcontroller Workshop
C2000 Microcontroller Workshop - Introduction v
Development Tools
F28377D controlCARD
SW1: Boot
Modes
SW2: External
VREFHI
disable
TMS320F28377D
A:J1 - USB
emulation/
UART
J8: Host/
Device
XDS100v2 emulation
and isolation circuitry
A:SW1 - isolated emulation
and UART communication
enable switch
U5: µSD
card
LED LD2:
GPIO31 (red)
LED LD3:
GPIO34 (red)
LED
LD1:
Power
(green)
J2 - J7: USB
PHY connection
enable jumpers
SW3: ADC
VREFHI
ADC A & B
SW4: ADC
VREFHI
ADC C & D
Note: F28377D – 176 BGA
F28075 controlCARD
A:J1 - USB
emulation/
UART
XDS100v2 emulation
and isolation circuitry
J2: Host/
Device
LED LD2:
GPIO31 (red)
LED LD3:
GPIO34 (red)
TMS320F28075
LED LD1:
Power (green)
SW1: Boot
Modes
SW2: ADC
VREFHI
ADC A & B
SW3: ADC
VREFHI
ADC D &
Alternate
Reference
A:SW1 - isolated emulation
and UART communication
enable switch
Note: F28075 – 176 pin package