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

Add missing clock overclocked speeds #130

Closed
SpenceKonde opened this issue Aug 25, 2021 · 2 comments
Closed

Add missing clock overclocked speeds #130

SpenceKonde opened this issue Aug 25, 2021 · 2 comments
Labels
Enhancement This constitutes a new feature and future development is planned

Comments

@SpenceKonde
Copy link
Owner

Speed options should be a superset of those available to megaTinyCore, so that means we need to pull in support for 25 and 30 back into the Dx-series, since somehow those weren't ever added as options (30 makes sense - it was added when it became clear that we couldn't turn 1-series parts up to 32 MHz and expect them to have a prayer of working without an external clock). I guess I didn't do 25 because it was so close to 24.

@SpenceKonde SpenceKonde added the Enhancement This constitutes a new feature and future development is planned label Aug 25, 2021
@wa2mze
Copy link

wa2mze commented Sep 7, 2021

While 25mhz isn't that different from 24mhz in performance, 25mhz crystals and oscillators are probably easier (and cheaper) to source! I have a lifetime supply of 25mhz crystals in the junque box (if anyone needs one for testing I can mail you some).

@SpenceKonde
Copy link
Owner Author

SpenceKonde commented Oct 1, 2021

Easier to source from pulls, yes. not any cheaper new, though - both are common speeds, 25 probably a bit more common ("1/4th of 100 MHz"), but 24 being twice the base 12 MHz of USB 1 or half the 48 MHz base clock of USB 2.0 which is generally generated via pll from 12 or 24 - as well as being a multiple of halfway between two powers of 2, and thus a natural choice for parts that aren't rated for 32, but which need to be clocked higher than 16.
Pricing is similar whether you get them in the West or from chinese knockoff sellers, too. The speed of crystals, within a small range, doesn't have any impact on the price until the speeds get a lot weirder. Like, wacky USART like 7.372 or something (forget the exact number for the 8 MHz-slowed-down one is; ATTinyCore supports it because classic AVRs don't have the fractional baud rate generator, they need to use integer division to get 8x or 16x (8 or 16 samples per bit) the baud rate) crystals are also common and cheap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement This constitutes a new feature and future development is planned
Projects
None yet
Development

No branches or pull requests

2 participants