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

was SCI delay needed? #5

Closed
nerdralph opened this issue Feb 10, 2021 · 1 comment
Closed

was SCI delay needed? #5

nerdralph opened this issue Feb 10, 2021 · 1 comment

Comments

@nerdralph
Copy link

https://github.com/wagiminator/ATtiny84-TinyCalibrator/blob/main/software/TinyCalibrator_v0.5.ino#L327

The datasheet says the minimum clock period is 220ns. I had no problems with a period of 250ns (cbi + sbi instructions on a 16MHz AVR), so I'd think that you certainly wouldn't need the delay on a t84 running at 12MHz.

@wagiminator
Copy link
Owner

Oh yes, you are right. I forgot that cbi and sbi each need two clock cycles ;-) I'll change that in the next version.

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