I'm working with the FRDM-K64F and the cmp_polling driver example provided with the SDK (ver 2.4.2) . The example works perfectly as is, but i'm trying to reconfigure the example to use CMP1_IN3 and have been unsuccessful.
It's my understanding this is a default port and it's first come/first serve on the mode of operation (i.e. DAC0_OUT/CMP1_IN3/ADC0_SE23). That said, all I've done to the example is modify pin_mux.c with the PIN_TOOL to remove the initial configuration of PTC7 as CMP0_IN1. Then, i just changed the define statement to point to CMP1, channel 3.
Are there some additional configurations that need to set for this particular input to work?
To me, the datasheets and reference manuals are unclear in what they mean by a single pin having the functions DAC0_OUT/CMP1_IN3/ADC0_SE23.