Wiring SPI module to Beaglebone Black

beaglebone blackethernetspi

I want to add additional network interfaces to my BeagleBone Black. I would like to use an Ethernet module I found, EM2803_SCH, and want to figure out how to configure the pins on my BeagleBone's expansion ports such that the Linux distribution running on my BeagleBone will be able to recognize it. I've noticed that the schematic's PIN OUT labels don't match any of the pin names on my BeagleBone's expansion ports, which makes me thing I've missed something terribly important.

Schematic for EM2803_SCH

I'm not looking for a breakdown of how to build this thing. I'd appreciate learning resources more than anything. Is there some information (that is, reading sources, concepts to be familiar with) for what needs to happen to connect my Ethernet module to my BeagleBone?

Best Answer

Simple enough. Pins 1 is the SPI Chip Select (GPIO). 2 - 4 are SPI data and clock pins. RST is an active low input (to the ENC28J60) so any GPIO can be used. INT and WOL are active low outputs (from the enc), so a GPIO in input mode on the BeagleBone.

For the SPI pins, you want the p9 header pins 28-31, which are Chip Select, Data Out, Data In, Clock. Any GPIO will work for the other signals.