Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Feature Requests
  3. SPI transaction support?

SPI transaction support?

Scheduled Pinned Locked Moved Feature Requests
1 Posts 1 Posters 1.1k Views 3 Watching
  • 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.
  • TD22057T Offline
    TD22057T Offline
    TD22057
    Hardware Contributor
    wrote on last edited by
    #1

    I'm looking at using an input and output shift register (one of each) on the SPI bus so I started reading more about how it works and how to use it. I seen several SPI related conflicts in the forum (needing soft SPI) and don't want to go down the SPI path if it's going to be a problem when I try to add the radio or ethernet in to my build. I was reading these pages

    http://dorkbotpdx.org/blog/paul/spi_transactions_in_arduino
    https://www.arduino.cc/en/Tutorial/SPITransaction

    which discusses the transaction support system in the SPI library (it's dated 2014). This seems to get around several SPI issues including individual libraries initializing the SPI bus to whatever values they want which causes problems in other libraries. I don't see any calls in the current dev branch like that and I do seem some code where the bus is set for an individual sensor (lighting sensor example) which might cause problems when adding other SPI hardware.

    So I'm curious: does the current MySensors libraries have these problems (I don't seen any transaction code anywhere) - i.e. is this something I should be worried about? If yes, how do people feel about using this new system to solve those problems?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    11

    Online

    11.7k

    Users

    11.2k

    Topics

    113.1k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular