We are using MQX 4.2, on a MCF52254 based custom made board.
We are trying to read data from sd card. This is audio data so we require real time performance. The data is read through following command:
bytesRead = read(mfs_fp, buffer, MP3_READ_SIZE);
We have observed that it takes a minimum of 11ms to read a data chunk of 2048 bytes, i.e, ~186kB/s of data read rate. We are measuring the time thru _time_get commands. We think that, this is way too slow. Is there a way to improve it?