Skip to content

Commit 4d81272

Browse files
committed
OSPI test: dummy cycle update
1 parent 3697167 commit 4d81272

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hal/tests/TESTS/mbed_hal/ospi/ospi_test_utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ void OspiCommand::build(int instruction, int address, int alt)
8282
if (instruction == STATUS_REG) {
8383
_cmd.address.disabled = 0;
8484
_cmd.address.value = 0;
85-
_cmd.dummy_count = 4;
85+
_cmd.dummy_count = OSPI_READ_FAST_DUMMY_CYCLE;
8686
} else if (instruction == OSPI_CMD_RDCR2) {
87-
_cmd.dummy_count = 4;
87+
_cmd.dummy_count = OSPI_READ_FAST_DUMMY_CYCLE;
8888
} else if ((instruction == OSPI_CMD_READ_OPI) || (instruction == OSPI_CMD_READ_DOPI)) {
89-
_cmd.dummy_count = 20;
89+
_cmd.dummy_count = OSPI_READ_8IO_DUMMY_CYCLE;
9090
} else {
9191
_cmd.dummy_count = 0;
9292
}

0 commit comments

Comments
 (0)