Possible to entirely disable Carloop CAN bus?

My project involves hooking into the info bus of my vehicle, which is exposed on a different set of pins than the ones that Carloop is connected to. That’s not a problem - I got myself a CAN hitch and successfully hooked into the info bus without using the Carloop at all.

However, I’d still like to use the Carloop connector since it provides power, battery reading, etc. I hooked into the same pins and attempted to disable the CAN bus by writing this CAN disable signal, but that didn’t work and I still seem to get some signals coming from the carloop’s CAN. I later read some documentation (this and this) which seems to indicate that the “disable” signal is really putting the chip in standby mode, which doesn’t entirely shut it up (?).

Currently my wiring just connects to the same CAN pins as Carloop and then sends the standby signal in code. Of course, I could separate the parts and connect the individual pins from the carloop with some jumpers but I was hoping for a less messy solution. Thanks!

@dan,

It is hard to tell from your photo, but do you have anything from the CANhitch hooked up to the D0 pin (assuming it is the same as a Photon or Electron) of the RedbearDuo? If you do, then something from the CANhitch could be interfering with diable signal. Otherwise, it should work okay. When I receive a RedbearDuo (which is on order), then I can look into this and see if it does the same for me.

I don’t have anything hooked up to the D0 pin, but it’s a relief that you think it should work. I’ll try sending the disable signal in a loop as right now I’m only sending it in setup which could have an effect.

Okay, I did a bit of testing without the CAN hitch whatsoever, found a few things.

  1. Regardless of D0’s pin setting, some CAN messages are getting through. They may be corrupt but I’m getting 3 recurring ids.
  2. Carloop’s standby mode is opposite to that described in the documentation of the module it seems to be based off of. LOW is “normal” and HIGH is “standby”.
  3. Even in standby mode, the channel operates at 500kbps and initiating it at 33kbps breaks it in mysterious ways (in my car, the system claims the traction control module is broken).

When I get home I’m going to pull out a multimeter and make sure that my messy soldering didn’t accidentally connect pins 5 and 6. If it reads fine, then looks like what I’m going for can’t be achieved. I’ll also try it on a photon, though I’m not confident it will change anything.

Edit: Soldering’s fine.

Ended up giving up on disabling CAN and going for a more creative solution…

Flipped the relevant headers :wink: