Problem in reading ADC values using interrupts on STM32F3 Nucleo Board
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-23 2:56 AM
Hello everyone,
I am working on following application.
I need to measure average of samples read by ADC1 (Differential mode). It starts reading values when interrupt from pin PC13 (Rising edge) is detected.
It stops reading values and display the result when interrupt from pin PB5 (Falling edge) is detected.
Time between PC13 and PB5 interrupts is about 2 milliseconds.
I am using STM32CubeMX as code generator.
I am facing following problem>>>
- I am getting garbage value (nan).
I have attached my project file with this.
Expecting help / suggestion from all.
Thanks in advance.
Labels:
- Labels:
-
ADC
-
STM32F3 Series
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
