IMX28 CAN communication error

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

IMX28 CAN communication error

1,371件の閲覧回数
ganeshh
Contributor III

Hi am using IMX28 EVK and its linux 2.6.35 BSP

I am having problems in configuring can interface.

In ltib package list i enabled can4linux and cantest

-- Package Selection

    Package List -->

        [*] cantest

        [*] can4linux

In kernel configuration

[*] Networking support --->

     <*> CAN bus subsystem support --->

        <*>   Raw CAN Protocol (raw access with CAN-ID filtering)       

<*>   Broadcast Manager CAN Protocol (with content filtering)   

        CAN Device Drivers  --->

  <*> Virtual Local CAN Interface (vcan)                                                                                                 

  <*> Platform CAN drivers with Netlink support                                                                                         

    [*]   CAN bit-timing calculation                                                                                                      

  <*>   Microchip MCP251x SPI CAN controllers                                                                                           

  <*>   Philips/NXP SJA1000 devices  --->                                                                                                

  CAN USB interfaces  --->                                                                                                         

  [*] CAN devices debugging messages                                                                                                    

  <*> Freescale FlexCAN                                                                                                                 

                    

But when i issue the commands like

$ ip link set can0 up type can bitrate 500000

Cannot find device "can0"

or

$ ifconfig can0 up

ifconfig: SIOCGIFFLAGS: No such device

What will be the problem???

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

602件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Ganesh

I believe links below may help to configure can:

https://community.freescale.com/thread/272930

https://community.freescale.com/docs/DOC-1437

Also suggest to check i.MX28 Digi ConnectCard  materials

http://www.digi.com/support/productdetail?pid=5587&type=documentation

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛