SAMA5D2 Xplained Ultra CAN bus setup

Moderator: nferre

maniee
Posts: 1
Joined: Mon Aug 12, 2019 11:28 am

SAMA5D2 Xplained Ultra CAN bus setup

Fri Aug 16, 2019 10:31 am

Hi,

I got a new SAMA5D2 Xplained Ultra which has dual on-board CANFD support.

Now I wanted to do a CAN experiment, for that I have to interface SAMA board (as CAN node1)with another ARM board( as CAN node2) to send and receive the CAN message.

So based on my understanding I have to set up the CAN BUS in SAMA5D2 Xplained Ultra to use the onboard CANFD.

Unfortunately I could not find any manual or procedure to set up CAN BUS ,so I am blocked here.

Can some please share the procedure/link, how to set up CAN BUS in SAMA5D2 Xplained Ultra and use it ?

Thanks in advance for your help.

Regards,
Maniee
blue_z
Location: USA
Posts: 1954
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAMA5D2 Xplained Ultra CAN bus setup

Mon Aug 19, 2019 11:31 pm

You neglect to mention what software you intend to execute on your board.

Are you going to use Linux?
If so then the Linux4SAM kernel and demo images already have the CAN controllers enabled.
With the hardware abstracted, the userspace interface is generic, and any CAN guide using Linux is applicable.

For instance study Linux Networking Documentation » SocketCAN.

Regards

Return to “SAMA5-based”

Who is online

Users browsing this forum: No registered users and 3 guests