File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
TESTS/mbed_hal/qspi/flash_configs Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 46
46
47
47
48
48
// 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
49
51
#define QSPI_CMD_WRITE_1IO 0x02 // 1-1-1 mode
50
- //#define QSPI_CMD_WRITE_4IO 0x02 // Only single/octal mode supported
51
52
// write operations max time [us] (datasheet max time + 15%)
52
53
#define QSPI_PAGE_PROG_MAX_TIME 11500 // 10ms
53
54
56
57
#define QSPI_SECTOR_COUNT 2048
57
58
58
59
// Commands for reading
60
+ // Only single/octal mode supported with this memory
61
+ // So only single 1-1-1 mode in this QSPI config
59
62
#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
65
64
66
65
#define QSPI_READ_1IO_DUMMY_CYCLE 0
67
66
#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
72
67
73
68
// Commands for erasing
74
69
#define QSPI_CMD_ERASE_SECTOR 0x20 // 4kB
You can’t perform that action at this time.
0 commit comments