6XD + SD card reader
-
Hello Ian,
I am having problems with my local LAN, router broke down. New on its way so it will take some days before I can report my findings.Cheers
Bengt -
@droftarts
Still crippled hereIs this correct for the cable 6XD and PanelDue
Cheers
BengtStill only direct cabel to Fiber modem so no network thay is needed to move on with 6XD
Better picture
-
@tecno said in 6XD + SD card reader:
Is this correct for the cable 6XD and PanelDue
No, I think you've got them backwards on the 4-way connector. See images here https://docs.duet3d.com/en/User_manual/Connecting_hardware/Display_PanelDue#option-1-4-way-cable
Ian
-
@droftarts
Sorry my bad as usualNow I have the display but I get M21 No card detected
-
@tecno You don't have access to the SD card socket on the PanelDue using the 4-wire cable. Only with the ribbon cable. But you're going to use the external SD card socket, right?
Ian
-
@droftarts
Sorry Ian but now I am lost.What I have is 6XD + 7I and cardreader as pictured earlier and connected as advised.
So do I need yet another ribboncable?
Cheers
Bengt -
@tecno Sorry, I thought you meant you wanted to use the built-in SD card reader on the PanelDue 7i. If you want to use that, you need to connect the PanelDue to the 6XD with the ribbon cable. You wouldn't be able to connect the other SD card reader.
If you do mean the other SD card reader, that should connect to the PanelDue header on the 6XD using the cable you made; it does not connect to the PanelDue 7i. The PanelDue 7i connects to the 6XD using the 4 wire cable, and the built-in SD card reader cannot be used.
Ian
-
Here pictures of the setup, SD Cardreader with short ribbon cable to 7I ant 4-wire to 6XD
Error message
Cheers
Bengt -
@tecno You can't plug the external SD card reader into the PanelDue. It needs to be plugged into the 6XD.
Edit: longer explanation: The SD card reader, on the PanelDue or an external one, communicates with Duet via the SPI bus. That's the MOSI and MISO wires you hooked up. For sending and receiving commands and information, the PanelDue has a serial connection to the Duet which is much slower than SPI, and SPI cannot communicate over this serial connection. For the built-in PanelDue SD card reader, the pins on the SD card socket are passed through to the ribbon cable connector which then connects to the Duet; the PanelDue just provides power.
Ian
-
@droftarts
OK total missunderstanding.So is this the place to the ribboncable?
Only 4-wires 6XD to 7i ?
-
@tecno said in 6XD + SD card reader:
So is this the place to the ribboncable?
Yes, that's correct. That's why I showed it in one of my posts earlier in the thread! I did wonder why you made the cable so short!
Only 4-wires 6XD to 7i ?
Yes. The external SD card socket will work without the PanelDue, if you want.
Ian
-
-
@tecno Though your cable is short, you should still be able to connect to the 6XD to test if it works. Let me know if it does, or doesn't!
Ian
-
Will do asap I find ribboncable in my hidden places
-
@droftarts
So now new ribboncable but no card can be found.Cheers
Bengt -
@tecno please post a picture of the wiring.
Ian
-
-
@tecno if you haven't included the Card Detect pin of the SD card socket in your ribbon cable then you also need to fit the card detect override jumper on the Duet.
-
@tecno The wiring looks to be correct, assuming that the orientation of the ribbon cable at the other end, where it connects to the Duet, is the same as your first cable. Maybe post a picture of that end? Otherwise, yes, it's probably what @dc42 suggests, ie put a jumper on the 'PanelDue/External SD card detect over ride' pins on the Duet, just below the PanelDue connector.
You probably could have connected the 7th ribbon cable wire ('PD_SD_CD') to the second pin down on the back of the socket, to have the card detect signal:
Ian
-