-
1. Re: Use an SD card with PSOC 4 BLE
user_49271930 Dec 6, 2016 9:15 AM (in response to mroi_1551101)Pay attention to the projects:
FatFS-Library-Project-master.zip
and
FatFS_NSDSPI-master.zip
ff11.zip
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 -
2. Re: Use an SD card with PSOC 4 BLE
mroi_1551101 Dec 7, 2016 1:47 AM (in response to mroi_1551101)Hello pavloven,
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,
Maximilien.
-
3. Re: Use an SD card with PSOC 4 BLE
user_49271930 Dec 7, 2016 4:37 AM (in response to mroi_1551101)sorry for PSoC4 here:
https://github.com/hackingchips/PSoC_FatFs
project from jesusrcc
discussed here -
4. Re: Use an SD card with PSOC 4 BLE
mroi_1551101 Dec 9, 2016 6:56 AM (in response to mroi_1551101)Hello pavloven,
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.
Maximilien.
-
5. Re: Use an SD card with PSOC 4 BLE
user_473032933 Feb 21, 2017 7:57 AM (in response to mroi_1551101)Hi Maximilien,
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,
Best Regards,
Yiannis -
6. Re: Use an SD card with PSOC 4 BLE
mroi_1551101 Feb 21, 2017 8:41 AM (in response to mroi_1551101)Hi Yiannis,
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.
Regards,
Maximilien.