cancel
Showing results for 
Search instead for 
Did you mean: 

analog setting for digital pins

lanchon
Associate III
Posted on March 28, 2008 at 22:47

analog setting for digital pins

2 REPLIES 2
lanchon
Associate III
Posted on May 17, 2011 at 12:27

hi,

i don't think there's anything to prevent setting digital pins as analog inputs. would that turn the schmitt-trigger input buffer off and render the pin insensitive to voltage? (ie: solve the what-to-do-with-N/C-pins issue?)

lanchon
Associate III
Posted on May 17, 2011 at 12:27

from the ref man (5.3.1 Using OSC32_IN/OSC32_OUT pins as GPIO ports PC14/PC15):

''Note: 1 The PC14/PC15 GPIO functionality is lost when the 1.8 V domain is powered off (by entering standby mode) or when the backup domain is supplied by VBAT (VDD no more supplied). In this case the IOs are set in analog input mode.''

analog input mode? but PC14/15 are not analog pins; maybe digital pins can be safely set to analog to turn of the schmitt-trigger?