I am using an input capture FTM channel on the iMX7. Inconveniently it seems to initialize as an output and only switches to an input when the channel interrupt is enabled, irregardless of the CnSC setting.
On the FTM in the Kinetis platform, if the CnSC register was set to 0, then the pin would go to the GPIO state. This is the described behavior in the iMX7 reference manual too, but I haven't observed this. I guess because of the pad muxing on the iMX7, the FTM channel turns into an output instead.
Can anyone confirm this behavior?