No documentation on spi_flash_get_id

User avatar
Posts: 131
Joined: Tue Jun 16, 2015 1:09 pm
Location: Fort Worth, Texas, USA

No documentation on spi_flash_get_id

Postby kolban » Tue Oct 20, 2015 7:59 am

The SDK 1.4 documentation provides a description of an API called "spi_flash_get_id" but does not describe what it returns. I believe that there is "bit encoding" of information but do not know what it should be. This report requests documentation of the meaning of the return values in the SDK documentation.

Posts: 157
Joined: Fri May 22, 2015 6:22 pm

Re: No documentation on spi_flash_get_id

Postby eriksl » Mon Oct 10, 2016 10:02 pm


User avatar
Posts: 15
Joined: Wed Apr 27, 2016 6:15 am

Re: No documentation on spi_flash_get_id

Postby raspberrypidmx » Wed Oct 12, 2016 12:31 am

The flash ID is a 24 bit number.

First 8-bits are representing the manufacturer -> ... ashchips.h
The second 8-bits gives the type.
And the third 8-bits gives the capacity -> 2^capacity Mbits

Who is online

Users browsing this forum: No registered users and 1 guest