The SPI Clock frequency in the program is set to 50MHz. * This program is a simple binary write/read benchmark. // 1 for FAT16/FAT32, 2 for exFAT, 3 for FAT16/FAT32 and exFAT. your hardware does not use the default value, SS. // SDCARD_SS_PIN is defined for the built-in SD on some boards. So, looks like write and read are about 140KB/s.
Re: How to connect SD Card on HSPI of ESP32-Wroom. Postby imanpakii ยป Fri Jan 29, 2021 5:03 am. Hello, These are the tips that I recommend: 1- No need for any pull-ups. 2- Don't connect any pin to IO12 since you will be facing the problem during the boot and using the SD. 3-I didn't connect the CS to any pins since I don't connect any other This function initializes and configures the SPI peripheral and PDMA for data transfer. It configures the SPI controller with Protocol mode, serial clock speed, and frame size for SPI flash memory. The design example is configured with SPI Protocol mode as SPI mode 3, APB bus clock (PCLK) divider as 128, and frame size as 8 bit. Well, I suppose SD cards can hold up to 32 G data, SPIFFS maybe 1 M Then SPIFFS is convenient with unfrequent changes (suppose html page countains data: if they are updated once a second -temperature; ca 10 chars, with a time stamp in a huamn friendly format -, it needs ca one day to fill SPIFFS โฆ. and some decades to fill SD card). ctlo.