2018-07-27 03:47 AM
Hi
I am using the STM32L433 100 pin which has the internal 2.5v vref buffer for the ADC. I am getting readings, not accurate, from the adc . Looking at the data sheet the internal vrefbuf is tied directly to the VREF+ pin, and when I measure that pin it is 3v. I am doing the following to select the 2.5v, can any think of what I am doing wrong?
ADC1->CR |= 1 << 28; //enable voltage reference
VREFBUF->CSR = 0b101; //2.5v ref selected and Internal voltage reference enabled
Many Thanks
Scott
2018-08-08 02:18 PM
Sorry, can't help you bumping off my feed