sg 6713 dsk

18
 The 6713 DSP Starter Kit (DSK) is a low-cost platform which lets customers evaluate and develop applications for the Texas Instruments C67X DSP fa mily. The primary features of the DSK are: · 225 MHz TMS320C6713 Floating Point DSP · AIC23 Stereo Codec · Four Position User DIP Switch and Four User LEDs · On-board Flash and SDRAM TI’ s Cod e Composer Stud io development tools are bundled with the 6713 DSK providing the user with an industrial-strength integrated development env ironment for C and assembly programming. Code Composer Studio communicates with the DSP using an on-board JTAG emulator through a USB interface.

Upload: rohan-borgalli

Post on 13-Apr-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 1/18

 

• The 6713 DSP Starter Kit (DSK) is a low-cost platform which letscustomers evaluate and develop applications for the TexasInstruments C67X DSP family. The primary features of the DSK

are:

• · 225 MHz TMS320C6713 Floating Point DSP

• · AIC23 Stereo Codec

• · Four Position User DIP Switch and Four User LEDs

• · On-board Flash and SDRAM

• TI’s Code Composer Studio development tools are bundled with the6713 DSK providing the user with an industrial-strength integrateddevelopment environment for C and assembly programming. CodeComposer Studio communicates with the DSP using an on-boardJTAG emulator through a USB interface.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 2/18

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 3/18

6713 DSK

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 4/18

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 5/18

Figure 3.1. Simplified Code Composer

Studio IDE Development Flow 

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 6/18

• 225MHz VLIW DSP core and 256Kbytes

of internal memory. On-chip peripherals

include a 32-bit external memory interface

(EMIF) with integrated SDRAM controller,2 multi-channel buffered serial ports

(McBSPs), two on-board timers and an

enhanced DMA controller (EDMA).

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 7/18

• The 6713 has a significant amount ofinternal memory so many applications willhave all code and data on-chip. Externalaccesses are done through the EMIFwhich can connect to both synchronous

and asynchronous memories. The EMIFsignals are also brought out to standard TIexpansion bus connectors so additionalfunctionality can be added on daughter

card modules.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 8/18

• on-board codec called the AIC23. Codec

stands for coder/decoder, the job of the

 AIC23 is to code analog input samples into

a digital format for the DSP to process,then decode data coming out of the DSP

to generate the processed analog output.

Digitial data is sent to and from the codecon McBSP1.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 9/18

• The DSK has 4 light emitting diodes (LEDs) and 4 DIPswitches that allow users to interact with programsthrough simple LED displays and user input on theswitches. Many of the included examples make use of

these user interface options.

• The DSK implements the logic necessary to tie boardcomponents together in a programmable logic devicecalled a CPLD. In addition to random glue logic, the

CPLD implements a set of 4 software programmableregisters that can be used to access the on-board LEDsand DIP switches as well as control the daughter cardinterface.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 10/18

The DSK includes a special

version of Code Composer

specially tailored to features on

the 6713 DSK board. Other

versions of Code Composer areavailable that fully support each

of TI’s processor families on a

wide variety of hardwaretargets.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 11/18

• The 6713 DSK includes a special device

called a JTAG emulator on-board that candirectly access the register and memory

state of the 6713 chip through a

standardized JTAG interface port. When a

user wants to monitor the progress of his

program, Code Composer sends

commands to the emulator through its

USB host interface to check on any datathe user is interested in.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 12/18

• Debugging method is extremely powerfulbecause programs can be debuggedunobtrusively on real hardware targets withoutmaking any special provisions for debug likeexternal probes, software monitors or simulatedhardware. When designing your own hardwarearound the 6713 you can debug your applicationwith the same rich functionality of the DSK

simply by using Code Composer with anexternal emulator and including a header for theJTAG interface signals.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 13/18

Debug

• Break point

• Watch the Variables

• View Memory, Registers

• View C and Assembly code• Graph the results

• Monitor execution time

•Step through program (into, over, out)• RTDX – real time data exchange between DSPboard and the PC

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 14/18

• When you tell Code Composer to run, it simplystarts executing at the current program counter.If you want to restart the program, you mustreset the program counter by using Debug àRestart or re-loading the program which sets theprogram counter implicitly.

•  After you start a program running it continuesrunning on the DSP indefinitely. To stop it youneed to halt it with Debug à Halt.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 15/18

• Open the led.pjt Code Composer project usingProject à Open and selecting led.pjt. It is in thedirectory c:\ti\examples\dsk6713\bsl\led.

• Load the led.out executable file. Select File àLoad Program. It will open a file browser dialog.Select the led.out file in the led\Debug directory

in the file browser and hit "Open" to load theexecutable file. You must reload the compiledexecutable every time you make changes to theprogram.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 16/18

• elect the Debug à Run option under the Debug

menu. LED #0 will start blinking slowly.

• 9) Move DIP switch #3 up and down, you willsee LED #3 change with it.

• 10) When you are satisfied that the program isindeed running correctly, stop the program by

selecting Debug à Halt.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 17/18

• DSP/BIOS programs are organized such that logicallyindependent parts of a program are executed asindependent tasks and threads. In the context of anapplication like a mobile phone, one task could be

assigned to listening for wireless communicationtransfers, another assigned to wait for user input,another to periodically check the battery level and so onrather than have a single task try to do all of these thingsat once. In addition to basic task scheduling, DSP/BIOS

also includes components that allow communication andsynchronization between tasks and devices.

7/27/2019 SG 6713 DSK

http://slidepdf.com/reader/full/sg-6713-dsk 18/18

• Refer the CCS tutorial for more detail.