Skip to content

Commit

Permalink
Merge branch 'docs/fix_formatting_issues_in_spi_flash_concurrency_doc…
Browse files Browse the repository at this point in the history
…' into 'master'

docs: fix formatting issues in spi_flash_concurrency document

See merge request espressif/esp-idf!24619
  • Loading branch information
skywxFang committed Aug 23, 2023
2 parents 3b50c71 + 6ae9acb commit 9d8b121
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
Concurrency Constraints for Flash on SPI1
=========================================

:link_to_translation:`zh_CN:[中文]`

The SPI0/1 bus is shared between the instruction & data cache (for firmware execution) and the SPI1 peripheral (controlled by the drivers including this SPI Flash driver). Hence, operations to SPI1 will cause significant influence to the whole system. This kind of operations include calling SPI Flash API or other drivers on SPI1 bus, any operations like read/write/erase or other user defined SPI operations, regardless to the main flash or other SPI slave devices.

.. only:: not (esp32c3 or SOC_SPIRAM_XIP_SUPPORTED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
当使能 flash 擦除的自动暂停
--------------------------------------

.. important:
.. important::

您使用的 flash 需要有 suspend/resume 功能,而且不是所有具备 suspend/resume 的 flash 都可以在 {IDF_TARGET_NAME} 上使用自动暂停功能。如果您在不支持自动暂停的 flash 上使用该功能,可能会造成严重的程序崩溃。因此,我们强烈建议您在使用前阅读对应的 flash 的数据手册,确保您的 flash 可以满足如下条件, 即使这样,我们也建议您对 flash 做完整的测试:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
SPI1 flash 并发约束
=========================================

:link_to_translation:`en:[English]`

指令/数据 cache(用以执行固件)与 SPI1 外设(由像 SPI flash 驱动一样的驱动程序控制)共享 SPI0/1 总线。因此,SPI1 外设上的操作会对整个系统造成显著的影响。这类操作包括调用 SPI flash API 或者 SPI1 总线上的其他驱动、任何 flash 操作(如读取、写入、擦除)或是由其他用户定义的 SPI 操作(对主 flash 或是其他 SPI 从机)。

.. only:: not (esp32c3 or SOC_SPIRAM_XIP_SUPPORTED)
Expand Down

0 comments on commit 9d8b121

Please sign in to comment.