Looking for i2c (TWI) using USI example (AVR Butterfly ATmega169)
2006-12-15 by James Ronald
Tonight I tried to compile the i2c examples in AVRlib. I found that the AVR Butterfly does not support i2c the same as the ATmega8, 128, 16, 163 and such. Instead, the 169 uses the USI to do TWI. I did find Atmel application note 310 which describes how to go about setting up USI to do TWI but I was hoping to find another example as well. I have searched for the past few hours with little luck. I'm surprised that I could not find examples of connecting an AVR Butterfly to a SRF08 an i2c compus or such. Anyway, if anyone has a TWI USI example I would be appreciative. Much Thanks Jim Ronald