AnsweredAssumed Answered

Need help with simple 3-channel ADC reading

Question asked by Jim Seymour on Jul 17, 2015
Latest reply on Jul 17, 2015 by Clive One
I'm new to the STM32 and am trying to read three ADC channels on an F0 part.  I've used the STM32CubeMX utility to configure my hardware and then have looked over some of the ADC examples in the STM32Cube_FW_F0_V1.2.0 package.

However, I've not seen a simple example that shows how to read three channels.  I don't need fast access.  I don't need DMA.  I just need to read all three pins in a loop that's going to execute perhaps once every 100 milliseconds.

Can someone help point me to some sample code?

I tried using the ADC_DMA_Transfer example, but it seems that I only get one reading (not all three).  I must be missing something simple.