I’m having an issue with the Tracker SoM that I can’t quite wrap my head around.
I am trying to use MCP_CAN to communicate over OBD, which works fine. My problem is that whenever I call can.begin it sets A4/A5 high, which would make sense if MCP_CAN were initialized with SPI instead of SPI1, but it is not.
My question, can I use the can interface without A4/A5 being set high?
Minimal code to reproduce:
MCP_CAN can(CAN_CS, MCP_CAN_SPI_INTERFACE); can.begin(MCP_SIDL, CAN_500KBPS, MCP_20MHZ);
Is there something I am missing?