Bitcoin Forum
June 19, 2024, 02:50:32 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Multiple SPI chains from RPi  (Read 1389 times)
volosator (OP)
Sr. Member
****
Offline Offline

Activity: 272
Merit: 250



View Profile
August 25, 2014, 03:27:11 PM
 #1

Guys,

I have multiple boards with SPI connection. Boards are populated with BFY chips.
How do I use more than 2 with RPi? I can not chain them together - there has to a way to reassign GPIO pins to use as CS.


Any ideas?
richardamullens
Newbie
*
Offline Offline

Activity: 51
Merit: 0


View Profile
August 25, 2014, 11:19:02 PM
 #2


I have multiple boards with SPI connection. Boards are populated with BFY chips.
How do I use more than 2 with RPi? I can not chain them together - there has to a way to reassign GPIO pins to use as CS.

You could implement SPI in software and allocate a different GPIO pin for each chip select.  Doing SPI in software isn't difficult per se.

Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
August 26, 2014, 01:57:57 AM
 #3

From the sounds of it you have some BLackarrow bitfury boards sitting around and don't have a controller. Or similar product


Pictures or confirmation would help

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Dexter770221
Legendary
*
Offline Offline

Activity: 1029
Merit: 1000


View Profile
August 26, 2014, 10:46:32 AM
 #4

Three of these:
http://www.digikey.com/product-detail/en/SN74CBTLV3251PWR/296-9129-1-ND/378104
and you good to go. You can split one SPI to eight. Of course you need to add some additional piece of code to driver.

Under development Modular UPGRADEABLE Miner (MUM). Looking for investors.
Changing one PCB with screwdriver and you have brand new miner in hand... Plug&Play, scalable from one module to thousands.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
August 26, 2014, 02:14:42 PM
 #5

Three of these:
http://www.digikey.com/product-detail/en/SN74CBTLV3251PWR/296-9129-1-ND/378104
and you good to go. You can split one SPI to eight. Of course you need to add some additional piece of code to driver.
this would work.

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
volosator (OP)
Sr. Member
****
Offline Offline

Activity: 272
Merit: 250



View Profile
August 27, 2014, 05:30:15 PM
 #6

How is this appears in RPi exactly?
Does cgminer require any code change to work with them?
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
August 27, 2014, 05:34:47 PM
 #7

How is this appears in RPi exactly?
Does cgminer require any code change to work with them?

Yes it would require code changes

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
volosator (OP)
Sr. Member
****
Offline Offline

Activity: 272
Merit: 250



View Profile
August 27, 2014, 07:24:49 PM
 #8

The idea is to use standard mining software with absolutely no modifications.
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
August 28, 2014, 04:30:33 AM
 #9

The idea is to use standard mining software with absolutely no modifications.


again ill ask: photograph of boards or identity of boards would be most helpful

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
volosator (OP)
Sr. Member
****
Offline Offline

Activity: 272
Merit: 250



View Profile
August 28, 2014, 07:51:57 PM
 #10

Board called DNA1 - there is no pictures available - only schematics. It has 46 chips, 2 banks of 23 each.
Board size is 80x80mm, I can add more banks if only I can run more SPI chains from RPi.

This is homegrown DIY project.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!