Hi Team, has any one successfully used the winboard flash chips that come super cheap and run on the SPI, or do we have any component that we can use to try some read writes. This are offered super cheap on ebay but do not see any sample programs for those. I think they work same at the SD card component.. but have not tried it on the chips that I have received.. any one with any experience or help will be appreciated.
Product Link: http://www.ebay.com/itm/171414742316?ss ... 1439.l2649
Data Sheet: http://www.elinux.org/images/f/f5/Winbond-w25q32.pdf
Using the W25Q32FVSIG SPI Flash Memory from winboard
Moderator: Benj
- amarsingh12
- Posts: 9
- Joined: Sun Jul 17, 2011 4:21 pm
- Has thanked: 1 time
- Been thanked: 3 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
Hello,
They do look fairly good. My problem with Flash chips is that they are often much slower then they first appear. If you look at the datasheet on page 51 then this lists the associated write times.
50-80 seconds to erase the device
120-200ms to erase a sector
1.5-3ms to write a page (after you have loaded all the data)
If you need none volatile memory to store low frequency data then probably a good option. If you don't need none volatile then I would recommend a SRAM chip instead as the read write time is a lot faster and the page/sector/block complications are removed.
They do look fairly good. My problem with Flash chips is that they are often much slower then they first appear. If you look at the datasheet on page 51 then this lists the associated write times.
50-80 seconds to erase the device
120-200ms to erase a sector
1.5-3ms to write a page (after you have loaded all the data)
If you need none volatile memory to store low frequency data then probably a good option. If you don't need none volatile then I would recommend a SRAM chip instead as the read write time is a lot faster and the page/sector/block complications are removed.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- amarsingh12
- Posts: 9
- Joined: Sun Jul 17, 2011 4:21 pm
- Has thanked: 1 time
- Been thanked: 3 times
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
Thankyou for your reply.. . You have been my hero since you got the ENC28J60 to work on flowcode . My read write will be approx 1 time per minute... which kind of serves my purpose... would like to ask you one more question please, should I use the standard sd card component to send and receive data to the chip.. or do i have to come up with some custom macros for the same ?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
Many thanks those modules are very cool.You have been my hero since you got the ENC28J60 to work on flowcode
The FAT component will only work with an SD card so your better off using the SPI component and creating your own macros. The datasheet looks to be quite detailed in terms of how you send out the various commands and how to send / receive data.
This blog might help if you are new to SPI communications.
http://www.matrixtsl.com/blog/simplifie ... c-and-spi/
Let us know how your getting on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- amarsingh12
- Posts: 9
- Joined: Sun Jul 17, 2011 4:21 pm
- Has thanked: 1 time
- Been thanked: 3 times
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
Thankyou Benj, I have received the chips but still waiting on the PCB that converts it from SOIC to DIP, once received will start some experiments..will post the results in the forum.
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
Hi
Not sure, perhabs it helps.
I had a try with this , but i think there is a little mistake in my flowchart,
perhabs benj can look to the flowchart, i used arduino mega 2560, and i found the tip from benj with hardware spi here :
http://www.www.matrixmultimedia.com/mmf ... 407#p69407
this helps me first time to sort out the software / hardware spi doing.
( txs benj )
btw:
i tested arduino sketch with the SPIFlash libary and works ( see picture ) the wire is ok and same - so i think the mistake is in the flowchart
( benj can you help please? - what was making wrong ? )
best wishes
rudi
Not sure, perhabs it helps.
I had a try with this , but i think there is a little mistake in my flowchart,
perhabs benj can look to the flowchart, i used arduino mega 2560, and i found the tip from benj with hardware spi here :
http://www.www.matrixmultimedia.com/mmf ... 407#p69407
this helps me first time to sort out the software / hardware spi doing.
( txs benj )
btw:
i tested arduino sketch with the SPIFlash libary and works ( see picture ) the wire is ok and same - so i think the mistake is in the flowchart
( benj can you help please? - what was making wrong ? )
best wishes
rudi
Re: Using the W25Q32FVSIG SPI Flash Memory from winboard
push'
btw:
wire was:
W32
----------
1 /CS -> cs ( mega 2560 i take dig10 ( B4 ))
2 DO -> MISO
3 /WP-> here i connect it temporaly ( i do not need the just in time the function ) to GND
4 GND -> GND
5 DI -> MOSI
6 CLK -> CLK
7 /HOLD-> here i connect it temporaly ( i do not need the just in time the function ) to 3.3+
8 VCC -> 3.3+
like benj mentioded here this is helpfull
mega 2560 SS tip:
http://www.www.matrixmultimedia.com/mmf ... 407#p69407
spi / i2c
http://www.matrixtsl.com/blog/simplifie ... 2c-and-spi
last but not least:
5V / 3.3V
http://matrixtsl.com/blog/wp-content/up ... lshift.bmp
rudi
btw:
wire was:
W32
----------
1 /CS -> cs ( mega 2560 i take dig10 ( B4 ))
2 DO -> MISO
3 /WP-> here i connect it temporaly ( i do not need the just in time the function ) to GND
4 GND -> GND
5 DI -> MOSI
6 CLK -> CLK
7 /HOLD-> here i connect it temporaly ( i do not need the just in time the function ) to 3.3+
8 VCC -> 3.3+
like benj mentioded here this is helpfull
mega 2560 SS tip:
http://www.www.matrixmultimedia.com/mmf ... 407#p69407
spi / i2c
http://www.matrixtsl.com/blog/simplifie ... 2c-and-spi
last but not least:
5V / 3.3V
http://matrixtsl.com/blog/wp-content/up ... lshift.bmp
rudi