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

Adafruit Trinket M0 supported? #20

Closed
UweSauter opened this issue Jul 9, 2021 · 3 comments
Closed

Adafruit Trinket M0 supported? #20

UweSauter opened this issue Jul 9, 2021 · 3 comments

Comments

@UweSauter
Copy link

On the Adafruit Trinket home is a deprecation warning, advising users to change to the Adafruit Trinket M0. Is this also supported by this firmware?

What changes would be necessary to support the Trinket M0?

@prandeamus
Copy link

I will make a guess. The original trinket uses an ATTINY85 and the M0 uses a much more sophisticated processor ATSAMD21E18. Getting to ATTINY85 to bitbang USB is an amazing feat of cleverness, but it stretches the chip to do low-speed USB and sometimes there are timing problems with individual chips or USB controllers. The ATSAMD21E18 is described as having native USB so I suppose much more is implemented in hardware & should be more reliable.

But the ATSAMD21E18 is a much different processor and therefore would require different firmware than an ATTINY85.

(If I'm wrong, I'm wrong. But that's how I read it)

@harbaum
Copy link
Owner

harbaum commented Jul 9, 2021

That's correct. The i2c-tiny-usb makes extensive use of the attiny85's features.

It may be possible to write a compatible firmware for the trinket m0. But this sure needs to be written explicitly for the m0.

@harbaum harbaum closed this as completed Jul 9, 2021
@UweSauter
Copy link
Author

Would you put this info into your README.md so that other visitors can get it while reading the project description?

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

3 participants