2023-05-12 01:04 AM
Hi!!!
I am using STM32H743BIT6 MCU and I want to measure the speed of reading a binary file (image) in SDCARD.
SDMMC1 is set and SD 4 wire bus is set.
On which pin should I take the measurement on the MCU? Also, the unit of speed is (Mbyte/s). Is it possible to convert it to frequency?
2023-05-12 01:12 AM
Write a function that reads a 32MB file in 32KB chunks. Use HAL_GetTick() to get a start and end time, and thus the duration. Calculate as bytes per second.
Print to screen or serial terminal.
Find a GPIO you can use, drive it high/low at beginning and end, use a scope or stopwatch to capture elapsed time.
Time and Frequency have a known relationship.
2023-05-12 01:47 AM
Thank you!!, I learned about SD card speed.!!