How to use CAN_ReadFrame and test it reads something on KDS PE

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

How to use CAN_ReadFrame and test it reads something on KDS PE

369 Views
yarannan
Contributor III

So i was be able to send 8 bytes data through mk20 board, and i simply call can_init() and can_readFrame().

The send device is CANTact. The reading isnt happened. Can anyone explain to me how can_readframe works?
What should I be careful about? Thanks.

Yaran

0 Kudos
Reply
1 Reply

249 Views
marek_neuzil
NXP Employee
NXP Employee

Hello,

I am not sure which component you use. I suppose that you want to use CAN_LDD (according to the name of the can_readFrame() method).

The CAN_LDD component help (open the context menu of the CAN_LDD component in the Components window and select Help on Component) contains Typical Usage page that contain examples - how to use methods of the CAN_LDD component, see below:

pastedImage_0.png

Best Regards,

Marek Neuzil

0 Kudos
Reply