Sign in

username:

password:



Not a member?

Search avrclub



Search tips

Subscribe to avrclub



avrclub by Keywords

AT90S2313 | AT90S8515 | ATMega | ATmega128 | ECL | FETS | IAR | Keyboard | LCD | STK50 | TMOS | UART


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | AVRclub | [AVR club] Multi Processor and/or Multi Master

Atmel AVR Microcontroller discussion group.

[AVR club] Multi Processor and/or Multi Master - dmarte - Oct 22 22:54:17 2009

I need some sample code on how to implement a multi master o multi processor communication either on synchronous serial communication or I2C bus.

I have tried with I2C and I can read and write to eeprom devices successfully. I don't know or haven't been able to communicate 2 o more AVR controllers.

The MCPM mode in the other hand is not clear enough in the datasheet. Besides I haven't found any sample code about communication using this protocol.

I appreciate if you could give me any working piece of code or links to i for this.

Best Regards,
Edwin

------------------------------------



(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )


[AVR club] Re: Multi Processor and/or Multi Master - interruptcom - Oct 26 9:34:32 2009


See Atmel web site and saerch for smbus communication.
that's all you need.
--- In a...@yahoogroups.com, dmarte wrote:
>
> I need some sample code on how to implement a multi master o multi processor communication either on synchronous serial communication or I2C bus.
>
> I have tried with I2C and I can read and write to eeprom devices successfully. I don't know or haven't been able to communicate 2 o more AVR controllers.
>
> The MCPM mode in the other hand is not clear enough in the datasheet. Besides I haven't found any sample code about communication using this protocol.
>
> I appreciate if you could give me any working piece of code or links to i for this.
>
> Best Regards,
> Edwin
>

------------------------------------



(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )

[AVR club] Re: Multi Processor and/or Multi Master - dmarte - Oct 28 10:56:45 2009

Thanks for the pointers.

After finding some I2c Port Expanding ICs I decided to keep with the I2C but no using master/slave multi processor communicaction .

I did many tests with 2 avr trying to figure it out how to transfer data between them. I have no quit yet doing this but I will try it later.

Regards,
Edwin

--- In a...@yahoogroups.com, "interruptcom" wrote:
> See Atmel web site and saerch for smbus communication.
> that's all you need.
> --- In a...@yahoogroups.com, dmarte wrote:
> >
> > I need some sample code on how to implement a multi master o multi processor communication either on synchronous serial communication or I2C bus.
> >
> > I have tried with I2C and I can read and write to eeprom devices successfully. I don't know or haven't been able to communicate 2 o more AVR controllers.
> >
> > The MCPM mode in the other hand is not clear enough in the datasheet. Besides I haven't found any sample code about communication using this protocol.
> >
> > I appreciate if you could give me any working piece of code or links to i for this.
> >
> > Best Regards,
> > Edwin
>

------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of avrclub -- send a blank email to avrclub-subscribe@yahoogroups.com )