• Content Count

  • Joined

  • Last visited

  1. Hi, thank you for the feedback. I've finally found the problem. The conditional into the while posted above should to be changed to mcp_begin(MCP_ANY, CAN_250KBPS, MCP_20MHZ). Another (*) silly mistake from this 'of-the shelf' CAN library demo. Digilent team, please, fix it. This is very annoying to waste the time debugging this kind of issues. (*) regards, gaston
  2. Hi, I'm evaluating the PMOD CAN using provided demo software by digilent. The demo works fine as I'm able to see the received message on a BASYS MX3 slave from a BASYS MX3 master. However I'm trying to analyze the CAN frames with no success. For this I'm using a Microchip CAN Analyzer that have been used in others projects before. The weird thing is the demo software seems to be configured at 250kbps so I expect to see this rate on my analyzer single-ended RX pin. Here's the capture I get The bit rate is almost 1.8Mbps instead 250kbps as expected. How is it possible? I don't und
  3. Great Tommy! It works like a charm! Excellent support. regards, gaston
  4. Yes, it is. I've also swapped the boards. Nothing changes... Please, check the setup as you suggested. I'll be waiting for your feedback. regards, gaston
  5. Hi JCovin, I'm running the provided demo on two Basys MX3 with PMOD CAN in MPLAB X, not Arduino at all. Here's my current configuration: MPLAB X v4.15 XC32 v2.05 compiler Installed legacy peripheral libraries (plib) v1.40 from Microchip site and set include paths in project (CAN_TX and CAN_RX) settings The building of CAN_TX and CAN_RX projects was correct, no errors were shown and generated respective binaries (.hex) as expected. Next I was able to program the boards without problems. When I turn on the boards I can open a serial terminal to check printf output
  6. Hello, I'm trying to communicate two BASYS MX3 boards with a PMOD CAN attached. One board is programmed as TX sender and the other one with the RX firmware from provided examples. The problem is I cannot receive any frame from TX sender (who is incrementing frames every 1/2 second). Please could anyone help me whit this issue? regards, gaston