-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
O-Scope does't draw a graph #13
Comments
Its been a long time since I looked at this code, but I suggest you debug by the time honoured process of sticking a Serial.println("Whatever.."); Statement in the code, and keep moving it down until it stops showing the "Whatever" on your serial console. The issue lies with the previous statement. If that calls a function, move the serial print into that function.. rinse, repeat.. until you find where the code is stopping. My gut feeling from your comment above is that the crude triggering algorithm is not working. This could indeed be DMA related. The code was originally run on Roger's core, so I have no idea if it works with the official STM core. If you are getting nowhere, let me know and I'll dig out my STM stuff and take a look. I have been meaning to get back in to the stmduino world, but currently I'm on a bit of a watch repair binge (and trying to keep on top of the gardening, since it is spring here, and all of the weeds have gone into overdrive). |
Yes, I tried to blink and log wrote to serial. Program stops on while loop when you used DMA flag and static function. Then I tested DMA exaples from Roger's core and got the same problem. So I created Issue there. |
I used newest STM32DUINO Core and downloaded your sketch compiled and uploaded it to the device via UART. Then I started the device. The grid and coordinate lines were displayed on the screen. Also on the screen were displayed inscriptions below 0.0 uS/Sample etc... But any noise or pulse signal from PB1 on my Probe.
So I've tryed to log my steps in Usart
I think program can't exit from while loop, maybe dma event does not work?
Any suggestion?
The text was updated successfully, but these errors were encountered: