2020-07-22 05:02 AM
In this post: https://community.st.com/s/question/0D50X00009XkYXZSA3/adc-with-dma-triggered-by-adc-watchdog-signal-peak-recording
John Graven posted his Code which I took and changed it a bit for my purpose. Unfortunately my Buffer adc_buf and my variable for storing the analog value isn't filled at all.
This is my main.c:
https://docs.google.com/document/d/1ZtZctnhQntjwHBtFVHU-4smgvNHIxBONOpzLEwjVvy4/edit?usp=sharing
I would really appreciate if someone could check my Code and tell me whats wrong.
Thanks a lot!!
Best regards, Hinsi.
2020-07-22 05:05 AM
unfortunately the code is too long to post it here :(