Dear sir,
we dont have much knowledge in CAN communication.I study something. now i have to test the communication using KDS.So please tell me any idea
or please give any sample code to test the can communication.in that tower module there 2 can nodes.....
can we test the CAN using one node using loop back how?
how can we transfer CAN packets?
please give me sample code to test the board please
Hi Lijo,
please, have you tried KSDK example for FlexCAN?
FlexCAN example application demonstrates the SDK Peripheral drivers working with different methods.
There are two provided examples:
• CAN network: transfers data through the CAN interface. On node 1, the user inputs characters by
using the UART debug terminal and sends the data with the FlexCAN interface. On the other node,
the FlexCAN receives the data and prints it to the UART terminal.
• CAN loop-back: transfers data through the CAN loop-back interface. On one node, one 8-byte
buffer stream transmitter output is internally sent back to the receiver input.
The board transfers and receives characters through the FlexCAN-UART interface. Type the characters
on the keyboard and the board receives and displays them on the terminal screen.
Hope this helps.
Iva