I have following setup: UNO -> CAN Shield -> CAN BUS -> CAN Shield -> UNO Can shield is using MCP2515 chip and it comunicates via SPI with Arduino board. It's this one http://www.amazon.co.uk/MCP2515-Module-TJA1050-receiver-controller/dp/B00SKGHD2E CAN BUS is in fact just two wires.
I've used some libraries found on Google (mostly some libraries from github). E.g. this one: https://github.com/reeedstudio/CAN_BUS_Shield and some others, but i guess it was just older versions of this one. I've run examples from libraries. On first UNO board it was send example, on second it was receive (with intertupt, and also with check). But none of them worked.
Initialization went OK, even in debug mode there was no error. I've checkd CAN BUS on osciloscope. It seems that on CAN BUS is some traffic. But it was just zeroes with stuffed ones, so no useful data and it was sent repeatedly as fast as it was possible. As far as i know this shoudn't be happening on CAN BUS. But still, receiving part should at least receive message from ID 0 with zeroes and write it to serial, which wasn't happening.
What can I do to make this work, I have no idea what steps should i make next. It just doesn't work and I don't even know why. Any help apreciated, thanks.