Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The source code for the driver is included with the Vitis Unified Software Platform installation, as well as being available in the Xilinx Github repository.

Driver name

Path in vitis

path in Git Hub

can

<Vitis Install Directory>/data/embedded/XilinxProcessorIPLib/drivers/can

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/can/

Info

Note: To view the sources for a particular release, use the rel-version tag in github.  For example, for the 2020.1 release, the proper version of the code is: https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/can/

The driver source code is organized into different folders. The table below shows the CAN driver source organization.

Directory

Description

src

Driver source files

examples

Example applications that show how to use the driver features

doc

Provides the API and data structure details

data

Driver .tcl, .yaml and .mdd file

Driver Implementation

For a full list of features supported by this IP, please refer CAN_Doc

...

https://github.com/Xilinx/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/can/examples

Test Name

Example Source

Description

Polled

xcan_polled_example.c

 It configures the CAN controller in loop back mode with no interrupt enabled and verifies the data received with data sent.

Interrupt

xcan_intr_example.c

  It configures the CAN controller in loop back mode with interrupts enabled and verifies the data received with data sent.

Example Application Usage

...

                 https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/can/examples/xcan_intr_example.c

Code Block
Successfully ran Can Interrupt Example

Example Design Architecture

...

Known Issues and Limitations

  • None

Change Log

2023.2

https://github.com/Xilinx/embeddedsw/blob/xilinx_v2023.2/doc/ChangeLog#L678

2022.2

  • None

2022.1

  • None

2021.2

...