what changes do i need to do in flexcan_loopback example from one frdm k64 to another?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

what changes do i need to do in flexcan_loopback example from one frdm k64 to another?

970件の閲覧回数
vimalprasath
Contributor II

Hi,

i'm using 2 frdm k64 kit and im trying to make a CAN communication between two 2 frdm k64 boards.

im using flexcan_loopback example where it sends CAN Message from the Tx Message Buffer to the Rx Message Buffer throuth internal loopback interconnect but i need to send from one board to another board.what changes do i need in this example program to send from one board to another??

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

897件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Vimal:

There is a flexcan_interrupt example shows how to use Flexcan driver with 2 boards.

SDK_2.5.0_TWR-K64F120M\boards\twrk64f120m\driver_examples\flexcan\interrupt_transfer

In this example, 2 boards are connected through CAN bus. Endpoint A(board A) send a CAN Message to
Endpoint B(board B) when user press space key in terminal. Endpoint B receive the message, print
the message content to terminal and echo back the message. Endpoint A will increase the received
message and waiting for the next transmission of the user initiated.

Regards

Daniel