This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Example codes of OMAP L137 peripheral interrupt configuration?

Other Parts Discussed in Thread: CCSTUDIO

Does anybody have an example to show how to configure OMAP L137 peripheral interrupts?  The TI-provided test codes seem not including anything of those interrupt configurations.  Thank you.

  • Hi Sean,

    All the TI DSP/BIOS PSP examples configure the interrupts. Sometimes the interrupt configuration is made by the driver so you might not see it in the end application example.

    Let me what example you are using if you need me to clarify where the interrupts are configured for you. See also this post:

    http://e2e.ti.com/support/embedded/f/355/p/39241/136421.aspx#136421

    Also, please see this page for interrupt configuring:

    http://processors.wiki.ti.com/index.php/Setting_up_interrupts_in_DSP_BIOS

     

  • Mariana,

    Thank you very much for the response.  I looked at the other post you pointed out.  I guess I don't have PSP on my computer.  The testing codes on my hands are what included in the OMAP L137 EVM board CDs.  After default installation, they are located at

    C:\CCStudio_v3.3\boards\evmomapl137_v1\dsp\tests

    For example, the "led.pjt" file just executed the code once to light up the LEDs. 

    I don't know if this is the PSP or not, or if PSP is same as the so-called Software Development Kit (SDK) .  If these three are all different file, would you mind sharing with me the examples?  Thank you!

    - Sean

     

  • Hi Sean,

    The examples you mentioned are part of the BSL - Board Support Library. They are mainly tests to check the functionality of the board and they are very useful to customers.

    There is a more complete software package for the DSP dise based on the DSP/BIOS OS. Please see:

    http://processors.wiki.ti.com/index.php/Getting_Started_Guide_for_C6747 

  • Thank you, Mariana!  I installed the PSP package.  Now I can see those examples, will take a look.  Thank you for letting me know it.

  • I met a few problems when testing the UART example in the PSP

    C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\examples\evmOMAPL137\uart\edma

     

    Problem #1:  When I open the project file, a dialogue window pops out with the following error message

    "Project Update
     CRegistryInfo::GetSABiosConfig() could not find ConfigSuffix"

     

    Problem #2:  When I compiled the code, I got the following error message

    ---------------------------  uartSample.pjt - Debug  ---------------------------
    Error, Don't know how to build file "C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\examples\evmOMAPL137\uart_copy\edma\build\uartSample.tcf"


    [uartSample.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -pdr -fr"C:/Program Files/Texas Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evmOMAPL137/uart_copy/edma/build/Debug" -i"C:/Program Files/Texas Instruments/pspdrivers_01_20_00/packages/ti/pspiom/examples/evmOMAPL137/uart_copy/edma/build/../../../../../../../" -i"C:/Program Files/Texas Instruments/edma3_lld_01_06_00_01/packages" -i"C:/CCStudio_v3.3/bios_5_33_05/packages/ti/bios/include" -i"C:/CCStudio_v3.3/C6000/cgtools/include" -mv6740 -@"../build/Debug.lkf" "uartSample.c"

    [Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
    <Linking>
    "C:\Users\Sean\AppData\Local\Temp\052403", line 14: fatal error: unrecognized
       file:  "C:\\Program Files\\Texas
       Instruments\\pspdrivers_01_20_00\\packages\\ti\\pspiom\\examples\\evmOMAPL13
       7\\uart_copy\\edma\\build\\uartSamplecfg.cmd"

    >> Compilation failure

    Build Complete,
      3 Errors, 0 Warnings, 0 Remarks.

     

    Could anybody please provide suggestions how I can solve them?  Thank you!