please choosego to mobile | Continue to access the PC version
View: 8895|Reply: 2

How to read and write simple data from SPI FLASH

[Copy link]

5

threads

17

posts

157

credits

Registered member

Rank: 2

credits
157
Published in 2017-2-14 09:10:34 | Show all floors |Read mode


Having an Orange Pi Zero 512KB with legacy kernel (3.4.113).

What would be the right method to read and write data on the SPI FLASH?

The idea is not to boot from it, just to use it to store some variables that need to be independent of the SD card used for the operating system.

Thanks

10

threads

220

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-3-25 13:52:52 | Show all floors

10

threads

220

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-3-16 20:03:49 | Show all floors
Edited by nopnop2002 at 2017-3-16 20:23

I think It's a possible with SPI.
There is library for arduino.

https://github.com/Tamakichi/Arduino-W25Q64/tree/master/W25Q64
I think it can port to OPi/RPI

I ordered W25Q64.I'll try.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list