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、测试的设备:
TMDSCNCD28388D – HSEC180 controlCARD
2、测试的例程:
can_ex2_loopback_interrupts
3、例程所在的路径:
C:\ti\c2000\C2000Ware_3_03_00_00\driverlib\f2838x\examples\cm\can\CCS
4、测试的目的
初步的目的:
想要通过F28388D的CM核,跑CAN的程序
最终的目的:
1、想要实现的功能是,STM32通过CAN发送数据,然后F28388D通过CANA中断接收。一条数据接受完毕后,返回一个接受完毕标志位。(这一句话的功能,要求 在CM核中实现)
2、需要在CPU1中实现的功能是,检测到CM中的接收完成标志位,然后,将CM核中接收到数据的数组,传递到CPU1中,在CPU1核中完成数组数据的处理。处理完成之后,设置一个数据处理完毕标志位。此时,CM核查询到数据处理完毕标志位,通过CM核,控制串口,将处理后的数据发送给外界。
5、目前试着运行例程,存在的问题:
can_ex2_loopback_interrupts,这个例程,运行在CM后,应该是在变量的窗口,能看到txMsgData和rxMsgData的变化,但是,正如下图所示,只有txMsgData有变化。这个很奇怪。
6、关于F28388D的CPU1与CM核,如何实现这两个核之间的通信呢?
特来请教
谢谢!
不知您是否有按照can_ex2_loopback_interrupts.c中描述中的那样先运行can_config_c28x example?
//! Before running this example, please run the can_config_c28x example //! from the c28x folder. It will initialize the clock, configure the GPIOs //! and allocate CAN A to CM.