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.

[参考译文] TMS570LC4357:CAN 波特率、DCAN BTR

Guru**** 2455560 points
Other Parts Discussed in Thread: HALCOGEN

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1161894/tms570lc4357-can-baud-rate-dcan-btr

器件型号:TMS570LC4357
主题中讨论的其他器件:HALCOGEN

通过 HERC 参考手册读取...

将 DCAN 设置为1Mbaud。

我用 Halcogen 打它…

我相信我可以通过使用 REF 手册中的计算直接写入 BTR 寄存器来"更好"地调节波特

(HERC REF MAN、  SPNU563A–2018年3月)第1422页(ISH)

我看到 DCAN BTR 具有 BRPE (位19-16)和 BRP (位 5-0)……

在通过写入 BRPE (值0至15)声明的注释中,这会将 BRP 值增加到1024。

问:

1) 1)我在参考手册中看到 BRPE 和 BRP、计算等的参考、但 BRPE 和 BRP 如何组合来调整波特率?

手册中引用的 CAN_CLK 是否符合 Halcogen...中所示的 VCLKA?