element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum Using waveshare CANopen interface with zcu102
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 9 replies
  • Answers 1 answer
  • Subscribers 544 subscribers
  • Views 1158 views
  • Users 0 members are here
  • xilinx
  • canopen
  • fpga
  • ultrascale+
  • interface
Related

Using waveshare CANopen interface with zcu102

bugtech
bugtech 7 months ago

Is there any guide or example to use the CANopen interface with zcu102 board. I just want to make the connection and send some data for testing.

 

Thank you

  • Sign in to reply
  • Cancel

Top Replies

  • phoenixcomm
    phoenixcomm 7 months ago +2 suggested
    bugtech here is page 64 in the manual ~~ Enjoy Cris.
  • michaelkellett
    michaelkellett 7 months ago in reply to bugtech +1
    What do you have running on the board already. Do the Vivado (or whatever A/X call it today) tools allow you to select what peripherals are accessible to the processor ? There is talk on the web of Linux…
  • phoenixcomm
    phoenixcomm 7 months ago in reply to bugtech +1
    bugtech CAN itself is a bus, You can put higher level protocols on it such as CANaerospace (which I use), CANopen, and others. The nice thing about CANaerospace it conforms to the 7 layer model which means…
  • phoenixcomm
    0 phoenixcomm 7 months ago

     bugtech here is page 64 in the manual ~~ Enjoy Cris. 

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • bugtech
    0 bugtech 7 months ago in reply to phoenixcomm

    phoenixcomm I went through this document. I am unable to find any example which i can use to perform a test.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett 7 months ago

    I'm not sure that you really mean CANopen - as far as I can tell Waveshare make CAN to PC adapters.

    CANopen is a high level CAN protocol.

    Could you explain what it is you want your system to achieve with CAN.

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bugtech
    0 bugtech 7 months ago in reply to michaelkellett

    Hi michaelkellett , you are right. I meant CAN to PC adapter. Actually i want to perform a test between the ZCU102 ultrascale+ and a linux system using waveshare USB CAN-A adapter. Just need a configuration by which i can send data from board to PC.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett 7 months ago in reply to bugtech

    I think your best bet here is contact AMD/Xilinx directly via their support forum.

    You would expect that they must have some test code for CAN interface.

    The problem with these boards is, in common with FPGAs in general, - they can do almost anything but as delivered do very little at all - the gap in between is bridged by a great deal of coding effort.

    When you buy a $2 micro with a CAN interface it's not very flexible but it just works - and you will find code examples easily if you pick a popular part.

    Your FPGA on the zcu102 can potentially do far more - but you may not live long enough to reach its limits !

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bugtech
    0 bugtech 7 months ago in reply to michaelkellett

    Their community support forum is worst forum ever to get any help. Maybe i am not referring the question properly. That's why i posted here. At the moment only thing i wanted to do is to check that if it is possible for me to make a connection and communicate with the board using the can to pc adapter.

    Reason to select this board was another project. And that i achieved already. Now this CAN interface is actually tough for me. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett 7 months ago in reply to bugtech

    What do you have running on the board already. Do the Vivado (or whatever A/X call it today) tools allow you to select what peripherals are accessible to the processor ?

    There is talk on the web of Linux drivers for the A/X CAN peripheral IP (which is a paid for IP I think).

    https://adaptivesupport.amd.com/s/question/0D52E00007G0dIHSAZ/petalinux-can-driver?language=en_US

    I think if you really need to make this work you will need to slog away at it, searching any relevant terms you can think of. If you can provide a much fuller context for how you want this to work I (or someone else) might be able to help you more.

    Have you any experience of using CAN peripherals on microprocessors ?

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bugtech
    0 bugtech 7 months ago in reply to michaelkellett

    Thank you for sharing that link.

    I think i found some of my answers there.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • phoenixcomm
    0 phoenixcomm 7 months ago in reply to bugtech

      bugtech CAN itself is a bus, You can put higher level protocols on it such as CANaerospace (which I use), CANopen, and others. The nice thing about CANaerospace it conforms to the 7 layer model which means it can go over Ethernet. neat huh?! CANaerospace is fully documented, but it is meant for a Big Endian (ST32), most arm cpus are Little Endian, So ether you have to write the code for the byte swaping in the message or just use Little Endian which means your stuff is incompatible with COTs parts. 

    there are lots of stuff on the web I have included a link to my Adventures in CANaerospace for you.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube