Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - unsungHero

1
Bus Pirate Support / SPI Interface with Raspberry Pi
Hey all,

I recently purchased a bus pirate and am trying to understand how to interface with the Raspberry Pi via SPI.

My current progress:
1. I am able to get into the BP SPI mode via Tera Term.
2. I am able to interface with the Raspberry Pi's SPI chip (bcm 2835) via wiringPi gpio commands (from Raspberry Pi interface).

Now I want to be able to connect the two and communicate over SPI.

My questions:
1. Are there projects that I can follow to communicate and learn how to send data to and from the Raspberry Pi and the BP?
2. In this case, is the raspberry pi the master or the slave? Can I dictate whether the RPi or the BP is the Master/Slave? How?
3. Can BP write to SPI or does it only have a sniffer capability?

Any help or direction to help me better understand SPI and the Bus Pirate interface would be much appreciated!

Thanks,
uH

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01252248704session_write_close ( )...(null):0
20.01282380304ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01282381080Database_MySQL->query( ).../DatabaseHandler.php:119
40.05792519824Database_MySQL->error( ).../Db-mysql.class.php:273