Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Adafruit_SPIFlashBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static const SPIFlash_Device_t possible_devices[] = {
MB85RS64V, MB85RS1MT, MB85RS2MTA, MB85RS4MT,

// Other common flash devices
W25Q16JV_IQ, W25Q32JV_IQ, AT25SF041, AT25DF081A};
W25Q16JV_IQ, W25Q32JV_IQ, AT25SF041, AT25DF081A, IS25LP016D};

/// Flash device list count
enum {
Expand Down
15 changes: 14 additions & 1 deletion src/flash_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <stdint.h>

typedef struct {
uint32_t total_size;
uint32_t total_size; // in bytes
uint16_t start_up_time_us;

// Three response bytes to 0x9f JEDEC ID command.
Expand Down Expand Up @@ -143,6 +143,19 @@ typedef struct {
.single_status_byte = false, .is_fram = false, \
}

// Settings for the ISSI IS25LP016D 16Mib / 2MiB SPI flash.
// Datasheet: https://www.issi.com/WW/pdf/25LP-WP016D.pdf
#define IS25LP016D \
{ \
.total_size = 2097152, /* 2MiB */ .start_up_time_us = 5000, \
.manufacturer_id = 0x9d, .memory_type = 0x60, .capacity = 0x15, \
.max_clock_speed_mhz = 133, .quad_enable_bit_mask = 0x40, \
.has_sector_protection = false, .supports_fast_read = true, \
.supports_qspi = true, .supports_qspi_writes = true, \
.write_status_register_split = false, .single_status_byte = true, \
.is_fram = false, \
}

// https://www.fujitsu.com/uk/Images/MB85RS64V.pdf
// RDID has continuation code: 04-7F-03-02
#define MB85RS64V \
Expand Down