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.

TDA4VM: ADC interrupt routing

Part Number: TDA4VM

Hi,

We are testing out capabilities of ADC on TDA4 SoC.

Host OS: Ubuntu 18.04
PSDK version: 7.0.2

We have developed kernel to handle ADC configuration and ADC FIFO register read. The kernel runs on R5F MCU2_1 core.

We are having issues with routing ADC interrupt. We understand that ADC interrupt is connected directly to MCU1_0 core, so we need to rout the interrupt to MCU2_1 core.

Can you assist us, or show us an example how to properly execute interrupt routing between two cores.

Regards.
Uros

  • Uros,

    From a numbering perspective, this is what I understand:

    • mcu1_0 (mcu-r5f0_0)
    • mcu1_1 (mcu-r5f0_1)
    • mcu2_0 (main-r5f0_0)
    • mcu2_1 (main-r5f0_1)
    • mcu3_0 (main-r5f1_0)
    • mcu3_1 (main-r5f1_1)

    The TRM shows that the ADC interrupt is routed to the interrupt router for both MAIN R5F subsystems. (IN_115 for ADC0 and IN_116 for ADC1).

    That is, the interrupt is routed independently to the MCU and MAIN R5F sub-systems.

    Kevin

  • Uros,

    Essentially you will require to configure R5F Interrupt router to connect input IN_115 to one of the free IRQ output. You could use SciClient interface to configure this interrupt router. 

    Regards,

    Brijesh

  • We managed to successfully use 

    Sciclient_rmIrqTranslateIrOutput
    Sciclient_rmIrqSet

    to get correct interrupt vector and to rout interrupts from MCU2_1 towards ADC.

    Thank you for your support.
    Uros