Working with the 6713 dsk basic code
Download
1 / 8

Working with the 6713 DSK Basic Code - PowerPoint PPT Presentation


  • 83 Views
  • Uploaded on

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.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Working with the 6713 DSK Basic Code' - amaranta-nova


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

File structure for 6713 dsk
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


File structure for 6713 dsk1
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


File structure for 6713 dsk2
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


File structure for 6713 dsk3
File structure for 6713 DSK

  • DSK_config.h

    • Define the codec being used

    • Specific to the books examples


File structure for 6713 dsk4
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.


File structure for 6713 dsk5
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


File structure for 6713 dsk6
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


ad