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

Can't configure trigger for edge triggering #12

Open
nexysm opened this issue Aug 14, 2022 · 2 comments
Open

Can't configure trigger for edge triggering #12

nexysm opened this issue Aug 14, 2022 · 2 comments

Comments

@nexysm
Copy link

nexysm commented Aug 14, 2022

I am using logic command in order to record a digital signal of about 19.2 kbaud and I want to set trigger in falling edge.
I tried this:
$1.50: trigger trigger 0=0xxxxxxx-1-0 st1 trigger 1=1xxxxxxx-0-1 st2

logic doesn't capture anything.
I also tried to reverse the logic:
$1.50: trigger trigger 0=1xxxxxxx-1-0 st1 trigger 1=0xxxxxxx-0-1 st2

Also, no 0 catches samples.

$1.50: trigger trigger 0=0xxxxxxx-0-1 st1 trigger 1=1xxxxxxx-1-0 st2

Captures the signal, but it complains about: Infinite triggers "pass" loop: 1 -> 1. In this case the digital signal is broken and not correctly shown as with the next command.

If I try with this trigger:
trigger 0=0xxxxxxx-0-0 st1
I get samples and I see the signal.

However, trigger 0=1xxxxxxx-0-0 st1 doesn't trigger logic although I would expect the same behavior as before.

@thanks4opensource
Copy link
Owner

Trigger commands must be written one per line. Your second example, if entered correctly, should trigger on a falling edge on input PB11.

$1.50: trigger 0=1xxxxxxx-1-0 st1
$1.50: trigger 1=0xxxxxxx-0-1 st2

Enter a plain trigger command to list the current trigger states and confirm that they're what you want.

@nexysm
Copy link
Author

nexysm commented Aug 19, 2022

For some reason, the text is shown in a single line, but I copied the output from a plain trigger.
THe first and the second cases doesn't capture anything. Only the third one.

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