【问题标题】:XCP daq list - do ODTs have to be transmitted in increasing order?XCP 数据列表 - ODT 是否必须按升序传输?
【发布时间】:2019-06-28 19:35:11
【问题描述】:

一个 DAQ 列表由多个“编号”的 ODT 组成。

DAQ 列表中的 ODT 必须以有序方式传输是 XCP 标准的一部分吗?

【问题讨论】:

    标签: can-bus xcp


    【解决方案1】:

    从部分

    1.3.4 DAQ 和 STIM 的 XCP 数据包寻址

    XCP 参考书可从 Vector here 获得,有两种使用 DAQ 寻址数据包的方法。

    绝对 ODT 编号,需要以有序方式传输
    相对 ODT 数字,这不是。

    【讨论】:

    • Absolute means that the ODT numbers are unique throughout the entire communication – i.e. across all DAQ lists. 那么为什么需要按任何顺序传输它们呢?
    • In turn, this means that the use of absolute ODT numbers assumes a transformation step that utilizes a so­called “FIRST_PID for the DAQ list.If a DAQ list starts with the PID j, then the PID of the first packet has the value j, the second packet has the PID value j + 1, the third packet has the PID value j + 2, etc. Naturally, the Slave must ensure here that the sum of FIRST_PID + relative ODT number remains below the PID of the next DAQ list. 因为你在传输时没有指定相对部分:第一个到达是+1,第二个是+2,...
    猜你喜欢
    • 1970-01-01
    • 2012-09-16
    • 1970-01-01
    • 1970-01-01
    • 2016-06-23
    • 1970-01-01
    • 2021-09-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多