TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6603
Posted: 02:45am 09 Sep 2019
I have been playing with the W25Q16JV which comes on the STM32F4 board. The data sheet is similar to the W25Q64FV.
This is the circuit for the flash chip:
Note the 3.3Vsupply and also the WP and HOLD pins tied to 3.3V
The chips supplied on my boards are of the variety that default to QUAD ENABLE being set!
The speed I am using to talk to the chips is:
SPI OPEN 1000000,0,8
I haven't done anything more than read the serial number and status registers etc but will try saving and retrieving data next. As it is not a MX chip, I can't use Peters CFunctions but the exercise has been good for the grey matter.
> RUN Device ID = EF14 JEDEC ID = EF4015 Serial No = E66840D843431B36
Status registers: 1 00000000 2 00000010 3 01100000