🖨️

TRONXY CXY-V6-191017 (STM32F103 based) MCU I/O pin connection

2023/07/04に公開

TRONXY XY-2に搭載されているCXY-V6-191017ボードのSTM32F103ZET6のI/Oピン接続の解析しています。

STM32F103ZET6 pin connection table (Work In Progress)

Pin Name I/O Connection Comment Mode Reg at Boot
1 PE2 O Y TMC2225 STEP
2 PE3 O Y TMC2225 DIR
3 PE4 O Y TMC2225 EN
4 PE5 O X TMC2225 STEP
5 PE6 O X TMC2225 DIR
6 VBAT S
7 PC13 O X TMC2225 EN
8 PC14 (OSC32_IN)
9 PC15 (OSC32_OUT)
10 PF0 I SD SLOT /CD
11 PF1 O (Z2 TMC2225 DIR)
12 PF2
13 PF3 O (Z2 TMC2225 EN)
14 PF4
15 PF5 O (Z2 TMC2225 STEP)
16 Vss_5 S GND
17 Vdd_5 S VDD
18 PF6
19 PF7
20 PF8
21 PF9
22 PF10
23 OSC_IN OSC
24 OSC_OUT OSC
25 NRST I RESET SW
26 PC0
27 PC1
28 PC2
29 PC3
30 Vss_A S
31 Vref- S
32 Vref+ S
33 Vdd_A S
34 PA0 Ain B TEMP THERMISTOR
35 PA1 Ain E TEMP THERMISTOR
36 PA2
37 PA3
38 Vss_4 S GND
39 Vdd_4 S VDD
40 PA4 (SPI1_NSS)
41 PA5 TOUCH PANEL SCK SPI1 SCK
42 PA6 TOUCH PANEL MISO SPI1 MISO
43 PA7 TOUCH PANEL MOSI SPI1 MOSI
44 PC4
45 PC5
46 PB0 O BEEPER
47 PB1
48 PB2 I GND BOOT1
49 PF11 O LCD MODULE TFT RESET (FSMC_NIOS16)
50 PF12 O SERIAL EEPROM 24C16 MODE
51 Vss_6 S GND
52 Vdd_6 S VDD
53 PF13 I E2 FILAMENT SENSOR
54 PF14
55 PF15
56 PG0 O SERIAL EEPROM 24C16 SCL
57 PG1 I/O SERIAL EEPROM 24C16 SDA
58 PE7 I/O LCD MODULE FSMC_D4
59 PE8 I/O LCD MODULE FSMC_D5
60 PE9 I/O LCD MODULE FSMC_D6
61 Vss_7 S GND
62 Vdd_7 S VDD
63 PE10 I/O LCD MODULE FSMC_D7
64 PE11 I/O LCD MODULE FSMC_D8
65 PE12 I/O LCD MODULE FSMC_D9
66 PE13 I/O LCD MODULE FSMC_D10
67 PE14 I/O LCD MODULE FSMC_D11
68 PE15 I/O LCD MODULE FSMC_D12
69 PB10 O Wi-Fi RXD USART3_TX
70 PB11 I Wi-Fi TXD USART3_RX
71 Vss_1 S
72 Vdd_1 S VDD
73 PB12 SPI FLASH 25Q16 CS SPI2_NSS
74 PB13 SPI FLASH 25Q16 SCK SPI2_SCK
75 PB14 SPI FLASH 25Q16 DO SPI2_MISO
76 PB15 SPI FLASH 25Q16 DI SPI2_MOSI
77 PD8 I/O LCD MODULE FSMC_D13
78 PD9 I/O LCD MODULE FSMC_D14
79 PD10 I/O LCD MODULE FSMC_D15
80 PD11 O LCD MODULE RS FSMC_A16(RS)
81 PD12 O Wi-Fi RTS USART3_RTS
82 PD13 O LCD MODULE BACKLIGHT (FSMC_A18)
83 Vss_8 S GND
84 Vdd_8 S VDD
85 PD14 I/O LCD MODULE FSMC_D0
86 PD15 I/O LCD MODULE FSMC_D1
87 PG2 I LM393 1OUT
88 PG3 (FSMC_A13)
89 PG4 (O) LM393 1IN+
90 PG5 (FSMC_A15)
91 PG6 (FSMC_INT2)
92 PG7 (FSMC_INT3)
93 PG8 O E2 TMC2225 EN
94 Vss_9 S GND
95 Vdd_9 S (CH340G VCC)
96 PC6 O E2 TMC2225 DIR
97 PC7 O E2 TMC2225 STEP
98 PC8 I/O SDD0 SDIO_D0
99 PC9 I/O SDD1 SDIO_D1
100 PA8 (USART1_CL)
101 PA9 O CH340G RXD USART1_TX
102 PA10 I CH340G RXD USART1_RX
103 PA11 (USART1_CTS)
104 PA12 I Y STOP SW (USART1_RTS)
105 PA13 I Z+ STOP SW (JTMS-SWDIO)
106 NC
107 Vss_2 S GND
108 Vdd_2 S VDD
109 PA14 I Z STOP SW (JTCK-SWCLK)
110 PA15 I E1 FILAMENT SENSOR SW (JTDI)
111 PC10 I/O SDD2 SDIO_D2
112 PC11 I/O SDD3 SDIO_D3
113 PC12 O SDCK SDIO_CK
114 PD0 I/O LCD MODULE FSMC_D2
115 PD1 I/O LCD MODULE FSMC_D3
116 PD2 I/O SDCMD SDIO_CMD
117 PD3 (O) (LED) (FSMC_CLK)
118 PD4 O LCD MODULE FSMC_NOE(/RD)
119 PD5 O LCD MODULE FSMC_NWE(/RW)
120 Vss_10 S GND
121 Vdd_10 S VDD
122 PD6 O CONTROLLER FAN
123 PD7 O LCD MODULE FSMC_NE1(CS)
124 PG9 I Z PROBE
125 PG10 I X STOP SW
126 PG11 O B HEATER
127 PG12 O E HEATER
128 PG13 O MODEL FAN
129 PG14 O HEATER FAN
130 Vss_11 S GND
131 Vdd_11 S VDD
132 PG15
133 PB3
134 PB4 O E1 TMC2225 STEP
135 PB5 O E1 TMC2225 DIR
136 PB6
137 PB7 O TOUCH PANEL CS SPI1 NSS
138 BOOT0 I BOOT0
139 PB8 O E1 TMC2225 EN
140 PB9 O Z1 TMC2225 STEP
141 PE0 O Z1 TMC2225 DIR
142 PE1 O Z1 TMC2225 EN
143 Vss_3 S
144 Vdd_3 S VDD

参考文献

[1] STM32F103xC/D/Eデータシート(DS5792), https://www.st.com/resource/en/datasheet/cd00191185.pdf
[2] STM32マイコンでFSMCを使用する際のアドレスについて, https://qiita.com/iwatake2222/items/f2132011cd365d0bd38f
[3] TMC2225 Datasheet, https://www.trinamic.com/fileadmin/assets/Products/ICs_Documents/TMC2225_Datasheet_Rev1.11.pdf

GitHubで編集を提案

Discussion