Skip to content

Commit 1c29136

Browse files
committed
MX25LM51245G test config: explicitely remove unsupported commands
1 parent 4f22a10 commit 1c29136

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

TESTS/mbed_hal/qspi/flash_configs/MX25LM51245G_config.h

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@
4646

4747

4848
// Commands for writing (page programming)
49+
// Only single/octal mode supported with this memory
50+
// So only single 1-1-1 mode in this QSPI config
4951
#define QSPI_CMD_WRITE_1IO 0x02 // 1-1-1 mode
50-
//#define QSPI_CMD_WRITE_4IO 0x02 // Only single/octal mode supported
5152
// write operations max time [us] (datasheet max time + 15%)
5253
#define QSPI_PAGE_PROG_MAX_TIME 11500 // 10ms
5354

@@ -56,19 +57,13 @@
5657
#define QSPI_SECTOR_COUNT 2048
5758

5859
// Commands for reading
60+
// Only single/octal mode supported with this memory
61+
// So only single 1-1-1 mode in this QSPI config
5962
#define QSPI_CMD_READ_1IO_FAST 0x0B // 1-1-1 mode
60-
#define QSPI_CMD_READ_1IO 0x03 /// Only single/octal mode supported
61-
//#define QSPI_CMD_READ_2IO 0x03 // Only single/octal mode supported
62-
//#define QSPI_CMD_READ_1I2O 0x03 // Only single/octal mode supported
63-
//#define QSPI_CMD_READ_4IO 0x03 // Only single/octal mode supported
64-
//#define QSPI_CMD_READ_1I4O 0x03 // Only single/octal mode supported
63+
#define QSPI_CMD_READ_1IO 0x03 // 1-1-1 mode
6564

6665
#define QSPI_READ_1IO_DUMMY_CYCLE 0
6766
#define QSPI_READ_FAST_DUMMY_CYCLE 8
68-
//#define QSPI_READ_2IO_DUMMY_CYCLE 0 // Only single/octal mode supported
69-
//#define QSPI_READ_1I2O_DUMMY_CYCLE 0 // Only single/octal mode supported
70-
//#define QSPI_READ_4IO_DUMMY_CYCLE 0 // Only single/octal mode supported
71-
//#define QSPI_READ_1I4O_DUMMY_CYCLE 0 // Only single/octal mode supported
7267

7368
// Commands for erasing
7469
#define QSPI_CMD_ERASE_SECTOR 0x20 // 4kB

0 commit comments

Comments
 (0)