Page 1 of 1

winbond W25Q64xxx SPI flash

Posted: Mon Apr 27, 2015 2:32 pm
by madias
Library for the winbond W25Q64 flash SPI RAM. With some additional examples (maybe some german words inside :) )
I have done a rough japanese to english translation from the original one.

Re: winbond W25Q64xxx SPI flash

Posted: Sat Dec 03, 2016 2:08 pm
by michael_l
Just tried this and can confirm it works just great with Maple Mini - just needed to change the CS pin from 10 -> 7 (SS of SPI1, on Maple Mini). Thanks ! with help of this I'm trying to come up with working SPIFFS implementation as there are 3 functions to be implemented, read, write and erase.

EDIT: actually one modification was needed to the library. Add pinmode to OUTPUT. The "standalone" examples work okay.


bool winbondFlashSPI::begin(partNumber _partno,SPIClass &_spi,uint8_t _nss)
{
//spi = _spi;
nss = _nss;
pinMode (nss, OUTPUT);

..

}

Re: winbond W25Q64xxx SPI flash

Posted: Thu Apr 20, 2017 8:40 pm
by efftek
Hi,

Does this library work with the Winbond W25Q32 chips? Also, if it does, can I use it with SPI2 ie

SS PB12
CLK PB13
MISO PB14
MOSI PB15

Regards, Steve

Re: winbond W25Q64xxx SPI flash

Posted: Thu Apr 20, 2017 11:01 pm
by martinayotte
Probably ...
But I never used it myself, I'm still using the one from https://github.com/LowPowerLab/SPIFlash

Re: winbond W25Q64xxx SPI flash

Posted: Fri Apr 21, 2017 5:05 pm
by efftek
Thanks, I'll try that one too when I get the boards.

Steve.