[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] USI
From: |
Keith Gudger |
Subject: |
Re: [avr-chat] USI |
Date: |
Wed, 22 Mar 2006 11:19:02 -0800 (PST) |
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 <address@hidden> 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/avr-chat
>