Announcements

Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

xuxu
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

将TC234L官方提供的CAN demo的loopback模式改为使用外部引脚后无法传输,将其配置为pinmap中的引脚后,无法进入发送中断,使用的引脚如下,且相应引脚也接了CAN收发器,请问该如何解决呀?

(CAN模块的供电测试了是正常的,在debug状态下程序运行时,发送引脚只有mv的电压,接收引脚有2.6V左右电压)

xuxu_0-1679018613139.pngxuxu_1-1679018624663.pngxuxu_2-1679018669804.png

xuxu_3-1679018694942.png

 

0 Likes
8 Replies
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Attached is for your reference for pin settings of MCMCAN if you changed loopback mode.

0 Likes
xuxu
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

这和我配置引脚的方式一样,只是我配置RXMODE为IfxPort_InputMode_pullUp,但是我更改为和您一样的IfxPort_InputMode_noPullDevice后,仍然进不了CAN发送中断

0 Likes
xuxu
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

这和我配置引脚的方式一样,只是我配置RXMODE为IfxPort_InputMode_pullUp,但是我更改为和您一样的IfxPort_InputMode_noPullDevice后,仍然进不了CAN发送中断

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/MULTICAN_1_KIT_TC297_TFT

Please start from above code and change the loopback mode as above pdf. 

0 Likes
xuxu
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

您好,我按照您说的将上面例程的MULTICAN外设模块移植到了TC234L配置的工程中,并按照pdf中的引脚配置去配置了引脚。仍然只能在loopback模式正常收发,一旦loop为FALSE了,就无法进入中断了。您方便帮我浏览一下我的工程引脚配置了,感谢您!

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Hi

First start from original demo,  then only change 1 node (RX and TX) settings to try.

Step by step.

0 Likes
dw
Moderator
Moderator
Moderator
1000 replies posted 250 solutions authored 100 likes received

Xuxu, any update for your test?

0 Likes
xuxu
Level 1
Level 1
5 replies posted 5 sign-ins First solution authored

hi,按照你所说的,我首先只修改了CAN0 node 0的TX和RX配置,但是node 0仍然无法进入发送中断。不知道接下来该按照什么步骤去进行了😭

0 Likes
This widget could not be displayed.