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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

411 Views
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

Labels (1)
0 Kudos
1 Reply

270 Views
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 Kudos