Which pins can I use as ADC in B-L072Z-LRWAN1 board?
Hi everyone!
I need to have several pins acting as ADCs to get data from different analog sensors connected at the same time. In board's datasheet I see that this board has 1 ADC with multiple channels (12 channels to be precise).
The problem is that CubeMx provides the following ADC channels (channel - pin):
IN0 - PA0
IN1 - PA1
IN2 - PA2
IN3 - PA3
IN4 - PA4
IN5 - PA5
IN6 - PA6
IN7 - PA7
IN8 - PB0
IN9 - PB1
IN10 - PC0
IN11 - PC1
IN12 - PC2
IN0, IN4 and IN5 are working perfectly.
IN2 and IN3 are used by other components so do not work properly.
The rest of the pins are not in the board as you can see here:
https://os.mbed.com/platforms/ST-Discovery-LRWAN1/#board-pinout
What am I missing?
EDIT:
Should I use a multiplexer instead of using multiple ADC channels?