I was happy to see the pads on the backside of the Teensy 4.1 for a flash memory chip.
I attempted to put a Cypress 8 Mbit FRAM chip on instead of the flash and use then use the SPI2 pins... but they don't seem to be the same on a Teensy 4.1.
here is the configuration code fragment:
#include <SPI.h>
#include "Adafruit_FRAM_SPI.h" // This works with the pins noted for Teensy 4.0, but not 4.1
uint8_t FRAM_CS = 44; // SPI2 CS is pin 36 for Teensy 4.0 and 44 (?) for Teensy 4.1 I think
Adafruit_FRAM_SPI fram = Adafruit_FRAM_SPI(FRAM_CS, &SPI2); // use hardware SPI2
uint8_t FRAM_SCK = 45; // SPI2 SCK 37 is pin for Teensy 4.0 and 45 (?) for Teensy 4.1 I think
uint8_t FRAM_MISO = 42; // SPI2 MISO is pin 34 for Teensy 4.0 and 42 (?) for Teensy 4.1 I think
uint8_t FRAM_MOSI = 43; // SPI2 MOSI is pin 35 for Teensy 4.0 and 43 (?) for Teensy 4.1 I think
I must have the pins wrong or .... ?
Is there a schematic with right numbers or am I mistaken altogether about trying to put the FRAM on the flash pads? The pinouts are identical.
Thanks in advance for any help.
I attempted to put a Cypress 8 Mbit FRAM chip on instead of the flash and use then use the SPI2 pins... but they don't seem to be the same on a Teensy 4.1.
here is the configuration code fragment:
#include <SPI.h>
#include "Adafruit_FRAM_SPI.h" // This works with the pins noted for Teensy 4.0, but not 4.1
uint8_t FRAM_CS = 44; // SPI2 CS is pin 36 for Teensy 4.0 and 44 (?) for Teensy 4.1 I think
Adafruit_FRAM_SPI fram = Adafruit_FRAM_SPI(FRAM_CS, &SPI2); // use hardware SPI2
uint8_t FRAM_SCK = 45; // SPI2 SCK 37 is pin for Teensy 4.0 and 45 (?) for Teensy 4.1 I think
uint8_t FRAM_MISO = 42; // SPI2 MISO is pin 34 for Teensy 4.0 and 42 (?) for Teensy 4.1 I think
uint8_t FRAM_MOSI = 43; // SPI2 MOSI is pin 35 for Teensy 4.0 and 43 (?) for Teensy 4.1 I think
I must have the pins wrong or .... ?
Is there a schematic with right numbers or am I mistaken altogether about trying to put the FRAM on the flash pads? The pinouts are identical.
Thanks in advance for any help.