STM32 ADC MULTI CHANNEL without DMA || HAL || Poll

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Комментарии
Автор

First of all, thank you.
There are a lot of STM32 related YouTube broadcasts, but it was hard to see normal movements.
So I think this YouTube broadcast is the best.

OKOK-emgb
Автор

3:30 why to remove the automatic configuration that STM32 does in the being of the program execution? That kind gets undone as soon as I regenerate the code.

eduardojreis
Автор

I was also having problems using dma and doing things in my while loop. DMA will just take over. I could not even end the dma or the adc or the adc in my while loop. So, yes, it was not even getting to the while loop.

For polling with multiple channels I start the conversion once and the software converts the 3 channels in a sequence. I only have to poll the EOC bit then save the data for each of the 3 conversions.. I only do the setup of the channels once.

I am using a nucleo32 board with STM32L412KB chip. It is the size of an arduino nano footprint but runs at 80MHz and has 40Kbytes of ram, and I think 128Kbytes of ROM, crazy specs compared to AVR 328p.

Thank you for your videos. I think this is the best channel on the stm32 on youtube.

noweare
Автор

I am using stm32f030k6t6, the adc configuration mode is different, whatever i done to read a joystick module to control 2 servos it ends with failure, I hope you make a video to explain how to configure it 😢

coolchriss
Автор

Note that the maximum ADC clock is 36 MHz, refer to the datasheet of your microcontroller.

mortezamaghrebi
Автор

Yeah! It's alive, thanks brother!

edvinass
Автор

Thank you so much for this! I have a question, how can you call the HAL functions in drop down menu like in @6:13 when you're halfway through typing the name? Would be a great help!

Timkaasjager
Автор

hi, thanks for the video. I got it working on my blackpill but getting big fluctuations in the live expressions. I am trying to run three voltage meters on a single adc channel w a touch gfx display and the progress bars keep flikering. how to keep the input steady?

guumballl
Автор

why have you set the different Sampling Time for each channel, could I possible choose the same sampling time

tienleminh
Автор

Hey, which Nucleo board is the best among,
F446, L476, L496
And, which is the best cortex m7 board under a budget of $50.
Can you also suggest some discovery board

finnyphilipbiju
Автор

hi, iam facing issue with this, kindly review it, in the debugging, i have seen that initially the LD2 led is on but after the function MX_USB_HOST_Init(), it goes off, i also tried to manually make the pc0 to reset and now the led becomes on again after off, but my breakpoint at application ready is not hitting as i plug the usb seem like it donot recognize it

tariqjameel
Автор

Hi,

I try your concept with stm32 bluepill fir adc continuous conversion without dma it run well but i am not getting the stability for adc as i am using pot for pins but it showning a variation and that is very wide i.e 3204 to 4095 so suggest what could be done here

anshbhatnagar
Автор

Is it possible to do this with interrupts?

francescoc
Автор

Thanks for your tutorial. I managed to get it working in my application, but...

Why do you modify the MX generated code so drastically (requiring to reedit the MX_ADC1_Init() function everytime you run another MX session.


Does the generated MX code not work? Why can't one rely on letting the ADC1 do the sequencing by itself properly?

kriskb
Автор

What should I do if i have 1 ADC but I need to sample 1 channel at very high speed using DMA and i only need to poll the other channels at fixed intervals I'm stuck

joshuachettiar
Автор

On Texas instrument is way easier.. i mean, you just set the adc steps and then it does what you want.. instead of relying on dma that adds additional overhead time..

AvalancheGameArt
Автор

how to trigger multiple channels by using timer without DMA

shettymalnad
Автор

Hi
I'm using stm32h743vit6 MCU. I selected ADC CH 3 and CH 7 but there is only disable option in scan conversion mode. Kindly guide me how to use ADC multi channel in stm32h743vit6 MCU

qamarhassa
Автор

Hey can i change the wait time from millisecond to microsecond in HAL_ADC_P....

joshuachettiar
Автор

Hi! I'm new to STM32. Can you do a tutorial on how to use IR sensor on STM32F1 without any ST-LINK etc?
Thank you very much!

carissalee