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.

CCS/AM5718: About Interrupt Controllers

Part Number: AM5718
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

Hi,

I want to use DSP core to trigger MPU interrupt, or MPU to trigger DSP core interrupt.

Where should I refer to the technical reference manual?

Which register should I configure?

Thank you for your reply!

  • user5011627,

    Can you explain a little more on your use case and operating system? Do you need a discrete interrupt event specifically, or do you have synchronization and/or data/message exchange that is taking place? 

    Please have a look at the IPC component, which can be used for inter-core communication: http://software-dl.ti.com/processor-sdk-rtos/esd/docs/06_01_00_08/rtos/index_Foundational_Components.html#ipc . This will be the most straightforward for communicating and synchronizing between cores.

    For direct event signaling, the interrupt integration is detailed in chapter 17 of the TRM - http://www.ti.com/lit/ug/spruhz7i/spruhz7i.pdf . 

    Best regards,

    Dave

  • Hi,

    Thank you for your reply!

    I don't want to run the operating system in the DSP core, only do some digital signal processing operations.

    And the embedded Linux system runs in MPU.

    I want to exchange data and information between the two cores through internal interruption and share memory.

    Where should I refer to? Does IPC apply to my situation?

    Thank you!

  • In this case, you may wish to leverage the OpenCL framework. This allows you to call DSP functions from your Linux application. See http://downloads.ti.com/mctools/esd/docs/opencl/index.html

    Calling Standard C Code From OpenCL C Code:

    This OpenCL implementation supports the ability to call standard C code from OpenCL C code. This includes calling functions in existing C66 DSP libraries, such as the dsplib, mathlib or imglib. For examples of this capability please refer to the ccode example for calling a C function you define, or the dsplib_fft example for calling a function in a library.

    But for IPC, you can have a TI-RTOS based application that runs minimal OS features, but will give you the IPC functionality.

    It is certainly possible to have a bare metal application on the C66x and communicate through discrete events as well, and you'll need to review these options and determine which with one of these environments will be best suited for your application and its dataflow.

    Best regards,

    Dave