Low byte rate when reading MMC

General discussion on mikroC PRO for PIC.
Post Reply
Author
Message
Cyberzim
Posts: 104
Joined: 12 Jun 2008 00:09
Location: Denmark

Low byte rate when reading MMC

#1 Post by Cyberzim » 25 Jul 2010 23:03

Hello,
I'm developing a mp3-player with a QVGA color screen using SD-card for mp3-file storage.
My problem is, that I can only read around 100kbytes/s which is not enough when I need to decode wav-files that has around 1400kbit/s or 180byte/s. How come it?
I have 6K2 pull-up's on every dataline (CS, CLK, DI, DO) and a 100nF capacitor on the supply as close to the card as possible. The socket for the microSD is a miniSD with soldered wires to it. They are approximatively 2,5cm long. All this is connected to the breadboard. My microcontroller is running @ 48MHz and the bus line is running fosc/4.
Shouldn't I be able to read at faster rates? Like 200-300 kbyte/s?
I also thought of shortening the wires to the socket because I had problems when they where longer, but I don't know if that is going to change any performance. What do u think is the problem?

Regards,

Simon H.A.
Name: Simon H.A.
Age: 17

User avatar
tihomir.losic
mikroElektronika team
Posts: 2138
Joined: 02 Dec 2009 14:16
Location: Serbia
Contact:

Re: Low byte rate when reading MMC

#2 Post by tihomir.losic » 24 Sep 2010 12:32

Hello Simon,

please, follow this link:
http://www.mikroe.com/forum/viewtopic.php?f=76&t=25577
This is topic about time for MMC_FAT_Write and MMC_Write.

I hope that it will help you.

Best regards,

Losic Tihomir
mikroElektronika [Support team]

Post Reply

Return to “mikroC PRO for PIC General”