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.
你好,
1、参看"2837xD TRM"文档时,里面提到了Debug mode和Test mode,它们是一样的吗?另外,如果是一样的,要使用这种模式,是不是必须连接外面的仿真器,以及使用CCS?
2、假如我通过message object 1接收到一个消息,那么我如何获取该消息的值呢?
1)、通过CCS中的Memory Browser窗口,在地址0x49030~0x49034中查看吗?
2)、或者我配置 IF1/IF2 Interface register sets, 然后通过CCS中Registers窗口中查看CAN_IF1DATA / CAN_IF1DATB寄存器?
1、Debug mode用于仿真器调试,需要连接仿真器。
Test mode主要用于自检测试,不需要连接仿真器。
2、这个问题你可以参考一下例程的做法,定义一个数组,接收或者发送的内容都可以在数组中看到:
C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2837xd\examples\cpu1\can\can_ex1_loopback.c
//! - txMsgData - An array with the data being sent
//! - rxMsgData - An array with the data that was received