EasyManuals Logo

Texas Instruments TMS320F2837 D Series Workshop Guide And Lab Manual

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
Analog-to-Digital Converter (ADC)
TMS320F2837xD Microcontroller Workshop - Analog Subsystem 6 - 7
ADC Triggering
Example ADC Triggering
Sample A1
A3
A5 when ePWM1 SOCB/D is generated and then generate ADCINT1:
Channel
A1
Sample
20 cycles
Result0
Channel
A3
Sample
26 cycles
Result1
Channel
A5
Sample
22 cycles
Result2
SOC0
SOC1
SOC2
no interrupt
no interrupt
ADCINT1
SOCB/D (ETPWM1)
Sample A2
A4
A6 continuously and generate ADCINT2:
Channel
A2
Sample
22 cycles
Result3
Channel
A4
Sample
28 cycles
Result4
Channel
A6
Sample
24 cycles
Result5
SOC3
SOC4
SOC5
no interrupt
no interrupt
ADCINT2
ADCINT2
Software Trigger
Note: setting ADCINT2 flag does not need to generate an interrupt
The top example in the figure above shows channels A1, A3, and A5 being converted with a
trigger from EPWM1. After A5 is converted, ADCINT1 is generated. The bottom example shows
channels A2, A4, and A6 being converted initially by a software trigger. Then, after A6 is
converted, ADCINT2 is generated and also fed back as a trigger to start the process again.
Example ADC Ping-Pong Triggering
Sample all channels continuously and provide Ping-Pong interrupts to CPU/system:
Channel
B0
Sample
20 cycles
SOC0
no interrupt
ADCINT2
Software Trigger
Result0
Channel
B1
Sample
20 cycles
SOC1
no interrupt
Result1
Channel
B2
Sample
20 cycles
SOC2
no interrupt
Result2
Channel
B3
Sample
20 cycles
SOC3
Result3
Channel
B4
Sample
20 cycles
SOC4
no interrupt
Result4
Channel
B5
Sample
20 cycles
SOC5
Result5
ADCINT1
ADCINT2
ADCINT1

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS320F2837 D Series and is the answer not in the manual?

Texas Instruments TMS320F2837 D Series Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS320F2837 D Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals