将TC234L官方提供的CAN demo的loopback模式改为使用外部引脚后无法传输,将其配置为pinmap中的引脚后,无法进入发送中断,使用的引脚如下,且相应引脚也接了CAN收发器,请问该如何解决呀?
(CAN模块的供电测试了是正常的,在debug状态下程序运行时,发送引脚只有mv的电压,接收引脚有2.6V左右电压)
已解决! 转到解答。
Please refer to this TC234 CAN demo code: https://community.infineon.com/t5/AURIX/Not-able-to-read-receiving-CAN-message-in-MultiCANBasic-Demo....
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.
Please refer to this TC234 CAN demo code: https://community.infineon.com/t5/AURIX/Not-able-to-read-receiving-CAN-message-in-MultiCANBasic-Demo....
hi @Di_W ,我依次测试了CAN0 的node0和node1的发送模式,二者都无法进入发送中断,但是我测试了二者的引脚电压情况:
node1
如果只发送一次的话,CANH:3.78-2.28V,CANHL:2.36V-160mv
未配置引脚时, CANH:2.85左右,CANHL :2.85V左右
node0
未配置引脚时: CANH:300mv左右,CANHL:300mv左右
如果只发送一次的话:CANH:50mv左右,CANHL:50mv左右