Other Parts Discussed in Thread: C2000WARE
TI的工程师你好!
我想请教的是,在使用CAN的时候,是不是只有将CAN_IF1ARB寄存器的Dir为设置为1,才能接收到远程帧?也就是说对应使用的一定是发送邮箱?
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的工程师你好!
我想请教的是,在使用CAN的时候,是不是只有将CAN_IF1ARB寄存器的Dir为设置为1,才能接收到远程帧?也就是说对应使用的一定是发送邮箱?
建议您看一下用户指南的
22.11.8 Reception of Remote Frames
以及
22.10.2 Configuration of a Transmit Object for Remote Frames
22.10.4 Configuration of a Single Receive Object for Remote Frames
那您可以直接参考我们的例程 can_ex8_remote_tx 和 can_ex9_remote_answer
C2000Ware_3_04_00_00\driverlib\f2837xd\examples\cpu1\can