summaryrefslogtreecommitdiff
path: root/doc/develop/pytest
diff options
context:
space:
mode:
authorYixun Lan <[email protected]>2026-04-21 04:47:50 +0000
committerAndre Przywara <[email protected]>2026-04-30 23:31:03 +0200
commit11b5cd22bae8372447a8089df7a2400ac21ed021 (patch)
tree4e48c7c46e37deedc21d054b7916266f8287eb25 /doc/develop/pytest
parent7ad8e387d6d56bc07a978a8e888fdf5276325be5 (diff)
spi: sunxi: wait for TX/RX fifo reset done
Once reset SPI TX or RX fifo, the underlying hardware need to take some time to actually settle down, the two bits will automatically clear to 0, so use a poll mechanism to check status bits to make sure it's done correctly. On Cubie A7A board which using A733 SoC, we encoutered a SPI nor flash timeout issue, it turns out that the SPI fifo reset take a few time to settle down, Add a loop to poll the status. This was the error message shows on A7A board once this issue happened. => sf probe ERROR: sun4i_spi: Timeout transferring data Failed to initialize SPI flash at 0:0 (error -2) Signed-off-by: Yixun Lan <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Acked-by: Andre Przywara <[email protected]>
Diffstat (limited to 'doc/develop/pytest')
0 files changed, 0 insertions, 0 deletions