Beaglebone Black SPI with Micron 25LC512

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
maddox
 
Posts: 14
Joined: Mon Apr 18, 2011 1:40 pm

Beaglebone Black SPI with Micron 25LC512

Post by maddox »

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 at: http://www.zephyr-labs.com/?p=139 with links to the git repo for code and performance traces from my Saleae logic analyzer (wonderful tool). Synopsis:
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

User avatar
maddox
 
Posts: 14
Joined: Mon Apr 18, 2011 1:40 pm

Re: Beaglebone Black SPI with Microchip 25LC512

Post by maddox »

Oops - put Micron instead of Microchip in the title....

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Beaglebone Black SPI with Micron 25LC512

Post by adafruit_support_mike »

Nice! Thanks for posting.

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”