Lopy SPI SLAVE



  • 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)



  • 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?



  • This post is deleted!


  • 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


Log in to reply
 

Pycom on Twitter