simavr icon indicating copy to clipboard operation
simavr copied to clipboard

ATTiny USI (universal serial interface) peripheral unimplemented

Open JarrettBillingsley opened this issue 5 years ago • 3 comments

Spent a few hours trying to figure out what I was doing wrong with my code. #210 hinted at the problem but ultimately: there's no USI support.

Granted, this is not listed in the README.md on the front page, so shame on me for not reading it... but either it should be mentioned as unimplemented, or an error should be issued if you try to use the peripheral (until it is actually implemented).

I might try implementing it, but I don't know if I have the time.

JarrettBillingsley avatar Mar 23 '19 03:03 JarrettBillingsley

I'm happy to have a crack at this if you've not started yet @jarretbillingsley. Similarly if you've got WIP code, I'm more than happy to help!

rvodden avatar May 08 '19 23:05 rvodden

Ah yes sorry! I got started on this and didn't quite finish. I've got enough of it working to support simple SPI and I've been using it to test a project. Let me see if I can get this repo forked properly.

JarrettBillingsley avatar May 08 '19 23:05 JarrettBillingsley

Boom. @rvodden https://github.com/JarrettBillingsley/simavr/tree/tinyusi

JarrettBillingsley avatar May 08 '19 23:05 JarrettBillingsley