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.

[参考译文] SK-AM62A-LP:ESM 错误(中断)映射

Guru**** 2481465 points
Other Parts Discussed in Thread: SK-AM62P-LP, AM62P

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1457037/sk-am62a-lp-esm-error-interrupt-mapping

器件型号:SK-AM62A-LP
主题中讨论的其他器件:SK-AM62P-LPAM62P

工具与软件:

专家、您好!

董事会:SK-AM62P-LP

操作系统: Processor SDK Linux RT AM62P Debian Trixie -版本: 10.00.07.04.

MCU+SDK:版本:10.00.07.04

以上是我的规格、我将运行 MCU+SDK 中提供的 DCC 示例代码。
在 TRM 中、可能的错误事件总数为1024个、它们被归类为32个组

和以下是映射到 ESM (主)和 WKUP_ESM 的事件  

SDL_ESM_config DCC_Test_esmInitConfig_Inst =
{

     /**< All high priority events to error pin */
        .esmErrorConfig = {1u, 8u}, /* Self test error config */
    .enableBitmap = {0x00000000u, 0x00000006bu, 0x00000000u, 0x00003000u,
                 0x00000000u, 0x00000380u,

                },
     /**< All events enable: except clkstop events for unused clocks
      *   and PCIE events */
    .priorityBitmap = {0x00000000u, 0x00000006bu, 0x0000000u, 0x00003000u,
                 0x00000000u, 0x00000380u,

                        },
    /**< All events high priority: except clkstop events for unused clocks
     *   and PCIE events */
    .errorpinBitmap = {0x00000000u, 0x00000006bu, 0x00000000u, 0x00003000u,
                 0x00000000u, 0x00000380u,

                      },
    /**< All events high priority: except clkstop for unused clocks
     *   and PCIE events */


};
SDL_ESM_config DCC_Test_esmInitConfig_Main =
{


  /**< All high priority events to error pin */
        .esmErrorConfig = {1u, 8u}, /* Self test error config */
    .enableBitmap = {0x00000000u, 0x000000078u, 0x00008000u,0x003f3000u,
                 0x00000000u, 0x00000380u,

                },
     /**< All events enable: except clkstop events for unused clocks
      *   and PCIE events */
    .priorityBitmap = {0x00000000u, 0x000000078u, 0x00008000u,0x003f3000u,
                 0x00000000u, 0x00000380u,
                        },
    /**< All events high priority: except clkstop events for unused clocks
     *   and PCIE events */
    .errorpinBitmap = {0x00000000u, 0x000000078u, 0x00008000u,0x003f3000u,
                 0x00000000u, 0x00000380u,

                      },
    /**< All events high priority: except clkstop for unused clocks
     *   and PCIE events */


 };
根据我的理解、上述值映射为 位、例如:  
enableBitmap[0]表示0到31个事件的错误启用,
enableBitmap[1]适用于32到63 个类似的模块(如果是错误的,请更正我)。  

在 ESM_INIT ()内部、我们将得到每个 ESM 模块的最大错误事件。其中 EMS0 (MAIN)=249、WKUP_Max_EVENTS =92;
但是、如果您在上述代码片段中看到、您注册了超过92个针对 wakup_ESM 的错误事件。 如何 注册?
在上面的代码片段中,您正在启用 ECC ,还有一些其他错误事件,是否需要启用 这些错误事件?

您能告诉我们如何映射这些 ESM 错误事件吗?
谢谢你。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    在 TRM 文档中、它们还 在 wkup 中提供了92个中断、在 main ESM 中提供了242个中断

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

    您好、TI、我什么时候可以收到对上述问题的答复?