您能告诉我如何打开 CAN 总线吗、
请指定与 CAN 时钟相关的寄存器、
3.如何在 CAN 发送接收示例程序中配置 CANABCLKSEL 寄存器和 PCLKCR10寄存器。
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 总线吗、
请指定与 CAN 时钟相关的寄存器、
3.如何在 CAN 发送接收示例程序中配置 CANABCLKSEL 寄存器和 PCLKCR10寄存器。
您的问题不清楚。 如果您询问如何打开 CAN 模块的时钟、则通过向 PCLKCR10寄存器的位0写入1来实现。
[引用 userid="545650" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1175847/c2000-microcontrollers-forum [2]。请指定与 CAN 时钟相关的寄存器、见上文。 如果是指位定时、则为 CANBTR 寄存器。
[引用 userid="545650" URL"~/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1175847/c2000-microcontrollers-forum ]3. 如何在 CAN 发送接收示例程序中配置 CANABCLKSEL 寄存器和 PCLKCR10寄存器。[/QUERP]请参阅 Driverlib 函数。
如果您不熟悉 CAN、以下是一些有用的 CAN 资源:
请下载我的应用报告 http://www.ti.com/lit/SPRACE5。 它有许多经过测试的示例。 我请求您查看提供的调试提示。 大多数 CAN 问题都可以通过查看此检查清单来解决。
我已经创建了一个视频来帮助使用 DCAN 的第一个通信项目: https://training.ti.com/getting-started-dcan-module。 请看一下。
TRM 章节介绍了 MCU 中的 CAN 协议实现。 即、它解释了各种寄存器/位的功能。 但是、它并未解释协议本身。 有关协议信息、请参阅以下精彩视频:
https://training.ti.com/automotive-can-overview
如果您仍需要帮助、请联系我。