2020-09-09 09:56 AM
I have configured STM32h743ZI with below Settings:
ADC1 with trigger set to tim1 update event
DMA to transfer from ADC to memory
Disabled continuous conversion
Problem:
I want the ADC to sample every 50us (TIM1 configured to 50us)
but conversion starts with first event and then continuously happening without timer event
Solved! Go to Solution.
2020-09-13 09:35 AM
thank you guys
i found the problem through this post: https://community.st.com/s/question/0D50X00009XkYS5/i-cant-make-timer-stop-while-debuging
Problem: Timer was not halted while i am debugging
2020-09-09 10:16 AM
> continuously happening without timer event
How do you know?
Read out and check/post content of ADC registers.
JW
2020-09-09 10:24 AM
i kept break point in timer event and in transfer complete callback
so the break point in transfer complete callback gets hit continuously
2020-09-09 12:02 PM
Really hard to provide useful feedback without many details.
Even if the ADC is running continuously as you claim, the timer event should still happen.
One possibility is that the CPU is swamped.
2020-09-09 12:24 PM
Read out and check/post content of ADC registers.
> Even if the ADC is running continuously as you claim, the timer event should still happen.
Indeed.
JW
2020-09-13 09:35 AM
thank you guys
i found the problem through this post: https://community.st.com/s/question/0D50X00009XkYS5/i-cant-make-timer-stop-while-debuging
Problem: Timer was not halted while i am debugging