I have been trying to figure out a problem with my custom board for days with its communication with an sd card so i tested with a teensy 3.1 and had the same issue.
I have been testing with the sdinfo from the sd fat library and cardinfo from the arduind sd library.when wired as every tutorial tells me to ( atleast what i think its telling me)it says no card detected.
I now have switched the miso and mosi wires with sd card pin 2 mosi/di connected to teensy 3.1 pin11 wich is the dout pin and everything is working.
I thought that pin 2 mosi/di should be connected to teensy pin 12/din.
Maybe i have completely misunderstood the wiring of spi and they are ment to be this way ?
using arduino 1.6.13 and
I have been testing with the sdinfo from the sd fat library and cardinfo from the arduind sd library.when wired as every tutorial tells me to ( atleast what i think its telling me)it says no card detected.
I now have switched the miso and mosi wires with sd card pin 2 mosi/di connected to teensy 3.1 pin11 wich is the dout pin and everything is working.
I thought that pin 2 mosi/di should be connected to teensy pin 12/din.
Maybe i have completely misunderstood the wiring of spi and they are ment to be this way ?
using arduino 1.6.13 and
Last edited: