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

    LIS3DSH on Duet 2 having trouble with the latest firmware

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    13
    478
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      which firmware exactly?

      Z-Bot CoreXY Build | Thingiverse Profile

      ericraneundefined 1 Reply Last reply Reply Quote 0
      • ericraneundefined
        ericrane @Phaedrux
        last edited by

        @Phaedrux 3.4.5 (the latest) I pulled down the git repository yesterday afternoon

        ericraneundefined 1 Reply Last reply Reply Quote 0
        • ericraneundefined
          ericrane @ericrane
          last edited by

          I should add that I've hooked the device up to an Adruino and I'm getting 0x33 from WHO_AM_I and everything looks normal. I guess I could try wiring it up with some really short wires to see if I can get anything out of it. So far I've not had any luck.

          1 Reply Last reply Reply Quote 1
          • ericraneundefined
            ericrane
            last edited by

            The problem is entirely the cable. I'm not really excited about cutting up and adding connectors to another USB3 cable. The one I used was a pretty high quality one as well. I seem to remember reading something about connecting one of the wires to the insolation.

            Any suggestions? This is on a heavily modified FT-5, with the duet on the back near the bottom, so I need around 3-4 ft. of cable. I'm considering moving the panel up to the top of the machine in order to fix this.

            1 Reply Last reply Reply Quote 0
            • ericraneundefined
              ericrane
              last edited by

              Wrapping the cable in aluminum foil did nothing.

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

                @ericrane can you send a close up photo of the board, good enough for us to read the markings on the chip?

                The WhoAmI register should return 0x3F for LIS3DSH and 0x33 for LIS3DH. These are checked in function LIS3DH::CheckPresent().

                The issue I have seen with these accelerometers is that the CS pin is very sensitive to glitches, so it needs to be kept away from all the other signal wires. However, I have used a LIS3DH successfully with approx. 1m of unscreened 8-core cable and a Duet 2. I have also used one with 1m of ribbon cable, but I had the CS conductor at one end of the cable and a ground conductor between it and the next one.

                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

                ericraneundefined 1 Reply Last reply Reply Quote 0
                • ericraneundefined
                  ericrane @dc42
                  last edited by

                  @dc42 Sorry it took so long. I had a busy week. Thanks for taking a look!

                  20230304_070336.jpg 20230304_070229.jpg 20230304_070218.jpg 20230304_070244.jpg

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    Can you get one a little clearer of the black chip in the middle?

                    Z-Bot CoreXY Build | Thingiverse Profile

                    ericraneundefined 1 Reply Last reply Reply Quote 0
                    • ericraneundefined
                      ericrane @Phaedrux
                      last edited by

                      @Phaedrux CM230304-144810005.jpg

                      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator
                        last edited by

                        Thanks that's better. @dc42 should be able to make out what that is.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @ericrane
                          last edited by

                          @ericrane thanks for the picture. I have flagged it for @dc42 however in the mean time if you are still having communication issues then you might want to try with a short cable just to rule our the CS pin noise sensitivity on the LIS

                          www.duet3d.com

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