• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Logic Level shifter for 12864 display on Duet 2 Wifi

Scheduled Pinned Locked Moved
Duet Hardware and wiring
11
200
16.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dc42 administrators @pixelpieper
    last edited by 11 Oct 2020, 19:17

    @pixelpieper said in Logic Level shifter for 12864 display on Duet 2 Wifi:

    @seraser this is not maestro specific - the lcd reset pin of the mini 12864 has to be somehow pulled high in order to have the display leave its reset.

    @dc42 from the firmware side: when configured as M918 P2, are we guaranteed that the then not functional active high chip select on the maestro display connector stays always high? I.e. is it safe to use as the reset pin?

    Yes, it should be.

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    1 Reply Last reply Reply Quote 1
    • undefined
      seraser
      last edited by 12 Oct 2020, 07:45

      @Schmart now is working fine but no enter key detected when press encoder, what can I check?

      Rotate work.

      Thank you.

      ? 1 Reply Last reply 12 Oct 2020, 07:59 Reply Quote 0
      • ?
        A Former User @seraser
        last edited by 12 Oct 2020, 07:59

        @seraser said in Logic Level shifter for 12864 display on Duet 2 Wifi:

        no enter key detected

        thats just a switch wired to EncoderPinSw so check the wiring and or voltage on the signal with the key pressed and not pressed?

        undefined 1 Reply Last reply 12 Oct 2020, 09:22 Reply Quote 0
        • undefined
          seraser @A Former User
          last edited by 12 Oct 2020, 09:22

          @bearer will check this night, thank you.

          1 Reply Last reply Reply Quote 0
          • undefined
            seraser
            last edited by 12 Oct 2020, 17:15

            @bearer thank you swaped beep with enc_sw and now LCD work fine but no sd card detected, checked and checked and checked wires and all are fine for sure and m122 only reports sdcard0.

            undefined 1 Reply Last reply 12 Oct 2020, 20:07 Reply Quote 0
            • undefined
              seraser @seraser
              last edited by seraser 10 Dec 2020, 20:08 12 Oct 2020, 20:07

              Cs, miso, mosi and csk are fine connected and with 3v3 volts, tomorrow I will check trafic with my oscilloscope.

              undefined 1 Reply Last reply 12 Oct 2020, 21:30 Reply Quote 0
              • undefined
                seraser @seraser
                last edited by seraser 10 Dec 2020, 21:31 12 Oct 2020, 21:30

                @pixelpieper your LCD detect sdcard?

                Maybe the problem is related to CD(card detect) pin 2.4 exp2 in LCD with no way to duet.

                undefined undefined 2 Replies Last reply 12 Oct 2020, 22:57 Reply Quote 0
                • undefined
                  Schmart @seraser
                  last edited by Schmart 10 Dec 2020, 22:58 12 Oct 2020, 22:57

                  @seraser I don't think the card detect is the problem. From the Fysetc schematic, it's just a simple switch without other connections and the Duet doesn't need a card detect signal.

                  If you have SPI traffic correctly coming out the Duet, maybe try a high quality SD card or use shorter or twisted cables for the connection to the display.

                  Also, you mention using 3.3V as supply voltage? I think you need to use 5V. There should be a voltage regulator on the display PCB that converts the 5V supply voltage to 3.3V. There's even a 74HC4050 buffer that protects the SD card's inputs.

                  Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

                  undefined 1 Reply Last reply 13 Oct 2020, 06:25 Reply Quote 0
                  • undefined
                    seraser @Schmart
                    last edited by 13 Oct 2020, 06:25

                    @Schmart power supply is 5v.

                    Tested three sdcards.

                    Short dupont connections, checked fine.

                    Maybe with initial bad connections 74HC4050 is damaged.

                    I will replace with donor board to test.Screenshot_20201013-082528210.jpg

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      pixelpieper @seraser
                      last edited by 13 Oct 2020, 06:34

                      @seraser I haven't tried, did not even wire it up and I don't know whether I would bother since I don't use sneakernet to get my gcode onto the printer 😉

                      Voron V2.434 / Duet 3 Mini5+, Duet 3 Expansion Mini 2+, Duet 1LC V1.1 Toolboard
                      Voron V0.250 / Duet 2 Maestro

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        seraser
                        last edited by 13 Oct 2020, 15:47

                        Replaced 74HC4050 and same here so stoping because I think is software related sd no detection.

                        undefined 1 Reply Last reply 13 Oct 2020, 16:43 Reply Quote 0
                        • undefined
                          Schmart @seraser
                          last edited by 13 Oct 2020, 16:43

                          @seraser you mentioned wanting to check traffic with your oscilloscope, and I mentioned checking SPI traffic coming from the Duet board first as well. I hope you did that before replacing chips? What was the outcome? I think only then we can look for other suspects like the firmware.

                          Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

                          undefined 1 Reply Last reply 14 Oct 2020, 15:21 Reply Quote 0
                          • undefined
                            seraser @Schmart
                            last edited by seraser 14 Oct 2020, 15:21

                            @Schmart finally, with relax, checked fine with my ancient hameg, miso, csk and cs are high at 3v3 with and without sdcard but no variations when insert sdcard so this signals are dead an mosi is down with 0v and dead constantly with or without sdcard.

                            Tested in fysetc 1.2 and fysetc 2.1 because 2.1 works but no light and I can see content.

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              seraser
                              last edited by seraser 15 Oct 2020, 07:13

                              @Schmart @dc42 we need cs low for set miso high and begin comunication, right? I do not know for sure if duet work with this condition.

                              undefined 1 Reply Last reply 15 Oct 2020, 08:48 Reply Quote 0
                              • undefined
                                dc42 administrators @seraser
                                last edited by 15 Oct 2020, 08:48

                                @seraser said in Logic Level shifter for 12864 display on Duet 2 Wifi:

                                @Schmart @dc42 we need cs low for set miso high and begin comunication, right? I do not know for sure if duet work with this condition.

                                Are you talking about communication with the SD card or with the display?

                                Duet WiFi hardware designer and firmware engineer
                                Please do not ask me for Duet support via PM or email, use the forum
                                http://www.escher3d.com, https://miscsolutions.wordpress.com

                                undefined 1 Reply Last reply 15 Oct 2020, 08:51 Reply Quote 0
                                • undefined
                                  seraser @dc42
                                  last edited by 15 Oct 2020, 08:51

                                  @dc42 sdcard, display work fine but sdcard is not detected.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators
                                    last edited by dc42 15 Oct 2020, 09:02

                                    Have you checked that the MISO signal is connected correctly between the display and the Duet, and that CS0 on the Duet is connected to SD card CS on the display?

                                    Is it a known good SD card?

                                    SD card socket on PanelDue works, so it's unlikely to be a firmware problem IMO.

                                    Duet WiFi hardware designer and firmware engineer
                                    Please do not ask me for Duet support via PM or email, use the forum
                                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                                    undefined 1 Reply Last reply 15 Oct 2020, 09:27 Reply Quote 0
                                    • undefined
                                      seraser @dc42
                                      last edited by seraser 15 Oct 2020, 09:27

                                      @dc42 yes, checked fine all connections and try with three sdcards working fine.

                                      I will test in other duet.

                                      Thank you.

                                      undefined 1 Reply Last reply 15 Oct 2020, 16:36 Reply Quote 0
                                      • undefined
                                        Schmart @seraser
                                        last edited by Schmart 15 Oct 2020, 16:36

                                        @seraser I've no personal experience with what is necessary to get an external SD card reader working in RRF, since I print via the network, but since there is no card detect pin, have you tried an M21 P1 "Initialize SD card" or a M39 P1 S2 command yet?

                                        Creality CR-20 Pro with a Duet 2 Maestro, 3Dfused X+Z-axis rail kit, HIWIN-based DIY solution for the Y-axis, E3D Hemera, working ST7565 MiniPanel and various other small hardware improvements.

                                        undefined 1 Reply Last reply 15 Oct 2020, 16:41 Reply Quote 0
                                        • undefined
                                          dc42 administrators @Schmart
                                          last edited by 15 Oct 2020, 16:41

                                          @Schmart said in Logic Level shifter for 12864 display on Duet 2 Wifi:

                                          @seraser I've no personal experience with what is necessary to get an external SD card reader working in RRF, since I print via the network, but since there is no card detect pin, have you tried an M21 P1 "Initialize SD card" or a M39 P1 S2 command yet?

                                          To clarify: the M21 P1 command is needed to initialise the external SD card after it has been inserted; however, DWC will issue this command automatically if you try to list jobs on the external SD card.

                                          Duet WiFi hardware designer and firmware engineer
                                          Please do not ask me for Duet support via PM or email, use the forum
                                          http://www.escher3d.com, https://miscsolutions.wordpress.com

                                          undefined 1 Reply Last reply 15 Oct 2020, 17:23 Reply Quote 1
                                          181 out of 200
                                          • First post
                                            181/200
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA