Closed hardfau1t closed 4 years ago
also i am little confused why it needs modes, because clearly f7 doesn't has any modes, can run it on any clock speed.
now getting expected clock after introduction of delay. in delay some values are hard-coded like fall time and rise time, analog filter delay is kind of hard-coded. ie T_af is dependent on device, but generally used 70ns if it is active.
EDIT: having some problems at lower frequency of system clock. soon will complete
i used cheap logic analyzer. result may vary slightly on CRO. higher % of error on high clocks due to tsync time which i ignored it for simplicity. i will add it soon (WIP) also optional duty cycle option is WIP requesting for reviews
solves: #71