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.
目前,我们将使用 PMBus ,模式为从机->主机,快速模式速度为400kHz。
您能否为我们提供一个清晰的示例代码,因为我们无法清楚地了解您在:C:\ti\c2000\C2000Ware_3_04_00_00\libraries\communications\PMBus\c28\examples\28002x_PMBus_slave 下的从示例
谢谢你
Serena、
[引用 userid="491663" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1019240/tms320f280025c-about-pmbus-slave---master,您能否为我们提供清晰的示例代码,因为我们无法清楚地了解您在:C:\ti\c2000\C2000Ware_3_04_00_00\libraries\communications\PMBus\c28\examples\28002x_PMBus_slave下的从站示例您提到的示例是我们必须演示 PMBus 从站配置的唯一示例。 我们提供了有关如何使用此代码的用户指南。 本文档应能帮助您了解代码。
\libraries\communications\PMBus\c28\docs\
文件名:PMBUS_COMMS_STACK_UG.pdf
Manoj,您好!
我已获取文件: PMBus_comms_stack_UG。
很抱歉,我无法理解 PMBus 从模式部分以及从示例代码。
您能否向我发送详细的从站示例,它不仅显示如何使用 Init_slave 模块。
现在我需要真正的示例代码供参考,谢谢!
顺便说一下,如何使用 pmbus.h 文件中的命令,如下所示:
//
//
//PMBus 版本1.2命令编号常数:
//
//
//! PMBus 命令页面
#define PMBus_CMD_PAGE (0x00U)
//! PMBus 命令操作
#define PMBus_CMD_OPERATION (0x01U)
//! PMBus 命令 ON_OFF_CONFIG
#define PMBus_CMD_ON_OFF_CONFIG (0x02U)
//! PMBus 命令 CLEAR_FAULTS
#define PMBus_CMD_CLEAR_FAULTS (0x03U)
//! PMBus 命令阶段
#define PMBus_CMD_PHASE (0x04U)
//! PMBus 命令 page_plus_write
#define PMBus_CMD_PAGE_PLUS_WRITE (0x05U)
//! PMBus 命令 page_plus_read
#define PMBus_CMD_PAGE_PLUS_READ (0x06U)
// 0x07-0x0F 保留
我们不知道如何使用这些命令,因此如果您的 TI 团队为用户提供了一个完整的示例 ,那就更好了。
因为 PMBus 是新的, 市场上几乎没有可供参考的信息。
Serena、
这些 PMBus 命令来自 PMBus 1.2规范(PMBus 规范第 II 部分 修订版1.2 2010-09-06 (.pdf、762KB、106页))
有关这些命令的摘要、请查看附录 I。
我从 TI C2000了解到的唯一 PMBus 示例就是我之前提到的示例。 我将检查其他团队成员、我们是否有您所需的任何示例。 请给我几天的时间来回答。
此致、
曼诺伊
Manoj、
感谢您的检查和帮助。 我们必须尽最大努力解决这个问题。
我现在要结束本主题、因为我觉得您的问题已经得到了解答。