Beaglebone Black SPI with Micron 25LC512

by Maddox on Thu Mar 27, 2014 3:28 pm

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
Maddox
 
Posts: 9
Joined: Mon Apr 18, 2011 12:40 pm

Re: Beaglebone Black SPI with Microchip 25LC512

by Maddox on Thu Mar 27, 2014 4:01 pm

Oops - put Micron instead of Microchip in the title....
Maddox
 
Posts: 9
Joined: Mon Apr 18, 2011 12:40 pm

Re: Beaglebone Black SPI with Micron 25LC512

by adafruit_support_mike on Fri Mar 28, 2014 12:48 am

Nice! Thanks for posting.
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.
User avatar
adafruit_support_mike
 
Posts: 8632
Joined: Thu Feb 11, 2010 1:51 pm