2025-03-03 12:05 AM
Dear all,
I'm reading a file on sd card by spi interface on my NUCLEO board using this example: https://github.com/kiwih/cubeide-sd-card/
I find that the speed reading 1500 bytes is near 30ms. On Arduino with a 16mhz clock I read them in 7ms
Why we have this difference? May be a library problem? The prescaler I set the SPI CLOCK is /4 and the clock is 48Mhz
Thank you to who will help.
Nello
2025-05-12 9:21 AM
@Nello Cris wrote:
Dear all,
I'm reading a file on sd card by spi interface on my NUCLEO board using this example: https://github.com/kiwih/cubeide-sd-card/
I find that the speed reading 1500 bytes is near 30ms. On Arduino with a 16mhz clock I read them in 7ms
16 Mhz IS THE spi clock frequency? If yes it lower that the SPI clock frequency for STM32. So, it is normal that the transfer takes more time.