I am trying to implement a polarised resistance measurement using a PSoC4245 (CY8CKIT-049-4200)
I have successfully implemented a single channel measurement implementation.
I use an IDAC as current source, and a ADC to measure the voltage the IDAC outputs.
I am using an differential AMUX, where I connect one input to a pin, which is connected to ground. I haven't found a programmable analog ground source, therefore using an external pin to ground. The other input of the AMUX goes to the IDAC/ADC combination, and the output go to pins where I wish to measure.
So far, this works fine. However, when I try to configure multiple channels, it fails,
I have tried to select the channel first, then the polarity, then the "Generate Application" function optimises out the channel selection, therefore making it impossible to select a channel.
Info: pft.M0106: AMux component (AMux_Sel) has been optimized out of the design and will not do anything.
I have tried to select the polarity first, then the channel, then it fails to generate the application, complaining about it is not possible to hook up the muxes like this.
Net "Net_180" is connected to analog mux "AMux_Channel_CYAMUXSIDE_A" and analog mux "AMux_Polarisation_CYAMUXSIDE_A", but it may connect to only one analog mux when it is an analog mux common connection