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

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

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

667件の閲覧回数
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 件の賞賛
返信
1 返信

547件の閲覧回数
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 件の賞賛
返信