“Maddox” on the Adfruit Forums shared Beaglebone Black SPI with Microchip 25LC512:
As a learning experience, I got a little microchip flash chip (25LC512) working with my BBB. I thought the steps I went through and performance observed could be useful to others, so I wrote a blog post about the details here with links to the git repo for code and performance traces from my Saleae logic analyzer (wonderful tool).
SPI through libsoc library can issue commands every ~100 usec (observed between 77 and 125 usec). Random 1 byte reads can complete every ~100 usec as well. 128 bytes can be transferred from the BBB to/from the 25LC512 in ~200 usec. A long block of sequential reads run at about 640 KB/s….
Each Tuesday is BeagleBone Black Day here Adafruit! What is the BeagleBone? The BeagleBones are a line of affordable single-board Linux computers (SBCs) created by Texas Instruments. New to the Bone? Grab one of our Adafruit BeagleBone Black Starter Packs and check out our extensive resources available on the Adafruit Learning System including a guide to setting up the Adafruit BeagleBone IO Python Library. We have a number of Bone accessories including add-on shields (called “capes”) and USB devices to help you do even more with your SBC. Need a nice display to go along with your Bone? Check out our fine selection of HDMI displays, we’ve tested all of them with the Beagle Bone Black!