I have a new problem. I have a doubt:
I'm trying to communicate with my SD card through SPI. I have a easypic sd 4 powered by 5 V ( USB ).
Sd card wants 3.3 V. So I put a LM1086 CT 3.3 to feed Sd card.
My doubt is that I linked Portc to Sd card data lines, but line of portc are at 5 V( high level). Is this the reason why I can't try to initialize Sd ?
How can I solve this problem?
Voltage level
Try your SD card in some other device.
I fear you have destroyed it.
You can try a level shifting device called resistive divider to drive it. Perhaps 1.2k and 2.2k resistor in series. The output of the PIC goes to the top of the 1.2k, take the output to the SD card from the junction of the two resistors and ground the remaining 2.2k end.
The VR only is supplying voltage to the SD card, it doesn't shift input levels.
I fear you have destroyed it.
You can try a level shifting device called resistive divider to drive it. Perhaps 1.2k and 2.2k resistor in series. The output of the PIC goes to the top of the 1.2k, take the output to the SD card from the junction of the two resistors and ground the remaining 2.2k end.
The VR only is supplying voltage to the SD card, it doesn't shift input levels.
-
- Posts: 573
- Joined: 25 Apr 2006 15:39
- Location: Cape Town, South Africa