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

Parasit pulse on reset when Scaffold is initialized with init_ios=False #24

Open
mmouchous-ledger opened this issue Oct 16, 2024 · 0 comments

Comments

@mmouchous-ledger
Copy link
Member

A parasit pulse is observed when the trigger output of I2C command is set as the input of a PGEN, and the Scaffold has been initialized with the init_ios option not set to True.

Code like:

        scaffold = Scaffold()
        scaffold.i2c.trigger >> self.scaffold.d2
        pgen = self.scaffold.pgen0
        pgen.start << self.scaffold.d2
        pgen.count = 1
        pgen.delay = pgen.delay_min
        pgen.width = 5e-6
        pgen.out >> self.scaffold.d3
        scaffold.power.restart_dut()
        scaffold.i2c.write(b"abc", trigger=True)

Makes two pulses to appear at some times.

        scaffold = Scaffold(init_ios=True)

Makes only one pulse to appear.

It may also not appear on real first execution of the script (eg with hard reset of the scaffold with the physical button)

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

1 participant