add register double read
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled

This commit is contained in:
2026-02-25 15:57:21 +01:00
parent 4112e336ef
commit 3eb8467bf5
+4 -1
View File
@@ -565,7 +565,10 @@ impl QspiSpansionS25Fl256SIoMode {
let mut reply_word_index = 0;
while read_index < buf.len() {
if transfer.read_status().rx_above_threshold() {
let rx_is_above_threshold = transfer.read_status().rx_above_threshold();
// See p.374 of the TRM: Do a double read to ensure this is correct information.
if rx_is_above_threshold && transfer.read_status().rx_above_threshold() {
let reply = transfer.read_rx_data();
if reply_word_index == 0 {
reply_word_index += 1;