【发布时间】:2019-06-28 19:35:11
【问题描述】:
一个 DAQ 列表由多个“编号”的 ODT 组成。
DAQ 列表中的 ODT 必须以有序方式传输是 XCP 标准的一部分吗?
【问题讨论】:
一个 DAQ 列表由多个“编号”的 ODT 组成。
DAQ 列表中的 ODT 必须以有序方式传输是 XCP 标准的一部分吗?
【问题讨论】:
从部分
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 socalled “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,...