Interrupt has higher priority than delay. So the data transfer section of the transmit_it is being processed by CPU in the background, while the rest of the functions are blocked for the amount of delay time. On the other hand, the data transfer using DMA does not involve CPU. It is a kind of separate bus that handles the data flow independent of CPU
nice step by step built up of the project and explanations as to why things are happening the way they are and what happens if you change things. But WHY ON EARTH would you not define a variable accessed in an interrupt as volatile? This just begs for beginners to just copy this code and then wonder why once in every 100 loops the program does something different. It will send them on a witch hunt for this bug for possibly days or weeks -.-
Great example illustrating the difference between the normal and circular mode, helped me lot thanks!
Thank you very much. This is my favorite channel. Learning a lot.
Thank you for your video!
Muchas gracias, excelente explicación, sin rodeos, por fin pude entender como funciona el DMA
been waiting for this! Thanks
Excellent! Thanks! :)
Thanks you very much for your
Thank you very much for your efforts. :)
thank you very much!
How cpu working on hal delay and transmit_it in same time?
If it doesn't work on transmit_it what is differences between interrupt and dma?🤔🤔
Interrupt has higher priority than delay. So the data transfer section of the transmit_it is being processed by CPU in the background, while the rest of the functions are blocked for the amount of delay time.
On the other hand, the data transfer using DMA does not involve CPU. It is a kind of separate bus that handles the data flow independent of CPU
How do you transmit uart data via USB port on stm32 nucleo board?
Covered in part 1.
excelling Really
Hello you have uploaded #4 code on your website instead of #2 (interrupt and DMA) could you kindly the correct code i.e. #2 code for this website?
Thanks for informing... It's fixed now.
Tnx
How to install on macbook stmcube and setup please help me sir
CubeIDE supports macos. Just download the software from ST's site.
nice step by step built up of the project and explanations as to why things are happening the way they are and what happens if you change things.
But WHY ON EARTH would you not define a variable accessed in an interrupt as volatile? This just begs for beginners to just copy this code and then wonder why once in every 100 loops the program does something different. It will send them on a witch hunt for this bug for possibly days or weeks -.-
Your website is terrible. I can't even enter it, because it just sends me to some goofy advertisement website.
I am trying to fix that. Looks like some plugin injected malicious code in it.
Which website does it redirects to ?