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.

[参考译文] AM2732:以256kbps 的速率进行正常的 CAN 波特率配置

Guru**** 2540720 points
Other Parts Discussed in Thread: AM2732

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1376756/am2732-can-baudrate-configuration-for-normale-with-256-kbps

器件型号:AM2732

工具与软件:

您好!

我将通过 CAN (正常模式)在 AM2732和外部器件之间设置通信、并且必须将波特率设置为250kbps。

 使用 MCU-PLUS-SDK 中提供的示例、CAN 与 USB-FDCAN-TOOL 通信的工作方式是以1MB 波特率以正常模式默认。

我将位时间配置更改如下:

bitTimes.nomRatePrescalar = 20;
bitTimes.nomTimeSeg1 = 29;
bitTimes.nomTimeSeg2 = 8;
bitTimes.nomSynchJumpWidth = 0x3;
bitTimes.dataRatePrescalar = 20;
bitTimes.dataTimeSeg1 = 29;
bitTimes.dataTimeSeg2 = 8;
bitTimes.dataSynchJumpWidth = 0x3;

 我是根据定义这些值的  

您能否帮助正确设置正常模式的时间 CAN 与250 kbps ?

谢谢。

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

    您好!

    作为 AM2732的附加信息、我将仅侦听特定的消息、而不会在总线上传输任何数据。

    谢谢。

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

    您好!

    请允许我们检查并返回此页。

    此致、

    Ankur

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

    您好!

    我已经找到一种用250kbps 配置 CAN 的方法。

    谢谢。