-
Notifications
You must be signed in to change notification settings - Fork 26
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
Generate waveform to trigger external equipment for automated testing #195
Comments
Hi @FrankZyyz , and thank you for the feature request. I changed the title to hopefully clarify that you want to use this signal to trigger external equipment, not the JS220 itself. Did I understand correctly? The feature to generate digital waveforms for OUT0, OUT1, and Trigger OUT is definitely on our list. We will implement this in the JS220 FPGA to give microsecond accuracy and precision. However, we have not figured out the details of the feature. What you described is a PWM waveform, which it will certainly support. We do not have a timeframe for this feature yet, unfortunately. While you could implement this using host-side python, the precision will not be great. Getting a Windows, macOS, or Linux computer to do anything with millisecond precision is a losing battle. In the meantime, perhaps you can use a Raspberry PI Pico to generate this waveform? Here is the quick PWM reference. You can also check out the JS220 Evaluation Kit 1 firmware. It starts with a comment about the ways to control digital signals:
What do you think? |
@mliberty1 Thank you for your reply. And thanks for your warn about OS precision and MicroPython solution. |
Partially done. 1.1.6 now has the Trigger widget, which you can use to detection conditions and take actions, such as drive a GPO. However, it does not yet have the ability to generate a PWM signal using the JS220 FPGA. |
Joulescope model
JS220
UI version
1.0.22
Your idea
JS220 has OUT0 and OUT1, now it only can be set by mouse click the joulescope_ui button.
I would like OUT0 can output a waveform like HIGH for 200ms, LOW for 1000ms, repeat for 1000 times,
Above function can help to setup some automated testing with my device.(battery test or something else).
In fact, I already saw this in features_future.md.
I would like to get some hints about how to adjust joulescope_ui code and call some module to create this waveform.
(Like create a thread and set the timing, control the OUT0/OUT1 status.)
Thanks.
Does your idea concern a specific OS?
No response
The text was updated successfully, but these errors were encountered: