Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

What is wrong with creating multiple SPI instances


  • Please log in to reply
No replies to this topic

#1 xmen

xmen

    Advanced Member

  • Members
  • PipPipPip
  • 72 posts

Posted 06 February 2015 - 02:35 AM

I have seen MultiSPI in netmftoolbox and in SPI tutorial, all create one instance of SPI and set its Config property before Writing. I dont understand why not create 2 instances of SPI ? and using same static instance is also not thread-safe.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.