This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cortex-m4 mass storage implementation is too much slow compared to cortex-M3

Hi all,
I'm developing on at91SAM3S/4s. I have 2 keil projects sharing the same source code since the 2 core are similar.
The base of my project is USB mass storage sample from keil 4.7 for sam3s-ek
I've modified it to be shown as a CD-rom presenting the image stored in the SPI flash.
and here is my problem :

reading 4 mega bytes of data from my SPI flash on sam3 board, through USB mass storage takes 30 seconds while reading the same amount of data in the same scenario on SAM4 board takes 4 minutes to complete. the SPI clock I supply for SAM3 SPI is 32 MHz while the clock supplied for sam4 is 60 MHz.

Any clue on what could cause it?

Parents Reply Children
No data