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.

[参考译文] LP-MSPM0G3507:MCAN 未返回正常模式

Guru**** 2482105 points


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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1266379/lp-mspm0g3507-mcan-not-returning-to-normal-mode

器件型号:LP-MSPM0G3507

您好!

我正在尝试为我的应用配置 MCAN 外设。

我将电路板连接到已连接至 CAN 分析仪(总线上的2个节点)的收发器。

在运行所有 MCAN 示例时、所有示例中都存在相同的问题:

在 MCAN 初始化的阶段、MCAN 从正常模式变为可用、配置所有参数、  SYSCFG_DL_MCAN0_init 当尝试返回正常模式时、它在 DL_MCAN_OPERATING_MODE_NORMAL!= DL_MCAN_getOpMode (MCAN0_INST)  检查、因为它仍处于 运行模式。

我缺少什么、因为它无法恢复正常模式?

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

    您好,Pavel,

    这两种模式是  DL_MCAN_OPERATING_MODE_NORMAL 和 DL_MCAN_OPERATING_MODE_SW_init 。 如果您没有通过这个 sheck、则仍处于软件初始化模式。 再次检查初始化 代码、 确保在正确初始化后切换回正常模式。