1 / 8

Working with the 6713 DSK Basic Code

Working with the 6713 DSK Basic Code. ECE5580. File structure for 6713 DSK. The example code throughout the book [1] uses the same file structure to support all example and structure The files are a mix of processor DSK board support files and custom initialization and ISR routines.

Download Presentation

Working with the 6713 DSK Basic Code

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Working with the 6713 DSK Basic Code ECE5580

  2. File structure for 6713 DSK • The example code throughout the book [1] uses the same file structure to support all example and structure • The files are a mix of processor \ DSK board support files and custom initialization and ISR routines. • All files are located on lab computer and are available with the book under . \CD

  3. File structure for 6713 DSK • Processor support file: • c6x.h • Define variable to access control registers • Defines macros to provide data alignment assertions and context save and restore for inline assembly • Intrinsic function definitions

  4. File structure for 6713 DSK • DSK support files • C6x11DSK.h • Defines Variable to access peripheral device addresses • Structures to group a peripheral configuration values • Include definition for the EMIF, McBSP, EDMA, timers, Cache config • Define the memory map for the DSK

  5. File structure for 6713 DSK • DSK_config.h • Define the codec being used • Specific to the books examples

  6. File structure for 6713 DSK • DSK_support.h and .c • Provide functions and their prototypes to initialized the DSK hardware. • Initializes the McBSPs for use with the AIC23 codec on the board • The internal PLL for use with hardware such as SDRAM, ect.. • Configures which interrupts to use.

  7. File structure for 6713 DSK • Vector.asm • Defines the interrupt table • Runs main() at reset called _c_int00 • Maps interrupt routine for input and output from the code

  8. File structure for 6713 DSK • Startup.c • Provide a place to put user defined startup routines (not used much) • Main.c • Main loop code/init • ISRs.c • Interrupt code • Structure defining input/output data to codec

More Related