Please Watch ARM Programming Tutorials Theory in 25 Lectures Here: kzbin.info/www/bejne/nYGlpKKFmsusi80
@keukenrol6 жыл бұрын
Hi! I am currently working with an STM32F746G discovery but I am experiencing difficulties to get the audiocodec working. I would like to plug in a 3.5mm aux jack into the blue jack on the board and get the ADC values from the audiocodec to further process them. I found out that I have to use the SAI2 interface but I am kind of stuck now. If you have used it already, could you give me some advice?
@AnkitYadav-mm1tm8 жыл бұрын
Mindblowing lecture sir crystal clear all things.
@timmsagd4 жыл бұрын
Button works only once for me. All became Ok after setting -O0 optimisation for compiler in C/C++ tab.
@timmsagd4 жыл бұрын
EXTI0_IRQHandler() called two times if I press button once and compiler optimisation is higher than 0. To fix this trouble you can add "EXTI->PR |= EXTI_PR_PR0;" to clear interrupt flag.
@emblink276 жыл бұрын
It's better not to use delays while you are in EXTI15_10_IRQHandler ;)
@KGPTalkie6 жыл бұрын
Thanks for watching the video. tDelay was not the actual delay but it was a variable assignment to control the toggling frequency. Did I answer you?
@emblink276 жыл бұрын
Tnx for video, i understand what variable tDelay mean and why u use it. By delay i mean for cycle that making some delay for button bouncing , it's not very good practise to use delays in IRQ, i was loking for some bouncing function without delays. If you have such video i would like to see it, tnx.