I wonder if I can use SDA/SCL pins in lieu of CP2112? (for DJI Drone batteries)

I just watched this video about how to revive and/or review status of DJI batteries. I'd like to get that functionality, and it seems like it ought to be simple enough to just use the SDA/SCL pins on an arduino or similar microcontroller. Is there something special about CP2112 that you have to use that particular module here?
I also have a Silicom Labs JTAG/C2 debug adapter that I bought for a client project but never wound up using (or learning to use). I wonder if that's an option?

Can you maybe précis the video?

The Datasheet for the CP2112 specifically states I2C, so I would think it should work. However, the CP2112 seems to be 3.3V whereas the Arduino you are using may be 5V. See page 17 of the CP2112 datasheet for their suggested connections.

I correct myself. The datasheet says voltages between 3 and 5 are acceptable. I just did a quick review and didn't immediately find the specific I2C address to use. If you can't find it in the datasheet either, you could use an I2C scanner to automatically detect it for you.

1 Like

It looks like the author of the video provides an executable Windows application. That obviously interacts with the CP2112 board in some way. A quick look at what the CP2112 is on the Silicon Labs website says that it is a USB to SMBus/I2C bridge.

You would need to know what the Windows application is sending and receiving over the I2C bus in order to replicate the functionality on an Arduino board. The author doesn't seem to supply any source code.

You might find this forum discussion useful:

You would also need to determine what voltage level the logic circuits are using - is it 5V or 3.3V.

1 Like

DJI's "intellegent" batteries use I2C to communicate all sorts of battery data. If anything unusual happens to the battery it will flag it and software prevents it from running again. CP2112 module along with a program is used to access that battery info and reset it if desired.
I was wondering if there is an alternative module to cp2112.

thanks! that WAS interesting but way above my pay grade! :slight_smile: Maybe its worth it to just buy the CP2112. Is that module useful for anything else? Clearly I'm trying to convince myself.

The only thing that comes to mind is an I2C bus sniffer, but I don't know off the top of my head if the CP2112 supports that feature.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.