Skip to content

Commit 4cf3a7f

Browse files
committed
OSPIF: dummy cycles update
1 parent 4d81272 commit 4cf3a7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/blockdevice/COMPONENT_OSPIF/source/OSPIFBlockDevice.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,8 +1662,7 @@ ospi_status_t OSPIFBlockDevice::_ospi_send_general_command(ospi_inst_t instructi
16621662
if ((_inst_width == OSPI_CFG_BUS_OCTA) || (_inst_width == OSPI_CFG_BUS_OCTA_DTR)) {
16631663
if ((instruction == OSPIF_INST_RSR1) || (instruction == OSPIF_INST_RDID) ||
16641664
(instruction == OSPIF_INST_RDCR2) || (instruction == OSPIF_INST_RDCR)) {
1665-
_ospi.configure_format(_inst_width, _inst_size, _address_width, _address_size, OSPI_CFG_BUS_SINGLE,
1666-
0, _data_width, 4);
1665+
_ospi.configure_format(_inst_width, _inst_size, _address_width, _address_size, OSPI_CFG_BUS_SINGLE, 0, _data_width, _dummy_cycles);
16671666
addr = 0;
16681667
} else if ((instruction == OSPIF_INST_WSR1)) {
16691668
addr = 0;

0 commit comments

Comments
 (0)