yushuailong opened a new pull request, #22018: URL: https://github.com/apache/nuttx/pull/22018
## Summary STM32H7 QSPI polling transfers can hang because the blocking data helpers already wait for TCF, clear it and abort the transfer, while their callers wait for TCF again after it has been cleared. Return after the blocking data helpers complete and remove the duplicate completion waits. Commands without data retain their completion wait. Prepare polling memory transfers in indirect-write mode so the new address is loaded before the receive helper switches to indirect-read mode. This avoids starting a read with the address from the preceding transfer. ## Impact Fixes STM32H7 QSPI polling command and memory transfers, including the blocking fallback used when a DMA buffer is unsuitable. No public API, Kconfig, build process or application changes are required. ## Testing Verified on STM32H743 hardware with W25Q64 and LittleFS using `CONFIG_STM32_QSPI_POLLING=y`: - LittleFS initialization and mounting completed successfully. - Text file write/read and file copy/compare passed. - A 16 KiB binary file was written and read back correctly. - Text and binary readback passed after unmounting and remounting LittleFS. - LittleFS mounted successfully after two software reboots. [qspi-pr-hardware-testing.txt](https://github.com/user-attachments/files/35039935/qspi-pr-hardware-testing.txt) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
