...
SPI Flash command | Description |
---|---|
#define SPI_WREN 0x06 | to addSet Write Enable Latch |
#define SPI_WRDI 0x04 | to addReset Write Enable Latch |
#define SPI_RDSR1 0x05 | to addRead Status Register |
#define SPI_RDSR2 0x35 | to add |
#define SPI_WRSR 0x01 | to addWrite Status Register |
#define SPI_READ 0x03 | to addRead data from memory |
#define SPI_FAST_READ 0x0b | to add |
#define SPI_WRITE 0x02 | Write data to addmemory array |
#define SPI_SE 0xD8 | to addErase one sector in memory |
#define SPI_BE 0xC7 | to addErase all memory |
#define SPI_DP 0xb9 | to addWrite Enable Command |
#define SPI_RES 0xab | to addRead Electonic Signature |
#define SPI_RDID 0x9F | reads the ID of the SPI Flash |
...