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

    Anyone measured the SPI timings between a Duet3 and a RPi?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    8
    312
    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.
    • gtj0undefined
      gtj0
      last edited by

      I'm trying to get an idea of how fast the RPi can actually shuffle data across the SPI bus at a 1MHz clock frequency. I'm playing with my Jetson Nano and I'm seeing an interval between bytes of about 150us. That seems a little long and I can adjust it but it would be good to know what the RPi does and what the Duet3 can handle.

      0_1567558917856_TEK0022.JPG

      Chan 2: MOSI
      Chan 3: CLK
      Chan4: CS0

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by A Former User

        There is some timing info mentioned in this thread (I thought I'd seen more about spi speeds, but couldn't find it just now)

        gtj0undefined 1 Reply Last reply Reply Quote 0
        • gtj0undefined
          gtj0 @A Former User
          last edited by gtj0

          @bearer Yeah don't see anything relevant.

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            If 1-5Mhz and up to 30 full frames/sec doesnt help hopefully this does
            2_1567607364211_c.png 1_1567607364210_b.png 0_1567607364210_a.png

            gtj0undefined 1 Reply Last reply Reply Quote 0
            • gtj0undefined
              gtj0 @A Former User
              last edited by

              @bearer "Frame" is a nebulous term 🙂
              Is "Time" per division or for the window and what was going on at the time, just housekeeping?
              Think you could get a capture while sending a large gcode file to the Duet3?

              1 Reply Last reply Reply Quote 0
              • A Former User?
                A Former User
                last edited by

                Hehe, I defer to the almighty creator for the terminology:P

                Time is per division yeah. Realized after I'd squared it away you did your capture at 25us, and I did the one I was hoping would be a close match at 20ms 🤦

                Not sure what it was doing, the first few frames at boot. Might find the time to set it up later, will post back if I do.

                gtj0undefined 1 Reply Last reply Reply Quote 0
                • gtj0undefined
                  gtj0 @A Former User
                  last edited by

                  @bearer No worries! Don't go to any trouble. I was just curious.

                  1 Reply Last reply Reply Quote 0
                  • A Former User?
                    A Former User
                    last edited by

                    Is this where I say trouble is my middle name? ☺

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