STM32F767's ADC buggy?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-17 2:43 AM
I've been sampling some signals using this ADC, embedded in the board NUCLEO-F767ZI but when it reaches the 113th sample, samples are taken wrongly, as I have plotted the memory and the signal shown doesn't correspond the one I am generating. Find my project attached.
Someone has faced this problem before?
Thanks in advance!! SDG
Solved! Go to Solution.
- Labels:
-
ADC
-
STM32F7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-18 12:16 AM
Hello, JW. Thank you for your answer.
I already know what was happening. I was exporting the memory from the memory debugger, using the button "Export" and selecting a certain range of memory, selecting my full adc buffer. Found out that it doesn't work if the memory debugger isn't showing the full range on screen, which is a little anoying if you have a 2350-sized vector, like me :(. After several export-reload tries for this memory range, exportation is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-17 3:41 AM
If 112 samples are OK, it's unlikely ADC itself is at fault.
How exactly do you read, store and observe the 113th sample?
Post only relevant portion of code, where you actually read data.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-17 6:27 AM
Plot the received data along with information about the signal you're generating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-18 12:16 AM
Hello, JW. Thank you for your answer.
I already know what was happening. I was exporting the memory from the memory debugger, using the button "Export" and selecting a certain range of memory, selecting my full adc buffer. Found out that it doesn't work if the memory debugger isn't showing the full range on screen, which is a little anoying if you have a 2350-sized vector, like me :(. After several export-reload tries for this memory range, exportation is correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-18 4:24 AM
Thanks for coming back with the solution. Please select your post as Best so that thread is marked as solved.
JW
