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?
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?