I'm wondering if there are any negative consequences of having an input capture pin floating as long as the input capture interrupt is not enabled. I won't be using the pin when it's in this state, I'm just wondering if this could cause problems.
Thanks
Hi,
No there i no problem if you use it in the IC mode as well as in the OC mode when no action is selected or when selected action will not affect anything. The input logic behaves on the basis of the TCTL3/4 registers setup. Read TCTL3/4 registers and TCTL1/2 registers. I can't see MCU number to be more specific but it is common feature.... you can disable capture in IC mode and action on output pin in OC mode.
Plus, please read more info for
http://www.nxp.com/docs/en/application-note/AN5207.pdf
and
http://www.nxp.com/docs/en/application-note/AN3262.pdf
search for "unused" keyword.
If this does not answer your question(s), or I have forgotten something, or if you need more assistance, please contact me again.
Best Regards, Ladislav
Sorry, I forgot to mention the MCU we are working with is the MC9S12DP512. Does that change anything?
Thank you