I'm trying to control a MAX383 analog switch using a Raspberry Pi, through an optocoupler (Sharp PC817), to separate digital logic from the analog section.
On the analog side, I will have a bipolar supply (+6, -6V) from a TLE2426 rail splitter.
I want to connect the positive rail to the logic pin on the MAX383, through the optocoupler which would source current to the pin. If my logic is correct, I will also need a pull-down resistor (I assume somewhere in the 100k range would be ok), from the pin to ground.
Question is: do I need to add a current limiting resistor somewhere in there? From the datasheet I see it needs min 2.4V to register a logic high, but there's not max specified, so I assume 6V from the power rail is OK. However, it does state max current to be 1uA.