I have some problem when I used flexcan with KDSD1.2 in my twrk64f120m board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I have some problem when I used flexcan with KDSD1.2 in my twrk64f120m board

424 次查看
wyflsxy
Contributor II

hello,I have some problem when I used flexcan with KDSD1.2 in my twrk64f120m board,

When I use the example of "flexcan_network_example_twrk64f120m",about invoke flexcan send and receive, I send will affect receiving, every time when  I send data,it will Trigger a terminal then received by my self , I don't know what's the reason , I am sure I configuration the model of normal, not the model of the loopback

标签 (1)
0 项奖励
1 回复

283 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Wang,

The SDK1.2 is very old, pls download the latest one SDK2.0 from the website:

http://www.nxp.com/ksdk

For the FlexCAN example, pls refer to the example:

C:\Freescale\SDK2.0_K64F\boards\frdmk64f\driver_examples\flexcan\loopback_transfer\kds

there is readme.txt which says:

"

To demonstrates this example, only one board is needed. The exmaple will config one FlexCAN Message
Buffer to Rx Message Buffer and the other FlexCAN Message Buffer to Tx Message Buffer with same ID.
After that, the exmaple will send a CAN Message from the Tx Message Buffer to the Rx Message Buffer
throuth internal loopback interconnector and print out the Message payload to terminal."

If you change the receiving ID so that the receiving ID and transmitting ID are different, it is okay.

Hope it can help you

BR

Xiangjun Rong

0 项奖励