File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,9 @@ where
123
123
QspiReadCommand :: new ( data, QspiMode :: QuadChannel )
124
124
. instruction ( 0xEB , QspiMode :: SingleChannel )
125
125
. address ( address, QspiMode :: QuadChannel )
126
- . dummy_cycles ( 6 ) ,
126
+ // the M0-M7 bits will be send by alternate_bytes, and the value should be 0xFX
127
+ . alternate_bytes ( & [ 0xFF ] , QspiMode :: QuadChannel )
128
+ . dummy_cycles ( 4 ) ,
127
129
) ?;
128
130
129
131
Ok ( ( ) )
@@ -135,7 +137,9 @@ where
135
137
. instruction ( 0xEB , QspiMode :: SingleChannel )
136
138
. address_mode ( QspiMode :: QuadChannel )
137
139
. data_mode ( QspiMode :: QuadChannel )
138
- . dummy_cycles ( 6 ) ,
140
+ // the M0-M7 bits will be send by alternate_bytes, and the value should be 0xFX
141
+ . alternate_bytes ( & [ 0xFF ] , QspiMode :: QuadChannel )
142
+ . dummy_cycles ( 4 ) ,
139
143
)
140
144
}
141
145
}
You can’t perform that action at this time.
0 commit comments