Hi timolappalainen!
First of all - thank you very much for these libraries for Arduino.
I have a project currently where I use an ESP8266 connected with the MCP2515 shield.
I am using the ActisenceSenderListener example and the NMEA Simulator to try and output NMEA2000 packets on can-bus.
I have not connected any bus to the H / L pins of the MCP2515 shield yet.
When I start the firmware I can see the first sentences goes fine but then all following messages fails...
See my console log...
Any idea what is going wrong? Is the library compatible with ESP8266? I'm not using interrupt for the MCP2515 as I am only sending data. CS is software controlled on GPIO15 on the ESP8266 CLK, MISO, MOSI is connected to the recommended perip pins.
0x2d
csum 0x2d
v09f0c112
~ld
CAN device ready
Pri:6 PGN:126996 Source:13 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,47,50,53,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,35,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
Pri:6 PGN:130312 Source:17 Dest:255 Len:8 Data:0,0,0,8F,70,FF,FF,FF
Pri:6 PGN:130316 Source:17 Dest:255 Len:8 Data:0,1,D,52,81,4,8C,B
Pri:6 PGN:126996 Source:13 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,47,50,53,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,35,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:17/20 send failed
Pri:6 PGN:130312 Source:17 Dest:255 Len:8 Data:0,0,0,8F,70,FF,FF,FF
PGN 130312 send failed
Pri:6 PGN:130316 Source:17 Dest:255 Len:8 Data:0,1,D,52,81,4,8C,B
PGN 130316 send failed
Pri:6 PGN:126996 Source:13 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,47,50,53,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,35,31,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:126996 Source:14 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,4C,6F,67,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,35,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:126996 Source:16 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,57,69,6E,64,20,6D,65,74,65,72,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:126996 Source:17 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,6F,75,74,73,69,64,65,20,65,6E,76,69,72,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,38,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:126996 Source:18 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,65,6E,67,69,6E,65,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:126996 Source:19 Dest:255 Len:134 Data:14,5,9A,2,4E,4D,45,41,32,30,30,30,20,73,69,6D,75,6C,61,74,6F,72,20,66,6C,75,69,64,20,6C,65,76,65,6C,0,0,31,2E,32,2E,30,2E,31,30,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,31,2E,32,2E,30,2E,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,30,39,37,31,34,36,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1
PGN 126996, frame:0/20 send failed
Pri:6 PGN:130306 Source:16 Dest:255 Len:6 Data:0,F4,1,59,C4,0
PGN 130306 send failed
Pri:6 PGN:130311 Source:16 Dest:255 Len:8 Data:0,41,97,72,78,37,F5,3
PGN 130311 send failed
Pri:6 PGN:130312 Source:17 Dest:255 Len:8 Data:0,1,4,55,73,55,73,FF
PGN 130312 send failed
Pri:6 PGN:130312 Source:17 Dest:255 Len:8 Data:0,1,4,55,73,55,73,FF
PGN 130312 send failed
BR Flemming Dahlhof Jensen