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.
    • Schmartundefined
      Schmart @seraser
      last edited by

      @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.

      seraserundefined 1 Reply Last reply Reply Quote 0
      • seraserundefined
        seraser @Schmart
        last edited by seraser

        @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
        • seraserundefined
          seraser
          last edited by seraser

          @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.

          dc42undefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators @seraser
            last edited by

            @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

            seraserundefined 1 Reply Last reply Reply Quote 0
            • seraserundefined
              seraser @dc42
              last edited by

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

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by dc42

                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

                seraserundefined 1 Reply Last reply Reply Quote 0
                • seraserundefined
                  seraser @dc42
                  last edited by seraser

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

                  I will test in other duet.

                  Thank you.

                  Schmartundefined 1 Reply Last reply Reply Quote 0
                  • Schmartundefined
                    Schmart @seraser
                    last edited by Schmart

                    @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.

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @Schmart
                      last edited by

                      @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

                      seraserundefined 1 Reply Last reply Reply Quote 1
                      • seraserundefined
                        seraser @dc42
                        last edited by seraser

                        @dc42 @Schmart finally some progress.

                        I can see in web interface sdcard1 not mounted in jobs.

                        I can choose and mount.

                        When is mounted I can choose files in 12864 from sdcard0 not sdcard1.

                        With web interface I can choose files in sdcard0 and sdcard1.

                        I do not know if this is right or system need detect automatic at boot but 12864 cant read sdcard1.

                        Thanks for support.

                        Screenshot_20201015-191736009.jpg Screenshot_20201015-191700940.jpg Screenshot_20201015-191622557.jpg Screenshot_20201015-191313551.jpg

                        1 Reply Last reply Reply Quote 0
                        • seraserundefined
                          seraser
                          last edited by seraser

                          And for finish to me, from wiki I can play with M20 and M21 for mount and choose files in sdcard1 by editing files in menu folder so all is perfect thank you @Schmart for your work.

                          Schmartundefined 1 Reply Last reply Reply Quote 0
                          • Schmartundefined
                            Schmart @seraser
                            last edited by

                            @seraser I'm glad to hear it's now working for you! And this thread will be a good reference for people who also want to use the SD card reader on their Fysetc display.

                            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.

                            seraserundefined 1 Reply Last reply Reply Quote 0
                            • seraserundefined
                              seraser @Schmart
                              last edited by seraser

                              @Schmart and now fishing time.

                              Automount ready with M21 P1 in config.g and can choose for print sdcard0 or sdcard1 from 12864 editing main and create another listFiles, only 15 minutes of work.Screenshot_20201016-181919987.jpg

                              1 Reply Last reply Reply Quote 2
                              • Swift Testerundefined
                                Swift Tester
                                last edited by

                                Just a little compilation of previous info for Duet 2 (according to RRF 3.2 Pins_DuetNG.h) and Ender 3 LCD connected via EXP3:

                                Duet2 RRF 3.2 - Ender 3 LCD EXP3.png

                                https://oshwlab.com/swfttstr/duet2-ender-3-lcd-exp3

                                Proof of concept: https://youtu.be/WD3errQJHNo

                                The only one thing working not as expected - M300 S3nnn does not change frequency in my setup. Though I did not checked it with stock...

                                oliofundefined MatixYoundefined 2 Replies Last reply Reply Quote 0
                                • oliofundefined
                                  oliof @Swift Tester
                                  last edited by

                                  @Swift-Tester not all tweeters can vary their frequency.

                                  <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                  1 Reply Last reply Reply Quote 0
                                  • sncorpundefined
                                    sncorp
                                    last edited by sncorp

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • MatixYoundefined
                                      MatixYo @Swift Tester
                                      last edited by

                                      @swift-tester does it work with RRF 3.3?

                                      oliofundefined 1 Reply Last reply Reply Quote 0
                                      • oliofundefined
                                        oliof @MatixYo
                                        last edited by

                                        @matixyo nothing changed here since RRF 3.2, so it should work.

                                        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                                        1 Reply Last reply Reply Quote 1
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA