Hi,
Any idea what Pin and SPI Port the Playground Express' 2MB of flash is located on?
I'm trying to get fatfs running on it per below, I guessed 11 and the zeroth port to no avail,
Thanks!
// Configuration of the flash chip pins and flash fatfs object.
#define FLASH_TYPE SPIFLASHTYPE_W25Q16BV // Flash chip type.
#define FLASH_SS 11 // Flash chip SS pin
#define FLASH_SPI_PORT SPI // What SPI port is Flash on?
Adafruit_SPIFlash flash(FLASH_SS, &FLASH_SPI_PORT); // Use hardware SPI
Adafruit_W25Q16BV_FatFs fatfs(flash);
Accessing Playground Express 2MB Flash using Adafruit_SPIFla
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- GJSea
- Posts: 14
- Joined: Tue Sep 26, 2017 3:21 pm
- GJSea
- Posts: 14
- Joined: Tue Sep 26, 2017 3:21 pm
Re: Accessing Playground Express 2MB Flash using Adafruit_SP
Never mind, I figured it out - all working now! Variant.h contains the various constants, in this case they are:
static const uint8_t SS = 33 ;
#define PIN_SPI_MISO (30u)
#define PIN_SPI_SCK (31u)
#define PIN_SPI_MOSI (32u)
static const uint8_t SS = 33 ;
#define PIN_SPI_MISO (30u)
#define PIN_SPI_SCK (31u)
#define PIN_SPI_MOSI (32u)
Please be positive and constructive with your questions and comments.