I am building a stereo preamplifier and will use a 14M2 for relay-based line level input control.
I would like to use a single pin for the input select control line and somehow give that pin the ability to self-determine whether it is being addressed by serial data or by a mechanical selector switch using the supply voltage and a resistor chain on the switch with the 14M2 pin reading switch position with ADC, or possibly with a button press up/down to change input.
Is there a software-only solution to test and identify the control method in use without using another pin or any other additional components? I do have one extra pin available for manual selection but I'm packing the board and with space constraints I'd like to avoid the resistor and pads required to create a jumper-based solution.
Any insights or suggestions appreciated.
I would like to use a single pin for the input select control line and somehow give that pin the ability to self-determine whether it is being addressed by serial data or by a mechanical selector switch using the supply voltage and a resistor chain on the switch with the 14M2 pin reading switch position with ADC, or possibly with a button press up/down to change input.
Is there a software-only solution to test and identify the control method in use without using another pin or any other additional components? I do have one extra pin available for manual selection but I'm packing the board and with space constraints I'd like to avoid the resistor and pads required to create a jumper-based solution.
Any insights or suggestions appreciated.