GithubHelp home page GithubHelp logo

Comments (6)

kentindell avatar kentindell commented on July 20, 2024 1

Fabulous! I am always very pleased to see CANHack hardware working!

from canhack.

kentindell avatar kentindell commented on July 20, 2024

I'm currently updating the MicroPython firmware to add in a CAN framework (for our new MCP2518 board) and it touches the rp2 MicroPython port in a lot of places (GPIO IRQ interfacing - the RP2040 shares a single vector for all its ISRs, and is intricately enmeshed with the machine.Pin class).

When I release that I'll work out the best way to make it all available. Still not sure what the best way is.

from canhack.

hartkopp avatar hartkopp commented on July 20, 2024

Ok, that's a valid reason for me to start with the binary first ;-)
At least creating a MicroPython fork in your account for your development process would probably be a good starting point :-D
Many thanks for your fast reply!

from canhack.

hartkopp avatar hartkopp commented on July 20, 2024

Btw. assigning CAN TX and CAN RX to the pins 29 and 27 was an excellent choice!

canhack-pico-front-small
canhack-pico-back-small

I got the 00000100#DEADBEEF frame on my other CAN interface - so at least the TX line was connected correctly. I assume the same for the RX line but I don't have the logic analyzer at my fingertips right now. Really cool project!

from canhack.

kentindell avatar kentindell commented on July 20, 2024

I've got the MicroPython MCP2518 CAN drivers pretty much written now, but it required quite some surgery in the guts of the Pico SDK and MicroPython due to the way the XIP flash memory subsystem works. I've written it up one of the major issues here:

https://kentindell.github.io/2021/03/05/pico-priority-inversion/

I think the upstream MicroPython is now the official one, so I shall rebase everything to that. I should be able to drop a patch into this repo that will apply to the official MicroPython repo and allow the firmware to be built from scratch.

from canhack.

hartkopp avatar hartkopp commented on July 20, 2024

Exellent!! Looking forward to it!

from canhack.

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.