280049的开发板,CAN信号是从哪个管脚引出来的?
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.
280049的开发板,CAN信号是从哪个管脚引出来的?
那块板子上只看到CANA的两个PIN脚,看文档没发现有什么配置不对的地方?难道controlCARD 开发板不支持CAN输出?
支持,仿真看下收发邮箱是否有填充数据,我这边现在没有这块controlcard,还无法做测试。
帖子不能沉啊?寄存器也查了,信号也量了,就是没有输出。到底哪里有问题?@TI技术支持
是CAN初始化的参数配置问题,用默认的16不行。但是TI也没有文档说明改怎么配置,提供的api有点鸡肋
看这个地方,最后一个参数需要自己调试:
// Set up the CAN bus bit rate to 500kHz for each module Refer to the Driver Library User Guide
// for information on how to set tighter timing control. Additionally, consult the device data sheet
// for more information about the CAN module clocking.
CAN_setBitRate(CAN_BASE, DEVICE_SYSCLK_FREQ, 500000, 10);
我这边还是不行,完全发不出去,用can_ex2_loopback_interrupts这个例程,是可以进行发送出去的,但是他是环回模式,只要把环回模式去掉,就不能进行正常的发送。也不知道这个CAN怎么配置的。
你检查下CAN链路有没问题,配置参数按我提供的那个没问题的。