From 4f3b8f9ae7920cc4b36c6e3dee9fc0a2aa91db29 Mon Sep 17 00:00:00 2001 From: Scott Bezek Date: Thu, 10 Feb 2022 12:07:43 -0800 Subject: [PATCH] View: Update pin assignments on ESP32 to avoid potential boot issues --- electronics/lib/lilygo_micro32.lib | 29 +++++++++++++++++++++++++-- electronics/view/view-cache.lib | 10 ++++++++-- electronics/view/view.sch | 32 +++++++++++++++++------------- 3 files changed, 53 insertions(+), 18 deletions(-) diff --git a/electronics/lib/lilygo_micro32.lib b/electronics/lib/lilygo_micro32.lib index 86bf3b7..e76398d 100644 --- a/electronics/lib/lilygo_micro32.lib +++ b/electronics/lib/lilygo_micro32.lib @@ -56,10 +56,35 @@ ENDDEF DEF T-Micro32_Plus U 0 40 Y Y 1 F N F0 "U" -600 850 50 H V C CNN F1 "T-Micro32_Plus" 0 700 50 H V C CNN -F2 "" 0 0 50 H I C CNN -F3 "" 0 0 50 H I C CNN +F2 "" 0 -100 50 H I C CNN +F3 "" 0 -100 50 H I C CNN DRAW +C -410 -610 0 1 1 0 N +C -410 -510 0 1 1 0 N +C 340 -560 0 1 1 0 N +C 440 -710 0 1 1 0 N +C 440 -610 0 1 1 0 N +C 440 -210 0 1 1 0 N +T 0 -350 -50 26 0 0 0 "IO0: def=PU, 1=run, 0=download" Normal 0 L C +T 0 -350 -200 26 0 0 0 "IO12: def=PD, must be 0 on boot" Normal 0 L C +T 0 -350 -250 26 0 0 0 "IO14: outputs signal on boot" Normal 0 L C +T 0 -350 -300 26 0 0 0 "IO15: def=PU, 1=debug log, 0=silent" Normal 0 L C +T 0 -350 -100 26 0 0 0 "IO2: def=PD, must be 0 to download" Normal 0 L C +T 0 -350 -150 26 0 0 0 "IO5: outputs signal on boot?" Normal 0 L C +T 0 -250 -350 26 0 0 0 "outputs signal at boot" Normal 0 L C S 650 -800 -650 800 0 1 0 f +P 2 1 1 0 -410 -590 -410 -600 N +P 2 1 1 0 -410 -490 -410 -500 N +P 2 1 1 0 340 -540 340 -550 N +P 2 1 1 0 440 -690 440 -700 N +P 2 1 1 0 440 -590 440 -600 N +P 2 1 1 0 440 -190 440 -200 N +P 4 1 1 0 -410 -570 -440 -620 -380 -620 -410 -570 N +P 4 1 1 0 -410 -470 -440 -520 -380 -520 -410 -470 N +P 4 1 1 0 340 -520 310 -570 370 -570 340 -520 N +P 4 1 1 0 440 -670 410 -720 470 -720 440 -670 N +P 4 1 1 0 440 -570 410 -620 470 -620 440 -570 N +P 4 1 1 0 440 -170 410 -220 470 -220 440 -170 N X GND 1 -750 700 100 R 50 50 1 1 W X IO25 10 -750 -200 100 R 50 50 1 1 B X IO26 11 -750 -300 100 R 50 50 1 1 B diff --git a/electronics/view/view-cache.lib b/electronics/view/view-cache.lib index e9febea..12d8377 100644 --- a/electronics/view/view-cache.lib +++ b/electronics/view/view-cache.lib @@ -445,9 +445,15 @@ ENDDEF DEF lilygo_micro32_T-Micro32_Plus U 0 40 Y Y 1 F N F0 "U" -600 850 50 H V C CNN F1 "lilygo_micro32_T-Micro32_Plus" 0 700 50 H V C CNN -F2 "" 0 0 50 H I C CNN -F3 "" 0 0 50 H I C CNN +F2 "" 0 -100 50 H I C CNN +F3 "" 0 -100 50 H I C CNN DRAW +T 0 -350 -50 26 0 0 0 "IO0: def=PU, 1=run, 0=download" Normal 0 L C +T 0 -350 -200 26 0 0 0 "IO12: def=PD, must be 0 on boot" Normal 0 L C +T 0 -350 -250 26 0 0 0 "IO14: outputs signal on boot" Normal 0 L C +T 0 -350 -300 26 0 0 0 "IO15: def=PU, 1=debug log, 0=silent" Normal 0 L C +T 0 -350 -100 26 0 0 0 "IO2: def=PD, 0=download" Normal 0 L C +T 0 -250 -350 26 0 0 0 "outputs signal at boot" Normal 0 L C S 650 -800 -650 800 0 1 0 f X GND 1 -750 700 100 R 50 50 1 1 W X IO25 10 -750 -200 100 R 50 50 1 1 B diff --git a/electronics/view/view.sch b/electronics/view/view.sch index f792057..2ab0dae 100644 --- a/electronics/view/view.sch +++ b/electronics/view/view.sch @@ -1694,8 +1694,8 @@ Wire Wire Line Text Label 12450 3350 0 50 ~ 0 TMC_WH Wire Wire Line - 13050 3450 12450 3450 -Text Label 12450 3450 0 50 ~ 0 + 13050 3550 12450 3550 +Text Label 12450 3550 0 50 ~ 0 TMC_WL Wire Wire Line 14550 3450 15200 3450 @@ -1724,21 +1724,21 @@ LCD_CMD Wire Wire Line 13450 3850 13450 4500 Wire Wire Line - 13050 3550 12400 3550 + 13050 3450 12400 3450 Wire Wire Line 13050 2650 12400 2650 Text Label 13450 4500 1 50 ~ 0 MAG_CSN -Text Label 12400 3550 0 50 ~ 0 +Text Label 12400 3450 0 50 ~ 0 MAG_CLK Text Label 12400 2650 0 50 ~ 0 MAG_DO Text Label 13650 4750 1 50 ~ 0 STRAIN_DO -Text Label 15050 4050 2 50 ~ 0 +Text Label 15550 3650 2 50 ~ 0 STRAIN_SCK Wire Wire Line - 14050 4050 15050 4050 + 14550 3650 15550 3650 Wire Wire Line 13950 4650 13950 3850 Text Label 13950 4650 1 50 ~ 0 @@ -1937,7 +1937,7 @@ L Device:R_Small R7 U 1 1 6217C4CC P 9900 4700 F 0 "R7" V 9950 4750 50 0000 L CNN -F 1 "100k" V 9900 4700 31 0000 C CNN +F 1 "10k" V 9900 4700 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 4700 50 0001 C CNN F 3 "~" H 9900 4700 50 0001 C CNN 1 9900 4700 @@ -1948,7 +1948,7 @@ L Device:R_Small R8 U 1 1 62180F46 P 9900 4800 F 0 "R8" V 9950 4850 50 0000 L CNN -F 1 "100k" V 9900 4800 31 0000 C CNN +F 1 "10k" V 9900 4800 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 4800 50 0001 C CNN F 3 "~" H 9900 4800 50 0001 C CNN 1 9900 4800 @@ -1959,7 +1959,7 @@ L Device:R_Small R9 U 1 1 621810C8 P 9900 4900 F 0 "R9" V 9950 4950 50 0000 L CNN -F 1 "100k" V 9900 4900 31 0000 C CNN +F 1 "10k" V 9900 4900 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 4900 50 0001 C CNN F 3 "~" H 9900 4900 50 0001 C CNN 1 9900 4900 @@ -1970,7 +1970,7 @@ L Device:R_Small R10 U 1 1 62181360 P 9900 5000 F 0 "R10" V 9950 5050 50 0000 L CNN -F 1 "100k" V 9900 5000 31 0000 C CNN +F 1 "10k" V 9900 5000 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 5000 50 0001 C CNN F 3 "~" H 9900 5000 50 0001 C CNN 1 9900 5000 @@ -1981,7 +1981,7 @@ L Device:R_Small R11 U 1 1 621814C1 P 9900 5100 F 0 "R11" V 9950 5150 50 0000 L CNN -F 1 "100k" V 9900 5100 31 0000 C CNN +F 1 "10k" V 9900 5100 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 5100 50 0001 C CNN F 3 "~" H 9900 5100 50 0001 C CNN 1 9900 5100 @@ -1992,7 +1992,7 @@ L Device:R_Small R12 U 1 1 6218171E P 9900 5200 F 0 "R12" V 9950 5250 50 0000 L CNN -F 1 "100k" V 9900 5200 31 0000 C CNN +F 1 "10k" V 9900 5200 31 0000 C CNN F 2 "Resistor_SMD:R_0603_1608Metric" H 9900 5200 50 0001 C CNN F 3 "~" H 9900 5200 50 0001 C CNN 1 9900 5200 @@ -2043,10 +2043,10 @@ Wire Wire Line Wire Wire Line 14050 4050 14050 3850 Wire Wire Line - 14550 3650 15000 3650 + 14050 4050 14500 4050 Wire Wire Line 14150 3850 15000 3850 -Text Label 15000 3650 2 50 ~ 0 +Text Label 14500 4050 2 50 ~ 0 SDA Text Label 15000 3850 2 50 ~ 0 SCL @@ -2466,4 +2466,8 @@ Wire Wire Line Connection ~ 2650 1050 Wire Wire Line 2650 1050 2650 1150 +Text Notes 11650 3800 0 39 ~ 0 +GPIO12=MTDI. Should be 0 on boot\nfor 3.3v built-in flash/psram on\nESP32-PICO-v3-02 +Text Notes 15100 3800 0 39 ~ 0 +IO2 must be 0 to enter UART\ndownload mode $EndSCHEMATC