Thank you all for reading my post.
I am working with a PIC18LF26K22 (3.3v), and implementing a sd card through the MSSP (using SPI). I will only be writing data TO the sd card and NOT reading from it. I have a few questions to ask since it is the first time I have worked w/ an sd card (microsd hc 4gb). I am programming this in assembly. SD card is formatted to FAT32.
1) Since I am only wanting to send data to the sd card do I need to still have the "DI" line connected or do I need it to be connected to send the
dummy data to the PIC (master)?
2) The PIC18LF26K22 (3.3v) has weak pull-ups on Port B which I am using for the sd card. If I am only writing data to the sd card am I correct to say that I will have weak pull ups (internal to the PIC) on the following pins: SS (slave select), and CD (card detect). The "DO", SCK, and "DI" do not need WPU since they are either not being used or are output (in state).
3) Since I am only sending data to the sd card from the PIC (master), am I correct to say that I do not need to have the SS line connected as the sd card is the only slave?
Thanks for your guidance.
Peaches
I am working with a PIC18LF26K22 (3.3v), and implementing a sd card through the MSSP (using SPI). I will only be writing data TO the sd card and NOT reading from it. I have a few questions to ask since it is the first time I have worked w/ an sd card (microsd hc 4gb). I am programming this in assembly. SD card is formatted to FAT32.
1) Since I am only wanting to send data to the sd card do I need to still have the "DI" line connected or do I need it to be connected to send the
dummy data to the PIC (master)?
2) The PIC18LF26K22 (3.3v) has weak pull-ups on Port B which I am using for the sd card. If I am only writing data to the sd card am I correct to say that I will have weak pull ups (internal to the PIC) on the following pins: SS (slave select), and CD (card detect). The "DO", SCK, and "DI" do not need WPU since they are either not being used or are output (in state).
3) Since I am only sending data to the sd card from the PIC (master), am I correct to say that I do not need to have the SS line connected as the sd card is the only slave?
Thanks for your guidance.
Peaches