CANbus... on ESP32
Posted: Sat Oct 11, 2025 4:11 pm
Playing with canbus, and i got my 'trusted' ATmega328 functional on SPI via an external MCP2515/TJA1050. I have an canbus 'sniffer' setup seeing me sending a test line in a loop.
But the number of different can coded lines i want to send is much bigger than the memory of the AT. So i looked for bigger memory's and supported processors here in FC and the more modern ESP came along.
I have the ESP32 (devkitv1) working for a simple blink led. i did setup a loop sending one canbus line over SPI to external (and internal rx tx to TJA1050) and i meassure no signals at all with my occiloscoop. i have the blink led in the loop so i can see its running.
Some combinations of pins are blinking directly after reboot. Some take 5 seconds. some create to build to fail.
Anyone with a canbus project have succes using any particular setup of pins?
But the number of different can coded lines i want to send is much bigger than the memory of the AT. So i looked for bigger memory's and supported processors here in FC and the more modern ESP came along.
I have the ESP32 (devkitv1) working for a simple blink led. i did setup a loop sending one canbus line over SPI to external (and internal rx tx to TJA1050) and i meassure no signals at all with my occiloscoop. i have the blink led in the loop so i can see its running.
Some combinations of pins are blinking directly after reboot. Some take 5 seconds. some create to build to fail.
Anyone with a canbus project have succes using any particular setup of pins?