Skip to content
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

Timebase seems wrong #30

Open
CM630 opened this issue Jan 8, 2021 · 4 comments
Open

Timebase seems wrong #30

CM630 opened this issue Jan 8, 2021 · 4 comments

Comments

@CM630
Copy link

CM630 commented Jan 8, 2021

On DLO-138_switches_1.0.bin from 26 Feb 2017:
When the indication is 10 ms/div it is actually 5 ms/div.
So a pulse with duration 10 ms shall be displayed in a single section.
When I supply 50 Hz to the input of the oscilloscope at 10 ms I shall see 6 periods (12 section* 10 ms = 120 ms= 6 periods).
Instead, I see 3 periods only.

For example: https://github.com/ardyesp/DLO-138/raw/master/pics/pic4.png (probably made on another version of the software) shows 2 ms per division chosen, and about 1 period of 60 Hz visualized, but with the aforementioned version I see about half a period at 50 Hz.

Also, when a waveform is sent over UART, the value of „Per Sample (us):“ and „Timebase: 10 mS/div“ seem wrong, the Time column- too.
dlo138 bug timebase

@ardyesp
Copy link
Owner

ardyesp commented Aug 9, 2021

Hi @CM630 ,
I am not sure why it is showing incorrect on your hardware. You can see other images in the pics directory and the frequency and timebase are all correct.

Does it happen on 10ms timebase only?

@CM630
Copy link
Author

CM630 commented Aug 23, 2021

It happens on all timebases.
Please note:

  1. I have tested in a single channel mode (only channel A1 is enabled), I will check what happens if I enable a second channel.
  2. I have used DLO-138_switches_1.0.bin from 26 Feb 2017 which I have downloaded from github. I tried to build a new BIN file from the sources, but I did not succeed.

@ardyesp
Copy link
Owner

ardyesp commented Aug 26, 2021

I am not seeing this on my hardware. It is possible that your hardware revision changed (maybe has a faster processor).

@CM630
Copy link
Author

CM630 commented Aug 29, 2021

I have tried with all 4 channels enables - still the timebase is wrong.
I suppose that my device is not a genuine no - ther is no DSO-138 printed on it.
The processor is STM32F 103C8T6 (the "6" rather looks like "ь") 9910X RR93.
I have found some instructions how to build, probably in https://www.stm32duino.com (as it is mentioned in the readme.md), but I did not suceed, so I cannot fix myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants