I don't understand how can I enable/disable the 6N137 optocoupler, because in the datasheet a negative current is shown. Is that a mistake in the sheet?
It states that the low/high voltages are positive: 0..0.8 and 2..VCC respectively, but the high/low enable current is negative.
Just to state that I blew up one charger the last time I was trying to enable it with the pin (with a resistor of 10 kΩ connected to VCC, just for experimenting). I know that it's enabled by default and that connecting it to GND will disable it. Also, it seems to consume less power when its explicitly enabled, so at least for that it was worth it.
I can't be sure that this was the cause of the blast, but the optocoupler stopped working after that (only the output side where the enable/disable pin is; the input LED still conducts).