Im wiring up a STM32L4R5QII6 and am not sure what to do with the OPAMP1_VINM pin. Pin PA7 can be configured as either the OPAMP2_VINM function or the SPI1_MOSI function. The latter is needed so that takes care of that one easy.
PIN PA1 has the function to be OPAMP1_VINM or ADC1_IN6. According to the reference guide, the opamp can be disabled. If we were to disable the opamp what would the proper thing to do with the input be? I've read that for unused opamps you should terminate them properly like configuring them as a follower. Is this the same for a disabled opamp? Im not entirely sure what that means, do they become unpowered? I haven't been able to find anything in the datasheet or the reference guide that helps me.
If we were to configure this pin as ADC1_IN6, should this pin be grounded. Looking at this post I believe I should but it also says there are some pins that may not need to be. Again, cant find much information on these pins. We also are not planning to use the ADC so I think we can leave these floating.
Reference guide: https://www.st.com/resource/en/reference_manual/dm00310109-stm32l4-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf