Joerg: Thanks for your reply. When you say "generating start conditions" are you referring to using it as a UART or SPI/TWI? Thanks.
Keith On Wed, 22 Mar 2006, Joerg Wunsch wrote: > Keith Gudger <[EMAIL PROTECTED]> wrote: > > > 1) Has anyone used the USI to implement I2C or SPI? Does it work as > > well as the dedicated hardware? Any known problems? > > I tried, but was a bit frightened when then studying the appnote for > it, and had to see that you've got a lot of ``legwork'' to do there. > Things like generating start conditions aren't done by the USI for > you, you have to pull the pins appropriately. The USI then only does > the actual bit shifting. > > However, as the code is there (as usual, needs minor adaptations for > GCC), I think you could use it as a starting point. > > -- > cheers, J"org .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > > > _______________________________________________ > AVR-chat mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/avr-chat > _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
