Skip to main content
JHins.1
Associate
July 22, 2020
Question

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?

  • July 22, 2020
  • 1 reply
  • 612 views

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.

This topic has been closed for replies.

1 reply

JHins.1
JHins.1Author
Associate
July 22, 2020

unfortunately the code is too long to post it here :(