2022-04-29 09:07 AM
2022-04-29 10:55 AM
Yes you can. CubeMX won't let you set a configuration which won't work. The little yellow "warnings" are letting you know that some things can't be enabled. Hover over them to learn more.
2022-04-29 11:41 AM
Ah that makes sense. So the Cube software is saying that not all ADC inputs can be used because I have configured the DAC output. Thank you for the reply, most appreciated.
2022-04-29 11:42 AM
2022-04-29 02:07 PM
I don't get it.
Why would DAC output on PA4 in any way disable ADC input from PA2?
JW
2022-04-30 08:16 AM
I was concerned that once you select the peripheral module, it doesn't allow you to multiplex individual pins for other functions. So you either use the ADC and all associated inputs or the other functions, but not both. It looks like I am wrong and you can, the cube software is just indicating a partial problem.
2022-05-01 07:18 PM
Maybe because adc can support differential input using pair of pins and with pin selection, this option has restrictions.... nothing to worry abouy.