Hi everybody,
I'm currently trying to write a program on a STM32F303RE that measures an analog signal. I tryed to use the code from @[John Craven] but it didn't work.
Can anybody help me?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-07-22 5: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.
Labels:
- Labels:
-
ADC
-
STM32F3 Series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-07-22 5:05 AM
unfortunately the code is too long to post it here :(
