Search the Community

Showing results for tags 'can'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 11 results

  1. mbo

    Zybo and PmodCAN

    Hello members, I have the Zybo-Z7 Board and I want to connect it with other Zybo-Z7 Board via CAN. The board has an integrated CAN Controller and I need following PmodCAN-Connector which has also can controller integrated. Which CAN Controller shall I use and how do I make it work? I have implemented a basic design for Zybo in Vivado and added the IP core for PmodCAN. Is something more I need? Cheers, mb
  2. I need to generate test data for evaluating I2C, SPI and CAN devices (only one test at a time, so multiple simultaneous patterns are not necessary). I've tried to get the Analog Discovery 2 to do that and it doesn't look like it will. I've looked at the Digital Discovery and it's not clear that it can do that either. I'm hoping I don't need a US$600+ device. Any recommendations would be appreciated. Thanks
  3. SunmedCAN19

    Digilent PmodCAN

    Our team has been using the Digilent PmodCAN CAN-Spi module and have been running into issues related to reading the messages from the CANBus. We are using the mcp_can library that is compatible with this module to read messages from the CANBus, but the messages are coming in out of order and will sometimes miss messages when the CANBus is loaded with a higher number of messages in a short amount of time. I have attached the code I am using that returns messages out of order or misses messages completely. The code will miss around half of the messages when the CANBus has a Bus message load higher than 40% and some of the caught messages are out of order. mcp_can.h.txt mcp_can_dfs.h.txt CANTest.ino.txt mcp_can.cpp.txt
  4. Hi ! I am interested in using the Digital Discovery controlling multiple devices at the same time with different protocols. E.g. I would like to setup the UART on the digital discovery on DIO 28 as TX and 29 as RX while using SPI at the same time on the default setup DIOs as 24/CS, 25/CLK, 26/DQ0/MOSI, 27/DQ1/MISO. Using then I2C on e.g. 31/SCL and 30/SDA and CAN on 36/RX and 37/TX on top of that would be very nice as well. Is this possible from the user interface (which I would prefer) or do I need to create custom code for that?
  5. Hi all i am using Analog discovery 2 for communication purpose.(CAN) I tried using the sample code given same as attached. I am using PCAN to send/receive frames to analog discovery 2 , I am sending only one frame with Standard ID : 0x011 and Data: 0xaa 0xbb 0xcc 0xdd 0xee 0xff but i am receiving lot of Frames with the same ID sent, lot of extended remote frames with CRC errors ,etc. I have attached the console output for reference. Can I know why i am facing the issue? I tried same experiment with waveforms still having similar issue. I have attached the screen shot of it. CAN_Console.txt
  6. Lakshmi Tejas M A

    Analog Discovery 2 interfacing CAN

    I am using analog discovery 2 to send/Receive signals with PCAN using python. Do i need to have a CAN transceiver IC to convert from CAN-H/L to CAN-Rx/Tx? Also wanted to know if i use Waveforms software, what is the hardware connection?
  7. Hi all! I'm currently thinking of purchasing the pynq-z1 board and hoping to set up CAN communication on it. I've read the documents regarding the PYNQ board ( but I wasn't able to conclude on whether I would need to purchase a PMOD with it to access a CAN peripheral. From what I understood, many of the peripherals are available through the PL via PMODs or an arduino. There was also a comment stating that peripherals such as Ethernet, USB and UART, are connected externally, while all other peripherals are connected internally or routed to PL pins. This confused me so my questions are: What do you mean by "connecting peripherals internally"? and would I need to purchase a PMOD and route my CAN controller to PMOD pins, in order to interface with CAN? (via overlays, I believe?). Just need some confirmation! I'm sorry if I'm asking something so basic, I'm fairly new to embedded development, especially with zynq chips but I'm keen to learn as I go! -Vin
  8. Hi All, I am trying to use the ChipKITCAN library. This is a wrapper for the microchip CAN network library. I am using the legacy peripheral library to do this. I have been able to build the demo using MPIDE but I haven't been able to run it successfully. Is there any clear set of steps to run the demo in a chipkit max32? Also, I have been able to build this using Arduino IDE but running in the same issue. Any help is appreciated.
  9. fsasm

    Routing CAN to EMIO

    Hi all! I'm currently working with the Zybo and until now I used both CAN controller via MIO on JF port. Now I want to route one CAN controller to the JC port. To my understanding I have to route a controller to EMIO and assign the signals to the pins with an constraints file. I started with the following tutorial and then I enabled the CAN controllers and routed them to MIO 10 & 11 and MIO 12 & 13. With my bare-metal program I can initialise the controllers and send and receive messages without problems. In order to use the pins on port JC I configured the second CAN to EMIO and assigned the pins in the constraints file: set_property -dict { PACKAGE_PIN V15 IOSTANDARD LVCMOS33 } [get_ports { CAN_1_tx }]; set_property -dict { PACKAGE_PIN W15 IOSTANDARD LVCMOS33 } [get_ports { CAN_1_rx }]; From the TRM I know that I have to enable the level shifter if I use the controller from the PS and route the signals to PL. I don't know where I can set this in the SDK or in Vivado. To my understanding this should do the bootloader or should be done when programming via JTAG. When I start my working bare-metal program, it hangs during the initialisation of the second CAN controller. To be precise, I can't set the controller to the normal mode, as can be seen here: XCanPs_EnterMode(&can_drv2, XCANPS_MODE_NORMAL); while ((mode = XCanPs_GetMode(&can_drv2)) != XCANPS_MODE_NORMAL) ; // endless loop
  10. I'm on Linux. After installing the Arduino IDE, chipKIT core, and the Network Shield libraries, I tried to compile CanDemo and got the following error: Arduino: 1.8.0 (Linux), Board: "chipKIT MAX32" /home/shlomo/.arduino15/packages/chipKIT/hardware/pic32/1.3.1/libraries/chipKITCAN/chipKITCAN.cpp:46:21: fatal error: plib.h: No such file or directory #include <plib.h> ^ compilation terminated. exit status 255 Error compiling for board chipKIT MAX32. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. (Removing the #include line doesn't work, as chipKITCAN uses __ISR and ipl4 of plib). If I understand correctly, according to this post, plib is only included in the deprecated MPIDE. Are you planning to remove the dependency on plib soon? Is there any other way I can use the CAN controllers with the Arduino IDE/chipKIT core?
  11. I am wanting to use a ChipKit board for a robot using WiFi and CAN. I am only seeing boards with wired network and CAN, is there an option I am not seeing? The MAX32 has the can, but it has an Ethernet also - can the MAX32 be used with the WiFi Shield? The WiFire or WF32 have the WiFi, but not the CAN, the only shield I see here that has CAN is the Ethernet Shield, will they work together? or am I better off with a Wi-Fire or WF32 and a CAN shield from else where like Thanks Bill