Can you try changing P3.3 to P3.0 for CY8C5888LTI-LP097.I think you are using CY8CKIT-059.
yes this is CY8CKIT-059.
I changed 3.3 to 3.0 but still this is not working.
why you are suggested pin changing?
My bad, I suggested so becoz P3.3 in CY8CKIT-059 is reserved for HW REV ID but that is for Kitprog, that is depicted in CY8CKIT-059's schematic.
The routing in a PSoC5LP device is nearly unrestricted, so you may use any GPIO for the SPI signals as told on this forum thread:
I am telling you my procedure
1) CY8CKIT-059 is connected through usb to pc also it is programmed via usb
2) I am taking supply 5v through CY8CKIT-059. and convert it to 3.3v
3) Now connected the MOSI,MISO,CLK,CS with GPIO (P3.0,P3.4,P3.4,P3.5)
what is your suggestion for CY8CKIT-059.
code is working in 050 kit.
1)Are you using 2GB SD card, if not can you test with that.
2)Can you let us know what error are you facing exactly? Can you run the project in debug mode and check if the code is getting stuck somewhere.
At our end I'm able to get the project work and I'm able to see a file created.
Thank you for your response
I changed with 2gb card , and I assumed that you are not changing any spi connection P3.0,3.4,3.5 and 3.6
and supply voltage is 3.3v.
But still I am not getting any dir in card.It is going to be in SD Card format failed.
if(0 == FS_FormatSD(sdVolName)) // this condition is not satisfied
Please give me support.
We have tested the project and its working fine at our end. Can you try any other SD card adapter. Also can you probe the SPI MISO,MOSI,CLK lines check if you see any bus activities.