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.

how to use interrupt between ARM and DSP?

Other Parts Discussed in Thread: OMAP-L138

i am using j5eco evm by ti811x.

To communicate inner ARM with DSP,is there any registers like L138 "CHIPSIG" and interrupt "SYSCFG_CHIPINT0~SYSCFG_CHIPINT3"?

i can't find similar register and interrupt in" DRA62x Automotive Application DSP + ARM
Processors Technical Reference Manual.pdf"

if i want to use interrupt between ARM and DSP,how can i do?

  • Mingming,

    The communication between Cortex-A8 ARM and C674x DSP in J5Eco/TI811x device is done through mailbox (system mailbox, MB1).

    For more info, refer to the J5Eco TRM, section 1.8 Mailbox.


    Best Regards,
    Pavel

  • thanks for replay! 

    i don't need mailbox.i want to use the on chip shared memory to send and receive message.

    so now what i want is just two interrupts.

    is there similar interrupt like L138 or i must use mailbox interrupts?

  • Mingming,

    OMAP-L138 uses these interrupts as it has no Mailbox.

    J5Eco/TI811x device has no CHIPSIG register in the Control Module register map, also has no CHIPINTx interrupt requests mapped to the ARM and DSP interrupt controllers. It has the Mailbox instead.

    Consider the J5Eco/TI811x Mailbox as a new and advanced feature than the old OMAP-L138 CHIPSIG.

    Best regards,
    Pavel

  • Pavel,thanks!

    i am understand! is there examples about mailbox?

  • Mingming,

    I can find we have some mailbox code (only for Mailbox1) in the linux kernel. See these two files:

    {EZSDK}/board-support/linux-2.6.37-psp04.07.00.02/arch/arm/mach-omap2/devices.c
    {EZSDK}/board-support/linux-2.6.37-psp04.07.00.02/arch/arm/mach-omap2/mailbox.c

    I can also find that you can use Syslink as a bridge between Cortex-A8 ARM and DSP. See the EZSDK Software Developer Guide for more information:

    {EZSDK}/docs/C6A811x_EZ_Software_Developers_Guide.pdf

    4.4 Running the SysLink examples

    6.3 Creating a SYS/Link application

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/278409.aspx

    The SysLink is using IPC, and we use the mailbox1 in the IPC:

    {EZSDK}/component-sources/ipc_1_24_03_32/packages/ti/sdo/ipc/family/ti81xx/

    Regards,
    Pavel

  • Pavel

    thank you very much