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

how to use the SPI for multiple chips select?


Best Answer Stefan, 18 February 2013 - 12:09 PM

Hi weixiongmei,

 

There are currently two options:

1. you can reinitialize the SPI object before every read/write action

2. You can adjust the SPI.Config value with another one

 

I always use the 2nd method, you can see how in my MultiSPI class: http://netmftoolbox....ew/22109#354226

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 18 February 2013 - 11:55 AM

i want to use the max7219 in parallel,how to use the SPI for multiple chips select?thankyou~~



#2 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 18 February 2013 - 12:09 PM   Best Answer

Hi weixiongmei,

 

There are currently two options:

1. you can reinitialize the SPI object before every read/write action

2. You can adjust the SPI.Config value with another one

 

I always use the 2nd method, you can see how in my MultiSPI class: http://netmftoolbox....ew/22109#354226


"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#3 weixiongmei

weixiongmei

    Advanced Member

  • Members
  • PipPipPip
  • 68 posts
  • LocationPhiladelphia, Pennsylvania, United States

Posted 18 February 2013 - 12:43 PM

ok,thankyou stefan~~~big big thanks to you~~~






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.