Getting Started With STM32 & Nucleo Part 4: Working with ADC and DMA -
As we continue the series with STM32, let’s take a look at how to use the analog-to-digital converter (ADC). At first, we set up a single conversion that samples the voltage from a potentiometer and transmits the raw value over UART. We can then read this information on a serial terminal.
We run into problems, however, when we want to sample analog voltages at a much faster rate. So, we introduce the concept of direct memory access (DMA) to help pipe data from the ADC (or any other peripheral) to memory.
We can also use the DMA controller the other way, too. We start by showing an example of reading a large buffer of test data out over UART via DMA. From there, we build a quick demo of filling a circular buffer with ADC readings with the DMA controller. We’ll simply peek at the buffer contents in the STM32CubeIDE debugger to show how the DMA can act without CPU intervention.
WRITTEN TUTORIAL
If you would like to see the steps performed in this video in written form along with the code, please see the tuto
1 view
302
79
3 months ago 00:02:46 1
Star Wars Outlaws: Official Story Trailer
3 months ago 01:02:56 1
Brotherhood | 1 hour handpan music | Malte Marten & Johann Immanuel
3 months ago 00:07:47 1
AliExpress Alternatives: Discover the Best Dropshipping Suppliers Today!
3 months ago 00:07:51 1
Shopify Dropshipping Suppliers You Need In 2024
3 months ago 00:02:08 1
City Hunter | Official Trailer | Netflix
3 months ago 11:54:58 1
Positive Vibes Music 🍂 Chill morning songs to start your day ~ English songs chill vibes playlist
3 months ago 00:15:56 1
Learn to fight with the Greatsword! A tutorial on Figueyredo’s simple rules 1-16
3 months ago 00:14:33 1
UNTHINKABLE: US Threatens Chinese Banks As China DUMPS More Dollars For Gold
3 months ago 00:00:41 1
#drawingpencil #learningsketch #5minutedrawing
3 months ago 00:04:07 1
Little Mix - Power (Official Video) ft. Stormzy
3 months ago 00:26:08 1
WIM HOF Guided Breathing Meditation - 40 Breaths 4 Rounds Normal Pace | Up to 1:45min
3 months ago 00:10:01 1
How To Find Winning Products For Dropshipping In 2024 (Full Guide)
3 months ago 00:05:33 1
How to Make Discord Reactive Images - Easy VTube Tutorial
3 months ago 00:00:10 1
Yip yip! Get ready, Avatar: The Last Airbender is coming to Fortnite.
3 months ago 00:01:23 1
Amber Isle - Announcement Trailer
3 months ago 00:05:14 1
Love Theme from Romeo and Juliet - Joslin - Henri Mancini, Nino Rota
3 months ago 00:24:49 1
ANGELINA JORDAN 10 Years In The Making
3 months ago 00:03:07 1
보이프렌드(BOYFRIEND) - Boyfriend Music Video
3 months ago 00:03:09 1
Ekoh x Lø Spirit- GOOD THINGS
3 months ago 00:03:20 7
J-Five ft Charlie Chaplin Modern Times (2004) HD
3 months ago 00:08:39 1
Полезная ссылка. Можно еще и заработать!
3 months ago 00:01:00 1
Нужен совет!!!
3 months ago 02:01:06 1
Workout Music Mix 2024 | Fitness & Gym Motivation
3 months ago 00:08:46 1
All Chinese Pinyin Finals | Chinese Pronunciation Tutorial