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.

[参考译文] AM2634-Q1:AM263x ESM 问题

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1389520/am2634-q1-am263x-esm-questions

器件型号:AM2634-Q1

工具与软件:

尊敬的专家:

   我正在寻找 TRM 中一些缺失的寄存器信息、以便使用 ESM 模块。  

在 TRM 中、它提到  错误组 N 中断启用设置寄存器...  

但 AM263x 寄存器附录中没有有用信息。 表4-4287. TOP_ESM 寄存器基址表甚至没有列出寄存器偏移量0x400和更高的值以及它们的含义。

 我也在寻找 e2e、但看起来其他人也会感到困惑、未得到答案。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1192577/am2634-sdl_esm_config-groups-interrupts-and-bitmaps?tisearch=e2e-sitesearch&keymatch=ESM#

当我查看演示工程和源代码时、我感觉更加困惑。  尤其是.esmErrorConfig

#if 已定义(SOC_AM263X)||已定义(SOC_AM263PX)
SDL_ESM_CONFIG DCC_Test_esmInitConfig_main =

.esmErrorConfig ={1U、8u}、/*自检错误配置*
.enableBitmap ={0x01E00000u、0x00000000u、0x00000000、0x00000000u、
}、
/**<仅 DCC 事件启用:**/
/* CCM_1_selftest_ERR 和_R5FSS1_COMPARE_ERR_PULSE_0 */
priorityBitmap ={0x01E00000u、0x00000000u、0x00000000、0x00000000u、
}、
/**< DCC Events high priority:**/
.errorpinBitmap ={0x01E00000u、0x00000000u、0x00000000、0x00000000u、
}、
/**<所有事件高优先级:**/
};

sdlr_esm.h

#define SDL_ESM_ERR_GRP_RAW (ERR_GRP)(0x00000400U+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_STS (ERR_GRP)(0x00000404U+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_INTR_EN_SET (ERR_GRP)(0x00000408U+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_INTR_EN_CLR (ERR_GRP)(0x0000040CU+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_INT_PRIO (ERR_GRP)(0x00000410U+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_PIN_EN_SET (ERR_GRP)(0x00000414U+(ERR_GRP)* 0x20U)
#define SDL_ESM_ERR_GRP_PIN_EN_CLR (ERR_GRP)(0x00000418U+(ERR_GRP)* 0x20U)

您能否提供有关我们 ESM 的更多详细信息? 没有细节、我们不知道如何指导客户使用我们的 ESM 功能。  

我们何时提供更新的 TRM? 谢谢。

此致

Andre