1
\$\begingroup\$

I would like to isolate digital serial communication between 2 circuits. I don't know much about the protocol between two circuits. It is not a common protocol such as SPI or I2C. Shortest pulses are 30μs and communication is bidirectional over a single channel/wire. I have found some such as Si860x series. https://www.silabs.com/documents/public/data-sheets/Si860x.pdf

All of such isolators are labeled as I2C isolators. But my serial communication isn't I2C. I wonder if there are any isolators for general usage or if I can use it for my application?

Background: I am trying to power my DSLR camera without the battery (but with a constant power source). But the camera verifies the battery with some serial communication. I am trying to fool the camera's circuit in which I will let the battery communicate with the camera over an isolator, while the camera is powered with another power source. For this, I think, I need a bidirectional isolator.

\$\endgroup\$
  • \$\begingroup\$ There are these magnetic isolators by Analog Devices. They also have bidirectional variants for SPI and I2C, or just plain old random digital IO. Some are extremely low power too! Do check out their ADuM iCoupler isolators. :) The only downside is, they're not very cheap. \$\endgroup\$ – Richard the Spacecat Jul 12 '18 at 8:58
  • \$\begingroup\$ Actually, that probably wasn't too helpful. To isolate a bidirectional (tristate) thing, you often would also have to have some output enable-like pin on it, and figure out the direction. However, if the battery talks over some One Wire-style protocol where there's only one or a few lines constantly pulled up and only pulled down by the master/slave, a 'dumb' I2C isolator, like the one you've linked, may possibly work there. \$\endgroup\$ – Richard the Spacecat Jul 12 '18 at 9:13
3
\$\begingroup\$

There is a very good possibility that the camera is managing the battery through the one-wire serial interface to a chip in the battery pack. These chips are commonly referred to as "battery monitors" or "gas gauge" chips. You would want to take a look at the data sheets of several of these chips to see if you can match up the protocol spec against what you see on your oscilloscope. That would be the shortest path to reverse engineering the protocol.

I am not so sure that you would really need to have an isolation. If you evaluate the camera subsystem there is a decent chance that you could share the GND between the power supply, the camera and your small control subsystem.

If it turns out that you really do need an isolator then you would have to take a close look at the one-wire physical layer interface to see what polarity it is. There are some interfaces that use a common pulldown resistance and the members on the wire use an active driver to pull the line high. Then there is the other polarity, like I2C where a common pullup resistor is used and the members on the wire use an active driver to pull the line low. The SiLabs part that you linked to is one that supports I2C and there is good chance that the part would work with a one-wire protocol that has the common pullup resistor type of polarity.

\$\endgroup\$
  • \$\begingroup\$ It is proprietary. I don't have access to any official information. I analyzed the data in between with a logic analyzer (with and without battery) but it is different every time, which may mean a cryptographic communication. The reverse engineering is therefore difficult. I asked this before here: electronics.stackexchange.com/questions/382286/… \$\endgroup\$ – Genom Jul 13 '18 at 21:44
  • \$\begingroup\$ Common ground might be a hazard too. Thanks for the input on I2C drivers. I think the members (battery and camera) pull down actively. \$\endgroup\$ – Genom Jul 13 '18 at 21:48
0
\$\begingroup\$

I don't think a bi-directional isolator is needed to run your camera, For that. it seems more like you need to forge the protocol, or just leave the battery connected to the camera and connect a constant voltage charger also at the same time.

\$\endgroup\$
  • \$\begingroup\$ Yes, I thought about that but the protocol is proprietary and each time it looks slightly different, which is for me an indication of cryptographic method. I think connecting everything together is a hazard for the camera. That is why I was thinking of using a bidirectional isolator. \$\endgroup\$ – Genom Jul 13 '18 at 21:46
  • \$\begingroup\$ what does the term "bidirectional isolator" mean to you? \$\endgroup\$ – Jasen Jul 14 '18 at 4:19
  • \$\begingroup\$ It means to me a component, which can isolate a bidirectional (where both sides of the wire transmit information on the same wire) digital serial communication. Is that wrong? I am learning electronics as a hobby. \$\endgroup\$ – Genom Jul 14 '18 at 11:25
  • \$\begingroup\$ it is unclear to me what you mean by "isolate" \$\endgroup\$ – Jasen Jul 14 '18 at 11:27
  • \$\begingroup\$ That electrically there can't be flow of current between both sides of the isolator. \$\endgroup\$ – Genom Jul 14 '18 at 11:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.