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

Discussion Groups | AVRclub | [AVR club] Problem While Communicating between two Microcontroller using SPI

Atmel AVR Microcontroller discussion group.

[AVR club] Problem While Communicating between two Microcontroller using SPI - dev_optiwave - Sep 25 8:49:55 2006


Hi All,
I am facing a problem while communicating
ATMEGA128 (Master) & ATMEGA325(sLAVE) using SPI.
i am able to send single byte properly but
whenever sending string ( 10 byte),same time
it's come properly same time not.
when i checked Master out & Clock it's reached
properly upto slave.
i am using AVR Application note 151 as a ref.
Please suggest same idea for Duplex communication
between two AVR Microcontroller.

Thank a lot.
---Dev



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


Re: [AVR club] Problem While Communicating between two Microcontroller using SPI - "Marojahan M.T. Sigiro" - Nov 6 8:33:51 2006

i guess,,, u have to send one byte at one time.....for each data transfer
session....

so if u send a string u have to make a function thta will send by a byte...
--
--------------------------------------
Marojahan M.T. Sigiro
m...@gmail.com
GTalk : marojahan
Y-messenger : ojak_s
[Non-text portions of this message have been removed]



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