Cyclon V SoC CAN bus driver implementation using Hardware Libs alt_can.c and alt_can.h
Hi,
Recently I have started to work on implementation of the CAN bus controller on a Cyclone V SoC.
1. As the OS used in the project is Threadx instead of Linux, I have thought to use the functions offered by the Hardware Lib int the files can_alt.c and can_alt.h, from Altera.
Unfortunately I could not find documentation of those functions, especially the initialization sequence, nor could I find any example of a driver using those functions.
Can anyone help?
2. During the search for an example, I have downloaded the Linux kernel used by the SoC, thinking I will be able to find there the used driver, and learn from there. Again Unfortunately, there are multiple implementations of CAN in the kernel, and I fail to pin-point the one actually used (among those implementations there is a Xilinx driver - which I'm almost certain is not really used on an Altera SoC).
Can anyone point me to the implementation actually used in the SoC?
Help will be much appreciated,
Thanx in advance,
Amit Dar