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.

[参考译文] TDA4AL-Q1:TISCI_MSG_SET_CLOCK 实现与规格不同

Guru**** 2482225 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1451988/tda4al-q1-tisci_msg_set_clock-implementation-differs-from-specification

器件型号:TDA4AL-Q1

工具与软件:

尊敬的支持团队:

根据需要/不需要标记时钟的 TISCI 消息在以下位置指定: https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/pm/clocks.html#tisci-message-id

此处"clk32"成员位于"状态"成员之前。

参数结构在 pdk 中的 packages/ti/drv/sciclient/oclient/oci soc sysfw/include/tisci/pm/tisci_pm_clock.h:138中定义

struct tisci_msg_set_clock_req {
    struct tisci_header    hdr;
    uint32_t            device;
    uint8_t            clk;
    uint8_t            state;
    uint32_t            clk32;
} __attribute__((__packed__));

这里的"clk32"成员位于"状态"成员之后。

由于我们为自己的 HLOS PikeOS 实现了驱动程序、因此在很大程度上依赖于 TISCI ABI 的一致性。
请确认会员的顺序是否正确。

此致、

Marco Kosinski
汽车产品工程师
SYSGO 股份有限公司

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

    尊敬的 Marco:

    Unknown 说:
    由于我们为自己的 HLOS PikeOS 实施了一个驱动程序、因此严重依赖 TISCI ABI 的一致性。
    请确认成员的顺序是否正确。

    感谢您提醒我们注意这一点。

    头文件正确无误。 对于将来的任何此类差异、请使用头文件中的定义。

    我们将在 TI-SCI 文档中提交一个错误以解决这个问题。

    此致

    Suman