IMX28 CAN communication error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX28 CAN communication error

1,618 次查看
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 回复

849 次查看
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 项奖励
回复