Closed NicoHood closed 8 years ago
I know that discussion for using an 8mhz processor wasn't going to happen without timing tricks so are you saying that we want to run the read loop multiple times to make sure we don't miss anything between controller cycles? Or is this a solution to a different aspect of the issue.
I can imagine of 3 solutions:
That was the idea, it should be possible, but i never looked into that. I also did not test the n64 code any further, someone should really do this. Hmm maybe me as well.
Feel free to post suggestions.
In am going to close this issue, since 16mhz is far enough and nobody uses 20mhz. 8 MHz would require some special tricks, mentioned above, which I do not plan to implement. Even Attinys can run at 16mhz with internal PLL so I see no reason to get 8MHz running. A hardcoded per pin implementation would suit better then. And since the code is well documented everyone can implement this if desired.
For 8mhz repeat the reading loop 3 times to speed thing up (dont use the jump). For 20mhz just add more nops.