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.
工具与软件:
尊敬的:
发送到 CAN (1MB) FIFO 时出现问题:
我的设置为:
我的代码是:
经常调用 canTxFifo 以发送新消息。
如果我不延迟(在本例中为150us)、我会丢失 CAN 总线上的消息。
路由的原因可能是什么? 如何解决?
谢谢!
John
尊敬的 John:
在函数调用后、您的代码会立即执行什么操作? 您的延迟是在将数据添加到 RAM 之后、因此我不确定它们的延迟实际上是什么。 您发布的块中没有任何内容会立即出现问题。