Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What is the size of buffer and chunk of data need in transimtting image into sd card?

Status
Not open for further replies.

Osawa_Odessa

Banned
Joined
Dec 31, 2012
Messages
168
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Activity points
0
Hello,
I have an image in computer and want to transfer to sd card using ATmega128.
An image -----------> ATmega128 ------------------> SD card
The image has a size about 2Mb. I using FAT format to save the image in SD card. The protocol is SPI but I have some problems that confusing me.
I intend to devide the image into a small chunk and transfer it. What confusing me is what is the size of chunk and buffer i should choose? The dividing an image and transfer it to ATmega is done by a software in computer. In the atmega128 Fcpu= 8MHz and the SPI is maybe 4MHz. Can anyone help me about this?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top