From 7a59b20c3d77ef905a9b550a89c724075a4de234 Mon Sep 17 00:00:00 2001 From: Tangxiulin <11016272+ha-ha-earl@user.noreply.gitee.com> Date: Tue, 15 Jul 2025 20:52:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- en/peripherals/ethernet.W5500.md | 2 ++ en/peripherals/machine.UART.md | 2 +- zh/peripherals/ethernet.W5500.md | 2 ++ zh/peripherals/machine.UART.md | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/en/peripherals/ethernet.W5500.md b/en/peripherals/ethernet.W5500.md index 0fd3ec4..b3d41e5 100644 --- a/en/peripherals/ethernet.W5500.md +++ b/en/peripherals/ethernet.W5500.md @@ -27,6 +27,8 @@ Loads W5500 driver, initializes W5500 Ethernet NIC and returns W5500 NIC object. - `reset_pin` - Connect to reset [GPIO pin](./machine.Pin.md) of `W5500`. The default value is `-1`, indicating that the last configured value is used and the default configuration in the program is `Pin.GPIO17`. - `work_mode` - Configure Ethernet working mode. The default mode is terminal mode. `0` and `1` respectively represents terminal mode and gateway mode. Terminal mode indicates that the module is used as a terminal device to connect to a network supply device to access the network. Gateway mode indicates that the module is used as a gateway to provide network access for external devices through LTE network. +> Note: Do not use the hardware CS pin of spi_port. Instead, select another GPIO pin as the CS pin. + ## Methods ### `W5500.set_addr` diff --git a/en/peripherals/machine.UART.md b/en/peripherals/machine.UART.md index c8c714f..43e3381 100644 --- a/en/peripherals/machine.UART.md +++ b/en/peripherals/machine.UART.md @@ -1063,7 +1063,7 @@ This class transmits data through the UART.
diff --git a/zh/peripherals/ethernet.W5500.md b/zh/peripherals/ethernet.W5500.md index 8556b5a..62a3355 100644 --- a/zh/peripherals/ethernet.W5500.md +++ b/zh/peripherals/ethernet.W5500.md @@ -27,6 +27,8 @@ class ethernet.W5500(mac, ip='', subnet='', gateway='', spi_port=-1, spi_cs_pin= - `reset_pin` - 连接`W5500`的重置[GPIO管脚](./machine.Pin.md),默认值为`-1`, 表示上次配置的值,程序中默认配置为 `Pin.GPIO17`。 - `work_mode` - 以太网工作模式配置,默认为终端模式,`0`/`1` 分别表示终端模式/网关模式。终端模式表示该模块作为终端设备连接供网设备上网。网关模式表示该模块作为网关,为外部设备提供网络访问,通过`4G`上网。 +> 注意:请勿使用spi_port的硬件CS脚,另选一个GPIO作为CS脚 + ## 方法 ### `W5500.set_addr` diff --git a/zh/peripherals/machine.UART.md b/zh/peripherals/machine.UART.md index 7244c36..2d08b9b 100644 --- a/zh/peripherals/machine.UART.md +++ b/zh/peripherals/machine.UART.md @@ -1095,7 +1095,7 @@Attention:
Uart0 is not recommended
-EC200ACN_LA module uart1 pin number is different from other models:
+EC200ACN_LA,EC200AEU_V1HA,EC200ACN_V1DA module uart1 pin number is different from other models:
TX: Pin26
RX: Pin27
-- Gitee注意:
uart0不建议使用
-EC200ACN_LA模组uart1引脚号与其他型号不同:
+EC200ACN_LA,EC200AEU_V1HA,EC200ACN_V1DA 模组uart1引脚号与其他型号不同:
TX:引脚号26
RX:引脚号27