Timeline for STM32 ADC reference voltage
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 16, 2017 at 16:41 | comment | added | zupazt3 | Well I use HAL to write programs, so channel is selected with "adcChannel.Channel = ADC_CHANNEL_11;", but I also don't see this in registry description. But I would not be so sure that you can select reference value, as I also don't see such field in HAL... | |
May 16, 2017 at 14:12 | comment | added | filo | Moving from an AVR to a Cortex-M7 can be a shocker. You could select the voltage reference in AVR between internal, external and AVcc. On almost every ARM it should also be possible. I've looked at the linked reference manual, but I can't even find how to select an input channel. In STM32L011 the regiter is called ADC_CHSELR, but I can't find anything like that in the reference manual. If this is a very new part then it can take some time before the manual and datasheet "stabilize". | |
May 16, 2017 at 11:45 | comment | added | zupazt3 | "you configure the ADC to use AVDD as the reference" so I can switch between VREF and AVDD as a reference for the ADC? I know how to do this on AVR, but couldn't find this option in STM32? Do you know how to do this? | |
May 16, 2017 at 11:00 | history | answered | filo | CC BY-SA 3.0 |