# transfer files in spi/uart mode

Status
Not open for further replies.

#### _cris

##### Newbie level 4
Hello,

im working with a platform wich has to transmitt and receive file. Scenario is the following:

in the platform there is a micro (Blackfin DSP) and ZigBit module (atmel module with a transceiver inside): micros pins i used to communicate are the ones belong at SPI PORT, instead for ZIGBIT i use UART PORT, between them there is a spi/uart converter (MAX3100).

I have to transfer a file (usually the size is 100k) from my pc, where is connected an other device wich transmitts by zigbee to my platform.

During transfering the communication is stopped by micro and i cant understand why....
the opposite transfering (micro to pc) works really well!!

I think the problem is with temporization between spi protocol and uart protocol when the file to receive is so long.....is it possible????

please, let me know some suggestions!!!

thank you to everybody!

#### bobcat1

##### Advanced Member level 4
HI

You need to add some handshake to the transfer protocol (above the zigbee protocol)
Also you can log some transfer data and check for instance whether the malfunction happen at the same place all the time.

All the best

Bobi

The microcontroller specialist

#### _cris

##### Newbie level 4
Thank you.... I think your advise is really interesting!!

but can i ask you to be more specific, cause i dont sure that i understand very well (i`m a beginner)!!

sorry!!!!!!!!!!

Status
Not open for further replies.

Replies
3
Views
6K
Replies
2
Views
2K
Replies
1
Views
746
Replies
5
Views
1K
Replies
4
Views
2K