mjs513
Senior Member+
@Paul - @defragster
More on QSPI FLash.
In the beta7 core libraries its dying right after it enters begin:
For Micromod are we using FLEXSPI2?
More on QSPI FLash.
In the beta7 core libraries its dying right after it enters begin:
Code:
LittleFS Test
QSPI flash begin
Code:
Serial.println("QSPI flash begin"); [COLOR="#FF0000"]<----- prints this and it dies.[/COLOR]
configured = false;
uint8_t buf[4] = {0, 0, 0, 0};
FLEXSPI2_LUTKEY = FLEXSPI_LUTKEY_VALUE;
FLEXSPI2_LUTCR = FLEXSPI_LUTCR_UNLOCK;
// cmd index 8 = read ID bytes
FLEXSPI2_LUT32 = LUT0(CMD_SDR, PINS1, 0x9F) | LUT1(READ_SDR, PINS1, 1);
FLEXSPI2_LUT33 = 0;
flexspi2_ip_read(8, 0x00800000, buf, 3);
Serial.printf("Flash ID: %02X %02X %02X\n", buf[0], buf[1], buf[2]); [COLOR="#FF0000"] <---- never reaches here[/COLOR]