Hi there,
Until now I did not have luck in making the teensy4.1 work with the SQPI flash W25Q128JVSIQ (no PSRAM installed, soldering checks out.
From my understanding of the schematics the CS should be on pin 51 (EMC_22), and the SPI class to use is SPI2.
compiled using Clion/platformio for teensy4.1 on mac, I tried also with SPI, SPI1 (same), and with default pin for CS.
So, any idea what I am doing wrong?
Until now I did not have luck in making the teensy4.1 work with the SQPI flash W25Q128JVSIQ (no PSRAM installed, soldering checks out.
From my understanding of the schematics the CS should be on pin 51 (EMC_22), and the SPI class to use is SPI2.
Code:
#include <Arduino.h>
#include <SPI.h>
#include <SerialFlash.h>
SerialFlashChip sfc;
setup() {
Serial.begin(115200); while (!Serial);
if (!sfc.begin(SPI2, 51)) {
Serial.printf("error, id is 0,0,0 or 255,255,255\n");
}
}
loop() {}
compiled using Clion/platformio for teensy4.1 on mac, I tried also with SPI, SPI1 (same), and with default pin for CS.
So, any idea what I am doing wrong?