Kernel versions prior to 4. Both can be built with openembedded, the former with ‘bitbake canutils’ and the later with ‘bitbake can-utils’. Refer to this hardware related article. The following shows the bring-up of a Colibri EvalBoard V2. Change the status of the mcpcan node to okay and add a status property to the spidev1 node which is disabled. Alright, I have been at this issue many times but given up.
|Date Added:||28 August 2009|
|File Size:||26.6 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
All Boards FlexCAN | NXP Community
If you are using SocketCAN, you should be able to turn on loopback to receive messages that are being transmitted from your interface and they must actually be transmitted on the wires to be received via loopback.
CAN communication with external nodes works like a charm, but the frames that I send to the nodes from my app is not printed when using “candump can0” in the terminal when I run the same app on my host using a usb-CAN dongle this problem does not occur. Contents [ hide ].
iMX FlexCAN Driver | GuruCE
Alright, I have been at this issue many times but fleexcan up. But know I stumbled on the solution: The most important configuration is the bitrate. I’m thinking that it might be some filtering in the driver that causes this. By using this configurations, the platform data for the SPI resp.
Use the latest kernel sources as we had to backport the following commits: For older images the required ipk packages can be built with OpenEmbedded or can be found on http: The Apalis modules have two on-module CAN controllers.
If not enable it and flxecan the kernel. The result was that receiving msgs stopped working.
The following shows the bring-up of a Colibri EvalBoard V2. The following shows the bring-up of a Colibri EvalBoard V3.
[PATCH 2/3] can: flexcan: Use a regulator to control the CAN transceiver
Beside that, the interface needs to started flexxcan the up command:.
The reason I want to do this is for creating a service tool on the same device which can log all CAN frames. Email Required, but never shown.