Husky: Is it possible to start edge_counter when another signal goes high?

Hello,

I have been trying out different triggering mechanisms on the Husky and have been using the jupyter notebook (https://github.com/newaetech/chipwhisperer-jupyter/blob/master/demos/husky/02%20-%20Husky%20Triggers.ipynb ) to learn more about the different options. For a project, I want to use the edge_count trigger. However, I don’t want the Husky to start counting until another signal goes high. I included a drawing to visualize this (I want the Husky to start counting the edges where the vertical dotted pink line is in the diagram). Besides looking at the jupyter notebook, I have looked through the documentation and have not been able to see how this could be done. Is it possible to do this with the Husky?

Thanks in advance for answering my question.

You’re in luck: I just added a new feature to Husky that allows you to do just that.

This notebook explains how to do it; let me know if it’s unclear or if you run into issues.

Thank you! Can’t wait to try this out. :slight_smile:

I tried it out. I get an error message when trying to enable the sequencer “scope.trigger.sequencer_enabled = True”. I made sure that the firmware on the Husky and the chipwhisperer Python library are up to date. Do you know what may be causing this error message? Below is a screenshot of the error message. Thanks in advance for your help.

This is a very fresh feature, you’ll need to be on the develop branch to get it.