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.

[参考译文] TMS320F28388D:CPU 和 CM 之间的数据传输、无消息或中断。

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1123010/tms320f28388d-data-transfer-between-cpu-and-cm-without-message-or-interrupt

器件型号:TMS320F28388D
主题中讨论的其他器件:TMDXIDDK379DC2000WARE

您好!

我正在尝试从 CM 接收以太网数据、并通过 MSGRAM_CM_TO_CPU 将其发送到 CPU1。

将 CM 传输到 CPU1时是否必须使用 IPC?

我在消息 RAM 中分配了缓冲区。  

CM 将数据写入 MSGRAM_CM_TO_CPU  和 CPU1、只是在没有中断或消息的情况下读取缓冲器?

这可能是个问题吗?

两个内核之间的数据传输是否需要消息或中断?

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

    您好!

    [引用 userid="445856" URL"~/support/microset/C2000-microset-group/C2000/f/C2000-microset-forum/1123010/tms320f28388d-data-transfer-between -cpu-and-cm-without message-or-interrupt"]当数据传输到 CPU1时,是否必须使用 IPC?[引用]

    是的、您需要为此使用 IPC。

    [~ userid="445856" URL"μ C/support/microrims/C2000-microset-group/C2000/f/C2000-microset-forum/1123010/tms320f28388d-data-transfer between -cpu-and-cm-without -message-or-interrupt"]

    CM 将数据写入 MSGRAM_CM_TO_CPU  和 CPU1、只是在没有中断或消息的情况下读取缓冲器?

    这可能是个问题吗?

    [/报价]

    CPU1如何知道何时读取数据?

    [引用 userid="445856" URL"~支持/微控制器/C2000-micro-group/C2000/f/C2000-micro-forum/1123010/tms320f28388d-data-transfer-inter-cpu-and-cm-without message-or-interrupt"]两个内核之间的数据传输是否需要消息或中断?[/引用]

    是的,CM 需要在将数据写入 MSG RAM 后生成到 CPU1的中断,否则 CPU1将如何知道何时读取数据?

    此致、

    Vivek Singh

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

    您好!  

    CPU1通过在我的代码中轮询来检查 CM 中的数据。

    我被注册到 C:\ti\c2000\C2000Ware_MotorControl_SDK_4_00_00\solutions\tmdxiddk379d\f2838x

    我将 BUILDLEVEL 设置为 FCL_LEVEL8。

    我在示例中找不到 IPC 的配置。

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

    您好!

    [引用 userid="445856" url="~/support/microcontrollers/C2000-microcontrollers-group/C2000/f/C2000-microcontrollers-forum/1123010/tms320f28388d-data-transfer-inter-cpu-and-cm-without message-or-interrupt/4171811#4171811"]通过引用 cm/引用来自我的代码的 CPU1[引用数据]。

    没关系。 轮询需要不必要的 CPU MIPS、但如果这不是问题、则应该可以。

    此致、

    Vivek Singh