I try to use 8000 samples/sec and two 512bytes buffers, one read and other load data by f_read function, it work, but i see sound with 15Hz click noise, it look like sd card reading disable the interrupt of timer and the PWM periodically can't update the new values..
The problem of noise is my mistake
and reading delay it mistake in the library
#define M_DELAY_US 100 in file sdcard.c ,
changed to 1
and the result here
INOLED.zip 6.1 MB
Please refer this link for Music Player example:
For SD card usuage plaease refer this link for PSoC4:
"4) Insert an empty SD card (upto 2GB size)"
Where can you buy now SD card less of 2Gb?
The my project support up to 32Gb
I am sorry to inform that right now we don't have a officially released component for SD CARD for PSoC4.
The FatFs (link in my question) library support up to 32Gb, just need change the delay value in SDCARD.C file