IMX28 CAN communication error

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

IMX28 CAN communication error

1,616 Views
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???

Labels (2)
0 Kudos
Reply
1 Reply

847 Views
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 Kudos
Reply