hi
I want to connect 3 avr (atmega 32) one master and the other is slave to exchange data ,what protocol i should use ,i want to use i2c so if any one could help me because i try searching but every post deal with linking avr with eprom.
and what is the different between i2c and i2c(2 wire)
because at codevision they are two different things
ps: i use codevision
hi
I want to connect 3 avr (atmega 32) one master and the other is slave to exchange data ,what protocol i should use ,i want to use i2c so if any one could help me because i try searching but every post deal with linking avr with eprom.
and what is the different between i2c and i2c(2 wire)
because at codevision they are two different things
ps: i use codevision
Presumably you've read Atmel's app note 311? If not, that might give you a bit of a nudge in the right direction.
As far as Codevision goes, the I2C tab in CodeWizard is used to configure a bit-banged I2C interface for those AVRs which don't have hardware I2C interfaces, whereas the 2 Wire (I2C) tab is used to configure the hardware interface present on some AVRs. So yes they're different in terms of how the I2C interface is implemented on the AVR, but they're the same thing in terms of what signals get sent/received over the I2C wires.