Is there a way to know how to do ADC sampling I tried to do something similar but the signal is lost and it is distorted a lot, will you have any suggestion to replicate something similar of your project ?
Thank you! It was very usefull alhorithm to set hex-file generation until I closed my project, and then opened it again. Despite the fact that all necessary options have been selected (according items 4 & 5), project building creates *.hex.asm — file which contains two words: "; Disassembled code". There are no code errors (when build project), but working *.hex — file is absent. Please, help me to solve the problem!
Im using passive buzzer, everything is ok but buzzer sound is very very low, all i hear is clock tick sound. Then i check with another pwm input, it works fine. Is there anything i have to change? Im using official Nucleo f103rb
Replying to my previous comment — it was the ADC Continuous Conversion mode. I believe this should be disabled as we want the timer to initiate each conversion.Thats what worked for me.Cheers
Great tutorial, however i am having some issues with the timer:> SYSCLK/APB1/APB2 = 25MHz> PSC = 5000-1> AutoReloadReg 25000-1> No internal clock division> Auto-Reload Preload = FALSEThis is for 5000ms ADC conversion period.It seems to wait for 5s before executing the first ADC conversion, however then ADC conversion executes continuously.Do i have to explicitly reset the timer somewhere?Why is auto-reload preload set to false? (i tried enabling this however it has the same result)
Great. Thanks!
Is there a way to know how to do ADC sampling I tried to do something similar but the signal is lost and it is distorted a lot, will you have any suggestion to replicate something similar of your project ?
I would say up to ~700 kHz, if we talk about rectangular signal.
See the PWM-signal (50% duty cycle) chapter for more details with tests 10 Hz to 1 MHz.
What is maximum frequency it can measure accurately ?
Thank you! It was very usefull alhorithm to set hex-file generation until I closed my project, and then opened it again. Despite the fact that all necessary options have been selected (according items 4 & 5), project building creates *.hex.asm — file which contains two words: "; Disassembled code". There are no code errors (when build project), but working *.hex — file is absent. Please, help me to solve the problem!
Firstly open Device Manager (Win + R -> devmgmt.msc -> Enter) and check that your Serial Port is identified by the system.
If it's visible then check if any other software use it (like Terminal/Arduino IDE) and close it, because COM port cannot be shared.
Next part is already available: https://refcircuit.com/articles/16-hs402-wifi-android-oscilloscope-esp32-stm32.html
Very good,.waiting for next part.