mixed mode pins. | Cypress Semiconductor
mixed mode pins.
I am trying to design some flexible I/O, for example a pin could be configured at runtime to be a input, output, PWM or ADC. In the pin datasheet it states:
"An analog Pins component may also support digital input or output connections, or both, as well
as bidirectional connections. It is possible to short together digital output and analog signals on
the same pin. This can be useful in some applications; however, it is an advanced topic and
should be used with care."
This seems to indicate this is possible, but when I tried to hook up a port of pins that configured as both analog and digital to an Analog Hardware Multiplexer, I get the following error:
"mpr.M0098:Signal "Port4_0 is expected to connect to an analog pin but instead connect to Port_4(0). Please fix the connection."
Am I going about this the wrong way? Is there more documentation about the "advanced topic" of having a pin be both digital and analog?