You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/Compile_and_Develop/How_to_implement_SPI_AT.rst
+51-24Lines changed: 51 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ How to enable SPI AT?
22
22
23
23
You can configure and enable SPI AT through the following steps:
24
24
25
-
1. ``./build.py menuconfig`` -> ``Component config`` -> ``AT`` -> ``communicate method for AT command`` -> ``AT through HSPI`` to enable SPI AT.
25
+
1. ``./build.py menuconfig`` -> ``Component config`` -> ``AT`` -> ``communicate method for AT command`` -> ``AT through SPI`` to enable SPI AT.
26
26
2. ``./build.py menuconfig`` -> ``Component config`` -> ``AT`` -> ``communicate method for AT command`` -> ``AT SPI Data Transmission Mode`` to choose the SPI data transmission mode.
27
27
3. ``./build.py menuconfig`` -> ``Component config`` -> ``AT`` -> ``communicate method for AT command`` -> ``AT SPI GPIO settings`` to change the default pin assignments for SPI AT.
28
28
4. ``./build.py menuconfig`` -> ``Component config`` -> ``AT`` -> ``communicate method for AT command`` -> ``AT SPI driver settings`` to choose the SPI slave mode, and config the buffer size for data transmission.
@@ -33,32 +33,59 @@ The Default Pin Assignment
33
33
34
34
The following pin assignments are used by default:
35
35
36
-
.. list-table:: The Default Pins for SPI AT
37
-
:widths: 10 25
38
-
:header-rows: 1
39
-
40
-
* - Signal
41
-
- GPIO Number
42
-
* - SCLK
43
-
- 6
44
-
* - MISO
45
-
- 2
46
-
* - MOSI
47
-
- 7
48
-
* - CS
49
-
- 10
50
-
* - HANDSHAKE
51
-
- 3
52
-
* - GND
53
-
- GND
54
-
* - QUADWP (qio/qout) :sup:`1`
55
-
- 8
56
-
* - QUADHD (qio/qout) :sup:`1`
57
-
- 9
36
+
.. only:: esp32c2 or esp32c3
37
+
38
+
.. list-table:: The Default Pins for SPI AT
39
+
:widths: 10 25
40
+
:header-rows: 1
41
+
42
+
* - Signal
43
+
- GPIO Number
44
+
* - SCLK
45
+
- 6
46
+
* - MISO
47
+
- 2
48
+
* - MOSI
49
+
- 7
50
+
* - CS
51
+
- 10
52
+
* - HANDSHAKE
53
+
- 3
54
+
* - GND
55
+
- GND
56
+
* - QUADWP (qio/qout) :sup:`1`
57
+
- 8
58
+
* - QUADHD (qio/qout) :sup:`1`
59
+
- 9
60
+
61
+
.. only:: esp32c6
62
+
63
+
.. list-table:: The Default Pins for SPI AT
64
+
:widths: 10 25
65
+
:header-rows: 1
66
+
67
+
* - Signal
68
+
- GPIO Number
69
+
* - SCLK
70
+
- 19
71
+
* - MISO
72
+
- 20
73
+
* - MOSI
74
+
- 18
75
+
* - CS
76
+
- 23
77
+
* - HANDSHAKE
78
+
- 21
79
+
* - GND
80
+
- GND
81
+
* - QUADWP (qio/qout) :sup:`1`
82
+
- 22
83
+
* - QUADHD (qio/qout) :sup:`1`
84
+
- 2
58
85
59
86
**Note** 1: QUADWP and QUADHD signals are only used for 4-bit (qio/qout) transactions.
60
87
61
-
You can change the default pin assignments by ``./build.py menuconfig`` > ``Component config`` > ``AT`` > ``communicate method for AT command`` > ``AT through HSPI`` > ``AT SPI GPIO settings`` and compile the project (see :doc:`../Compile_and_Develop/How_to_clone_project_and_compile_it`).
88
+
You can change the default pin assignments by ``./build.py menuconfig`` > ``Component config`` > ``AT`` > ``communicate method for AT command`` > ``AT through SPI`` > ``AT SPI GPIO settings`` and compile the project (see :doc:`../Compile_and_Develop/How_to_clone_project_and_compile_it`).
Copy file name to clipboardExpand all lines: docs/en/Compile_and_Develop/How_to_optimize_throughput.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,9 +277,9 @@ The data stream of throughput is similar to water flow. In order to improve thro
277
277
278
278
If the user expects the throughput rate to be greater than or close to 5 Mbps, then SPI, SDIO, Socket or other methods can be considered. Please refer to:
279
279
280
-
.. only:: esp32
280
+
.. only:: esp32 or esp32c6
281
281
282
-
- SDIO: :doc:`SDIO AT Guide </Compile_and_Develop/esp32-sdio-at-guide>`
282
+
- SDIO: :doc:`SDIO AT Guide </Compile_and_Develop/How_to_implement_SDIO_AT>`
283
283
- Socket: :project_file:`Socket AT Guide <main/interface/socket/README.md>`
Copy file name to clipboardExpand all lines: docs/en/Compile_and_Develop/How_to_set_AT_port_pin.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ To modify the AT port pins of your {IDF_TARGET_NAME}, you should:
17
17
This document focuses on modifying the pins. Click the links above for details of other steps.
18
18
19
19
.. note::
20
-
To use other interfaces as the AT command port, please refer to :project_file:`AT through SDIO <main/interface/sdio/README.md>`, :project_file:`AT through SPI <main/interface/hspi/README.md>`, or :project_file:`AT through socket <main/interface/socket/README.md>` for more details.
20
+
To use other interfaces as the AT command port, please refer to :project_file:`AT through SDIO <main/interface/sdio/README.md>`, :project_file:`AT through SPI <main/interface/spi/README.md>`, or :project_file:`AT through socket <main/interface/socket/README.md>` for more details.
Copy file name to clipboardExpand all lines: docs/en/faq.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -245,7 +245,7 @@ What interfaces of {IDF_TARGET_NAME} chips can be used to transmit AT commands?
245
245
:esp32: - {IDF_TARGET_NAME} can transmit AT commands through UART and SDIO.
246
246
:esp32c2 or esp32c3 or esp32c6: - {IDF_TARGET_NAME} can transmit AT commands through UART and SPI.
247
247
- The default firmware uses UART for transmission. If you need SDIO or SPI interface to transmit AT commands, you can configure it through ``./build.py menuconfig`` > ``Component config`` > ``AT`` when compiling the ESP-AT project by yourself.
248
-
- See :project_file:`AT through SDIO <main/interface/sdio/README.md>`, :project_file:`AT through SPI <main/interface/hspi/README.md>`, or :project_file:`AT through socket <main/interface/socket/README.md>` for more details.
248
+
- See :project_file:`AT through SDIO <main/interface/sdio/README.md>`, :project_file:`AT through SPI <main/interface/spi/README.md>`, or :project_file:`AT through socket <main/interface/socket/README.md>` for more details.
0 commit comments