Winbond: Difference between revisions

Line 18: Line 18:
** Transition to low places device into active mode
** Transition to low places device into active mode
** /CS must track VCC during initialization and shutdown
** /CS must track VCC during initialization and shutdown
* DI (IO0) data input / data io0
* DI (IO0) data input / I/O-0
* DO (IO1) data output / data io1
** SPI must use this for writing. Dual- and Quad-SPI use it bidirectionally.
* /WP (IO2) write protect input / data io2
* DO (IO1) data output / I/O-1
* /HOLD (IO3) hold input / data io3
** SPI must use this for reading. Dual- and Quad-SPI use it bidirectionally.
* /WP (IO2) write protect input / I/O-2
** Used only in Hardware Protection mode (incompatible with Quad-SPI)
* /HOLD (IO3) hold input / I/O-3
** Used only in Hardware Protection mode (incompatible with Quad-SPI)
* VCC power (2.7V--3.6V)
* VCC power (2.7V--3.6V)
* GND
* GND
/WP and /HOLD are only for SPI/Dual-SPI (Quad-SPI uses data io 0--3). Data is always written on the rising edge of CLK, and read on the falling edge. SPI must write through DO and read through DI. Dual- and Quad-SPI treat data io pins as bidirectional.
Data is written on the rising edge of CLK, and read on the falling edge.


===Registers===
===Registers===