Part Number: F28M35H52C
Tool/software: TI-RTOS
Hello,
We have used for a while the TI SDSPI driver with FatFS on our Concerto (M3 side) with commercial SD cards and it has worked fine.
Now we want to use an industrial grade SD card, more specifically the SWISSBIT S-450u 8Go (part no. SFSD8192N1BM1MT-I). Now there are a lot of IO errors with the card and files are not written and read properly. Small files(~40KB) can usually be written without issue (9 out of 10 times) but with bigger files, at some point in the transfer, it is not working anymore. Sometimes we have the error "SDSPI:(%p) send_cmd: SD card wait time expired". Other times, no error message but FatFS f_write function returns 0 for the number of Bytes written.
We've heard that SWISSBIT cards might use a non-standard protocol with different timings. We've tried to increase all the delays we found in the SDSPI driver but no success.
Has anybody come across such issues with these sd cards? Any idea how to adapt the driver?
Thanks for the help,
Ril







