Skip to content

Raspberry Pi Pico SDIO implementation example

License

Notifications You must be signed in to change notification settings

juico/pico-sdio-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PIO SDIO for Raspberry Pi PICO example

This is an standalone example of the bench code from SdFat using an SDIO PIO implementation from ZuluSCSI

This fork added some changes to improve large write performance.

Current numbers with a supposedly good SD Card and clock speed 250MHz:

Type is exFAT
Card size: 128.178 GB (GB = 1E9 bytes)

Manufacturer ID: 0X1B
OEM ID: SM
Product: ED2S5
Revision: 3.0
Serial number: 0XB210678A
Manufacturing date: 10/2022

FILE_SIZE_MB = 50
BUF_SIZE = 32768 bytes
Starting write test, please wait.

write speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
26058.1,24395,1216,1254
26027.0,16960,1216,1256

Starting read test, please wait.

read speed and latency
speed,max,min,avg
KB/Sec,usec,usec,usec
24702.6,1395,1313,1326
24702.6,1392,1313,1326

Done

Build

<BUILD_DIR> $ PICO_SDK_PATH=<PATH_TO_SDK> cmake <PATH_TO_SOURCE>

Target code will output bench results via UART and save results in bench.dat file on SD card root.

About

Raspberry Pi Pico SDIO implementation example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 89.3%
  • C 10.0%
  • Other 0.7%