ADC HOWTO (w. DMA) – Measuring Temperature, Reference and Battery Voltage – STM32 Tutorial #42
3.6K views on YouTube
In this video you will learn how to use the STM32 ADC peripheral combined with DMA to measure analog voltages without putting any using any CPU cycles. We will be measuring the internal voltage reference, the VDDA (analog supply voltage) and the internal temperature.
The video will also discuss circular DMA buffers in some detail!
As usual if you feel you learned anything from this video, please do like and subscribe. If you did not like it I would very much like to know why in comments below, so that I can improve in future videos.
STM32World Wiki: https://stm32world.com/wiki
Wiki page about ADC w. DMA: https://stm32world.com/wiki/STM32_ADC_and_DAC_with_DMA
Project files: https://github.com/STM32World/stm32fun
#stm32 #tutorial #GettingStarted #stm32cubeide #stm32cubemx #adc #dma #stm32world #arduino
00:00 Intro
01:00 Base stm32 project setup
03:05 ADC configuration in STM32CubeMX (explaining the internal channels)
09:40 Generating and tweaking the code
15:32 Running the code – spotting an issue but ignoring for now (I’m an idiot)
18:50 Getting and calibrating values
19:05 Explaining the factory calibration
25:40 Finally forced to deal with the error spotted earlier
27:30 FINALLY figuring out what was wrong
31:50 A few thoughts on DMA circular buffers
36:00 Outtro – please like and subscribe