[meta-freescale] Flexcan is not working on I.MX 6Q SABRE SD board

Tobias Knoth knoth.tobias100 at gmail.com
Fri May 23 06:13:29 PDT 2014


Hi Paventhan,

2014-05-20 14:35 GMT+02:00 Paventhan K <Paventhan.K at lnttechservices.com>:
> Hi,
>
>     I am using Freescale I.MX6Q SABRE SD board with revisions SCH-27516 rev
> C2, 700-27516 rev A. I  downloaded the Yocto 1.6(daisy) for Freescale BSP
> using the following instructions by
> https://community.freescale.com/docs/DOC-1616.
>
>

Finally the flexcan device works in the daisy branch. You have to add
another entry in the flexcan1 struct: "trx-stby-gpio = <gpio
multiplexing value to transceiver-standby>;"

Also make sure that you are using the right gpio multiplexing values
in "pinctrl_flexcan1_1"
I hope it helps.


>
>      I added the flexcan node in the file: imx6dl-sabresd.dts.  following
> the instructions provided in
> https://www.mail-archive.com/meta-freescale@yoctoproject.org/thrd3.html
>
> ---
>
> &flexcan1 {
>
>     pinctrl-names = "default";
>
>     pinctrl-0 = <&pinctrl_flexcan1_1>;
>
>     status = "okay";
>
> };
>
> ---
>
>
>
> Now the can-node is available in the dev-tree:
>
> ---
>
> root <at> imx6qsabresd:~# dmesg | grep can
>
> vcan: Virtual CAN interface driver
>
> flexcan 2090000.can: device registered (reg_base=c09d8000, irq=142)
>
> can: controller area network core (rev 20120528 abi 9)
>
> can: raw protocol (rev 20120528)
>
> can: broadcast manager protocol (rev 20120528 t)
>
> can: netlink gateway (rev 20130117) max_hops=1
>
> flexcan 2090000.can can0: writing ctrl=0x07292005
>
> ---
>
>
>
>     I interfaced Freescale I.MX 6Q Sabre sd board(CAN_H & CAN_L)  and Vector
> CANcase XL log. When i do cansend the bus state goes off. I checked the
> termination resistor between CAN_H & CAN_L which is 60 ohm. Please, suggest
> us to bring up the can device.
>
>
>
> Thanks & Regards,
>
> Paventhan K
>
>
>
> L&T Technology Services Ltd
>
> www.LntTechservices.com
>
> This Email may contain confidential or privileged information for the
> intended recipient (s). If you are not the intended recipient, please do not
> use or disseminate the information, notify the sender and delete it from
> your system.
>
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


More information about the meta-freescale mailing list