Ideally, I would want two Analog mux components to toggle between Tx and Rx connections each (40 Tx and 40 Rx connections). The matrix button feature allows for a maximum of a 5x5 setup but using a multiplexer would allow me to toggle between the Tx and Rx connections. Is there any way to do this in PSoC6?
Could you please elaborate your request ? PSoC6 has 2 AMuxbus resources connected across the GPIO pins. So if you want to to toggle them dynamically this should be possible. Which is the part you are using ?
My idea was to use two 40x1 multiplexers that would operate on their two respective independent AMuxBus lines but configuring two multiplexers like that gives me an "Analog Routing error." How can I use two multiplexers like that at the same time? I am just a bit confused about how to set these up to not get a routing error. Please ignore the labelling of the input signals to both the muxes for now.
As the device have 2 Amuxbus routing resource, you should make sure that none of the other resources are using it. Here the capsense should be using the Amuxbus , resulting in the routing error. You can disable the other blocks and see if the programming build proceeds analog routing step confirm that. Additionally I am expecting the part you are using to have 82 GPIO pins available to be connected.