Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Connecting a custom SPI device to Duet3+SBC

    Duet Hardware and wiring
    2
    2
    67
    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.
    • pjl
      pjl last edited by pjl

      Greetings and salutations,

      My goal is to connect a little SPI camera to duet+sbc, images from which will then be processed by the SBC.

      As I see in the wiring diagram Duet3 6HC has two SPI buses, one for SBC, the other for temperature daughterboard and raspberry has two SPI buses available in the 40pin GPIO.

      Question 1: Can I safely hijack the SPI1 bus from the Raspberry for my own use? Since it looks like only SPI0 is used by the Duet.

      Question 2, general curiosity : Could I connect any device through the SPI bus meant for the temperature daughterboard on the Duet?

      1 Reply Last reply Reply Quote 0
      • achrn
        achrn last edited by

        Q1: yes (probably)

        I use the Pi other SPI bus for driving a string of APA102 LEDs. I'm driving the bus at 10 MHz. Since it's the only SPI device I have on that bus, I don't have a CS line connected. Also it's one-way comms (nothing coming back into the Pi) so I don't use a MISO. Accordingly I just use pins 38 & 40.

        So it works for me, but my situation is simpler than yours is likely to be.

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