Skip to content

Commit ebe29f6

Browse files
committed
doc: board: bug fixes and add PMOD pins definition for EMSK
bug fixes and add PMOD pins definition for EMSK Signed-off-by: Watson Zeng <[email protected]>
1 parent 2986ad9 commit ebe29f6

File tree

2 files changed

+69
-2
lines changed

2 files changed

+69
-2
lines changed

doc/documents/board/emsk.rst

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,73 @@ memory mappings for different supported versions of EMSK board are shown below:
7676
.. image:: /pic/emsk-23_peripheral_connections.jpg
7777
:alt: EMSK 2.3 - Peripheral Connections and Memory Mapping
7878

79+
PMOD pins Definition
80+
********************
81+
82+
The location of the pins on the PMOD connectors is shown:
83+
84+
.. image:: /pic/iotdk_pinout_diagram_of_pmod.jpg
85+
:alt: ARC EMSK Pinout Diagram of PMOD
86+
87+
===== ============ ============ ===== ============ ============
88+
POMD1(J1) POMD2(J2)
89+
--------------------------------- ---------------------------------
90+
Pins CFG1 CFG2 Pin CFG1 CFG2
91+
===== ============ ============ ===== ============ ============
92+
1 Port C[8] UART1_CTS 1 Port C[12] run_req
93+
2 Port C[9] UART1_TXD 2 Port C[13] run_ack
94+
3 Port C[10] UART1_RXD 3 Port C[14] I2C0_SCL
95+
4 Port C[11] UART1_RTS 4 Port C[15] I2C0_SDA
96+
5 GND GND 5 GND GND
97+
6 3V3 3V3 6 3V3 3V3
98+
7 Port A[8] SPI1_CS_N 7 Port A[12] halt_req
99+
8 Port A[9] SPI1_MOSI 8 Port A[13] halt_ack
100+
9 Port A[10] SPI1_MISO 9 Port A[14] N.C
101+
10 Port A[11] SPI1_SCLK 10 Port A[15] N.C
102+
11 GND GND 11 GND GND
103+
12 3V3 3V3 12 3V3 3V3
104+
===== ============ ============ ===== ============ ============
105+
106+
===== ============ ============ ===== ============ ============
107+
POMD3(J3) POMD4(J4)
108+
--------------------------------- ---------------------------------
109+
Pins CFG1 CFG2 Pin CFG1 CFG2
110+
===== ============ ============ ===== ============ ============
111+
1 Port C[16] N.C 1 Port C[20] Port D[4]
112+
2 Port C[17] N.C 2 Port C[21] Port D[5]
113+
3 Port C[18] N.C 3 Port C[22] I2C1_SCL
114+
4 Port C[19] N.C 4 Port C[23] i2C1_SDA
115+
5 GND GND 5 GND GND
116+
6 3V3 3V3 6 3V3 3V3
117+
7 Port A[16] N.C 7 Port A[20] Port D[6]
118+
8 Port A[17] N.C 8 Port A[21] Port D[7]
119+
9 Port A[18] N.C 9 Port A[22] N.C
120+
10 Port A[19] N.C 10 Port A[23] N.C
121+
11 GND GND 11 GND GND
122+
12 3V3 3V3 12 3V3 3V3
123+
===== ============ ============ ===== ============ ============
124+
125+
===== ============ ============ ===== ============ ============
126+
POMD5(J5) POMD6(J6)
127+
--------------------------------- ---------------------------------
128+
Pins CFG1 CFG2 Pin CFG1 CFG2
129+
===== ============ ============ ===== ============ ============
130+
1 Port C[24] SPI0_CS1_N 1 Port C[28] SPI0_CS0_N
131+
2 Port C[25] SPI0_MOSI 2 Port C[29] SPI0_MOSI
132+
3 Port C[26] SPI0_MISO 3 Port C[30] SPI0_MISO
133+
4 Port C[27] SPI0_SCLK 4 Port C[31] SPI0_SCLK
134+
5 GND GND 5 GND GND
135+
6 3V3 3V3 6 3V3 3V3
136+
7 Port A[24] UART2_CTS 7 Port A[28] SPI0_CS1_N
137+
8 Port A[25] UART2_TXD 8 Port A[29] SPI0_CS2_N
138+
9 Port A[26] UART2_RXD 9 Port A[30] halt
139+
10 Port A[27] UART2_RTS 10 Port A[31] sleep
140+
11 GND GND 11 GND GND
141+
12 3V3 3V3 12 3V3 3V3
142+
===== ============ ============ ===== ============ ============
143+
144+
145+
79146
Peripherals interrupts
80147
**********************
81148

doc/documents/board/iotdk.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ The location of the pins on the PMOD connectors is shown:
143143
===== ============ ============ ===== ============ ============
144144
POMD_B POMD_C
145145
--------------------------------- ---------------------------------
146-
Pin GPIO SPI Pin GPIO SPI
146+
Pin GPIO SPI Pin GPIO UART
147147
===== ============ ============ ===== ============ ============
148148
B1 gpio8b_0[0] SPI1_CS_N[0] C1 gpio8b_1[0] UART1_CTS
149149
B2 gpio8b_0[1] SPI1_MOSI C2 gpio8b_1[1] UART1_TXD
@@ -156,7 +156,7 @@ B8 gpio8b_0[5] gpio8b_0[5] C8 gpio8b_1[5] gpio8b_1[5]
156156
B9 N.C N.C C9 N.C N.C
157157
B10 N.C N.C C10 N.C N.C
158158
B11 GND GND C11 GND GND
159-
B12 3V3 GND C12 3V3 GND
159+
B12 3V3 3V3 C12 3V3 3V3
160160
===== ============ ============ ===== ============ ============
161161

162162
To change the pinmux of IoTDK, e.g. (GPIO to SPI for PMOD_B), user can use the pinmux API in ``dev_pinmux.h``.

0 commit comments

Comments
 (0)