XMC1404 的MultiCAN 例程无法进行通讯

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
xiphi
Level 3
Level 3
First like received 10 questions asked 25 sign-ins

大佬们好,我目前使用1404芯片的“XMC1400_MCAN”例程进行CAN的学习,但是在配置好后,我发现两个板子之间的CAN通讯并没有成功。

想要询问一下,XMC1404芯片的CAN通讯需要配置些什么,怎么完成一个简单的双机CAN通讯呢

0 点赞
1 解答
lock attach
Attachments are accessible only for community members.
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @xiphi ,

    您使用的‘XMC1400_MCAN’演示了XMC1400 CAN 模块的发送和接收,如果想用双机的CAN通信可以参考‘XMC1400_Blinky_MCAN with Apps'例子。谢谢。

Owen_Su_0-1683703579563.png

BR,

Owen

在原帖中查看解决方案

4 回复数
lock attach
Attachments are accessible only for community members.
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi, @xiphi ,

    您使用的‘XMC1400_MCAN’演示了XMC1400 CAN 模块的发送和接收,如果想用双机的CAN通信可以参考‘XMC1400_Blinky_MCAN with Apps'例子。谢谢。

Owen_Su_0-1683703579563.png

BR,

Owen

xiphi
Level 3
Level 3
First like received 10 questions asked 25 sign-ins

多谢您的解答,我现在去参考学习一下

0 点赞
xiphi
Level 3
Level 3
First like received 10 questions asked 25 sign-ins

您好,我发现这个CAN通讯实例使用的是内部高速时钟作为时钟源,如果我想要使用外部20MHZ晶振进行CAN通讯,需要怎么进行修改呢?

感谢您的答复

0 点赞
Owen_Su
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

您好,

    点击'CLOCK_XMC' APP可以看到相关的clock setting。

Owen_Su_0-1684380207416.png

    修改完成之后记得点击'Generate code'。

BR,

Owen

0 点赞