Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Car: Volvo C30 2009 (P1 platform) (2 CAN bus lines) CAN bus line of interest: Low Speed (125KBPS), extended frame MCU Hardware: Arduino Nano CAN bus Hardware: nameless TJA1050 + MCP2515 8MHz board Software: github/adamtheone/canDrive [Link]
(2) Make sure the SPI clock frequency is at the maximum of 8Mhz (SPI.setClockDivider(2) = 8Mhz) (3) Use hardware filtering just for a single CAN bus ID, this reduces the I/O activity and allows the MCP2515 to just react to the data you need. (4) Try using this library & example https://github.com/coryjfowler/MCP_CAN_lib/blob/master/examples/CAN_receive/CAN_receive.ino