Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 04 Aug 2005 07:18 PM by  jkinross
CAN Bus not working
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Ewald.Mack
New Member
New Member
Posts:


--
22 Jul 2005 06:37 AM
    Hello,

    we have the M548x EVB LITE / REV-A with Metroworks Linux 2.6. Presently we are testing the CAN implementing (CAN4Linux) on this board and have many problems. If we send a can frame on CAN1 (CAN0 is not connected on the development board), we see some signals on an oszilloscope, but it's not really a CAN frame (also we get a bus error on a parallel connected CAN analyser).

    Did anybody here get the CAN controller working ? What software (OS) and what hardware do you use (REV-???) ? Are there known hardware / software bugs ?

    regards
    ericn@logicpd.com
    New Member
    New Member
    Posts:


    --
    02 Aug 2005 11:56 AM
    I cannot comment on Metroworks, but I have used the CAN on the coldfire board. I used it in a loopback configuration sending packets back and forth between the two can ports. This was without any OS.

    I found a note in the freescale errata document (section 5.1). http://www.freescale.com/...errata/MCF5485DE.pdf
    Could this have anything to do with what you are seeing??

    Eric N
    jkinross
    New Member
    New Member
    Posts:2


    --
    04 Aug 2005 07:18 PM
    I am seeing a very similar problem on the 5485 EVB with Metrowerks and ARC. CAN0 works fine but CAN1 does not.

    I have a simple loopback test which came with the OS. It works fine if run with the BDM, it works fine if run from the boot flash. If run from the user flash it stops working.

    Running from the user flash:
    If CAN0 transmits while CAN1 receives then I see the CAN data on the bus with a CAN analyzer but CAN1 does not see the data.

    If CAN1 transmits while CAN0 receives then the CAN analyzer shows nothing but bus errors.

    The CAN registers and I/O is configured the same in all of the above situations.
    You are not authorized to post a reply.