2023-10-19 08:26 PM
I'm trying to use the internal op-amps of an STM32L471 to amplify a small current-sense voltage before measuring it via ADC. This figure from the relevant product training resource shows an internal arrow labelled "ADC," coming from the op-amp output. I assumed this meant the output from an internal opamp could be internally routed to the input of an ADC.
However, I can't find a way to do this, in STM32CubeIDE or in the documentation. This should be possible, right? Would appreciate any info/advice, before I have to start bodging it externally...
Cheers
Solved! Go to Solution.
2023-10-19 11:56 PM
The OPAMP output and ADC input are simply tied together on given pin:
JW
2023-10-19 11:56 PM
The OPAMP output and ADC input are simply tied together on given pin:
JW
2023-10-20 06:58 AM
As JW said, they're on the same pin. It also seems like CubeMX lets you choose to connect them with the appropriate setting (via the VOUT pin).
2023-10-22 03:23 PM
Perfect. Not sure how I missed that, thanks to both of you for the info.