I want to connect a microcontroller with two CAN channels to three different CAN networks, selected via code. Effectively, I want to multiplex my CAN transceivers.
For CAN1, I use the TI SN65HVD232. For my second channel, I want to use HS-CAN with an SN65HVD232 or SW-CAN with the NCV7356 from ON Semi (TI doesn't offer SW-CAN transceivers).
What is the best way to multiplex these transceivers from a hardware standpoint? Do I just use a switch for CANH and CANL (and if so, which switch could I use)? Or would I just turn one transceiver off and only have one operational at a time? Ideally, I would like to be able to switch the selected network on and off without cycling power to the microcontroller.
In the past, I looked at using the TS3A24157 as a switch, but I never managed to get it to work (could be too lossy, too slow for 250kbps, or maybe my code was just wrong). I'd appreciate hearing how you would design such a network from a clean slate. I have limited access to test equipment, so while the last time I posted I received a very helpful response about 'scoping the delay, it's much more feasible for me to implement what someone else has already tested.
Thoughts, part numbers, and especially diagrams are appreciated!