-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpinout.json
More file actions
217 lines (217 loc) · 4.47 KB
/
pinout.json
File metadata and controls
217 lines (217 loc) · 4.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"board": {
"name": "Waveshare ESP32-S3 Audio Board",
"mcu": "ESP32-S3R8",
"variant": "esp32s3",
"board_id": "esp32-s3-devkitc-1",
"flash": "16MB",
"flash_mode": "QIO",
"flash_speed": "80MHz",
"psram": "8MB",
"psram_mode": "octal",
"psram_speed": "80MHz",
"sram": "512KB",
"rom": "384KB",
"wifi": "2.4GHz 802.11 b/g/n",
"bluetooth": "5 (LE)",
"framework": "ESP-IDF"
},
"i2c": {
"scl": "GPIO10",
"sda": "GPIO11",
"frequency": "100kHz",
"devices": [
{
"name": "ES8311 Audio DAC",
"address": 24
},
{
"name": "ES7210 Audio ADC",
"address": 64
},
{
"name": "TCA9555 I/O Expander",
"address": 32
},
{
"name": "PCF85063 RTC",
"address": 81
}
]
},
"i2s": {
"mclk": "GPIO12",
"bclk": "GPIO13",
"lrclk": "GPIO14",
"din": "GPIO15",
"dout": "GPIO16"
},
"audio": {
"adc": {
"chip": "ES7210",
"type": "4-channel audio ADC",
"i2c_address": 64,
"bits_per_sample": 16,
"sample_rate": 16000
},
"dac": {
"chip": "ES8311",
"type": "Low-power mono audio codec",
"i2c_address": 24,
"bits_per_sample": 16,
"sample_rate": 16000
},
"amplifier": {
"chip": "NS4150B",
"type": "Mono Class-D speaker amplifier",
"enable_pin": {
"io_expander": "TCA9555",
"pin": 8,
"active_high": true
}
}
},
"led_ring": {
"type": "WS2812B-0807",
"gpio": "GPIO38",
"num_leds": 7,
"color_order": "GRB"
},
"buttons": {
"boot": {
"gpio": "GPIO0",
"active_low": true,
"note": "Standard ESP32 boot button"
},
"key1": {
"io_expander": "TCA9555",
"pin": 10,
"active_low": true
},
"key2": {
"io_expander": "TCA9555",
"pin": 10,
"active_low": true
},
"key3": {
"io_expander": "TCA9555",
"pin": 11,
"active_low": true
}
},
"rtc": {
"chip": "PCF85063",
"i2c_address": 81
},
"battery": {
"adc_pin": "GPIO8"
},
"usb": {
"type": "USB-C",
"d_minus": "GPIO19",
"d_plus": "GPIO20",
"note": "When EXIO7 is LOW, USB is unavailable"
},
"lcd": {
"cs": "GPIO3",
"sclk": "GPIO4",
"backlight": "GPIO5",
"sda0": "GPIO9",
"sda1": "GPIO8",
"sda2": "GPIO7",
"sda3": "GPIO6",
"reset": {
"io_expander": "TCA9555",
"pin": 0
},
"touch_reset": {
"io_expander": "TCA9555",
"pin": 1
},
"touch_interrupt": {
"io_expander": "TCA9555",
"pin": 2
},
"compatible_displays": [
"1.47\" JD9853",
"1.85\" ST77916 (QSPI)",
"2\" ST7789",
"2.8\" ST7789",
"3.5\" ST7796"
]
},
"sd_card": {
"mode": "SDMMC 1-bit",
"clk": "GPIO40",
"cmd": "GPIO42",
"d0": "GPIO41",
"cs": {
"io_expander": "TCA9555",
"pin": 3
}
},
"camera": {
"interface": "DVP",
"compatible": [
"OV2640",
"OV5640"
],
"xclk": "GPIO43",
"pclk": "GPIO44",
"vsync": "GPIO21",
"href": "GPIO1",
"d0": "GPIO2",
"d1": "GPIO17",
"d2": "GPIO18",
"d3": "GPIO39",
"d4": "GPIO45",
"d5": "GPIO46",
"d6": "GPIO47",
"d7": "GPIO48",
"siod": "GPIO11",
"sioc": "GPIO10",
"power_down": {
"io_expander": "TCA9555",
"pin": 5
},
"camera_select": {
"io_expander": "TCA9555",
"pin": 6
},
"hardware_reset": {
"io_expander": "TCA9555",
"pin": 7
}
},
"io_expander": {
"chip": "TCA9555PWR",
"i2c_address": 32,
"port0": {
"pin0": "LCD Reset",
"pin1": "Touch Panel Reset",
"pin2": "Touch Panel Interrupt",
"pin3": "SD Card CS",
"pin4": "Reserved",
"pin5": "Camera Power Down (active low)",
"pin6": "Camera Select (HIGH=Tx/Rx, LOW=USB)",
"pin7": "Camera/USB GPIO mux control"
},
"port1": {
"pin8": "PA_CTRL - Speaker amplifier enable",
"pin9": "Key1 button (active low)",
"pin10": "Key2 button (active low)",
"pin11": "Key3 button (active low)",
"pin12": "Expansion header",
"pin13": "Expansion header",
"pin14": "Expansion header",
"pin15": "Expansion header"
}
},
"power": {
"input": "USB 5V Type-C",
"regulator": "MP1605GTF-Z 3.3V/2A DC-DC buck",
"battery_connector": "MX1.25 2-pin, 3.7V lithium",
"battery_switch": true,
"rtc_battery_header": true
}
}