0xCAFEDECAF / VanBus

Vehicle Area Network (VAN) bus packet reader/writer for ESP8266 and ESP32
MIT License
46 stars 7 forks source link

MCP2515 SPI #10

Closed Antonzlo closed 8 months ago

Antonzlo commented 11 months ago

Hi, is there a native way to use it? Or does it require to rewrite half of the library? 🙂

0xCAFEDECAF commented 11 months ago

You mean this one: https://ww1.microchip.com/downloads/en/DeviceDoc/MCP2515-Stand-Alone-CAN-Controller-with-SPI-20001801J.pdf ? That is for CAN bus. It will not work for VAN bus because the layout of the bits is different.

Antonzlo commented 11 months ago

Okay, thanks. But 2551 works? How to know what else works?

0xCAFEDECAF commented 11 months ago

Yes, MCP2551 works. Also, the SN65HVD230 transceiver works. You could also try the Atmel TSS463/TSS461 VAN Datalink Controller, but it needs a different library which is found here: https://github.com/morcibacsi/arduino_tss463_van . They are difficult to find for sale.

0xCAFEDECAF commented 8 months ago

Long time no hear; I guess this ticket can be closed.