I have been working on a system that requires data transmission between two devices powered by separate supplies. I have based my design on the MIDI-hardware Spec, as I'm comfortable working with that configuration and have successfully implemented it in other areas.
However, I am experiencing some strange timing issues with this latest design, and can't seem to track down the problem. The screenshot below shows the Data Input (blue) and Isolated output (red). The transmission frequency has been slowed from 200kHz to 30kHz to try and assist debugging:
The high(1) and low(0) levels are as I expected, but I can't figure out where the timing issue or 'lag' is coming from. The falling part of the signal is always delayed by around 25uS.
I'm using an ACPL-247 opto-isolator. But I think the problem is more likely in the 2N3904 part of the circuit, as I've not encountered this problem in previous uses of the same opto-isolator IC. Example Circuit Below:
Thanks for reading, any advice or pointers to relevant literature will be greatly appreciated!