mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
Merge branch 'docs/add_s3_usb_otg_board_ref_in_dfu' into 'master'
docs: add reference to ESP32-S3-USB-OTG board Closes DOC-4873 and DOC-13439 See merge request espressif/esp-idf!44603
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
|
||||
然而,你可以通过烧录 ``USB_PHY_SEL`` eFuse,将内部 USB PHY 永久切换为支持 USB OTG 外设的模式,不再用于 USB_SERIAL_JTAG。有关 USB_SERIAL_JTAG 和 USB OTG 的更多信息,请参阅 *{IDF_TARGET_NAME} 技术参考手册* [`PDF <{IDF_TARGET_TRM_CN_URL}>`__]。
|
||||
|
||||
如需了解 USB OTG 的实际应用示例,请参考专为 USB OTG 应用设计的 `ESP32-S3-USB-OTG <https://documentation.espressif.com/esp-dev-kits/zh_CN/latest/esp32s3/esp32-s3-usb-otg/index.html>`_ 开发板。
|
||||
|
||||
设备固件升级 (DFU) 是一种通过通用串行总线 (USB) 升级设备固件的机制。但是,启用安全启动 (Secure Boot) 或 flash 加密会禁用 ROM 中的 USB-OTG USB 堆栈,则无法通过该端口上的模拟串口或 DFU 进行更新。
|
||||
|
||||
- 入门指南中的 :ref:`get-started-get-prerequisites` 介绍了 DFU 的软件要求。
|
||||
|
||||
@@ -63,7 +63,7 @@ SD 卡所需的上拉电阻通常在 10 kΩ 至 50 kΩ 之间,注意对某些
|
||||
|
||||
1. 调用 :cpp:func:`spi_bus_add_device` 将设备连接到 SPI 总线,该函数将初始化用作 CS 的 GPIO 管脚到空闲电平:默认为高电平。
|
||||
|
||||
2. 在添加新设备前,初始化需要拉高的 CS 管脚 GPIO。
|
||||
2. 在添加新设备前,先初始化需要保持为拉高状态的 CS 管脚 GPIO。
|
||||
|
||||
3. 在 ESP 的 GPIO 未初始化前,依靠内部/外部上拉电阻拉高所有 CS 管脚(**不推荐**)。请确保上拉电阻拥有足够强度,且没有其他下拉电阻影响拉高。例如,应启用内部下拉电阻。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user