If I had to guess, perhaps the buffer circuit is going onto latch-up due to ESD spikes, which is then locking the open drain to conduct, which is why you’re seeing a LOW output.
When in doubt, I suppose you can tack on more decoupling capacitors nearby the buffer’s Vcc.
litchralee@sh.itjust.works 1 day ago
For your edit #2, can you post a schematic of the relevant part of the circuit? It’s a bit hard to imagine how things are arranged, especially where your pull up resistor at the output of the buffer is.
avidamoeba@lemmy.ca 17 hours ago
Image
This is my attempt at a diagram of it. There’s 3 connectors, bike computer PAS, Bafang PAS torque sensor, DC barrel (battery). There’s a Recom DC-DC with built-in wire leads. There’s a breakout board on which I’ve soldered the buffer. All lines are short, thin wires, 1-4cm in length. As far as I know, there’s a pull-up resistors inside the bike computer on its inputs. I can see the values going high when I disconnect the cable from it (there’s debug screen on the computer that shows the input values). When assembled it becomes a part of a cable. I’m using heavy duty heat shrink tubing for structure. I have one of these working on another bike without issues for a while now. The components in the adapter are the same, but the bike motor and controller are slightly different, so there could be differences in what noise there’s in the system.
Yesterday I replaced the Nexperia IC for a TI which I had on hand, no capacitors still (on order). The TI worked well during a test for an hour. Then it stopped working at LOW, just like the Nexperia. Is it possible for these events to be damaging the IC? I feel like the new chips last a little longer, then they stop working much faster after recovery.
avidamoeba@lemmy.ca 4 hours ago
Retested with a brand new TI IC and an external battery. It died again. Perhaps the issues are coming through the input/output lines. I finally threw in the towel and implemented it using a Trinket M0. Seems to work for now. Will do more testing.