Wait, why does it says digital OUTPUT? It's an input pin, it was never used as an output. Even if I create a new analog pin and connect it this way, it still gives the same error.
Cannot use pin Pin_1(0) as digital HW output when it is connected to an analog HW mux.
But it's not!
I don't understand this error. It seems like a bug?
Scanning Comparator v1.10
Then I get errors like
Signal "Net_5163" is expected to connect to only one GPIO analog pin but instead it connects to "\Comp_1:ctComp\". Please fix the connection.
and when I try to double click on it, it says
The selected notice does not have an associated 'location'.
But it does have a location, it's the net on the schematic. When I double click it should highlight that net.
I think the actual problem is that I had a single GPIO connected to multiple inputs of the scanning comparator, so it internally tries to connect it to multiple inputs of the AMuxHW. The error message could be improved to clarify this?
I want to scan 3 inputs with different thresholds for each, but also use 2 different thresholds for one of them.
I agree that the error message could have been improved in this case. The actual issue is due to AmuxHW mux implementation which prevent from connecting same input to the multiple inputs. An alternative solution to resolve your problem might be to use a comparator and AMux software mux combination.
Ok. It would be nice if things like this could be built into the existing scanning comparator component. (Comparing a single GPIO input to multiple VDAC thresholds.)