Code Monkey home page Code Monkey logo

Comments (4)

Ashok12698 avatar Ashok12698 commented on May 30, 2024

Hi @coryjfowler @SketchThis I am using CAN-BUS Shield on top of Arduino Uno. I am facing the similar errors like above.

Message Sent Successfully!
Message Sent Successfully!
Entering Configuration Mode Failure...
Error Initializing MCP2515...
MCP2515 Library Loopback Example...
Message Sent Successfully!
Message Sent Successfully!

Even I tried using the library which you mentioned "https://github.com/coryjfowler/MCP_CAN_lib by @coryjfowler"
but no luck. please help! Thanks.

from arduino_can_bus_mcp2515.

coryjfowler avatar coryjfowler commented on May 30, 2024

I suspect the chip select pin on the shield is not at the default position for the library, this can be changed in the sketch to accommodate the shield. I cannot access robotdyn[dot]com at the moment, so I can't see what the shield looks like and suggest the correct pin for the chip select.

from arduino_can_bus_mcp2515.

Ashok12698 avatar Ashok12698 commented on May 30, 2024

Hi @coryjfowler , Thanks for your comment.
I guess, 'robotdyn' stopped its production but some information you can see on here. http://useshop.co.kr/shop/item/5355132/
This shows the CS pin 10 as shown on the backside of the board in this link.
I tested it with CS_Pin(10) but it gives me same result. Could you please share a basic test code to check this, if any?
Thanks.

from arduino_can_bus_mcp2515.

coryjfowler avatar coryjfowler commented on May 30, 2024

The loopback example is the basic test. At this point assuming we are still using an Uno or similar where the SPI pins appear at both 11-13 and ISCP header, then I would suspect that the shield has a clone or fraudulent part that does not function as we and the library expect it.

from arduino_can_bus_mcp2515.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.