请TI工程师回答一下,我使用TI官方的例程,但实现不了CAN数据的发送和接收,例程位置为\ti\c2000\C2000Ware_MotorControl_SDK_3_01_00_00\c2000ware\driverlib\f28004x\examples\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.
请TI工程师回答一下,我使用TI官方的例程,但实现不了CAN数据的发送和接收,例程位置为\ti\c2000\C2000Ware_MotorControl_SDK_3_01_00_00\c2000ware\driverlib\f28004x\examples\can,不知道是什么原因。
你好,我要再确认一下,你使用的是上述路径中的哪个例程?里面有5个,每个的外部连接是不同的,其中内部回环测试是不需要外接收发器的,其他的需要外接。这个在工程的main.c主程序开头注释中,external connect中会有说明。包括其他需要注意的事项也会在注释中标出,你可以对照一下是否全部满足要求。
像CAN例程中的案例2(can_ex2_loopback_interrupts.c),开头注释是外部测试,怎么后面有注释不需要外部连接呢,有点搞不懂、
This example sets up the CAN controller in External Loopback test mode.
//! Data transmitted is visible on the CANTXA/CANATX pin and is received internally
//! back to the CAN Core.
//!
//! \b External \b Connections \n
//! - None.