winbond W25Q64xxx SPI flash

Please do not post requests
Post Reply
madias
Posts: 813
Joined: Mon Apr 27, 2015 11:26 am
Location: Vienna, Austria

winbond W25Q64xxx SPI flash

Post by madias » Mon Apr 27, 2015 2:32 pm

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.
Attachments
winbond_w25qxx.zip
(28.61 KiB) Downloaded 1180 times

michael_l
Posts: 337
Joined: Mon Aug 24, 2015 6:11 pm

Re: winbond W25Q64xxx SPI flash

Post by michael_l » Sat Dec 03, 2016 2:08 pm

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);

..

}

User avatar
efftek
Posts: 76
Joined: Tue Jan 10, 2017 9:42 pm
Location: UK / Cyprus
Contact:

Re: winbond W25Q64xxx SPI flash

Post by efftek » Thu Apr 20, 2017 8:40 pm

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

User avatar
martinayotte
Posts: 1229
Joined: Mon Apr 27, 2015 1:45 pm

Re: winbond W25Q64xxx SPI flash

Post by martinayotte » Thu Apr 20, 2017 11:01 pm

Probably ...
But I never used it myself, I'm still using the one from https://github.com/LowPowerLab/SPIFlash

User avatar
efftek
Posts: 76
Joined: Tue Jan 10, 2017 9:42 pm
Location: UK / Cyprus
Contact:

Re: winbond W25Q64xxx SPI flash

Post by efftek » Fri Apr 21, 2017 5:05 pm

Thanks, I'll try that one too when I get the boards.

Steve.

Post Reply