I’m trying to connect a Photon to a BMW iDrive controller over CANBUS without much success. This is the controller I’m trying to use.
I have a MCP2551 transceiver between the photon and iDrive controller. No matter what I try I am not receiving any data. The only part that needs initialising is the rotary encoder but the buttons should work without this. The controller could be running at either 100khz or 500khz and I’ve tried both without success.
Here’s the current code I’m using. Keeping it simple at the moment and just hoping to see a message count. I’ve checked the code used by carloop and apart from initialising the canbus I don’t see anything missing.
Just wanted to check if I need another controller such as a mcp2515.
Thanks for any help,