All of lore.kernel.org
 help / color / mirror / Atom feed
From: diego <diego.gonzalez@horus.es>
To: meta-freescale@yoctoproject.org
Subject: Re: FlexCAN not working
Date: Fri, 18 Oct 2013 13:33:36 +0200	[thread overview]
Message-ID: <52611C90.4030108@horus.es> (raw)
In-Reply-To: <5257E0EE.80802@horus.es>

[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]

El 11/10/2013 13:28, diego escribió:
> Hello everybody,
>
> I'm trying to test FlexCAN on Sabrelite imx6 board without success. 
> Those are the steps followed :
>
> 1) Comprobed that linux-imx has CAN drivers enable
> 2) Added on the  image the packages:canutils,libsocketcan and iproute2
> 3) Tested the Flex can with  canconfig and cantest.
>
> Everything seems  ok,  even I can see transmitted frames incremented. 
> However there's not singnal on the oscilloscope.
>
> I don't now why is not working. Any ideas or suggestions?
>
> Thank you!
>
>
>

Hello,

we discovered why is not working. If you are using _*linux-imx*_ the 
problem is on board-mx6q_sabrelite.c. This file is not ready to work 
with TJA1040 transceiver. However, after reading the datasheet we found  
the solution . Change this line :

https://github.com/imx6-dongle/linux-imx/blob/imx_3.0.35_1.1.0-hdmidongle/arch/arm/mach-mx6/board-mx6q_sabrelite.c?source=cc#L754

to

if  (!enable)  

bitbake and that's all. It's working now on my sabre lite with socketcan.

Regards


-- 
Diego González González
Dpto. de Control Industrial
  
HORUS HARDWARE S.A.
Pol Ind Europolis C/Berna nº4
28232 Las Rozas de Madrid
diego.gonzalez@horus.es


[-- Attachment #2: Type: text/html, Size: 2339 bytes --]

      parent reply	other threads:[~2013-10-18 11:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 11:28 FlexCAN not working diego
2013-10-11 15:16 ` Eric Nelson
2013-10-11 18:15   ` Jose Mª Ferreiro
2013-10-11 18:41     ` Eric Nelson
2013-10-11 18:55       ` Jose Mª Ferreiro
2013-10-11 20:56         ` Wayne T. Schellekens
2013-10-11 22:11         ` Eric Nelson
2013-10-14  9:40           ` Jose Mª Ferreiro
2013-10-15  0:30             ` HDMI on SABRE Lite (was FlexCAN not working) Eric Nelson
2013-10-18 11:33 ` diego [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52611C90.4030108@horus.es \
    --to=diego.gonzalez@horus.es \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.