ESP32 machine.CAN (CANbus)

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
mjk
Posts: 1
Joined: Tue Aug 20, 2019 5:18 pm

ESP32 machine.CAN (CANbus)

Post by mjk » Sat Aug 24, 2019 2:25 pm

I could need some advise how to get the ESP32 CAN 2.0 MAC in MicroPython (machine.CAN).

I'm new to MicroPython. So the history and the differences between the different MicroPython variants/forks is confusing to me.
What would be the easiest and what would be the best way to get MicroPython with CANBus in ESP32?

Pumbaa has seems to be outdated and quite different to normal MicroPython: https://github.com/eerimoq/pumbaa
Pycom-MicroPython seems to have CAN. I guess it is not ported to MicroPython.org because it is GPL: https://github.com/pycom/pycom-micropython-sigfox
Correct?

I tried using the Pycom module with MicroPython.org, and it looks like the main thing that needs to be rewritten is the handling of interrupts.
Do you think that would work? Is there an easier way to do it?
To be useful for the community the whole module would need to rewritten anyway, right?

Post Reply