Pay attention to the projects:
This has been discussed here: How to speed up write data to micro sdcard use EmFile of Psoc5lp
and here Emfile and micro sdcard in psoc 5lp
Thanks a lot for your help.
This project is designed for PSOC 5 and I don't know if I can get it working on PSOC 4 : the cy_dma component is incompatible with PSOC 4. I am trying to find a solution.
I will keep in touch if I get it working.
Have a nice day,
Thank you so much for your help !
I had troubles getting the PSOC4 version working but using separate SS pin made the trick on my CY8CKIT-042-BLE kit.
Hope this will be useful for other people.
Have a nice week-end.
I have tried to use the examples and I managed to work with PSoC5LP but there was no success using PSoC4 BLE.
Can you please provide more details about how should I modify the code in order to be able to read/write in SD card with PSoC4 BLE?
Thank you in advance,
I use separate Chip Select and removed the call to wait_ready in select (sdcard.c). It hung my init process and I did not find this test in the SDCard specifications. I have a TODO about digging this topic as I had to do things quick at the moment.
Works like a charm :-)
Hope you will get the same result with those hints.
Did you get the SD card working for PSOC 4 BLE? I can't figure out the issue.
Hoping for your quick response