Hello guys ,
So I'm going to be making a project where I will be using multiple AVR micros ( 4-20) and I need them to be able to talk with each other .
I Haven't got the chance to use any of the AVR communication peripherals since i'm new to Micros.
I know from reading the datasheet that My atmega32 has 3 of those : The USART , SPI (serial peripheral interface ) and the TWI (also known as I2C?? )
Could someone explain the diffrence between them and what each one is good for?
I can see that they all allow for inter-avr communication.
Could someone suggest the most simple to learn/use of those peripherals that I can learn and use to control my swarm of AVR? They will need to be able to communicate very basic information . Perhaps pass on an 8 bit array of values and some other simple stuff, nothing hardcore for now.
Normally what I'd do is learn all of them , but in this case time is an issue. I need to learn to use at least one of these peripherals in the next week
Anyone know some good tutorials that I can refer to ?
I did some reading in the datasheet on the TWI and it doesn't look too complicated , should I go with it?
Thanks in advance!