pierremolinaro / acan2517

Arduino CAN driver for MCP2517FD CAN Controller (in CAN 2.0B mode)
MIT License
22 stars 10 forks source link

Usage at MCP251863 #20

Open Mirki opened 1 year ago

Mirki commented 1 year ago

Does anyone use this lib with MCP251863, what is actually a MCP2518 + Transceiver. I'am not able to send messages in Normal20B

  ACAN2517Settings settings (ACAN2517Settings::OSC_40MHz, 125 * 1000) ; 
  settings.mRequestedMode = ACAN2517Settings::Normal20B ; 
  const uint32_t errorCode = can.begin (settings, NULL) ; 

But the SPI Connection ist working.

mickeyl commented 2 months ago

@Mirki Were you able to solve your problem? I once had a MCP251863 as well, but couldn't find how to make it work with any driver code that worked with other boards due to some broken stand-by logic that was unique to my evaluation board. In theory, the MCP251863 should behave 100% identical to the 2518fd.