Electronic Components Datasheet Search
  English  ▼

X  

TMS320C6000 Datasheet(PDF) 73 Page - Texas Instruments

Part # TMS320C6000
Description  Code Composer Studio Tutorial
PDF  126 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  TI [Texas Instruments]
Direct Link  http://www.ti.com
Logo TI - Texas Instruments

TMS320C6000 Datasheet(HTML) 73 Page - Texas Instruments

Back Button TMS320C6000 Datasheet HTML 69Page - Texas Instruments TMS320C6000 Datasheet HTML 70Page - Texas Instruments TMS320C6000 Datasheet HTML 71Page - Texas Instruments TMS320C6000 Datasheet HTML 72Page - Texas Instruments TMS320C6000 Datasheet HTML 73Page - Texas Instruments TMS320C6000 Datasheet HTML 74Page - Texas Instruments TMS320C6000 Datasheet HTML 75Page - Texas Instruments TMS320C6000 Datasheet HTML 76Page - Texas Instruments TMS320C6000 Datasheet HTML 77Page - Texas Instruments Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 126 page
background image
Reviewing the Source Code
Debugging Program Behavior
5-3
5.2
Reviewing the Source Code
This example modifies the example from Chapter 4 to introduce real-time
behavior. Rather than having the main function loop forever, the data I/O in
the real application is likely to happen as a result of a periodic external
interrupt. A simple way to simulate a periodic external interrupt in the example
is to use the timer interrupt from the on-chip timer.
1) Double-click on the volume.c file in the Project View to see the source
code in the right half of the Code Composer Studio window.
2) Notice the following aspects of the example:
s
The data types for declarations have changed. DSP/BIOS provides
data types that are portable to other processors. Most types used by
DSP/BIOS are capitalized versions of the corresponding C types.
s
The code uses #include to reference three DSP/BIOS header files:
std.h, log.h, and swi.h. The std.h file must be included before other
DSP/BIOS header files.
s
The objects created in the configuration file are declared as external.
You examine the configuration file in the next section.
s
The main function no longer calls the dataIO and processing
functions. Instead, the main function simply returns after calling
LOG_printf to display a message. This drops the program into the
DSP/BIOS idle loop. At this point, the DSP/BIOS scheduler manages
thread execution.
s
The processing function is now called by a software interrupt called
processing_SWI,
which
yields
to
all
hardware
interrupts.
Alternatively, a hardware ISR could perform the signal processing
directly. However, signal processing may require a large number of
cycles, possibly more than the time until the next interrupt. Such
processing would prevent the interrupt from being handled.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com