Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Lopy SPI SLAVE

    Scheduled Pinned Locked Moved Guides
    spi slave lopy
    4 Posts 2 Posters 1.2k Views 2 Watching
    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.
    • C Offline
      Christian
      last edited by

      Hi,
      I would like to know if it's possible to use the lopy as #SPI slave simply to communicate Lora data to a master. I seams like using a rocket to kill a mousquito ! I ordered a couple of SX1272 lora modules but it's taking time. in the demo code I saw this part:

      "spi = SPI(0, mode=SPI.MASTER, baudrate=250000, polarity=0, phase=0, bits=8, firstbit=SPI.MSB)

      Is it design to always work as MASTER?
      If possible In the pinout I saw again #SPI connected to Lora how can I connect to it?

      thank in advance for your responses
      (I'm a french-speaker sorry if something is not well explained)

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @Christian
        last edited by

        Hi @christian

        We don't support support SPI slave mode at the moment but can you explain where you want to connect the LoPy to? Maybe there is an alternative.

        Thanks

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          Christian
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • C Offline
            Christian @jmarcelino
            last edited by

            Hi @jmarcelino

            I wanted to connect the Lopy as slave to a SAMD21G18 MCU. Normally my main goal is to make a board SAMD21G18+SX1272+NRF52832.

            But while waiting to recieve all the components, I wanted to test Lopy with the SPI slave!!
            But another option is the RX and TX.
            I'm I wrong somewhere?

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom