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.

[参考译文] PROCESSOR-SDK-J722S:J722S 是否可以通过使用 DMA 中断来扩展 mcu20 GPIO 中断?

Guru**** 2445440 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1547855/processor-sdk-j722s-j722s-is-it-possible-to-extend-mcu20-gpio-interrupt-by-using-dma-interrupt

器件型号:PROCESSOR-SDK-J722S


工具/软件:

Hi TI expert,
    1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.
      2. my target is to use 12 GPIO single pin interrupt on mcu20.
3. since mcu20 only and 8(actual is 6) interrupt entry(16-21), and then i found interrupt start from 66(DMASS0_INTAGGR_0_INTAGGR_VINTR_PEND_154), could gpio pin interrupt router to here?
so, the whole chain maybe like this:
GPIO0_xxx -> | Main GPIOMUX INTROUTER0| -> DMASSO_INTAGGR_0/24-31 ( how to router?? ) -> MCU20 INTR_IN_66 (DMASS0_INTAGGR_0_INTAGGR_VINTR_PEND_154)
  4. is there any doc to describe
DMASS0_INTAGGR_0_INTAGGR_VINTR_PEND_xxx 和 DMASSO_INTAGGR_0 xxx、我想知道什么是“VINTR_PEND"以及“以及如何使用它。

     thanks
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    [quote userid=“602005" url="“ url="~“~/support/processors-group/processors/f/processors-forum/1547855/processor-sdk-j722s-j722s-is-it-possible-to-extend-mcu20-gpio-interrupt-by-using-dma-interrupt 我的目标是在 mcu20 上使用 12 个 GPIO 单引脚中断。
    3.由于仅 mcub20 和 8(实际值为 6)中断进入 (16-21)

    尽管 MCU2_0 上只有 8 个可用于 GPIO 的中断、但您是否能够使用分组中断? 这样、您就可以将所有 12 个 GPIO 中断路由到 MCU2_0、而不会出现任何问题。

    您是否在其他内核上使用任何 GPIO 分组中断? 如果是、哪些是?

    [quote userid=“602005" url="“ url="~“~/support/processors-group/processors/f/processors-forum/1547855/processor-sdk-j722s-j722s-is-it-possible-to-extend-mcu20-gpio-interrupt-by-using-dma-interrupt 由于仅 mcub20 和 8 (actual 为 6) 中断条目 (16-21)、然后我发现从 66 (DMASS0_INTAGGR_0_INTAGGR_VINTR_PEND_154) 开始的中断、GPIO 引脚是否会中断路由器到此处?
    所以,整个链可能像这样:
    GPIO0_xxx ->|主 GPIOMUX INTROUTER0|-> DMASSO_INTAGGR_0/24-31(如何路由器?) ->MCU20 INTR_IN_66 (DMASS0_INTAGGR_0_INTAGGR_VINTR_PEND_154)

    由于有中断路径、您应该能够通过 DMASS 路由 GPIO 中断。 但是、我们没有这方面的任何示例、也没有经过 TI 测试或验证。

    GPIO -> MAIN_GPIOMUX_INTROUTER -> DMASS_INTRAGGR_0 [16-25]-> R5FSS0_CORE0_INTR [64-79]

    谢谢、

    Neehar