exactly WiFive like jeroen spoke that esp32 CAN is compatible with SJA 1000 so i would try this.WiFive wrote:I don't think you need to know about AMBA.
Did you try assuming register set is approx same as SJA1000?
http://lxr.free-electrons.com/source/dr ... /sja1000.h
i compare and try with this too
ftp://builder.ics.p.lodz.pl/PLD/3.0/pac ... /sja1000.h
and OrtCAN - Open (Ocera) RT CAN Framework
https://sourceforge.net/p/ortcan/lincan ... /sja1000.h
https://sourceforge.net/p/ortcan/lincan ... ican_cl2.h
and one from own doings -
so we have more sourcen.
txs for your help
a reference for a "working model" i will use parallel MCP2515 as controller and TJA 1050 as transceiver with two extra ESP32 Modul
and do step by step. think first this messaging - write value in register, read from register. simple things, then try protokoll the timing about write / read and so on. then doings in mesh with one ESP32 as CAN controller.
the plan is, a WebServer with an simple Desk APP and read CAN Data and set CAN CMD for simple things.
start with the base this week.
btw: CAN 2.0 and small infos can found here
Comparison of Event-Triggered and Time-Triggered Concepts teach & deeper
( Dipl.-Ing.Dr.techn.Roman Obermaisser SRC)