I have two different use cases for 4 lines (this could be an SPI bus or other digital signals). The goal is to manually switch all four lines between the two different use cases with just a single switch or jumper. That can be done when the device is off.
Initially I had a DIP switch for each line, but I was wondering if one or both of the following solutions would work as well? If they do, which one should be preferred for which use case? Is there an alternative I am not seeing?
Note: Since the four lines are not necessarily SPI, I can't use CS, but I am using SPI for the schematics below. Also, should it be relevant: The signal at J1 arrives through a twisted pair cable…
Variant 1 (Analog Switch eg MAX4784):
Variant 2 (Dual Bus transceiver, eg SN74AVC4T774)