schematic update using cube IDE

This commit is contained in:
2021-08-02 08:33:06 +02:00
parent c328b68aba
commit 30cc2e863c
267 changed files with 158786 additions and 1054 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
CAD/.DS_Store vendored

Binary file not shown.

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 5
Sheet 4 5
Title ""
Date ""
Rev ""
@@ -14,23 +14,23 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_ST_STM32F4:STM32F411CEUx U?
L MCU_ST_STM32F4:STM32F411CEUx U4
U 1 1 60FFEB11
P 6050 3700
F 0 "U?" H 6000 5381 50 0000 C CNN
F 1 "STM32F411CEUx" H 6000 5290 50 0000 C CNN
F 0 "U4" H 6000 5381 50 0000 C CNN
F 1 "STM32F411CEUx" H 6650 2100 50 0000 C CNN
F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 5450 2200 50 0001 R CNN
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00115249.pdf" H 6050 3700 50 0001 C CNN
1 6050 3700
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R24
U 1 1 6100069C
P 4200 2850
F 0 "R?" H 4270 2896 50 0000 L CNN
F 0 "R24" H 4270 2896 50 0000 L CNN
F 1 "10K" H 4270 2805 50 0000 L CNN
F 2 "" V 4130 2850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 4130 2850 50 0001 C CNN
F 3 "~" H 4200 2850 50 0001 C CNN
1 4200 2850
1 0 0 -1
@@ -40,10 +40,10 @@ Wire Wire Line
Wire Wire Line
4200 2600 4100 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0125
U 1 1 61001984
P 4200 3150
F 0 "#PWR?" H 4200 2900 50 0001 C CNN
F 0 "#PWR0125" H 4200 2900 50 0001 C CNN
F 1 "GND" H 4205 2977 50 0000 C CNN
F 2 "" H 4200 3150 50 0001 C CNN
F 3 "" H 4200 3150 50 0001 C CNN
@@ -53,23 +53,23 @@ $EndComp
Wire Wire Line
4200 3150 4200 3000
$Comp
L Device:C C?
L Device:C C29
U 1 1 61002670
P 3750 2850
F 0 "C?" H 3865 2896 50 0000 L CNN
F 0 "C29" H 3865 2896 50 0000 L CNN
F 1 "1uF" H 3865 2805 50 0000 L CNN
F 2 "" H 3788 2700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3788 2700 50 0001 C CNN
F 3 "~" H 3750 2850 50 0001 C CNN
1 3750 2850
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R23
U 1 1 61002EAD
P 3750 2100
F 0 "R?" H 3820 2146 50 0000 L CNN
F 0 "R23" H 3820 2146 50 0000 L CNN
F 1 "10K" H 3820 2055 50 0000 L CNN
F 2 "" V 3680 2100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3680 2100 50 0001 C CNN
F 3 "~" H 3750 2100 50 0001 C CNN
1 3750 2100
1 0 0 -1
@@ -82,10 +82,10 @@ Wire Wire Line
3750 2400 3750 2250
Connection ~ 3750 2400
$Comp
L power:GND #PWR?
L power:GND #PWR0126
U 1 1 6100381E
P 3750 3150
F 0 "#PWR?" H 3750 2900 50 0001 C CNN
F 0 "#PWR0126" H 3750 2900 50 0001 C CNN
F 1 "GND" H 3755 2977 50 0000 C CNN
F 2 "" H 3750 3150 50 0001 C CNN
F 3 "" H 3750 3150 50 0001 C CNN
@@ -95,10 +95,10 @@ $EndComp
Wire Wire Line
3750 3150 3750 3000
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0127
U 1 1 6100409A
P 3750 1850
F 0 "#PWR?" H 3750 1700 50 0001 C CNN
F 0 "#PWR0127" H 3750 1700 50 0001 C CNN
F 1 "+3V3" H 3765 2023 50 0000 C CNN
F 2 "" H 3750 1850 50 0001 C CNN
F 3 "" H 3750 1850 50 0001 C CNN
@@ -108,10 +108,10 @@ $EndComp
Wire Wire Line
3750 1850 3750 1950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0128
U 1 1 610048A5
P 6300 1500
F 0 "#PWR?" H 6300 1350 50 0001 C CNN
F 0 "#PWR0128" H 6300 1350 50 0001 C CNN
F 1 "+3V3" H 6315 1673 50 0000 C CNN
F 2 "" H 6300 1500 50 0001 C CNN
F 3 "" H 6300 1500 50 0001 C CNN
@@ -119,10 +119,10 @@ F 3 "" H 6300 1500 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Diode:BAT54C D?
L Diode:BAT54C D4
U 1 1 6100517A
P 5850 1600
F 0 "D?" H 5850 1825 50 0000 C CNN
F 0 "D4" H 5850 1825 50 0000 C CNN
F 1 "BAT54C" H 5850 1734 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 5925 1725 50 0001 L CNN
F 3 "http://www.diodes.com/_files/datasheets/ds11005.pdf" H 5770 1600 50 0001 C CNN
@@ -158,10 +158,10 @@ Connection ~ 6250 1600
Wire Wire Line
6250 1600 6150 1600
$Comp
L power:+BATT #PWR?
L power:+BATT #PWR0129
U 1 1 6100A7DE
P 5350 1500
F 0 "#PWR?" H 5350 1350 50 0001 C CNN
F 0 "#PWR0129" H 5350 1350 50 0001 C CNN
F 1 "+BATT" H 5365 1673 50 0000 C CNN
F 2 "" H 5350 1500 50 0001 C CNN
F 3 "" H 5350 1500 50 0001 C CNN
@@ -173,10 +173,10 @@ Wire Wire Line
Wire Wire Line
5350 1600 5550 1600
$Comp
L dk_USB-DVI-HDMI-Connectors:CX70M-24P1 J?
L dk_USB-DVI-HDMI-Connectors:CX70M-24P1 J2
U 1 1 61011530
P 1300 1350
F 0 "J?" H 1300 2385 50 0000 C CNN
F 0 "J2" H 1300 2385 50 0000 C CNN
F 1 "CX70M-24P1" H 1300 2294 50 0000 C CNN
F 2 "digikey-footprints:USB-C_Female_CX70M-24P1" H 1500 1550 60 0001 L CNN
F 3 "https://www.hirose.com/product/document?clcode=CL0480-0304-0-00&productname=CX70M-24P1&series=CX&documenttype=2DDrawing&lang=en&documentid=D141189_en" H 1500 1650 60 0001 L CNN
@@ -208,23 +208,8 @@ Text Label 7150 5000 2 50 ~ 0
SWCLK
Wire Wire Line
7150 5000 6650 5000
Text HLabel 7250 5100 2 50 Input ~ 0
NFC_TX
Text HLabel 4700 4300 0 50 Input ~ 0
NFC_RX
Wire Wire Line
7200 3800 6650 3800
$Comp
L Connector:Micro_SD_Card J?
U 1 1 61021D75
P 9950 6800
F 0 "J?" H 9900 7517 50 0000 C CNN
F 1 "Micro_SD_Card" H 9900 7426 50 0000 C CNN
F 2 "Connector_Card:microSD_HC_Wuerth_693072010801" H 11100 7100 50 0001 C CNN
F 3 "http://katalog.we-online.de/em/datasheet/693072010801.pdf" H 9950 6800 50 0001 C CNN
1 9950 6800
1 0 0 -1
$EndComp
Text Label 8650 6600 0 50 ~ 0
SDIO_D3
Text Label 8650 6500 0 50 ~ 0
@@ -246,134 +231,77 @@ Wire Wire Line
Wire Wire Line
9050 6500 8650 6500
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0130
U 1 1 61029892
P 8200 6650
F 0 "#PWR?" H 8200 6500 50 0001 C CNN
F 1 "+3V3" H 8215 6823 50 0000 C CNN
F 2 "" H 8200 6650 50 0001 C CNN
F 3 "" H 8200 6650 50 0001 C CNN
1 8200 6650
P 8100 6150
F 0 "#PWR0130" H 8100 6000 50 0001 C CNN
F 1 "+3V3" H 8115 6323 50 0000 C CNN
F 2 "" H 8100 6150 50 0001 C CNN
F 3 "" H 8100 6150 50 0001 C CNN
1 8100 6150
1 0 0 -1
$EndComp
Wire Wire Line
8200 6650 8200 6700
$Comp
L power:GND #PWR?
L power:GND #PWR0131
U 1 1 6102AB3A
P 8300 7250
F 0 "#PWR?" H 8300 7000 50 0001 C CNN
F 0 "#PWR0131" H 8300 7000 50 0001 C CNN
F 1 "GND" H 8305 7077 50 0000 C CNN
F 2 "" H 8300 7250 50 0001 C CNN
F 3 "" H 8300 7250 50 0001 C CNN
1 8300 7250
1 0 0 -1
$EndComp
Wire Wire Line
8300 7250 8300 7050
Wire Wire Line
8300 7000 9050 7000
$Comp
L Device:R R?
L Device:R R26
U 1 1 6102C3B6
P 7800 6900
F 0 "R?" H 7870 6946 50 0000 L CNN
F 1 "47K" H 7870 6855 50 0000 L CNN
F 2 "" V 7730 6900 50 0001 C CNN
F 3 "~" H 7800 6900 50 0001 C CNN
1 7800 6900
P 8300 6400
F 0 "R26" H 8370 6446 50 0000 L CNN
F 1 "47K" H 8370 6355 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 8230 6400 50 0001 C CNN
F 3 "~" H 8300 6400 50 0001 C CNN
1 8300 6400
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R25
U 1 1 6102D76C
P 7500 6900
F 0 "R?" H 7570 6946 50 0000 L CNN
F 1 "47K" H 7570 6855 50 0000 L CNN
F 2 "" V 7430 6900 50 0001 C CNN
F 3 "~" H 7500 6900 50 0001 C CNN
1 7500 6900
P 7950 6400
F 0 "R25" H 8020 6446 50 0000 L CNN
F 1 "47K" H 8020 6355 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7880 6400 50 0001 C CNN
F 3 "~" H 7950 6400 50 0001 C CNN
1 7950 6400
1 0 0 -1
$EndComp
Wire Wire Line
7800 6750 7800 6700
Wire Wire Line
7800 6700 8200 6700
Wire Wire Line
7500 6750 7500 6700
Wire Wire Line
7500 6700 7800 6700
Connection ~ 7800 6700
Wire Wire Line
7800 7050 7800 7350
Wire Wire Line
7500 7200 7500 7050
$Comp
L Device:C C?
L Device:C C31
U 1 1 61030FF9
P 8200 6900
F 0 "C?" H 8315 6946 50 0000 L CNN
F 1 "100nF" H 8315 6855 50 0000 L CNN
F 2 "" H 8238 6750 50 0001 C CNN
F 3 "~" H 8200 6900 50 0001 C CNN
1 8200 6900
P 7250 6850
F 0 "C31" H 7365 6896 50 0000 L CNN
F 1 "100nF" H 7365 6805 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7288 6700 50 0001 C CNN
F 3 "~" H 7250 6850 50 0001 C CNN
1 7250 6850
1 0 0 -1
$EndComp
Wire Wire Line
8650 6700 9050 6700
Wire Wire Line
8650 7100 9050 7100
Text Label 7500 7200 2 50 ~ 0
SDIO_D0
Wire Wire Line
8200 6750 8200 6700
Connection ~ 8200 6700
Wire Wire Line
8200 7050 8300 7050
Connection ~ 8300 7050
Wire Wire Line
8300 7050 8300 7000
Text Label 7150 4400 2 50 ~ 0
SDIO_D1
Text Label 4750 4400 0 50 ~ 0
SDIO_D0
Text Label 7150 4500 2 50 ~ 0
SDIO_D2
Text Label 4750 4200 0 50 ~ 0
SDIO_D3
Text Label 7150 4200 2 50 ~ 0
SDIO_CMD
Text Label 4750 5100 0 50 ~ 0
SDIO_CLK
Wire Wire Line
6650 4200 7150 4200
Wire Wire Line
7150 4400 6650 4400
Wire Wire Line
7150 4500 6650 4500
Wire Wire Line
5350 5100 4750 5100
Wire Wire Line
4750 4200 5350 4200
Wire Wire Line
4750 4400 5350 4400
Wire Wire Line
9050 6800 8300 6800
Wire Wire Line
8300 6800 8300 6700
Wire Wire Line
8300 6700 8200 6700
Text Label 7800 7350 2 50 ~ 0
SDIO_CMD
Text HLabel 3600 2400 0 50 Input ~ 0
NRST
Wire Wire Line
3600 2400 3750 2400
$Comp
L Connector:TestPoint_Small TP?
L Connector:TestPoint_Small TP1
U 1 1 6106B619
P 4100 2600
F 0 "TP?" H 3950 2700 50 0000 L CNN
F 0 "TP1" H 3950 2700 50 0000 L CNN
F 1 "BOOT0" H 4100 2700 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 4300 2600 50 0001 C CNN
F 3 "~" H 4300 2600 50 0001 C CNN
@@ -383,24 +311,22 @@ $EndComp
Connection ~ 4200 2600
Wire Wire Line
4200 2600 5350 2600
Text Label 7150 5100 2 50 ~ 0
TX1
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C30
U 1 1 610728EA
P 4600 2950
F 0 "C?" H 4718 2996 50 0000 L CNN
F 0 "C30" H 4718 2996 50 0000 L CNN
F 1 "4u7F" H 4718 2905 50 0000 L CNN
F 2 "" H 4638 2800 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4638 2800 50 0001 C CNN
F 3 "~" H 4600 2950 50 0001 C CNN
1 4600 2950
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0132
U 1 1 61072E5F
P 4600 3150
F 0 "#PWR?" H 4600 2900 50 0001 C CNN
F 0 "#PWR0132" H 4600 2900 50 0001 C CNN
F 1 "GND" H 4605 2977 50 0000 C CNN
F 2 "" H 4600 3150 50 0001 C CNN
F 3 "" H 4600 3150 50 0001 C CNN
@@ -412,10 +338,10 @@ Wire Wire Line
Wire Wire Line
5350 2800 4600 2800
$Comp
L power:GND #PWR?
L power:GND #PWR0133
U 1 1 6107B770
P 600 1900
F 0 "#PWR?" H 600 1650 50 0001 C CNN
F 0 "#PWR0133" H 600 1650 50 0001 C CNN
F 1 "GND" V 605 1772 50 0000 R CNN
F 2 "" H 600 1900 50 0001 C CNN
F 3 "" H 600 1900 50 0001 C CNN
@@ -423,10 +349,10 @@ F 3 "" H 600 1900 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0134
U 1 1 6107BF0B
P 1950 1900
F 0 "#PWR?" H 1950 1650 50 0001 C CNN
F 0 "#PWR0134" H 1950 1650 50 0001 C CNN
F 1 "GND" V 1955 1772 50 0000 R CNN
F 2 "" H 1950 1900 50 0001 C CNN
F 3 "" H 1950 1900 50 0001 C CNN
@@ -444,10 +370,10 @@ Wire Wire Line
Wire Wire Line
800 1600 600 1600
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0135
U 1 1 6108C4A1
P 1950 1100
F 0 "#PWR?" H 1950 950 50 0001 C CNN
F 0 "#PWR0135" H 1950 950 50 0001 C CNN
F 1 "VBUS" V 1965 1228 50 0000 L CNN
F 2 "" H 1950 1100 50 0001 C CNN
F 3 "" H 1950 1100 50 0001 C CNN
@@ -473,10 +399,10 @@ Wire Wire Line
Wire Wire Line
1800 1100 1950 1100
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0136
U 1 1 610B53CF
P 1950 1600
F 0 "#PWR?" H 1950 1450 50 0001 C CNN
F 0 "#PWR0136" H 1950 1450 50 0001 C CNN
F 1 "VBUS" V 1965 1728 50 0000 L CNN
F 2 "" H 1950 1600 50 0001 C CNN
F 3 "" H 1950 1600 50 0001 C CNN
@@ -486,10 +412,10 @@ $EndComp
Wire Wire Line
1800 1600 1950 1600
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0137
U 1 1 6108796A
P 600 1100
F 0 "#PWR?" H 600 950 50 0001 C CNN
F 0 "#PWR0137" H 600 950 50 0001 C CNN
F 1 "VBUS" V 615 1227 50 0000 L CNN
F 2 "" H 600 1100 50 0001 C CNN
F 3 "" H 600 1100 50 0001 C CNN
@@ -499,10 +425,10 @@ $EndComp
Wire Wire Line
600 1100 800 1100
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0138
U 1 1 610D467C
P 600 1600
F 0 "#PWR?" H 600 1450 50 0001 C CNN
F 0 "#PWR0138" H 600 1450 50 0001 C CNN
F 1 "VBUS" V 615 1727 50 0000 L CNN
F 2 "" H 600 1600 50 0001 C CNN
F 3 "" H 600 1600 50 0001 C CNN
@@ -510,10 +436,10 @@ F 3 "" H 600 1600 50 0001 C CNN
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0139
U 1 1 610D8717
P 600 800
F 0 "#PWR?" H 600 550 50 0001 C CNN
F 0 "#PWR0139" H 600 550 50 0001 C CNN
F 1 "GND" V 605 672 50 0000 R CNN
F 2 "" H 600 800 50 0001 C CNN
F 3 "" H 600 800 50 0001 C CNN
@@ -521,10 +447,10 @@ F 3 "" H 600 800 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0140
U 1 1 610E0B91
P 1950 800
F 0 "#PWR?" H 1950 550 50 0001 C CNN
F 0 "#PWR0140" H 1950 550 50 0001 C CNN
F 1 "GND" V 1955 672 50 0000 R CNN
F 2 "" H 1950 800 50 0001 C CNN
F 3 "" H 1950 800 50 0001 C CNN
@@ -540,12 +466,12 @@ Wire Wire Line
Wire Wire Line
800 1300 500 1300
$Comp
L Device:R R?
L Device:R R22
U 1 1 610F090D
P 2500 2150
F 0 "R?" H 2570 2196 50 0000 L CNN
F 0 "R22" H 2570 2196 50 0000 L CNN
F 1 "10K" H 2570 2105 50 0000 L CNN
F 2 "" V 2430 2150 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2430 2150 50 0001 C CNN
F 3 "~" H 2500 2150 50 0001 C CNN
1 2500 2150
1 0 0 -1
@@ -555,12 +481,12 @@ Wire Wire Line
Wire Wire Line
2500 1200 1800 1200
$Comp
L Device:R R?
L Device:R R21
U 1 1 610F39C9
P 150 2150
F 0 "R?" H 220 2196 50 0000 L CNN
F 0 "R21" H 220 2196 50 0000 L CNN
F 1 "10K" H 220 2105 50 0000 L CNN
F 2 "" V 80 2150 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 80 2150 50 0001 C CNN
F 3 "~" H 150 2150 50 0001 C CNN
1 150 2150
1 0 0 -1
@@ -570,10 +496,10 @@ Wire Wire Line
Wire Wire Line
150 1500 800 1500
$Comp
L power:GND #PWR?
L power:GND #PWR0141
U 1 1 610F9ECE
P 2500 2350
F 0 "#PWR?" H 2500 2100 50 0001 C CNN
F 0 "#PWR0141" H 2500 2100 50 0001 C CNN
F 1 "GND" H 2505 2177 50 0000 C CNN
F 2 "" H 2500 2350 50 0001 C CNN
F 3 "" H 2500 2350 50 0001 C CNN
@@ -581,10 +507,10 @@ F 3 "" H 2500 2350 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0142
U 1 1 610FA564
P 150 2350
F 0 "#PWR?" H 150 2100 50 0001 C CNN
F 0 "#PWR0142" H 150 2100 50 0001 C CNN
F 1 "GND" H 155 2177 50 0000 C CNN
F 2 "" H 150 2350 50 0001 C CNN
F 3 "" H 150 2350 50 0001 C CNN
@@ -596,10 +522,10 @@ Wire Wire Line
Wire Wire Line
2500 2350 2500 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0143
U 1 1 6110B364
P 1100 2350
F 0 "#PWR?" H 1100 2100 50 0001 C CNN
F 0 "#PWR0143" H 1100 2100 50 0001 C CNN
F 1 "GND" H 1105 2177 50 0000 C CNN
F 2 "" H 1100 2350 50 0001 C CNN
F 3 "" H 1100 2350 50 0001 C CNN
@@ -623,21 +549,21 @@ HS_OSC1
Text Label 450 3850 0 50 ~ 0
HS_OSC0
$Comp
L Device:Crystal_GND24 Y?
L Device:Crystal_GND24 Y2
U 1 1 6111F0CA
P 1100 3850
F 0 "Y?" H 1300 3650 50 0000 R CNN
F 0 "Y2" H 1300 3650 50 0000 R CNN
F 1 "24Mhz" H 1000 3600 50 0000 R CNN
F 2 "" H 1100 3850 50 0001 C CNN
F 2 "Crystal:Crystal_SMD_EuroQuartz_EQ161-2Pin_3.2x1.5mm" H 1100 3850 50 0001 C CNN
F 3 "~" H 1100 3850 50 0001 C CNN
1 1100 3850
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0144
U 1 1 61120128
P 1100 3450
F 0 "#PWR?" H 1100 3200 50 0001 C CNN
F 0 "#PWR0144" H 1100 3200 50 0001 C CNN
F 1 "GND" H 1105 3277 50 0000 C CNN
F 2 "" H 1100 3450 50 0001 C CNN
F 3 "" H 1100 3450 50 0001 C CNN
@@ -645,10 +571,10 @@ F 3 "" H 1100 3450 50 0001 C CNN
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0145
U 1 1 61120856
P 1100 4400
F 0 "#PWR?" H 1100 4150 50 0001 C CNN
F 0 "#PWR0145" H 1100 4150 50 0001 C CNN
F 1 "GND" H 1105 4227 50 0000 C CNN
F 2 "" H 1100 4400 50 0001 C CNN
F 3 "" H 1100 4400 50 0001 C CNN
@@ -656,23 +582,23 @@ F 3 "" H 1100 4400 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C27
U 1 1 61120E61
P 850 4100
F 0 "C?" H 965 4146 50 0000 L CNN
F 0 "C27" H 965 4146 50 0000 L CNN
F 1 "22pF" H 965 4055 50 0000 L CNN
F 2 "" H 888 3950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 888 3950 50 0001 C CNN
F 3 "~" H 850 4100 50 0001 C CNN
1 850 4100
-1 0 0 1
$EndComp
$Comp
L Device:C C?
L Device:C C28
U 1 1 61122664
P 1350 4100
F 0 "C?" H 1465 4146 50 0000 L CNN
F 0 "C28" H 1465 4146 50 0000 L CNN
F 1 "22pF" H 1465 4055 50 0000 L CNN
F 2 "" H 1388 3950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1388 3950 50 0001 C CNN
F 3 "~" H 1350 4100 50 0001 C CNN
1 1350 4100
1 0 0 -1
@@ -706,60 +632,219 @@ Wire Wire Line
850 4350 1100 4350
Wire Wire Line
450 3850 850 3850
Text Label 4750 3900 0 50 ~ 0
BOOT1
Text Label 4750 4800 0 50 ~ 0
I2S4_WS
Text Label 4750 4900 0 50 ~ 0
I2S4_CLK
Text HLabel 4650 4800 0 50 Output ~ 0
DAC_LRCK
Text HLabel 4650 4900 0 50 Output ~ 0
DAC_BCLK
Text HLabel 7200 3700 2 50 Output ~ 0
DAC_DATA
Wire Wire Line
4750 3900 5350 3900
Text Label 3250 3900 2 50 ~ 0
BOOT1
$Comp
L Device:R R?
U 1 1 61177E61
P 2950 4100
F 0 "R?" H 3020 4146 50 0000 L CNN
F 1 "10K" H 3020 4055 50 0000 L CNN
F 2 "" V 2880 4100 50 0001 C CNN
F 3 "~" H 2950 4100 50 0001 C CNN
1 2950 4100
1 0 0 -1
$EndComp
7200 3700 6650 3700
Text HLabel 7200 3800 2 50 Input ~ 0
ADC1_IN2
Text Label 7150 3700 2 50 ~ 0
I2S4_SD
Wire Wire Line
3250 3900 2950 3900
6650 4200 7150 4200
Wire Wire Line
2950 3900 2950 3950
$Comp
L power:GND #PWR?
U 1 1 6117BC40
P 2950 4300
F 0 "#PWR?" H 2950 4050 50 0001 C CNN
F 1 "GND" H 2955 4127 50 0000 C CNN
F 2 "" H 2950 4300 50 0001 C CNN
F 3 "" H 2950 4300 50 0001 C CNN
1 2950 4300
1 0 0 -1
$EndComp
4650 4800 5350 4800
Wire Wire Line
2950 4300 2950 4250
4650 4900 5350 4900
Wire Wire Line
4750 5100 5350 5100
Wire Wire Line
7150 4400 6650 4400
Wire Wire Line
7150 4500 6650 4500
Text Label 4750 4400 0 50 ~ 0
SDIO_D0
Text Label 7150 4300 2 50 ~ 0
SPI1_MOSI
Text Label 7150 4200 2 50 ~ 0
SDIO_CMD
Text HLabel 7200 4600 2 50 Input ~ 0
NFC_TX
Text Label 4750 4200 0 50 ~ 0
SDIO_D3
Text Label 7150 4100 2 50 ~ 0
SPI1_SCK
Text Label 7150 4000 2 50 ~ 0
I2S3_WS
Text Label 7650 4200 0 50 ~ 0
I2S2_MCK
SPI1_NSS
Wire Wire Line
4650 4300 5350 4300
Text HLabel 4650 4300 0 50 Output ~ 0
NFC_RX
Text Label 4750 4100 0 50 ~ 0
SPI1_MISO
NoConn ~ 6650 5100
Wire Wire Line
4750 4200 5350 4200
Text Label 4750 4300 0 50 ~ 0
TX1
Text Label 7150 4600 2 50 ~ 0
RX1
Wire Wire Line
4700 4300 5350 4300
4750 4400 5350 4400
NoConn ~ 6650 3900
NoConn ~ 6650 3600
Wire Wire Line
7250 5100 6650 5100
Text Label 4750 4700 0 50 ~ 0
I2S3_MCK
Text HLabel 7200 4000 2 50 Input ~ 0
DAC_LRCK
7200 4600 6650 4600
NoConn ~ 5350 3800
NoConn ~ 5350 4700
NoConn ~ 5350 4500
Text Label 4750 4600 0 50 ~ 0
SDIO_DET
Wire Wire Line
4750 4600 5350 4600
$Comp
L Connector:Micro_SD_Card_Det J3
U 1 1 6115F4F8
P 9950 6900
F 0 "J3" H 9900 7717 50 0000 C CNN
F 1 "Micro_SD_Card_Det" H 9900 7626 50 0000 C CNN
F 2 "Connector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5" H 12000 7600 50 0001 C CNN
F 3 "https://www.hirose.com/product/en/download_file/key_name/DM3/category/Catalog/doc_file_id/49662/?file_category_id=4&item_id=195&is_series=1" H 9950 7000 50 0001 C CNN
1 9950 6900
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0146
U 1 1 6116856A
P 10900 7450
F 0 "#PWR0146" H 10900 7200 50 0001 C CNN
F 1 "GND" H 10905 7277 50 0000 C CNN
F 2 "" H 10900 7450 50 0001 C CNN
F 3 "" H 10900 7450 50 0001 C CNN
1 10900 7450
1 0 0 -1
$EndComp
Wire Wire Line
8950 7500 8950 7400
Wire Wire Line
8950 7400 9050 7400
Text Label 8650 7300 0 50 ~ 0
SDIO_DET
Wire Wire Line
8650 7300 9050 7300
Wire Wire Line
10900 7450 10900 7400
Wire Wire Line
10900 7400 10750 7400
Wire Wire Line
8300 7000 8300 7250
Wire Wire Line
8300 6700 8300 6550
Wire Wire Line
8300 6700 9050 6700
Wire Wire Line
7950 7100 7950 6550
Wire Wire Line
7950 7100 9050 7100
Wire Wire Line
8100 6800 8100 6200
Wire Wire Line
8100 6200 8300 6200
Wire Wire Line
8300 6200 8300 6250
Wire Wire Line
8100 6800 9050 6800
Wire Wire Line
8100 6200 7950 6200
Wire Wire Line
7950 6200 7950 6250
Connection ~ 8100 6200
Wire Wire Line
8100 6150 8100 6200
Wire Wire Line
7950 6200 7250 6200
Wire Wire Line
7250 6200 7250 6700
Connection ~ 7950 6200
$Comp
L power:GND #PWR0147
U 1 1 611BE7F8
P 7250 7250
F 0 "#PWR0147" H 7250 7000 50 0001 C CNN
F 1 "GND" H 7255 7077 50 0000 C CNN
F 2 "" H 7250 7250 50 0001 C CNN
F 3 "" H 7250 7250 50 0001 C CNN
1 7250 7250
1 0 0 -1
$EndComp
Wire Wire Line
7250 7250 7250 7000
$Comp
L power:GND #PWR0148
U 1 1 611C6CDB
P 5850 5450
F 0 "#PWR0148" H 5850 5200 50 0001 C CNN
F 1 "GND" H 5855 5277 50 0000 C CNN
F 2 "" H 5850 5450 50 0001 C CNN
F 3 "" H 5850 5450 50 0001 C CNN
1 5850 5450
1 0 0 -1
$EndComp
Wire Wire Line
5850 5450 5850 5400
Wire Wire Line
6250 5300 6250 5400
Wire Wire Line
6250 5400 6150 5400
Connection ~ 5850 5400
Wire Wire Line
5850 5400 5850 5300
Wire Wire Line
5950 5300 5950 5400
Connection ~ 5950 5400
Wire Wire Line
5950 5400 5850 5400
Wire Wire Line
6050 5300 6050 5400
Connection ~ 6050 5400
Wire Wire Line
6050 5400 5950 5400
Wire Wire Line
6150 5300 6150 5400
Connection ~ 6150 5400
Wire Wire Line
6150 5400 6050 5400
NoConn ~ 5350 3900
Text Label 4750 3700 0 50 ~ 0
BTN_PWR
Text HLabel 4650 3700 0 50 Input ~ 0
BTN_PWR
Wire Wire Line
4650 3700 5350 3700
Text Label 4750 4000 0 50 ~ 0
MEAS_EN
Text HLabel 4650 4000 0 50 Output ~ 0
MEAS_EN
Wire Wire Line
4650 4000 5350 4000
Text Label 4750 5000 0 50 ~ 0
PW_HOLD
Text HLabel 4650 5000 0 50 Output ~ 0
PW_HOLD
Wire Wire Line
4650 5000 5350 5000
Text HLabel 4650 4100 0 50 Input ~ 0
NFC_MISO
Wire Wire Line
4650 4100 5350 4100
Text HLabel 7200 4000 2 50 Output ~ 0
NFC_SPI_CS
Wire Wire Line
6650 4000 7200 4000
Text HLabel 7200 4100 2 50 Output ~ 0
NFC_SPI_SCK
Wire Wire Line
4700 4700 5350 4700
Text HLabel 4700 4700 0 50 Output ~ 0
DAC_BCLK
Text HLabel 3800 4900 0 50 Output ~ 0
DAC_DIN
6650 4100 7200 4100
Text HLabel 7200 4300 2 50 Output ~ 0
NFC_SPI_MOSI
Wire Wire Line
6650 4300 7200 4300
$EndSCHEMATC

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 5 5
Sheet 4 5
Title ""
Date ""
Rev ""
@@ -14,23 +14,23 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L MCU_ST_STM32F4:STM32F411CEUx U?
L MCU_ST_STM32F4:STM32F411CEUx U4
U 1 1 60FFEB11
P 6050 3700
F 0 "U?" H 6000 5381 50 0000 C CNN
F 1 "STM32F411CEUx" H 6000 5290 50 0000 C CNN
F 0 "U4" H 6000 5381 50 0000 C CNN
F 1 "STM32F411CEUx" H 6650 2100 50 0000 C CNN
F 2 "Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mm" H 5450 2200 50 0001 R CNN
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00115249.pdf" H 6050 3700 50 0001 C CNN
1 6050 3700
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R24
U 1 1 6100069C
P 4200 2850
F 0 "R?" H 4270 2896 50 0000 L CNN
F 0 "R24" H 4270 2896 50 0000 L CNN
F 1 "10K" H 4270 2805 50 0000 L CNN
F 2 "" V 4130 2850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 4130 2850 50 0001 C CNN
F 3 "~" H 4200 2850 50 0001 C CNN
1 4200 2850
1 0 0 -1
@@ -40,10 +40,10 @@ Wire Wire Line
Wire Wire Line
4200 2600 4100 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0125
U 1 1 61001984
P 4200 3150
F 0 "#PWR?" H 4200 2900 50 0001 C CNN
F 0 "#PWR0125" H 4200 2900 50 0001 C CNN
F 1 "GND" H 4205 2977 50 0000 C CNN
F 2 "" H 4200 3150 50 0001 C CNN
F 3 "" H 4200 3150 50 0001 C CNN
@@ -53,23 +53,23 @@ $EndComp
Wire Wire Line
4200 3150 4200 3000
$Comp
L Device:C C?
L Device:C C29
U 1 1 61002670
P 3750 2850
F 0 "C?" H 3865 2896 50 0000 L CNN
F 0 "C29" H 3865 2896 50 0000 L CNN
F 1 "1uF" H 3865 2805 50 0000 L CNN
F 2 "" H 3788 2700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3788 2700 50 0001 C CNN
F 3 "~" H 3750 2850 50 0001 C CNN
1 3750 2850
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R23
U 1 1 61002EAD
P 3750 2100
F 0 "R?" H 3820 2146 50 0000 L CNN
F 0 "R23" H 3820 2146 50 0000 L CNN
F 1 "10K" H 3820 2055 50 0000 L CNN
F 2 "" V 3680 2100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3680 2100 50 0001 C CNN
F 3 "~" H 3750 2100 50 0001 C CNN
1 3750 2100
1 0 0 -1
@@ -82,10 +82,10 @@ Wire Wire Line
3750 2400 3750 2250
Connection ~ 3750 2400
$Comp
L power:GND #PWR?
L power:GND #PWR0126
U 1 1 6100381E
P 3750 3150
F 0 "#PWR?" H 3750 2900 50 0001 C CNN
F 0 "#PWR0126" H 3750 2900 50 0001 C CNN
F 1 "GND" H 3755 2977 50 0000 C CNN
F 2 "" H 3750 3150 50 0001 C CNN
F 3 "" H 3750 3150 50 0001 C CNN
@@ -95,10 +95,10 @@ $EndComp
Wire Wire Line
3750 3150 3750 3000
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0127
U 1 1 6100409A
P 3750 1850
F 0 "#PWR?" H 3750 1700 50 0001 C CNN
F 0 "#PWR0127" H 3750 1700 50 0001 C CNN
F 1 "+3V3" H 3765 2023 50 0000 C CNN
F 2 "" H 3750 1850 50 0001 C CNN
F 3 "" H 3750 1850 50 0001 C CNN
@@ -108,10 +108,10 @@ $EndComp
Wire Wire Line
3750 1850 3750 1950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0128
U 1 1 610048A5
P 6300 1500
F 0 "#PWR?" H 6300 1350 50 0001 C CNN
F 0 "#PWR0128" H 6300 1350 50 0001 C CNN
F 1 "+3V3" H 6315 1673 50 0000 C CNN
F 2 "" H 6300 1500 50 0001 C CNN
F 3 "" H 6300 1500 50 0001 C CNN
@@ -119,10 +119,10 @@ F 3 "" H 6300 1500 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Diode:BAT54C D?
L Diode:BAT54C D4
U 1 1 6100517A
P 5850 1600
F 0 "D?" H 5850 1825 50 0000 C CNN
F 0 "D4" H 5850 1825 50 0000 C CNN
F 1 "BAT54C" H 5850 1734 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 5925 1725 50 0001 L CNN
F 3 "http://www.diodes.com/_files/datasheets/ds11005.pdf" H 5770 1600 50 0001 C CNN
@@ -158,10 +158,10 @@ Connection ~ 6250 1600
Wire Wire Line
6250 1600 6150 1600
$Comp
L power:+BATT #PWR?
L power:+BATT #PWR0129
U 1 1 6100A7DE
P 5350 1500
F 0 "#PWR?" H 5350 1350 50 0001 C CNN
F 0 "#PWR0129" H 5350 1350 50 0001 C CNN
F 1 "+BATT" H 5365 1673 50 0000 C CNN
F 2 "" H 5350 1500 50 0001 C CNN
F 3 "" H 5350 1500 50 0001 C CNN
@@ -173,10 +173,10 @@ Wire Wire Line
Wire Wire Line
5350 1600 5550 1600
$Comp
L dk_USB-DVI-HDMI-Connectors:CX70M-24P1 J?
L dk_USB-DVI-HDMI-Connectors:CX70M-24P1 J2
U 1 1 61011530
P 1300 1350
F 0 "J?" H 1300 2385 50 0000 C CNN
F 0 "J2" H 1300 2385 50 0000 C CNN
F 1 "CX70M-24P1" H 1300 2294 50 0000 C CNN
F 2 "digikey-footprints:USB-C_Female_CX70M-24P1" H 1500 1550 60 0001 L CNN
F 3 "https://www.hirose.com/product/document?clcode=CL0480-0304-0-00&productname=CX70M-24P1&series=CX&documenttype=2DDrawing&lang=en&documentid=D141189_en" H 1500 1650 60 0001 L CNN
@@ -208,23 +208,8 @@ Text Label 7150 5000 2 50 ~ 0
SWCLK
Wire Wire Line
7150 5000 6650 5000
Text HLabel 7250 5100 2 50 Input ~ 0
NFC_TX
Text HLabel 4700 4300 0 50 Input ~ 0
NFC_RX
Wire Wire Line
7200 3800 6650 3800
$Comp
L Connector:Micro_SD_Card J?
U 1 1 61021D75
P 9950 6800
F 0 "J?" H 9900 7517 50 0000 C CNN
F 1 "Micro_SD_Card" H 9900 7426 50 0000 C CNN
F 2 "Connector_Card:microSD_HC_Wuerth_693072010801" H 11100 7100 50 0001 C CNN
F 3 "http://katalog.we-online.de/em/datasheet/693072010801.pdf" H 9950 6800 50 0001 C CNN
1 9950 6800
1 0 0 -1
$EndComp
Text Label 8650 6600 0 50 ~ 0
SDIO_D3
Text Label 8650 6500 0 50 ~ 0
@@ -246,134 +231,77 @@ Wire Wire Line
Wire Wire Line
9050 6500 8650 6500
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0130
U 1 1 61029892
P 8200 6650
F 0 "#PWR?" H 8200 6500 50 0001 C CNN
F 1 "+3V3" H 8215 6823 50 0000 C CNN
F 2 "" H 8200 6650 50 0001 C CNN
F 3 "" H 8200 6650 50 0001 C CNN
1 8200 6650
P 8100 6150
F 0 "#PWR0130" H 8100 6000 50 0001 C CNN
F 1 "+3V3" H 8115 6323 50 0000 C CNN
F 2 "" H 8100 6150 50 0001 C CNN
F 3 "" H 8100 6150 50 0001 C CNN
1 8100 6150
1 0 0 -1
$EndComp
Wire Wire Line
8200 6650 8200 6700
$Comp
L power:GND #PWR?
L power:GND #PWR0131
U 1 1 6102AB3A
P 8300 7250
F 0 "#PWR?" H 8300 7000 50 0001 C CNN
F 0 "#PWR0131" H 8300 7000 50 0001 C CNN
F 1 "GND" H 8305 7077 50 0000 C CNN
F 2 "" H 8300 7250 50 0001 C CNN
F 3 "" H 8300 7250 50 0001 C CNN
1 8300 7250
1 0 0 -1
$EndComp
Wire Wire Line
8300 7250 8300 7050
Wire Wire Line
8300 7000 9050 7000
$Comp
L Device:R R?
L Device:R R26
U 1 1 6102C3B6
P 7800 6900
F 0 "R?" H 7870 6946 50 0000 L CNN
F 1 "47K" H 7870 6855 50 0000 L CNN
F 2 "" V 7730 6900 50 0001 C CNN
F 3 "~" H 7800 6900 50 0001 C CNN
1 7800 6900
P 8300 6400
F 0 "R26" H 8370 6446 50 0000 L CNN
F 1 "47K" H 8370 6355 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 8230 6400 50 0001 C CNN
F 3 "~" H 8300 6400 50 0001 C CNN
1 8300 6400
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R25
U 1 1 6102D76C
P 7500 6900
F 0 "R?" H 7570 6946 50 0000 L CNN
F 1 "47K" H 7570 6855 50 0000 L CNN
F 2 "" V 7430 6900 50 0001 C CNN
F 3 "~" H 7500 6900 50 0001 C CNN
1 7500 6900
P 7950 6400
F 0 "R25" H 8020 6446 50 0000 L CNN
F 1 "47K" H 8020 6355 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7880 6400 50 0001 C CNN
F 3 "~" H 7950 6400 50 0001 C CNN
1 7950 6400
1 0 0 -1
$EndComp
Wire Wire Line
7800 6750 7800 6700
Wire Wire Line
7800 6700 8200 6700
Wire Wire Line
7500 6750 7500 6700
Wire Wire Line
7500 6700 7800 6700
Connection ~ 7800 6700
Wire Wire Line
7800 7050 7800 7350
Wire Wire Line
7500 7200 7500 7050
$Comp
L Device:C C?
L Device:C C31
U 1 1 61030FF9
P 8200 6900
F 0 "C?" H 8315 6946 50 0000 L CNN
F 1 "100nF" H 8315 6855 50 0000 L CNN
F 2 "" H 8238 6750 50 0001 C CNN
F 3 "~" H 8200 6900 50 0001 C CNN
1 8200 6900
P 7250 6850
F 0 "C31" H 7365 6896 50 0000 L CNN
F 1 "100nF" H 7365 6805 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7288 6700 50 0001 C CNN
F 3 "~" H 7250 6850 50 0001 C CNN
1 7250 6850
1 0 0 -1
$EndComp
Wire Wire Line
8650 6700 9050 6700
Wire Wire Line
8650 7100 9050 7100
Text Label 7500 7200 2 50 ~ 0
SDIO_D0
Wire Wire Line
8200 6750 8200 6700
Connection ~ 8200 6700
Wire Wire Line
8200 7050 8300 7050
Connection ~ 8300 7050
Wire Wire Line
8300 7050 8300 7000
Text Label 7150 4400 2 50 ~ 0
SDIO_D1
Text Label 4750 4400 0 50 ~ 0
SDIO_D0
Text Label 7150 4500 2 50 ~ 0
SDIO_D2
Text Label 4750 4200 0 50 ~ 0
SDIO_D3
Text Label 7150 4200 2 50 ~ 0
SDIO_CMD
Text Label 4750 5100 0 50 ~ 0
SDIO_CLK
Wire Wire Line
6650 4200 7150 4200
Wire Wire Line
7150 4400 6650 4400
Wire Wire Line
7150 4500 6650 4500
Wire Wire Line
5350 5100 4750 5100
Wire Wire Line
4750 4200 5350 4200
Wire Wire Line
4750 4400 5350 4400
Wire Wire Line
9050 6800 8300 6800
Wire Wire Line
8300 6800 8300 6700
Wire Wire Line
8300 6700 8200 6700
Text Label 7800 7350 2 50 ~ 0
SDIO_CMD
Text HLabel 3600 2400 0 50 Input ~ 0
NRST
Wire Wire Line
3600 2400 3750 2400
$Comp
L Connector:TestPoint_Small TP?
L Connector:TestPoint_Small TP1
U 1 1 6106B619
P 4100 2600
F 0 "TP?" H 3950 2700 50 0000 L CNN
F 0 "TP1" H 3950 2700 50 0000 L CNN
F 1 "BOOT0" H 4100 2700 50 0000 L CNN
F 2 "TestPoint:TestPoint_Pad_D2.0mm" H 4300 2600 50 0001 C CNN
F 3 "~" H 4300 2600 50 0001 C CNN
@@ -383,24 +311,22 @@ $EndComp
Connection ~ 4200 2600
Wire Wire Line
4200 2600 5350 2600
Text Label 7150 5100 2 50 ~ 0
TX1
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C30
U 1 1 610728EA
P 4600 2950
F 0 "C?" H 4718 2996 50 0000 L CNN
F 0 "C30" H 4718 2996 50 0000 L CNN
F 1 "4u7F" H 4718 2905 50 0000 L CNN
F 2 "" H 4638 2800 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4638 2800 50 0001 C CNN
F 3 "~" H 4600 2950 50 0001 C CNN
1 4600 2950
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0132
U 1 1 61072E5F
P 4600 3150
F 0 "#PWR?" H 4600 2900 50 0001 C CNN
F 0 "#PWR0132" H 4600 2900 50 0001 C CNN
F 1 "GND" H 4605 2977 50 0000 C CNN
F 2 "" H 4600 3150 50 0001 C CNN
F 3 "" H 4600 3150 50 0001 C CNN
@@ -412,10 +338,10 @@ Wire Wire Line
Wire Wire Line
5350 2800 4600 2800
$Comp
L power:GND #PWR?
L power:GND #PWR0133
U 1 1 6107B770
P 600 1900
F 0 "#PWR?" H 600 1650 50 0001 C CNN
F 0 "#PWR0133" H 600 1650 50 0001 C CNN
F 1 "GND" V 605 1772 50 0000 R CNN
F 2 "" H 600 1900 50 0001 C CNN
F 3 "" H 600 1900 50 0001 C CNN
@@ -423,10 +349,10 @@ F 3 "" H 600 1900 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0134
U 1 1 6107BF0B
P 1950 1900
F 0 "#PWR?" H 1950 1650 50 0001 C CNN
F 0 "#PWR0134" H 1950 1650 50 0001 C CNN
F 1 "GND" V 1955 1772 50 0000 R CNN
F 2 "" H 1950 1900 50 0001 C CNN
F 3 "" H 1950 1900 50 0001 C CNN
@@ -444,10 +370,10 @@ Wire Wire Line
Wire Wire Line
800 1600 600 1600
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0135
U 1 1 6108C4A1
P 1950 1100
F 0 "#PWR?" H 1950 950 50 0001 C CNN
F 0 "#PWR0135" H 1950 950 50 0001 C CNN
F 1 "VBUS" V 1965 1228 50 0000 L CNN
F 2 "" H 1950 1100 50 0001 C CNN
F 3 "" H 1950 1100 50 0001 C CNN
@@ -473,10 +399,10 @@ Wire Wire Line
Wire Wire Line
1800 1100 1950 1100
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0136
U 1 1 610B53CF
P 1950 1600
F 0 "#PWR?" H 1950 1450 50 0001 C CNN
F 0 "#PWR0136" H 1950 1450 50 0001 C CNN
F 1 "VBUS" V 1965 1728 50 0000 L CNN
F 2 "" H 1950 1600 50 0001 C CNN
F 3 "" H 1950 1600 50 0001 C CNN
@@ -486,10 +412,10 @@ $EndComp
Wire Wire Line
1800 1600 1950 1600
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0137
U 1 1 6108796A
P 600 1100
F 0 "#PWR?" H 600 950 50 0001 C CNN
F 0 "#PWR0137" H 600 950 50 0001 C CNN
F 1 "VBUS" V 615 1227 50 0000 L CNN
F 2 "" H 600 1100 50 0001 C CNN
F 3 "" H 600 1100 50 0001 C CNN
@@ -499,10 +425,10 @@ $EndComp
Wire Wire Line
600 1100 800 1100
$Comp
L power:VBUS #PWR?
L power:VBUS #PWR0138
U 1 1 610D467C
P 600 1600
F 0 "#PWR?" H 600 1450 50 0001 C CNN
F 0 "#PWR0138" H 600 1450 50 0001 C CNN
F 1 "VBUS" V 615 1727 50 0000 L CNN
F 2 "" H 600 1600 50 0001 C CNN
F 3 "" H 600 1600 50 0001 C CNN
@@ -510,10 +436,10 @@ F 3 "" H 600 1600 50 0001 C CNN
0 -1 -1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0139
U 1 1 610D8717
P 600 800
F 0 "#PWR?" H 600 550 50 0001 C CNN
F 0 "#PWR0139" H 600 550 50 0001 C CNN
F 1 "GND" V 605 672 50 0000 R CNN
F 2 "" H 600 800 50 0001 C CNN
F 3 "" H 600 800 50 0001 C CNN
@@ -521,10 +447,10 @@ F 3 "" H 600 800 50 0001 C CNN
0 1 1 0
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0140
U 1 1 610E0B91
P 1950 800
F 0 "#PWR?" H 1950 550 50 0001 C CNN
F 0 "#PWR0140" H 1950 550 50 0001 C CNN
F 1 "GND" V 1955 672 50 0000 R CNN
F 2 "" H 1950 800 50 0001 C CNN
F 3 "" H 1950 800 50 0001 C CNN
@@ -540,12 +466,12 @@ Wire Wire Line
Wire Wire Line
800 1300 500 1300
$Comp
L Device:R R?
L Device:R R22
U 1 1 610F090D
P 2500 2150
F 0 "R?" H 2570 2196 50 0000 L CNN
F 0 "R22" H 2570 2196 50 0000 L CNN
F 1 "10K" H 2570 2105 50 0000 L CNN
F 2 "" V 2430 2150 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2430 2150 50 0001 C CNN
F 3 "~" H 2500 2150 50 0001 C CNN
1 2500 2150
1 0 0 -1
@@ -555,12 +481,12 @@ Wire Wire Line
Wire Wire Line
2500 1200 1800 1200
$Comp
L Device:R R?
L Device:R R21
U 1 1 610F39C9
P 150 2150
F 0 "R?" H 220 2196 50 0000 L CNN
F 0 "R21" H 220 2196 50 0000 L CNN
F 1 "10K" H 220 2105 50 0000 L CNN
F 2 "" V 80 2150 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 80 2150 50 0001 C CNN
F 3 "~" H 150 2150 50 0001 C CNN
1 150 2150
1 0 0 -1
@@ -570,10 +496,10 @@ Wire Wire Line
Wire Wire Line
150 1500 800 1500
$Comp
L power:GND #PWR?
L power:GND #PWR0141
U 1 1 610F9ECE
P 2500 2350
F 0 "#PWR?" H 2500 2100 50 0001 C CNN
F 0 "#PWR0141" H 2500 2100 50 0001 C CNN
F 1 "GND" H 2505 2177 50 0000 C CNN
F 2 "" H 2500 2350 50 0001 C CNN
F 3 "" H 2500 2350 50 0001 C CNN
@@ -581,10 +507,10 @@ F 3 "" H 2500 2350 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0142
U 1 1 610FA564
P 150 2350
F 0 "#PWR?" H 150 2100 50 0001 C CNN
F 0 "#PWR0142" H 150 2100 50 0001 C CNN
F 1 "GND" H 155 2177 50 0000 C CNN
F 2 "" H 150 2350 50 0001 C CNN
F 3 "" H 150 2350 50 0001 C CNN
@@ -596,10 +522,10 @@ Wire Wire Line
Wire Wire Line
2500 2350 2500 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0143
U 1 1 6110B364
P 1100 2350
F 0 "#PWR?" H 1100 2100 50 0001 C CNN
F 0 "#PWR0143" H 1100 2100 50 0001 C CNN
F 1 "GND" H 1105 2177 50 0000 C CNN
F 2 "" H 1100 2350 50 0001 C CNN
F 3 "" H 1100 2350 50 0001 C CNN
@@ -623,10 +549,10 @@ HS_OSC1
Text Label 450 3850 0 50 ~ 0
HS_OSC0
$Comp
L Device:Crystal_GND24 Y?
L Device:Crystal_GND24 Y2
U 1 1 6111F0CA
P 1100 3850
F 0 "Y?" H 1300 3650 50 0000 R CNN
F 0 "Y2" H 1300 3650 50 0000 R CNN
F 1 "24Mhz" H 1000 3600 50 0000 R CNN
F 2 "" H 1100 3850 50 0001 C CNN
F 3 "~" H 1100 3850 50 0001 C CNN
@@ -634,10 +560,10 @@ F 3 "~" H 1100 3850 50 0001 C CNN
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0144
U 1 1 61120128
P 1100 3450
F 0 "#PWR?" H 1100 3200 50 0001 C CNN
F 0 "#PWR0144" H 1100 3200 50 0001 C CNN
F 1 "GND" H 1105 3277 50 0000 C CNN
F 2 "" H 1100 3450 50 0001 C CNN
F 3 "" H 1100 3450 50 0001 C CNN
@@ -645,10 +571,10 @@ F 3 "" H 1100 3450 50 0001 C CNN
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0145
U 1 1 61120856
P 1100 4400
F 0 "#PWR?" H 1100 4150 50 0001 C CNN
F 0 "#PWR0145" H 1100 4150 50 0001 C CNN
F 1 "GND" H 1105 4227 50 0000 C CNN
F 2 "" H 1100 4400 50 0001 C CNN
F 3 "" H 1100 4400 50 0001 C CNN
@@ -656,23 +582,23 @@ F 3 "" H 1100 4400 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C27
U 1 1 61120E61
P 850 4100
F 0 "C?" H 965 4146 50 0000 L CNN
F 0 "C27" H 965 4146 50 0000 L CNN
F 1 "22pF" H 965 4055 50 0000 L CNN
F 2 "" H 888 3950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 888 3950 50 0001 C CNN
F 3 "~" H 850 4100 50 0001 C CNN
1 850 4100
-1 0 0 1
$EndComp
$Comp
L Device:C C?
L Device:C C28
U 1 1 61122664
P 1350 4100
F 0 "C?" H 1465 4146 50 0000 L CNN
F 0 "C28" H 1465 4146 50 0000 L CNN
F 1 "22pF" H 1465 4055 50 0000 L CNN
F 2 "" H 1388 3950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1388 3950 50 0001 C CNN
F 3 "~" H 1350 4100 50 0001 C CNN
1 1350 4100
1 0 0 -1
@@ -706,56 +632,219 @@ Wire Wire Line
850 4350 1100 4350
Wire Wire Line
450 3850 850 3850
Text Label 4750 3900 0 50 ~ 0
BOOT1
Text Label 4750 4800 0 50 ~ 0
I2S4_WS
Text Label 4750 4900 0 50 ~ 0
I2S4_CLK
Text HLabel 4650 4800 0 50 Output ~ 0
DAC_LRCK
Text HLabel 4650 4900 0 50 Output ~ 0
DAC_BCLK
Text HLabel 7200 3700 2 50 Output ~ 0
DAC_DATA
Wire Wire Line
4750 3900 5350 3900
Text Label 3250 3900 2 50 ~ 0
BOOT1
$Comp
L Device:R R?
U 1 1 61177E61
P 2950 4100
F 0 "R?" H 3020 4146 50 0000 L CNN
F 1 "10K" H 3020 4055 50 0000 L CNN
F 2 "" V 2880 4100 50 0001 C CNN
F 3 "~" H 2950 4100 50 0001 C CNN
1 2950 4100
1 0 0 -1
$EndComp
7200 3700 6650 3700
Text HLabel 7200 3800 2 50 Input ~ 0
ADC1_IN2
Text Label 7150 3700 2 50 ~ 0
I2S4_SD
Wire Wire Line
3250 3900 2950 3900
6650 4200 7150 4200
Wire Wire Line
2950 3900 2950 3950
$Comp
L power:GND #PWR?
U 1 1 6117BC40
P 2950 4300
F 0 "#PWR?" H 2950 4050 50 0001 C CNN
F 1 "GND" H 2955 4127 50 0000 C CNN
F 2 "" H 2950 4300 50 0001 C CNN
F 3 "" H 2950 4300 50 0001 C CNN
1 2950 4300
1 0 0 -1
$EndComp
4650 4800 5350 4800
Wire Wire Line
2950 4300 2950 4250
4650 4900 5350 4900
Wire Wire Line
4750 5100 5350 5100
Wire Wire Line
7150 4400 6650 4400
Wire Wire Line
7150 4500 6650 4500
Text Label 4750 4400 0 50 ~ 0
SDIO_D0
Text Label 7150 4300 2 50 ~ 0
SPI1_MOSI
Text Label 7150 4200 2 50 ~ 0
SDIO_CMD
Text HLabel 7200 4600 2 50 Input ~ 0
NFC_TX
Text Label 4750 4200 0 50 ~ 0
SDIO_D3
Text Label 7150 4100 2 50 ~ 0
SPI1_SCK
Text Label 7150 4000 2 50 ~ 0
I2S_LRCLK
SPI1_NSS
Wire Wire Line
7150 4000 6650 4000
Text Label 7650 4000 0 50 ~ 0
I2S2_SCK
Text Label 4750 4600 0 50 ~ 0
I2S2_SDA
4650 4300 5350 4300
Text HLabel 4650 4300 0 50 Output ~ 0
NFC_RX
Text Label 4750 4100 0 50 ~ 0
SPI1_MISO
NoConn ~ 6650 5100
Wire Wire Line
4750 4600 5350 4600
Text Label 7650 4200 0 50 ~ 0
I2S2_MCK
4750 4200 5350 4200
Text Label 4750 4300 0 50 ~ 0
TX1
Text Label 7150 4600 2 50 ~ 0
RX1
Wire Wire Line
4700 4300 5350 4300
4750 4400 5350 4400
NoConn ~ 6650 3900
NoConn ~ 6650 3600
Wire Wire Line
7250 5100 6650 5100
7200 4600 6650 4600
NoConn ~ 5350 3800
NoConn ~ 5350 4700
NoConn ~ 5350 4500
Text Label 4750 4600 0 50 ~ 0
SDIO_DET
Wire Wire Line
4750 4600 5350 4600
$Comp
L Connector:Micro_SD_Card_Det J3
U 1 1 6115F4F8
P 9950 6900
F 0 "J3" H 9900 7717 50 0000 C CNN
F 1 "Micro_SD_Card_Det" H 9900 7626 50 0000 C CNN
F 2 "Connector_Card:microSD_HC_Hirose_DM3AT-SF-PEJM5" H 12000 7600 50 0001 C CNN
F 3 "https://www.hirose.com/product/en/download_file/key_name/DM3/category/Catalog/doc_file_id/49662/?file_category_id=4&item_id=195&is_series=1" H 9950 7000 50 0001 C CNN
1 9950 6900
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0146
U 1 1 6116856A
P 10900 7450
F 0 "#PWR0146" H 10900 7200 50 0001 C CNN
F 1 "GND" H 10905 7277 50 0000 C CNN
F 2 "" H 10900 7450 50 0001 C CNN
F 3 "" H 10900 7450 50 0001 C CNN
1 10900 7450
1 0 0 -1
$EndComp
Wire Wire Line
8950 7500 8950 7400
Wire Wire Line
8950 7400 9050 7400
Text Label 8650 7300 0 50 ~ 0
SDIO_DET
Wire Wire Line
8650 7300 9050 7300
Wire Wire Line
10900 7450 10900 7400
Wire Wire Line
10900 7400 10750 7400
Wire Wire Line
8300 7000 8300 7250
Wire Wire Line
8300 6700 8300 6550
Wire Wire Line
8300 6700 9050 6700
Wire Wire Line
7950 7100 7950 6550
Wire Wire Line
7950 7100 9050 7100
Wire Wire Line
8100 6800 8100 6200
Wire Wire Line
8100 6200 8300 6200
Wire Wire Line
8300 6200 8300 6250
Wire Wire Line
8100 6800 9050 6800
Wire Wire Line
8100 6200 7950 6200
Wire Wire Line
7950 6200 7950 6250
Connection ~ 8100 6200
Wire Wire Line
8100 6150 8100 6200
Wire Wire Line
7950 6200 7250 6200
Wire Wire Line
7250 6200 7250 6700
Connection ~ 7950 6200
$Comp
L power:GND #PWR0147
U 1 1 611BE7F8
P 7250 7250
F 0 "#PWR0147" H 7250 7000 50 0001 C CNN
F 1 "GND" H 7255 7077 50 0000 C CNN
F 2 "" H 7250 7250 50 0001 C CNN
F 3 "" H 7250 7250 50 0001 C CNN
1 7250 7250
1 0 0 -1
$EndComp
Wire Wire Line
7250 7250 7250 7000
$Comp
L power:GND #PWR0148
U 1 1 611C6CDB
P 5850 5450
F 0 "#PWR0148" H 5850 5200 50 0001 C CNN
F 1 "GND" H 5855 5277 50 0000 C CNN
F 2 "" H 5850 5450 50 0001 C CNN
F 3 "" H 5850 5450 50 0001 C CNN
1 5850 5450
1 0 0 -1
$EndComp
Wire Wire Line
5850 5450 5850 5400
Wire Wire Line
6250 5300 6250 5400
Wire Wire Line
6250 5400 6150 5400
Connection ~ 5850 5400
Wire Wire Line
5850 5400 5850 5300
Wire Wire Line
5950 5300 5950 5400
Connection ~ 5950 5400
Wire Wire Line
5950 5400 5850 5400
Wire Wire Line
6050 5300 6050 5400
Connection ~ 6050 5400
Wire Wire Line
6050 5400 5950 5400
Wire Wire Line
6150 5300 6150 5400
Connection ~ 6150 5400
Wire Wire Line
6150 5400 6050 5400
NoConn ~ 5350 3900
Text Label 4750 3700 0 50 ~ 0
BTN_PWR
Text HLabel 4650 3700 0 50 Input ~ 0
BTN_PWR
Wire Wire Line
4650 3700 5350 3700
Text Label 4750 4000 0 50 ~ 0
MEAS_EN
Text HLabel 4650 4000 0 50 Output ~ 0
MEAS_EN
Wire Wire Line
4650 4000 5350 4000
Text Label 4750 5000 0 50 ~ 0
PW_HOLD
Text HLabel 4650 5000 0 50 Output ~ 0
PW_HOLD
Wire Wire Line
4650 5000 5350 5000
Text HLabel 4650 4100 0 50 Input ~ 0
NFC_MISO
Wire Wire Line
4650 4100 5350 4100
Text HLabel 7200 4000 2 50 Output ~ 0
NFC_SPI_CS
Wire Wire Line
6650 4000 7200 4000
Text HLabel 7200 4100 2 50 Output ~ 0
NFC_SPI_SCK
Wire Wire Line
6650 4100 7200 4100
Text HLabel 7200 4300 2 50 Output ~ 0
NFC_SPI_MOSI
Wire Wire Line
6650 4300 7200 4300
$EndSCHEMATC

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 5
Sheet 5 5
Title ""
Date ""
Rev ""
@@ -36,10 +36,10 @@ Wire Wire Line
Text Label 6850 4250 2 70 ~ 0
GAIN
$Comp
L Leo_muziekdoos-eagle-import:AUDIOAMP_MAX98357 U?
L Leo_muziekdoos-eagle-import:AUDIOAMP_MAX98357 U5
U 1 1 60FE0C5F
P 5950 3950
F 0 "U?" H 5450 4650 42 0000 L BNN
F 0 "U5" H 5450 4650 42 0000 L BNN
F 1 "MAX98357A" H 5450 3250 42 0000 L BNN
F 2 "Leo_muziekdoos:QFN16_3MM" H 5950 3950 50 0001 C CNN
F 3 "" H 5950 3950 50 0001 C CNN
@@ -47,10 +47,10 @@ F 3 "" H 5950 3950 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB?
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB4
U 1 1 60FE0C65
P 6750 3650
F 0 "FB?" H 6700 3725 42 0000 L BNN
F 0 "FB4" H 6700 3725 42 0000 L BNN
F 1 "Ferrite" H 6700 3525 42 0000 L BNN
F 2 "Leo_muziekdoos:0805-NO" H 6750 3650 50 0001 C CNN
F 3 "" H 6750 3650 50 0001 C CNN
@@ -58,10 +58,10 @@ F 3 "" H 6750 3650 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB?
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB5
U 1 1 60FE0C6B
P 6750 3950
F 0 "FB?" H 6700 4025 42 0000 L BNN
F 0 "FB5" H 6700 4025 42 0000 L BNN
F 1 "Ferrite" H 6700 3825 42 0000 L BNN
F 2 "Leo_muziekdoos:0805-NO" H 6750 3950 50 0001 C CNN
F 3 "" H 6750 3950 50 0001 C CNN
@@ -77,23 +77,23 @@ Gain=9dB
Text Label 3300 3850 0 70 ~ 0
GAIN
$Comp
L Device:R R?
L Device:R R27
U 1 1 60FE0C75
P 3150 3550
F 0 "R?" H 3220 3596 50 0000 L CNN
F 0 "R27" H 3220 3596 50 0000 L CNN
F 1 "R" H 3220 3505 50 0000 L CNN
F 2 "" V 3080 3550 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3080 3550 50 0001 C CNN
F 3 "~" H 3150 3550 50 0001 C CNN
1 3150 3550
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R28
U 1 1 60FE0C7B
P 3150 4100
F 0 "R?" H 3220 4146 50 0000 L CNN
F 0 "R28" H 3220 4146 50 0000 L CNN
F 1 "R" H 3220 4055 50 0000 L CNN
F 2 "" V 3080 4100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3080 4100 50 0001 C CNN
F 3 "~" H 3150 4100 50 0001 C CNN
1 3150 4100
1 0 0 -1
@@ -106,10 +106,10 @@ Connection ~ 3150 3850
Wire Wire Line
3150 3850 3150 3950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0149
U 1 1 60FE0C85
P 3150 3250
F 0 "#PWR?" H 3150 3100 50 0001 C CNN
F 0 "#PWR0149" H 3150 3100 50 0001 C CNN
F 1 "+3V3" H 3165 3423 50 0000 C CNN
F 2 "" H 3150 3250 50 0001 C CNN
F 3 "" H 3150 3250 50 0001 C CNN
@@ -119,10 +119,10 @@ $EndComp
Wire Wire Line
3150 3250 3150 3400
$Comp
L power:GND #PWR?
L power:GND #PWR0150
U 1 1 60FE0C8C
P 3150 4400
F 0 "#PWR?" H 3150 4150 50 0001 C CNN
F 0 "#PWR0150" H 3150 4150 50 0001 C CNN
F 1 "GND" H 3155 4227 50 0000 C CNN
F 2 "" H 3150 4400 50 0001 C CNN
F 3 "" H 3150 4400 50 0001 C CNN
@@ -132,23 +132,23 @@ $EndComp
Wire Wire Line
3150 4400 3150 4250
$Comp
L Device:C C?
L Device:C C32
U 1 1 60FE0C93
P 4550 4500
F 0 "C?" H 4436 4454 50 0000 R CNN
F 0 "C32" H 4436 4454 50 0000 R CNN
F 1 "10nF" H 4436 4545 50 0000 R CNN
F 2 "" H 4588 4350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4588 4350 50 0001 C CNN
F 3 "~" H 4550 4500 50 0001 C CNN
1 4550 4500
1 0 0 1
$EndComp
$Comp
L Device:C C?
L Device:C C33
U 1 1 60FE0C99
P 4900 4500
F 0 "C?" H 5015 4546 50 0000 L CNN
F 0 "C33" H 5015 4546 50 0000 L CNN
F 1 "100nF" H 5015 4455 50 0000 L CNN
F 2 "" H 4938 4350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4938 4350 50 0001 C CNN
F 3 "~" H 4900 4500 50 0001 C CNN
1 4900 4500
1 0 0 -1
@@ -161,10 +161,10 @@ Wire Wire Line
4550 4350 4550 4150
Connection ~ 4550 4150
$Comp
L power:GND #PWR?
L power:GND #PWR0151
U 1 1 60FE0CA3
P 4550 4750
F 0 "#PWR?" H 4550 4500 50 0001 C CNN
F 0 "#PWR0151" H 4550 4500 50 0001 C CNN
F 1 "GND" H 4555 4577 50 0000 C CNN
F 2 "" H 4550 4750 50 0001 C CNN
F 3 "" H 4550 4750 50 0001 C CNN
@@ -172,10 +172,10 @@ F 3 "" H 4550 4750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0152
U 1 1 60FE0CA9
P 4900 4750
F 0 "#PWR?" H 4900 4500 50 0001 C CNN
F 0 "#PWR0152" H 4900 4500 50 0001 C CNN
F 1 "GND" H 4905 4577 50 0000 C CNN
F 2 "" H 4900 4750 50 0001 C CNN
F 3 "" H 4900 4750 50 0001 C CNN
@@ -187,10 +187,10 @@ Wire Wire Line
Wire Wire Line
4550 4750 4550 4650
$Comp
L power:GND #PWR?
L power:GND #PWR0153
U 1 1 60FE0CB1
P 5250 4750
F 0 "#PWR?" H 5250 4500 50 0001 C CNN
F 0 "#PWR0153" H 5250 4500 50 0001 C CNN
F 1 "GND" H 5255 4577 50 0000 C CNN
F 2 "" H 5250 4750 50 0001 C CNN
F 3 "" H 5250 4750 50 0001 C CNN
@@ -203,10 +203,10 @@ Connection ~ 4900 4150
Wire Wire Line
4900 4150 5350 4150
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0154
U 1 1 60FE0CBA
P 4550 4050
F 0 "#PWR?" H 4550 3900 50 0001 C CNN
F 0 "#PWR0154" H 4550 3900 50 0001 C CNN
F 1 "+3V3" H 4565 4223 50 0000 C CNN
F 2 "" H 4550 4050 50 0001 C CNN
F 3 "" H 4550 4050 50 0001 C CNN
@@ -214,12 +214,12 @@ F 3 "" H 4550 4050 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R29
U 1 1 60FE0CC0
P 5250 3300
F 0 "R?" H 5320 3346 50 0000 L CNN
F 0 "R29" H 5320 3346 50 0000 L CNN
F 1 "1M" H 5320 3255 50 0000 L CNN
F 2 "" V 5180 3300 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5180 3300 50 0001 C CNN
F 3 "~" H 5250 3300 50 0001 C CNN
1 5250 3300
1 0 0 -1
@@ -227,10 +227,10 @@ $EndComp
Wire Wire Line
5250 3450 5250 3650
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0155
U 1 1 60FE0CC7
P 5250 3100
F 0 "#PWR?" H 5250 2950 50 0001 C CNN
F 0 "#PWR0155" H 5250 2950 50 0001 C CNN
F 1 "+3V3" H 5265 3273 50 0000 C CNN
F 2 "" H 5250 3100 50 0001 C CNN
F 3 "" H 5250 3100 50 0001 C CNN
@@ -257,32 +257,32 @@ Wire Wire Line
Wire Wire Line
5150 3750 5350 3750
$Comp
L Device:C C?
L Device:C C34
U 1 1 60FE0CD7
P 7250 4300
F 0 "C?" H 7050 4300 50 0000 L CNN
F 0 "C34" H 7050 4300 50 0000 L CNN
F 1 "220pF" H 6950 4200 50 0000 L CNN
F 2 "" H 7288 4150 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7288 4150 50 0001 C CNN
F 3 "~" H 7250 4300 50 0001 C CNN
1 7250 4300
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C35
U 1 1 60FE0CDD
P 7550 4300
F 0 "C?" H 7665 4346 50 0000 L CNN
F 0 "C35" H 7665 4346 50 0000 L CNN
F 1 "220pF" H 7665 4255 50 0000 L CNN
F 2 "" H 7588 4150 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7588 4150 50 0001 C CNN
F 3 "~" H 7550 4300 50 0001 C CNN
1 7550 4300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0156
U 1 1 60FE0CE3
P 7250 4750
F 0 "#PWR?" H 7250 4500 50 0001 C CNN
F 0 "#PWR0156" H 7250 4500 50 0001 C CNN
F 1 "GND" H 7255 4577 50 0000 C CNN
F 2 "" H 7250 4750 50 0001 C CNN
F 3 "" H 7250 4750 50 0001 C CNN
@@ -290,10 +290,10 @@ F 3 "" H 7250 4750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0157
U 1 1 60FE0CE9
P 7550 4750
F 0 "#PWR?" H 7550 4500 50 0001 C CNN
F 0 "#PWR0157" H 7550 4500 50 0001 C CNN
F 1 "GND" H 7555 4577 50 0000 C CNN
F 2 "" H 7550 4750 50 0001 C CNN
F 3 "" H 7550 4750 50 0001 C CNN

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 2 5
Sheet 5 5
Title ""
Date ""
Rev ""
@@ -36,10 +36,10 @@ Wire Wire Line
Text Label 6850 4250 2 70 ~ 0
GAIN
$Comp
L Leo_muziekdoos-eagle-import:AUDIOAMP_MAX98357 U?
L Leo_muziekdoos-eagle-import:AUDIOAMP_MAX98357 U5
U 1 1 60FE0C5F
P 5950 3950
F 0 "U?" H 5450 4650 42 0000 L BNN
F 0 "U5" H 5450 4650 42 0000 L BNN
F 1 "MAX98357A" H 5450 3250 42 0000 L BNN
F 2 "Leo_muziekdoos:QFN16_3MM" H 5950 3950 50 0001 C CNN
F 3 "" H 5950 3950 50 0001 C CNN
@@ -47,10 +47,10 @@ F 3 "" H 5950 3950 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB?
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB4
U 1 1 60FE0C65
P 6750 3650
F 0 "FB?" H 6700 3725 42 0000 L BNN
F 0 "FB4" H 6700 3725 42 0000 L BNN
F 1 "Ferrite" H 6700 3525 42 0000 L BNN
F 2 "Leo_muziekdoos:0805-NO" H 6750 3650 50 0001 C CNN
F 3 "" H 6750 3650 50 0001 C CNN
@@ -58,10 +58,10 @@ F 3 "" H 6750 3650 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB?
L Leo_muziekdoos-eagle-import:FERRITE-0805NO FB5
U 1 1 60FE0C6B
P 6750 3950
F 0 "FB?" H 6700 4025 42 0000 L BNN
F 0 "FB5" H 6700 4025 42 0000 L BNN
F 1 "Ferrite" H 6700 3825 42 0000 L BNN
F 2 "Leo_muziekdoos:0805-NO" H 6750 3950 50 0001 C CNN
F 3 "" H 6750 3950 50 0001 C CNN
@@ -77,23 +77,23 @@ Gain=9dB
Text Label 3300 3850 0 70 ~ 0
GAIN
$Comp
L Device:R R?
L Device:R R27
U 1 1 60FE0C75
P 3150 3550
F 0 "R?" H 3220 3596 50 0000 L CNN
F 0 "R27" H 3220 3596 50 0000 L CNN
F 1 "R" H 3220 3505 50 0000 L CNN
F 2 "" V 3080 3550 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3080 3550 50 0001 C CNN
F 3 "~" H 3150 3550 50 0001 C CNN
1 3150 3550
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R28
U 1 1 60FE0C7B
P 3150 4100
F 0 "R?" H 3220 4146 50 0000 L CNN
F 0 "R28" H 3220 4146 50 0000 L CNN
F 1 "R" H 3220 4055 50 0000 L CNN
F 2 "" V 3080 4100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3080 4100 50 0001 C CNN
F 3 "~" H 3150 4100 50 0001 C CNN
1 3150 4100
1 0 0 -1
@@ -106,10 +106,10 @@ Connection ~ 3150 3850
Wire Wire Line
3150 3850 3150 3950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0149
U 1 1 60FE0C85
P 3150 3250
F 0 "#PWR?" H 3150 3100 50 0001 C CNN
F 0 "#PWR0149" H 3150 3100 50 0001 C CNN
F 1 "+3V3" H 3165 3423 50 0000 C CNN
F 2 "" H 3150 3250 50 0001 C CNN
F 3 "" H 3150 3250 50 0001 C CNN
@@ -119,10 +119,10 @@ $EndComp
Wire Wire Line
3150 3250 3150 3400
$Comp
L power:GND #PWR?
L power:GND #PWR0150
U 1 1 60FE0C8C
P 3150 4400
F 0 "#PWR?" H 3150 4150 50 0001 C CNN
F 0 "#PWR0150" H 3150 4150 50 0001 C CNN
F 1 "GND" H 3155 4227 50 0000 C CNN
F 2 "" H 3150 4400 50 0001 C CNN
F 3 "" H 3150 4400 50 0001 C CNN
@@ -132,23 +132,23 @@ $EndComp
Wire Wire Line
3150 4400 3150 4250
$Comp
L Device:C C?
L Device:C C32
U 1 1 60FE0C93
P 4550 4500
F 0 "C?" H 4436 4454 50 0000 R CNN
F 0 "C32" H 4436 4454 50 0000 R CNN
F 1 "10nF" H 4436 4545 50 0000 R CNN
F 2 "" H 4588 4350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4588 4350 50 0001 C CNN
F 3 "~" H 4550 4500 50 0001 C CNN
1 4550 4500
1 0 0 1
$EndComp
$Comp
L Device:C C?
L Device:C C33
U 1 1 60FE0C99
P 4900 4500
F 0 "C?" H 5015 4546 50 0000 L CNN
F 0 "C33" H 5015 4546 50 0000 L CNN
F 1 "100nF" H 5015 4455 50 0000 L CNN
F 2 "" H 4938 4350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4938 4350 50 0001 C CNN
F 3 "~" H 4900 4500 50 0001 C CNN
1 4900 4500
1 0 0 -1
@@ -161,10 +161,10 @@ Wire Wire Line
4550 4350 4550 4150
Connection ~ 4550 4150
$Comp
L power:GND #PWR?
L power:GND #PWR0151
U 1 1 60FE0CA3
P 4550 4750
F 0 "#PWR?" H 4550 4500 50 0001 C CNN
F 0 "#PWR0151" H 4550 4500 50 0001 C CNN
F 1 "GND" H 4555 4577 50 0000 C CNN
F 2 "" H 4550 4750 50 0001 C CNN
F 3 "" H 4550 4750 50 0001 C CNN
@@ -172,10 +172,10 @@ F 3 "" H 4550 4750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0152
U 1 1 60FE0CA9
P 4900 4750
F 0 "#PWR?" H 4900 4500 50 0001 C CNN
F 0 "#PWR0152" H 4900 4500 50 0001 C CNN
F 1 "GND" H 4905 4577 50 0000 C CNN
F 2 "" H 4900 4750 50 0001 C CNN
F 3 "" H 4900 4750 50 0001 C CNN
@@ -187,10 +187,10 @@ Wire Wire Line
Wire Wire Line
4550 4750 4550 4650
$Comp
L power:GND #PWR?
L power:GND #PWR0153
U 1 1 60FE0CB1
P 5250 4750
F 0 "#PWR?" H 5250 4500 50 0001 C CNN
F 0 "#PWR0153" H 5250 4500 50 0001 C CNN
F 1 "GND" H 5255 4577 50 0000 C CNN
F 2 "" H 5250 4750 50 0001 C CNN
F 3 "" H 5250 4750 50 0001 C CNN
@@ -203,10 +203,10 @@ Connection ~ 4900 4150
Wire Wire Line
4900 4150 5350 4150
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0154
U 1 1 60FE0CBA
P 4550 4050
F 0 "#PWR?" H 4550 3900 50 0001 C CNN
F 0 "#PWR0154" H 4550 3900 50 0001 C CNN
F 1 "+3V3" H 4565 4223 50 0000 C CNN
F 2 "" H 4550 4050 50 0001 C CNN
F 3 "" H 4550 4050 50 0001 C CNN
@@ -214,12 +214,12 @@ F 3 "" H 4550 4050 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R29
U 1 1 60FE0CC0
P 5250 3300
F 0 "R?" H 5320 3346 50 0000 L CNN
F 0 "R29" H 5320 3346 50 0000 L CNN
F 1 "1M" H 5320 3255 50 0000 L CNN
F 2 "" V 5180 3300 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5180 3300 50 0001 C CNN
F 3 "~" H 5250 3300 50 0001 C CNN
1 5250 3300
1 0 0 -1
@@ -227,10 +227,10 @@ $EndComp
Wire Wire Line
5250 3450 5250 3650
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0155
U 1 1 60FE0CC7
P 5250 3100
F 0 "#PWR?" H 5250 2950 50 0001 C CNN
F 0 "#PWR0155" H 5250 2950 50 0001 C CNN
F 1 "+3V3" H 5265 3273 50 0000 C CNN
F 2 "" H 5250 3100 50 0001 C CNN
F 3 "" H 5250 3100 50 0001 C CNN
@@ -257,32 +257,32 @@ Wire Wire Line
Wire Wire Line
5150 3750 5350 3750
$Comp
L Device:C C?
L Device:C C34
U 1 1 60FE0CD7
P 7250 4300
F 0 "C?" H 7050 4300 50 0000 L CNN
F 0 "C34" H 7050 4300 50 0000 L CNN
F 1 "220pF" H 6950 4200 50 0000 L CNN
F 2 "" H 7288 4150 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7288 4150 50 0001 C CNN
F 3 "~" H 7250 4300 50 0001 C CNN
1 7250 4300
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C35
U 1 1 60FE0CDD
P 7550 4300
F 0 "C?" H 7665 4346 50 0000 L CNN
F 0 "C35" H 7665 4346 50 0000 L CNN
F 1 "220pF" H 7665 4255 50 0000 L CNN
F 2 "" H 7588 4150 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7588 4150 50 0001 C CNN
F 3 "~" H 7550 4300 50 0001 C CNN
1 7550 4300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0156
U 1 1 60FE0CE3
P 7250 4750
F 0 "#PWR?" H 7250 4500 50 0001 C CNN
F 0 "#PWR0156" H 7250 4500 50 0001 C CNN
F 1 "GND" H 7255 4577 50 0000 C CNN
F 2 "" H 7250 4750 50 0001 C CNN
F 3 "" H 7250 4750 50 0001 C CNN
@@ -290,10 +290,10 @@ F 3 "" H 7250 4750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0157
U 1 1 60FE0CE9
P 7550 4750
F 0 "#PWR?" H 7550 4500 50 0001 C CNN
F 0 "#PWR0157" H 7550 4500 50 0001 C CNN
F 1 "GND" H 7555 4577 50 0000 C CNN
F 2 "" H 7550 4750 50 0001 C CNN
F 3 "" H 7550 4750 50 0001 C CNN

View File

@@ -21,18 +21,18 @@ X Pin_2 2 200 -100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# Connector_Micro_SD_Card
# Connector_Micro_SD_Card_Det
#
DEF Connector_Micro_SD_Card J 0 40 Y Y 1 F N
F0 "J" -650 600 50 H V C CNN
F1 "Connector_Micro_SD_Card" 650 600 50 H V R CNN
F2 "" 1150 300 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DEF Connector_Micro_SD_Card_Det J 0 40 Y Y 1 F N
F0 "J" -650 700 50 H V C CNN
F1 "Connector_Micro_SD_Card_Det" 650 700 50 H V R CNN
F2 "" 2050 700 50 H I C CNN
F3 "" 0 100 50 H I C CNN
ALIAS Micro_SD_Card_Det_Hirose_DM3AT
$FPLIST
microSD*
$ENDFPLIST
DRAW
S -300 -375 -200 -425 0 1 0 F
S -300 -275 -200 -325 0 1 0 F
S -300 -175 -200 -225 0 1 0 F
S -300 -75 -200 -125 0 1 0 F
@@ -40,17 +40,20 @@ S -300 25 -200 -25 0 1 0 F
S -300 125 -200 75 0 1 0 F
S -300 225 -200 175 0 1 0 F
S -300 325 -200 275 0 1 0 F
P 6 0 1 10 650 500 650 550 -750 550 -750 -650 650 -650 650 -450 N
P 11 0 1 10 -350 -450 -350 350 -50 350 100 500 150 500 150 450 250 450 300 500 800 500 800 -450 -350 -450 f
X DAT2 1 -900 300 150 R 50 50 1 1 B
X DAT3/CD 2 -900 200 150 R 50 50 1 1 B
X CMD 3 -900 100 150 R 50 50 1 1 I
X VDD 4 -900 0 150 R 50 50 1 1 W
X CLK 5 -900 -100 150 R 50 50 1 1 I
X VSS 6 -900 -200 150 R 50 50 1 1 W
X DAT0 7 -900 -300 150 R 50 50 1 1 B
X DAT1 8 -900 -400 150 R 50 50 1 1 B
X SHIELD 9 800 -600 150 L 50 50 1 1 P
S -300 425 -200 375 0 1 0 F
P 6 0 1 10 650 600 650 650 -750 650 -750 -650 650 -650 650 -350 N
P 11 0 1 10 -350 -350 -350 450 -50 450 100 600 150 600 150 550 250 550 300 600 800 600 800 -350 -350 -350 f
X DAT2 1 -900 400 150 R 50 50 1 1 B
X DET_A 10 -900 -400 150 R 50 50 1 1 P
X SHIELD 11 800 -500 150 L 50 50 1 1 P
X DAT3/CD 2 -900 300 150 R 50 50 1 1 B
X CMD 3 -900 200 150 R 50 50 1 1 I
X VDD 4 -900 100 150 R 50 50 1 1 W
X CLK 5 -900 0 150 R 50 50 1 1 I
X VSS 6 -900 -100 150 R 50 50 1 1 W
X DAT0 7 -900 -200 150 R 50 50 1 1 B
X DAT1 8 -900 -300 150 R 50 50 1 1 B
X DET_B 9 -900 -500 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1 @@
(kicad_pcb (version 4) (host kicad "dummy file") )

View File

@@ -14,44 +14,84 @@ Comment3 ""
Comment4 ""
$EndDescr
$Sheet
S 9100 400 1450 1700
U 60FDB9AA
F0 "I2S_DAC_AMP" 50
F1 "I2S_DAC_AMP.sch" 50
F2 "I2S_SD_MODE" I L 9100 800 50
F3 "I2S_BCLK" I L 9100 900 50
F4 "I2S_LRCLK" I L 9100 1000 50
F5 "I2S_DIN" I L 9100 1100 50
F6 "SPKOUT+" O R 10550 1200 50
F7 "SPK_OUT-" O R 10550 1300 50
$EndSheet
$Sheet
S 900 600 1450 1650
U 60FE1698
F0 "Power" 50
F1 "Power.sch" 50
F2 "BTN_PWR" I R 2350 900 50
F2 "BTN_PWR" O R 2350 900 50
F3 "PW_HOLD" I R 2350 1000 50
F4 "MEAS_VBATT" I R 2350 1300 50
F4 "MEAS_VBATT" O R 2350 1300 50
F5 "MEAS_EN" I R 2350 1400 50
F6 "+BATT" B L 900 1200 50
$EndSheet
$Sheet
S 9100 2950 1450 1900
S 7050 2950 1450 1900
U 60FE21EE
F0 "NFC" 50
F1 "NFC.sch" 50
F2 "SPI_MOSI" I L 9100 3500 50
F3 "SPI_SCK" I L 9100 3600 50
F4 "SPI_MISO" I L 9100 3700 50
F5 "NFC_SPI_CS" I L 9100 3800 50
F6 "NFC_RX" I L 9100 4050 50
F7 "NFC_TX" I L 9100 4150 50
F2 "SPI_MOSI" I L 7050 3500 50
F3 "SPI_SCK" I L 7050 3600 50
F4 "SPI_MISO" I L 7050 3700 50
F5 "NFC_SPI_CS" I L 7050 3800 50
F6 "NFC_RX" I L 7050 4050 50
F7 "NFC_TX" I L 7050 4150 50
$EndSheet
$Sheet
S 3700 600 2450 4300
U 60FFCEAC
F0 "CPU" 50
F1 "CPU.sch" 50
F2 "NRST" I L 3700 3050 50
F3 "DAC_LRCK" O R 6150 1000 50
F4 "DAC_BCLK" O R 6150 900 50
F5 "DAC_DATA" O R 6150 1100 50
F6 "ADC1_IN2" I L 3700 1300 50
F7 "NFC_TX" I R 6150 4150 50
F8 "NFC_RX" I R 6150 4050 50
F9 "BTN_PWR" I L 3700 900 50
F10 "MEAS_EN" O L 3700 1400 50
F11 "PW_HOLD" O L 3700 1000 50
F12 "NFC_MISO" I R 6150 3700 50
F13 "NFC_SPI_CS" O R 6150 3800 50
F14 "NFC_SPI_SCK" O R 6150 3600 50
F15 "NFC_SPI_MOSI" O R 6150 3500 50
$EndSheet
$Sheet
S 7050 600 1450 1700
U 60FDB9AA
F0 "I2S_DAC_AMP" 50
F1 "I2S_DAC_AMP.sch" 50
F2 "I2S_SD_MODE" I L 7050 1450 50
F3 "I2S_BCLK" I L 7050 900 50
F4 "I2S_LRCLK" I L 7050 1000 50
F5 "I2S_DIN" I L 7050 1100 50
F6 "SPKOUT+" O R 8500 1400 50
F7 "SPK_OUT-" O R 8500 1500 50
$EndSheet
Wire Wire Line
6150 900 7050 900
Wire Wire Line
7050 1000 6150 1000
Wire Wire Line
6150 1100 7050 1100
Wire Wire Line
6150 3500 7050 3500
Wire Wire Line
7050 3600 6150 3600
Wire Wire Line
6150 3700 7050 3700
Wire Wire Line
7050 3800 6150 3800
Wire Wire Line
6150 4050 7050 4050
Wire Wire Line
7050 4150 6150 4150
Wire Wire Line
2350 900 3700 900
Wire Wire Line
2350 1000 3700 1000
Wire Wire Line
2350 1300 3700 1300
Wire Wire Line
3700 1400 2350 1400
$EndSCHEMATC

View File

@@ -14,44 +14,84 @@ Comment3 ""
Comment4 ""
$EndDescr
$Sheet
S 9100 400 1450 1700
U 60FDB9AA
F0 "I2S_DAC_AMP" 50
F1 "I2S_DAC_AMP.sch" 50
F2 "I2S_SD_MODE" I L 9100 800 50
F3 "I2S_BCLK" I L 9100 900 50
F4 "I2S_LRCLK" I L 9100 1000 50
F5 "I2S_DIN" I L 9100 1100 50
F6 "SPKOUT+" O R 10550 1200 50
F7 "SPK_OUT-" O R 10550 1300 50
$EndSheet
$Sheet
S 900 600 1450 1650
U 60FE1698
F0 "Power" 50
F1 "Power.sch" 50
F2 "BTN_PWR" I R 2350 900 50
F2 "BTN_PWR" O R 2350 900 50
F3 "PW_HOLD" I R 2350 1000 50
F4 "MEAS_VBATT" I R 2350 1300 50
F4 "MEAS_VBATT" O R 2350 1300 50
F5 "MEAS_EN" I R 2350 1400 50
F6 "+BATT" B L 900 1200 50
$EndSheet
$Sheet
S 9100 2950 1450 1900
S 7050 2950 1450 1900
U 60FE21EE
F0 "NFC" 50
F1 "NFC.sch" 50
F2 "SPI_MOSI" I L 9100 3500 50
F3 "SPI_SCK" I L 9100 3600 50
F4 "SPI_MISO" I L 9100 3700 50
F5 "NFC_SPI_CS" I L 9100 3800 50
F6 "NFC_RX" I L 9100 4050 50
F7 "NFC_TX" I L 9100 4150 50
F2 "SPI_MOSI" I L 7050 3500 50
F3 "SPI_SCK" I L 7050 3600 50
F4 "SPI_MISO" I L 7050 3700 50
F5 "NFC_SPI_CS" I L 7050 3800 50
F6 "NFC_RX" I L 7050 4050 50
F7 "NFC_TX" I L 7050 4150 50
$EndSheet
$Sheet
S 3700 600 2450 4300
U 60FFCEAC
F0 "CPU" 50
F1 "CPU.sch" 50
F2 "NRST" I L 3700 3050 50
F3 "DAC_LRCK" O R 6150 1000 50
F4 "DAC_BCLK" O R 6150 900 50
F5 "DAC_DATA" O R 6150 1100 50
F6 "ADC1_IN2" I L 3700 1300 50
F7 "NFC_TX" I R 6150 4150 50
F8 "NFC_RX" I R 6150 4050 50
F9 "BTN_PWR" I L 3700 900 50
F10 "MEAS_EN" O L 3700 1400 50
F11 "PW_HOLD" O L 3700 1000 50
F12 "NFC_MISO" I R 6150 3700 50
F13 "NFC_SPI_CS" O R 6150 3800 50
F14 "NFC_SPI_SCK" O R 6150 3600 50
F15 "NFC_SPI_MOSI" O R 6150 3500 50
$EndSheet
$Sheet
S 7050 600 1450 1700
U 60FDB9AA
F0 "I2S_DAC_AMP" 50
F1 "I2S_DAC_AMP.sch" 50
F2 "I2S_SD_MODE" I L 7050 1450 50
F3 "I2S_BCLK" I L 7050 900 50
F4 "I2S_LRCLK" I L 7050 1000 50
F5 "I2S_DIN" I L 7050 1100 50
F6 "SPKOUT+" O R 8500 1400 50
F7 "SPK_OUT-" O R 8500 1500 50
$EndSheet
Wire Wire Line
6150 900 7050 900
Wire Wire Line
7050 1000 6150 1000
Wire Wire Line
6150 1100 7050 1100
Wire Wire Line
6150 3500 7050 3500
Wire Wire Line
7050 3600 6150 3600
Wire Wire Line
6150 3700 7050 3700
Wire Wire Line
7050 3800 6150 3800
Wire Wire Line
6150 4050 7050 4050
Wire Wire Line
7050 4150 6150 4150
Wire Wire Line
2350 900 3700 900
Wire Wire Line
2350 1000 3700 1000
Wire Wire Line
2350 1300 3700 1300
Wire Wire Line
3700 1400 2350 1400
$EndSCHEMATC

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 4 5
Sheet 3 5
Title ""
Date ""
Rev ""
@@ -14,10 +14,10 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L ST25CR95HF:CR95HF-VMD5T U?
L ST25CR95HF:CR95HF-VMD5T U3
U 1 1 614DFD3E
P 4850 3850
F 0 "U?" H 5450 4900 60 0000 C CNN
F 0 "U3" H 5450 4900 60 0000 C CNN
F 1 "CR95HF-VMD5T" H 4550 2600 60 0000 C CNN
F 2 "VFQFPN32_5X5_STM" H 6250 4090 60 0001 C CNN
F 3 "" H 4850 3850 60 0000 C CNN
@@ -25,12 +25,12 @@ F 3 "" H 4850 3850 60 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:L L?
L Device:L L1
U 1 1 614DFD44
P 6300 3600
F 0 "L?" V 6400 3750 50 0000 C CNN
F 0 "L1" V 6400 3750 50 0000 C CNN
F 1 "560nH" V 6400 3550 50 0000 C CNN
F 2 "" H 6300 3600 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 6300 3600 50 0001 C CNN
F 3 "~" H 6300 3600 50 0001 C CNN
1 6300 3600
0 -1 -1 0
@@ -38,54 +38,54 @@ $EndComp
Wire Wire Line
6000 3600 6150 3600
$Comp
L Device:C C?
L Device:C C16
U 1 1 614DFD4B
P 7000 3500
F 0 "C?" H 7115 3546 50 0000 L CNN
F 0 "C16" H 7115 3546 50 0000 L CNN
F 1 "C" H 7115 3455 50 0000 L CNN
F 2 "" H 7038 3350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7038 3350 50 0001 C CNN
F 3 "~" H 7000 3500 50 0001 C CNN
1 7000 3500
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C18
U 1 1 614DFD51
P 7400 3500
F 0 "C?" H 7515 3546 50 0000 L CNN
F 0 "C18" H 7515 3546 50 0000 L CNN
F 1 "C" H 7515 3455 50 0000 L CNN
F 2 "" H 7438 3350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7438 3350 50 0001 C CNN
F 3 "~" H 7400 3500 50 0001 C CNN
1 7400 3500
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C17
U 1 1 614DFD57
P 7000 3850
F 0 "C?" H 7115 3896 50 0000 L CNN
F 0 "C17" H 7115 3896 50 0000 L CNN
F 1 "C" H 7115 3805 50 0000 L CNN
F 2 "" H 7038 3700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7038 3700 50 0001 C CNN
F 3 "~" H 7000 3850 50 0001 C CNN
1 7000 3850
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C19
U 1 1 614DFD5D
P 7400 3850
F 0 "C?" H 7515 3896 50 0000 L CNN
F 0 "C19" H 7515 3896 50 0000 L CNN
F 1 "C" H 7515 3805 50 0000 L CNN
F 2 "" H 7438 3700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7438 3700 50 0001 C CNN
F 3 "~" H 7400 3850 50 0001 C CNN
1 7400 3850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0112
U 1 1 614DFD63
P 7650 3650
F 0 "#PWR?" H 7650 3400 50 0001 C CNN
F 0 "#PWR0112" H 7650 3400 50 0001 C CNN
F 1 "GND" V 7655 3522 50 0000 R CNN
F 2 "" H 7650 3650 50 0001 C CNN
F 3 "" H 7650 3650 50 0001 C CNN
@@ -129,45 +129,45 @@ Wire Wire Line
7400 4050 7000 4050
Connection ~ 7000 4050
$Comp
L Device:C C?
L Device:C C20
U 1 1 614DFD7D
P 8250 3200
F 0 "C?" V 8502 3200 50 0000 C CNN
F 0 "C20" V 8502 3200 50 0000 C CNN
F 1 "C" V 8411 3200 50 0000 C CNN
F 2 "" H 8288 3050 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3050 50 0001 C CNN
F 3 "~" H 8250 3200 50 0001 C CNN
1 8250 3200
0 -1 -1 0
$EndComp
$Comp
L Device:C C?
L Device:C C22
U 1 1 614DFD83
P 8250 3900
F 0 "C?" V 8400 3800 50 0000 C CNN
F 0 "C22" V 8400 3800 50 0000 C CNN
F 1 "C" V 8400 3950 50 0000 C CNN
F 2 "" H 8288 3750 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3750 50 0001 C CNN
F 3 "~" H 8250 3900 50 0001 C CNN
1 8250 3900
0 -1 -1 0
$EndComp
$Comp
L Device:C C?
L Device:C C23
U 1 1 614DFD89
P 8250 4150
F 0 "C?" V 8400 4100 50 0000 C CNN
F 0 "C23" V 8400 4100 50 0000 C CNN
F 1 "C" V 8400 4200 50 0000 C CNN
F 2 "" H 8288 4000 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 4000 50 0001 C CNN
F 3 "~" H 8250 4150 50 0001 C CNN
1 8250 4150
0 -1 1 0
$EndComp
$Comp
L Device:C C?
L Device:C C21
U 1 1 614DFD8F
P 8250 3450
F 0 "C?" V 8400 3400 50 0000 C CNN
F 0 "C21" V 8400 3400 50 0000 C CNN
F 1 "C" V 8400 3500 50 0000 C CNN
F 2 "" H 8288 3300 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3300 50 0001 C CNN
F 3 "~" H 8250 3450 50 0001 C CNN
1 8250 3450
0 -1 1 0
@@ -209,45 +209,45 @@ Wire Wire Line
Wire Wire Line
8500 4150 8400 4150
$Comp
L Device:C C?
L Device:C C24
U 1 1 614DFDA9
P 8900 3700
F 0 "C?" H 9015 3746 50 0000 L CNN
F 0 "C24" H 9015 3746 50 0000 L CNN
F 1 "C" H 9015 3655 50 0000 L CNN
F 2 "" H 8938 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8938 3550 50 0001 C CNN
F 3 "~" H 8900 3700 50 0001 C CNN
1 8900 3700
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C25
U 1 1 614DFDAF
P 9250 3700
F 0 "C?" H 9365 3746 50 0000 L CNN
F 0 "C25" H 9365 3746 50 0000 L CNN
F 1 "C" H 9365 3655 50 0000 L CNN
F 2 "" H 9288 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 9288 3550 50 0001 C CNN
F 3 "~" H 9250 3700 50 0001 C CNN
1 9250 3700
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C26
U 1 1 614DFDB5
P 9650 3700
F 0 "C?" H 9765 3746 50 0000 L CNN
F 0 "C26" H 9765 3746 50 0000 L CNN
F 1 "C" H 9765 3655 50 0000 L CNN
F 2 "" H 9688 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 9688 3550 50 0001 C CNN
F 3 "~" H 9650 3700 50 0001 C CNN
1 9650 3700
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R20
U 1 1 614DFDBB
P 10000 3700
F 0 "R?" H 10070 3746 50 0000 L CNN
F 0 "R20" H 10070 3746 50 0000 L CNN
F 1 "R" H 10070 3655 50 0000 L CNN
F 2 "" V 9930 3700 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 9930 3700 50 0001 C CNN
F 3 "~" H 10000 3700 50 0001 C CNN
1 10000 3700
1 0 0 -1
@@ -297,12 +297,12 @@ Connection ~ 9650 4050
Wire Wire Line
9650 4050 9250 4050
$Comp
L Device:L L?
L Device:L L3
U 1 1 614DFDDB
P 10450 3700
F 0 "L?" H 10550 3650 50 0000 C CNN
F 0 "L3" H 10550 3650 50 0000 C CNN
F 1 "L" H 10550 3750 50 0000 C CNN
F 2 "" H 10450 3700 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 10450 3700 50 0001 C CNN
F 3 "~" H 10450 3700 50 0001 C CNN
1 10450 3700
1 0 0 -1
@@ -318,23 +318,23 @@ Wire Wire Line
10450 4050 10000 4050
Connection ~ 10000 4050
$Comp
L Device:R R?
L Device:R R19
U 1 1 614DFDE7
P 7750 4300
F 0 "R?" V 7543 4300 50 0000 C CNN
F 0 "R19" V 7543 4300 50 0000 C CNN
F 1 "R" V 7634 4300 50 0000 C CNN
F 2 "" V 7680 4300 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7680 4300 50 0001 C CNN
F 3 "~" H 7750 4300 50 0001 C CNN
1 7750 4300
0 1 1 0
$EndComp
$Comp
L Device:R R?
L Device:R R18
U 1 1 614DFDED
P 7700 3050
F 0 "R?" V 7493 3050 50 0000 C CNN
F 0 "R18" V 7493 3050 50 0000 C CNN
F 1 "R" V 7584 3050 50 0000 C CNN
F 2 "" V 7630 3050 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7630 3050 50 0001 C CNN
F 3 "~" H 7700 3050 50 0001 C CNN
1 7700 3050
0 1 1 0
@@ -364,35 +364,35 @@ Wire Wire Line
Wire Wire Line
6150 3750 6000 3750
$Comp
L Device:L L?
L Device:L L2
U 1 1 614DFE00
P 6300 3750
F 0 "L?" V 6400 3600 50 0000 C CNN
F 0 "L2" V 6400 3600 50 0000 C CNN
F 1 "560nH" V 6400 3800 50 0000 C CNN
F 2 "" H 6300 3750 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 6300 3750 50 0001 C CNN
F 3 "~" H 6300 3750 50 0001 C CNN
1 6300 3750
0 1 1 0
$EndComp
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB2
U 1 1 614DFE07
P 2650 1850
F 0 "FB?" H 2787 1896 50 0000 L CNN
F 0 "FB2" H 2787 1896 50 0000 L CNN
F 1 "2k2" H 2787 1805 50 0000 L CNN
F 2 "" V 2580 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2580 1850 50 0001 C CNN
F 3 "~" H 2650 1850 50 0001 C CNN
F 4 "742792093" H 2650 1850 50 0001 C CNN "partnr"
1 2650 1850
0 -1 -1 0
$EndComp
$Comp
L Device:C_Feedthrough C?
L Device:C_Feedthrough C11
U 1 1 614DFE0E
P 4400 1950
F 0 "C?" H 4400 2255 50 0000 C CNN
F 0 "C11" H 4400 2255 50 0000 C CNN
F 1 "1uF" H 4400 2164 50 0000 C CNN
F 2 "" V 4400 1950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" V 4400 1950 50 0001 C CNN
F 3 "~" V 4400 1950 50 0001 C CNN
F 4 "NFM18PS105R0J3D" H 4400 1950 50 0001 C CNN "partnr"
1 4400 1950
@@ -403,34 +403,34 @@ Wire Wire Line
Wire Wire Line
4750 1850 4750 2550
$Comp
L Device:C C?
L Device:C C10
U 1 1 614DFE16
P 3750 2050
F 0 "C?" H 3865 2096 50 0000 L CNN
F 0 "C10" H 3865 2096 50 0000 L CNN
F 1 "10nF" H 3865 2005 50 0000 L CNN
F 2 "" H 3788 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3788 1900 50 0001 C CNN
F 3 "~" H 3750 2050 50 0001 C CNN
1 3750 2050
1 0 0 -1
$EndComp
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C9
U 1 1 614DFE1C
P 3350 2050
F 0 "C?" H 3468 2096 50 0000 L CNN
F 0 "C9" H 3468 2096 50 0000 L CNN
F 1 "1uF" H 3468 2005 50 0000 L CNN
F 2 "" H 3388 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3388 1900 50 0001 C CNN
F 3 "~" H 3350 2050 50 0001 C CNN
1 3350 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C8
U 1 1 614DFE22
P 2900 2050
F 0 "C?" H 3015 2096 50 0000 L CNN
F 0 "C8" H 3015 2096 50 0000 L CNN
F 1 "100nF" H 3015 2005 50 0000 L CNN
F 2 "" H 2938 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2938 1900 50 0001 C CNN
F 3 "~" H 2900 2050 50 0001 C CNN
1 2900 2050
1 0 0 -1
@@ -448,12 +448,12 @@ Connection ~ 3750 1850
Wire Wire Line
3750 1850 3350 1850
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB1
U 1 1 614DFE30
P 2200 1850
F 0 "FB?" H 2337 1896 50 0000 L CNN
F 0 "FB1" H 2337 1896 50 0000 L CNN
F 1 "600e" H 2337 1805 50 0000 L CNN
F 2 "" V 2130 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2130 1850 50 0001 C CNN
F 3 "~" H 2200 1850 50 0001 C CNN
F 4 "742792042" H 2200 1850 50 0001 C CNN "partnr"
1 2200 1850
@@ -462,10 +462,10 @@ $EndComp
Wire Wire Line
3750 1800 3750 1850
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0113
U 1 1 614DFE37
P 1800 1750
F 0 "#PWR?" H 1800 1600 50 0001 C CNN
F 0 "#PWR0113" H 1800 1600 50 0001 C CNN
F 1 "+3V3" H 1815 1923 50 0000 C CNN
F 2 "" H 1800 1750 50 0001 C CNN
F 3 "" H 1800 1750 50 0001 C CNN
@@ -484,10 +484,10 @@ Wire Wire Line
3750 2300 3350 2300
Connection ~ 3350 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0114
U 1 1 614DFE43
P 3750 2350
F 0 "#PWR?" H 3750 2100 50 0001 C CNN
F 0 "#PWR0114" H 3750 2100 50 0001 C CNN
F 1 "GND" H 3755 2177 50 0000 C CNN
F 2 "" H 3750 2350 50 0001 C CNN
F 3 "" H 3750 2350 50 0001 C CNN
@@ -498,10 +498,10 @@ Wire Wire Line
3750 2350 3750 2300
Connection ~ 3750 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0115
U 1 1 614DFE4B
P 4400 2350
F 0 "#PWR?" H 4400 2100 50 0001 C CNN
F 0 "#PWR0115" H 4400 2100 50 0001 C CNN
F 1 "GND" H 4405 2177 50 0000 C CNN
F 2 "" H 4400 2350 50 0001 C CNN
F 3 "" H 4400 2350 50 0001 C CNN
@@ -527,10 +527,10 @@ Wire Wire Line
Wire Wire Line
5400 2350 5400 2250
$Comp
L power:GND #PWR?
L power:GND #PWR0116
U 1 1 614DFE5B
P 5400 2350
F 0 "#PWR?" H 5400 2100 50 0001 C CNN
F 0 "#PWR0116" H 5400 2100 50 0001 C CNN
F 1 "GND" H 5405 2177 50 0000 C CNN
F 2 "" H 5400 2350 50 0001 C CNN
F 3 "" H 5400 2350 50 0001 C CNN
@@ -542,10 +542,10 @@ Wire Wire Line
Wire Wire Line
7100 1750 7100 1850
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0117
U 1 1 614DFE63
P 7100 1750
F 0 "#PWR?" H 7100 1600 50 0001 C CNN
F 0 "#PWR0117" H 7100 1600 50 0001 C CNN
F 1 "+3V3" H 7115 1923 50 0000 C CNN
F 2 "" H 7100 1750 50 0001 C CNN
F 3 "" H 7100 1750 50 0001 C CNN
@@ -567,45 +567,45 @@ Wire Wire Line
Wire Wire Line
6400 1850 6150 1850
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C13
U 1 1 614DFE71
P 5750 2050
F 0 "C?" H 5868 2096 50 0000 L CNN
F 0 "C13" H 5868 2096 50 0000 L CNN
F 1 "1uF" H 5868 2005 50 0000 L CNN
F 2 "" H 5788 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 5788 1900 50 0001 C CNN
F 3 "~" H 5750 2050 50 0001 C CNN
1 5750 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C14
U 1 1 614DFE77
P 6150 2050
F 0 "C?" H 6265 2096 50 0000 L CNN
F 0 "C14" H 6265 2096 50 0000 L CNN
F 1 "100nF" H 6265 2005 50 0000 L CNN
F 2 "" H 6188 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 6188 1900 50 0001 C CNN
F 3 "~" H 6150 2050 50 0001 C CNN
1 6150 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C12
U 1 1 614DFE7D
P 5400 2050
F 0 "C?" H 5515 2096 50 0000 L CNN
F 0 "C12" H 5515 2096 50 0000 L CNN
F 1 "10nF" H 5515 2005 50 0000 L CNN
F 2 "" H 5438 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 5438 1900 50 0001 C CNN
F 3 "~" H 5400 2050 50 0001 C CNN
1 5400 2050
1 0 0 -1
$EndComp
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB3
U 1 1 614DFE84
P 6550 1850
F 0 "FB?" V 6276 1850 50 0000 C CNN
F 0 "FB3" V 6276 1850 50 0000 C CNN
F 1 "600e" V 6367 1850 50 0000 C CNN
F 2 "" V 6480 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 6480 1850 50 0001 C CNN
F 3 "~" H 6550 1850 50 0001 C CNN
F 4 "742792042" H 6550 1850 50 0001 C CNN "ordercode"
1 6550 1850
@@ -617,10 +617,10 @@ Connection ~ 5400 1850
Wire Wire Line
4200 1850 3750 1850
$Comp
L power:GND #PWR?
L power:GND #PWR0118
U 1 1 614DFE8D
P 5250 5400
F 0 "#PWR?" H 5250 5150 50 0001 C CNN
F 0 "#PWR0118" H 5250 5150 50 0001 C CNN
F 1 "GND" V 5255 5272 50 0000 R CNN
F 2 "" H 5250 5400 50 0001 C CNN
F 3 "" H 5250 5400 50 0001 C CNN
@@ -639,12 +639,12 @@ Wire Wire Line
Wire Wire Line
5250 5350 5250 5400
$Comp
L Device:C C?
L Device:C C15
U 1 1 614DFE99
P 6200 4550
F 0 "C?" H 6315 4596 50 0000 L CNN
F 0 "C15" H 6315 4596 50 0000 L CNN
F 1 "1nF" H 6315 4505 50 0000 L CNN
F 2 "" H 6238 4400 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 6238 4400 50 0001 C CNN
F 3 "~" H 6200 4550 50 0001 C CNN
1 6200 4550
1 0 0 -1
@@ -654,10 +654,10 @@ Wire Wire Line
Wire Wire Line
6200 4250 6200 4400
$Comp
L power:GND #PWR?
L power:GND #PWR0119
U 1 1 614DFEA1
P 6200 4850
F 0 "#PWR?" H 6200 4600 50 0001 C CNN
F 0 "#PWR0119" H 6200 4600 50 0001 C CNN
F 1 "GND" V 6205 4722 50 0000 R CNN
F 2 "" H 6200 4850 50 0001 C CNN
F 3 "" H 6200 4850 50 0001 C CNN
@@ -667,12 +667,12 @@ $EndComp
Wire Wire Line
6200 4850 6200 4700
$Comp
L Device:R R?
L Device:R R17
U 1 1 614DFEA8
P 3650 2950
F 0 "R?" V 3443 2950 50 0000 C CNN
F 0 "R17" V 3443 2950 50 0000 C CNN
F 1 "3k3" V 3534 2950 50 0000 C CNN
F 2 "" V 3580 2950 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3580 2950 50 0001 C CNN
F 3 "~" H 3650 2950 50 0001 C CNN
1 3650 2950
0 1 1 0
@@ -680,10 +680,10 @@ $EndComp
Wire Wire Line
3850 2950 3800 2950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0120
U 1 1 614DFEAF
P 3450 2800
F 0 "#PWR?" H 3450 2650 50 0001 C CNN
F 0 "#PWR0120" H 3450 2650 50 0001 C CNN
F 1 "+3V3" H 3465 2973 50 0000 C CNN
F 2 "" H 3450 2800 50 0001 C CNN
F 3 "" H 3450 2800 50 0001 C CNN
@@ -695,23 +695,23 @@ Wire Wire Line
Wire Wire Line
3450 2950 3500 2950
$Comp
L Device:R R?
L Device:R R15
U 1 1 614DFEB7
P 3400 3600
F 0 "R?" V 3300 3550 50 0000 C CNN
F 0 "R15" V 3300 3550 50 0000 C CNN
F 1 "3k3" V 3300 3700 50 0000 C CNN
F 2 "" V 3330 3600 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3330 3600 50 0001 C CNN
F 3 "~" H 3400 3600 50 0001 C CNN
1 3400 3600
0 1 1 0
$EndComp
$Comp
L Device:R R?
L Device:R R16
U 1 1 614DFEBD
P 3400 3700
F 0 "R?" V 3500 3650 50 0000 C CNN
F 0 "R16" V 3500 3650 50 0000 C CNN
F 1 "3k3" V 3500 3800 50 0000 C CNN
F 2 "" V 3330 3700 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3330 3700 50 0001 C CNN
F 3 "~" H 3400 3700 50 0001 C CNN
1 3400 3700
0 1 1 0
@@ -721,45 +721,45 @@ Wire Wire Line
Wire Wire Line
3850 3700 3550 3700
$Comp
L Device:R R?
L Device:R R11
U 1 1 614DFEC5
P 2450 3400
F 0 "R?" V 2350 3350 50 0000 C CNN
F 0 "R11" V 2350 3350 50 0000 C CNN
F 1 "0e" V 2350 3500 50 0000 C CNN
F 2 "" V 2380 3400 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2380 3400 50 0001 C CNN
F 3 "~" H 2450 3400 50 0001 C CNN
1 2450 3400
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R13
U 1 1 614DFECB
P 2700 3400
F 0 "R?" V 2600 3350 50 0000 C CNN
F 0 "R13" V 2600 3350 50 0000 C CNN
F 1 "0e" V 2600 3500 50 0000 C CNN
F 2 "" V 2630 3400 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2630 3400 50 0001 C CNN
F 3 "~" H 2700 3400 50 0001 C CNN
1 2700 3400
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R14
U 1 1 614DFED1
P 2700 3900
F 0 "R?" V 2600 3850 50 0000 C CNN
F 0 "R14" V 2600 3850 50 0000 C CNN
F 1 "0e" V 2600 4000 50 0000 C CNN
F 2 "" V 2630 3900 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2630 3900 50 0001 C CNN
F 3 "~" H 2700 3900 50 0001 C CNN
1 2700 3900
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R12
U 1 1 614DFED7
P 2450 3900
F 0 "R?" V 2350 3850 50 0000 C CNN
F 0 "R12" V 2350 3850 50 0000 C CNN
F 1 "0e" V 2350 4000 50 0000 C CNN
F 2 "" V 2380 3900 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2380 3900 50 0001 C CNN
F 3 "~" H 2450 3900 50 0001 C CNN
1 2450 3900
-1 0 0 1
@@ -791,10 +791,10 @@ Wire Wire Line
Wire Wire Line
2450 4100 2450 4050
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0121
U 1 1 614DFEEB
P 2550 3150
F 0 "#PWR?" H 2550 3000 50 0001 C CNN
F 0 "#PWR0121" H 2550 3000 50 0001 C CNN
F 1 "+3V3" H 2565 3323 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
@@ -807,10 +807,10 @@ Connection ~ 2550 3200
Wire Wire Line
2550 3200 2700 3200
$Comp
L power:GND #PWR?
L power:GND #PWR0122
U 1 1 614DFEF4
P 2550 4150
F 0 "#PWR?" H 2550 3900 50 0001 C CNN
F 0 "#PWR0122" H 2550 3900 50 0001 C CNN
F 1 "GND" H 2555 3977 50 0000 C CNN
F 2 "" H 2550 4150 50 0001 C CNN
F 3 "" H 2550 4150 50 0001 C CNN
@@ -823,12 +823,12 @@ Connection ~ 2550 4100
Wire Wire Line
2550 4100 2450 4100
$Comp
L Device:Crystal_GND24 Y?
L Device:Crystal_GND24 Y1
U 1 1 614DFEFE
P 1950 2400
F 0 "Y?" V 1904 2644 50 0000 L CNN
F 0 "Y1" V 1904 2644 50 0000 L CNN
F 1 "27,12Mhz" V 1995 2644 50 0000 L CNN
F 2 "" H 1950 2400 50 0001 C CNN
F 2 "Crystal:Crystal_SMD_EuroQuartz_EQ161-2Pin_3.2x1.5mm" H 1950 2400 50 0001 C CNN
F 3 "~" H 1950 2400 50 0001 C CNN
F 4 "NX2016SA" V 1950 2400 50 0001 C CNN "partnr"
1 1950 2400
@@ -855,24 +855,24 @@ Wire Wire Line
Wire Wire Line
1950 2600 2800 2600
$Comp
L Device:C C?
L Device:C C6
U 1 1 614DFF0E
P 1700 2200
F 0 "C?" H 1815 2246 50 0000 L CNN
F 0 "C6" H 1815 2246 50 0000 L CNN
F 1 "10nF" H 1815 2155 50 0000 L CNN
F 2 "" H 1738 2050 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1738 2050 50 0001 C CNN
F 3 "~" H 1700 2200 50 0001 C CNN
1 1700 2200
0 -1 -1 0
$EndComp
Connection ~ 1950 2200
$Comp
L Device:C C?
L Device:C C7
U 1 1 614DFF15
P 1700 2600
F 0 "C?" H 1815 2646 50 0000 L CNN
F 0 "C7" H 1815 2646 50 0000 L CNN
F 1 "10nF" H 1815 2555 50 0000 L CNN
F 2 "" H 1738 2450 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1738 2450 50 0001 C CNN
F 3 "~" H 1700 2600 50 0001 C CNN
1 1700 2600
0 1 1 0
@@ -894,10 +894,10 @@ Connection ~ 1350 2400
Wire Wire Line
1350 2400 1350 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0123
U 1 1 614DFF24
P 1350 2700
F 0 "#PWR?" H 1350 2450 50 0001 C CNN
F 0 "#PWR0123" H 1350 2450 50 0001 C CNN
F 1 "GND" H 1355 2527 50 0000 C CNN
F 2 "" H 1350 2700 50 0001 C CNN
F 3 "" H 1350 2700 50 0001 C CNN
@@ -908,10 +908,10 @@ Wire Wire Line
1350 2700 1350 2600
Connection ~ 1350 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0124
U 1 1 614DFF2C
P 2200 2700
F 0 "#PWR?" H 2200 2450 50 0001 C CNN
F 0 "#PWR0124" H 2200 2450 50 0001 C CNN
F 1 "GND" H 2205 2527 50 0000 C CNN
F 2 "" H 2200 2700 50 0001 C CNN
F 3 "" H 2200 2700 50 0001 C CNN

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 4 5
Sheet 3 5
Title ""
Date ""
Rev ""
@@ -14,10 +14,10 @@ Comment3 ""
Comment4 ""
$EndDescr
$Comp
L ST25CR95HF:CR95HF-VMD5T U?
L ST25CR95HF:CR95HF-VMD5T U3
U 1 1 614DFD3E
P 4850 3850
F 0 "U?" H 5450 4900 60 0000 C CNN
F 0 "U3" H 5450 4900 60 0000 C CNN
F 1 "CR95HF-VMD5T" H 4550 2600 60 0000 C CNN
F 2 "VFQFPN32_5X5_STM" H 6250 4090 60 0001 C CNN
F 3 "" H 4850 3850 60 0000 C CNN
@@ -25,12 +25,12 @@ F 3 "" H 4850 3850 60 0000 C CNN
1 0 0 -1
$EndComp
$Comp
L Device:L L?
L Device:L L1
U 1 1 614DFD44
P 6300 3600
F 0 "L?" V 6400 3750 50 0000 C CNN
F 0 "L1" V 6400 3750 50 0000 C CNN
F 1 "560nH" V 6400 3550 50 0000 C CNN
F 2 "" H 6300 3600 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 6300 3600 50 0001 C CNN
F 3 "~" H 6300 3600 50 0001 C CNN
1 6300 3600
0 -1 -1 0
@@ -38,54 +38,54 @@ $EndComp
Wire Wire Line
6000 3600 6150 3600
$Comp
L Device:C C?
L Device:C C16
U 1 1 614DFD4B
P 7000 3500
F 0 "C?" H 7115 3546 50 0000 L CNN
F 0 "C16" H 7115 3546 50 0000 L CNN
F 1 "C" H 7115 3455 50 0000 L CNN
F 2 "" H 7038 3350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7038 3350 50 0001 C CNN
F 3 "~" H 7000 3500 50 0001 C CNN
1 7000 3500
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C18
U 1 1 614DFD51
P 7400 3500
F 0 "C?" H 7515 3546 50 0000 L CNN
F 0 "C18" H 7515 3546 50 0000 L CNN
F 1 "C" H 7515 3455 50 0000 L CNN
F 2 "" H 7438 3350 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7438 3350 50 0001 C CNN
F 3 "~" H 7400 3500 50 0001 C CNN
1 7400 3500
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C17
U 1 1 614DFD57
P 7000 3850
F 0 "C?" H 7115 3896 50 0000 L CNN
F 0 "C17" H 7115 3896 50 0000 L CNN
F 1 "C" H 7115 3805 50 0000 L CNN
F 2 "" H 7038 3700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7038 3700 50 0001 C CNN
F 3 "~" H 7000 3850 50 0001 C CNN
1 7000 3850
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C19
U 1 1 614DFD5D
P 7400 3850
F 0 "C?" H 7515 3896 50 0000 L CNN
F 0 "C19" H 7515 3896 50 0000 L CNN
F 1 "C" H 7515 3805 50 0000 L CNN
F 2 "" H 7438 3700 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 7438 3700 50 0001 C CNN
F 3 "~" H 7400 3850 50 0001 C CNN
1 7400 3850
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0112
U 1 1 614DFD63
P 7650 3650
F 0 "#PWR?" H 7650 3400 50 0001 C CNN
F 0 "#PWR0112" H 7650 3400 50 0001 C CNN
F 1 "GND" V 7655 3522 50 0000 R CNN
F 2 "" H 7650 3650 50 0001 C CNN
F 3 "" H 7650 3650 50 0001 C CNN
@@ -129,45 +129,45 @@ Wire Wire Line
7400 4050 7000 4050
Connection ~ 7000 4050
$Comp
L Device:C C?
L Device:C C20
U 1 1 614DFD7D
P 8250 3200
F 0 "C?" V 8502 3200 50 0000 C CNN
F 0 "C20" V 8502 3200 50 0000 C CNN
F 1 "C" V 8411 3200 50 0000 C CNN
F 2 "" H 8288 3050 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3050 50 0001 C CNN
F 3 "~" H 8250 3200 50 0001 C CNN
1 8250 3200
0 -1 -1 0
$EndComp
$Comp
L Device:C C?
L Device:C C22
U 1 1 614DFD83
P 8250 3900
F 0 "C?" V 8400 3800 50 0000 C CNN
F 0 "C22" V 8400 3800 50 0000 C CNN
F 1 "C" V 8400 3950 50 0000 C CNN
F 2 "" H 8288 3750 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3750 50 0001 C CNN
F 3 "~" H 8250 3900 50 0001 C CNN
1 8250 3900
0 -1 -1 0
$EndComp
$Comp
L Device:C C?
L Device:C C23
U 1 1 614DFD89
P 8250 4150
F 0 "C?" V 8400 4100 50 0000 C CNN
F 0 "C23" V 8400 4100 50 0000 C CNN
F 1 "C" V 8400 4200 50 0000 C CNN
F 2 "" H 8288 4000 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 4000 50 0001 C CNN
F 3 "~" H 8250 4150 50 0001 C CNN
1 8250 4150
0 -1 1 0
$EndComp
$Comp
L Device:C C?
L Device:C C21
U 1 1 614DFD8F
P 8250 3450
F 0 "C?" V 8400 3400 50 0000 C CNN
F 0 "C21" V 8400 3400 50 0000 C CNN
F 1 "C" V 8400 3500 50 0000 C CNN
F 2 "" H 8288 3300 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8288 3300 50 0001 C CNN
F 3 "~" H 8250 3450 50 0001 C CNN
1 8250 3450
0 -1 1 0
@@ -209,45 +209,45 @@ Wire Wire Line
Wire Wire Line
8500 4150 8400 4150
$Comp
L Device:C C?
L Device:C C24
U 1 1 614DFDA9
P 8900 3700
F 0 "C?" H 9015 3746 50 0000 L CNN
F 0 "C24" H 9015 3746 50 0000 L CNN
F 1 "C" H 9015 3655 50 0000 L CNN
F 2 "" H 8938 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 8938 3550 50 0001 C CNN
F 3 "~" H 8900 3700 50 0001 C CNN
1 8900 3700
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C25
U 1 1 614DFDAF
P 9250 3700
F 0 "C?" H 9365 3746 50 0000 L CNN
F 0 "C25" H 9365 3746 50 0000 L CNN
F 1 "C" H 9365 3655 50 0000 L CNN
F 2 "" H 9288 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 9288 3550 50 0001 C CNN
F 3 "~" H 9250 3700 50 0001 C CNN
1 9250 3700
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C26
U 1 1 614DFDB5
P 9650 3700
F 0 "C?" H 9765 3746 50 0000 L CNN
F 0 "C26" H 9765 3746 50 0000 L CNN
F 1 "C" H 9765 3655 50 0000 L CNN
F 2 "" H 9688 3550 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 9688 3550 50 0001 C CNN
F 3 "~" H 9650 3700 50 0001 C CNN
1 9650 3700
1 0 0 -1
$EndComp
$Comp
L Device:R R?
L Device:R R20
U 1 1 614DFDBB
P 10000 3700
F 0 "R?" H 10070 3746 50 0000 L CNN
F 0 "R20" H 10070 3746 50 0000 L CNN
F 1 "R" H 10070 3655 50 0000 L CNN
F 2 "" V 9930 3700 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 9930 3700 50 0001 C CNN
F 3 "~" H 10000 3700 50 0001 C CNN
1 10000 3700
1 0 0 -1
@@ -297,12 +297,12 @@ Connection ~ 9650 4050
Wire Wire Line
9650 4050 9250 4050
$Comp
L Device:L L?
L Device:L L3
U 1 1 614DFDDB
P 10450 3700
F 0 "L?" H 10550 3650 50 0000 C CNN
F 0 "L3" H 10550 3650 50 0000 C CNN
F 1 "L" H 10550 3750 50 0000 C CNN
F 2 "" H 10450 3700 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 10450 3700 50 0001 C CNN
F 3 "~" H 10450 3700 50 0001 C CNN
1 10450 3700
1 0 0 -1
@@ -318,23 +318,23 @@ Wire Wire Line
10450 4050 10000 4050
Connection ~ 10000 4050
$Comp
L Device:R R?
L Device:R R19
U 1 1 614DFDE7
P 7750 4300
F 0 "R?" V 7543 4300 50 0000 C CNN
F 0 "R19" V 7543 4300 50 0000 C CNN
F 1 "R" V 7634 4300 50 0000 C CNN
F 2 "" V 7680 4300 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7680 4300 50 0001 C CNN
F 3 "~" H 7750 4300 50 0001 C CNN
1 7750 4300
0 1 1 0
$EndComp
$Comp
L Device:R R?
L Device:R R18
U 1 1 614DFDED
P 7700 3050
F 0 "R?" V 7493 3050 50 0000 C CNN
F 0 "R18" V 7493 3050 50 0000 C CNN
F 1 "R" V 7584 3050 50 0000 C CNN
F 2 "" V 7630 3050 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7630 3050 50 0001 C CNN
F 3 "~" H 7700 3050 50 0001 C CNN
1 7700 3050
0 1 1 0
@@ -364,35 +364,35 @@ Wire Wire Line
Wire Wire Line
6150 3750 6000 3750
$Comp
L Device:L L?
L Device:L L2
U 1 1 614DFE00
P 6300 3750
F 0 "L?" V 6400 3600 50 0000 C CNN
F 0 "L2" V 6400 3600 50 0000 C CNN
F 1 "560nH" V 6400 3800 50 0000 C CNN
F 2 "" H 6300 3750 50 0001 C CNN
F 2 "Inductor_SMD:L_0402_1005Metric" H 6300 3750 50 0001 C CNN
F 3 "~" H 6300 3750 50 0001 C CNN
1 6300 3750
0 1 1 0
$EndComp
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB2
U 1 1 614DFE07
P 2650 1850
F 0 "FB?" H 2787 1896 50 0000 L CNN
F 0 "FB2" H 2787 1896 50 0000 L CNN
F 1 "2k2" H 2787 1805 50 0000 L CNN
F 2 "" V 2580 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2580 1850 50 0001 C CNN
F 3 "~" H 2650 1850 50 0001 C CNN
F 4 "742792093" H 2650 1850 50 0001 C CNN "partnr"
1 2650 1850
0 -1 -1 0
$EndComp
$Comp
L Device:C_Feedthrough C?
L Device:C_Feedthrough C11
U 1 1 614DFE0E
P 4400 1950
F 0 "C?" H 4400 2255 50 0000 C CNN
F 0 "C11" H 4400 2255 50 0000 C CNN
F 1 "1uF" H 4400 2164 50 0000 C CNN
F 2 "" V 4400 1950 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" V 4400 1950 50 0001 C CNN
F 3 "~" V 4400 1950 50 0001 C CNN
F 4 "NFM18PS105R0J3D" H 4400 1950 50 0001 C CNN "partnr"
1 4400 1950
@@ -403,34 +403,34 @@ Wire Wire Line
Wire Wire Line
4750 1850 4750 2550
$Comp
L Device:C C?
L Device:C C10
U 1 1 614DFE16
P 3750 2050
F 0 "C?" H 3865 2096 50 0000 L CNN
F 0 "C10" H 3865 2096 50 0000 L CNN
F 1 "10nF" H 3865 2005 50 0000 L CNN
F 2 "" H 3788 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3788 1900 50 0001 C CNN
F 3 "~" H 3750 2050 50 0001 C CNN
1 3750 2050
1 0 0 -1
$EndComp
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C9
U 1 1 614DFE1C
P 3350 2050
F 0 "C?" H 3468 2096 50 0000 L CNN
F 0 "C9" H 3468 2096 50 0000 L CNN
F 1 "1uF" H 3468 2005 50 0000 L CNN
F 2 "" H 3388 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3388 1900 50 0001 C CNN
F 3 "~" H 3350 2050 50 0001 C CNN
1 3350 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C8
U 1 1 614DFE22
P 2900 2050
F 0 "C?" H 3015 2096 50 0000 L CNN
F 0 "C8" H 3015 2096 50 0000 L CNN
F 1 "100nF" H 3015 2005 50 0000 L CNN
F 2 "" H 2938 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2938 1900 50 0001 C CNN
F 3 "~" H 2900 2050 50 0001 C CNN
1 2900 2050
1 0 0 -1
@@ -448,12 +448,12 @@ Connection ~ 3750 1850
Wire Wire Line
3750 1850 3350 1850
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB1
U 1 1 614DFE30
P 2200 1850
F 0 "FB?" H 2337 1896 50 0000 L CNN
F 0 "FB1" H 2337 1896 50 0000 L CNN
F 1 "600e" H 2337 1805 50 0000 L CNN
F 2 "" V 2130 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2130 1850 50 0001 C CNN
F 3 "~" H 2200 1850 50 0001 C CNN
F 4 "742792042" H 2200 1850 50 0001 C CNN "partnr"
1 2200 1850
@@ -462,10 +462,10 @@ $EndComp
Wire Wire Line
3750 1800 3750 1850
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0113
U 1 1 614DFE37
P 1800 1750
F 0 "#PWR?" H 1800 1600 50 0001 C CNN
F 0 "#PWR0113" H 1800 1600 50 0001 C CNN
F 1 "+3V3" H 1815 1923 50 0000 C CNN
F 2 "" H 1800 1750 50 0001 C CNN
F 3 "" H 1800 1750 50 0001 C CNN
@@ -484,10 +484,10 @@ Wire Wire Line
3750 2300 3350 2300
Connection ~ 3350 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0114
U 1 1 614DFE43
P 3750 2350
F 0 "#PWR?" H 3750 2100 50 0001 C CNN
F 0 "#PWR0114" H 3750 2100 50 0001 C CNN
F 1 "GND" H 3755 2177 50 0000 C CNN
F 2 "" H 3750 2350 50 0001 C CNN
F 3 "" H 3750 2350 50 0001 C CNN
@@ -498,10 +498,10 @@ Wire Wire Line
3750 2350 3750 2300
Connection ~ 3750 2300
$Comp
L power:GND #PWR?
L power:GND #PWR0115
U 1 1 614DFE4B
P 4400 2350
F 0 "#PWR?" H 4400 2100 50 0001 C CNN
F 0 "#PWR0115" H 4400 2100 50 0001 C CNN
F 1 "GND" H 4405 2177 50 0000 C CNN
F 2 "" H 4400 2350 50 0001 C CNN
F 3 "" H 4400 2350 50 0001 C CNN
@@ -527,10 +527,10 @@ Wire Wire Line
Wire Wire Line
5400 2350 5400 2250
$Comp
L power:GND #PWR?
L power:GND #PWR0116
U 1 1 614DFE5B
P 5400 2350
F 0 "#PWR?" H 5400 2100 50 0001 C CNN
F 0 "#PWR0116" H 5400 2100 50 0001 C CNN
F 1 "GND" H 5405 2177 50 0000 C CNN
F 2 "" H 5400 2350 50 0001 C CNN
F 3 "" H 5400 2350 50 0001 C CNN
@@ -542,10 +542,10 @@ Wire Wire Line
Wire Wire Line
7100 1750 7100 1850
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0117
U 1 1 614DFE63
P 7100 1750
F 0 "#PWR?" H 7100 1600 50 0001 C CNN
F 0 "#PWR0117" H 7100 1600 50 0001 C CNN
F 1 "+3V3" H 7115 1923 50 0000 C CNN
F 2 "" H 7100 1750 50 0001 C CNN
F 3 "" H 7100 1750 50 0001 C CNN
@@ -567,45 +567,45 @@ Wire Wire Line
Wire Wire Line
6400 1850 6150 1850
$Comp
L Device:C_Polarized C?
L Device:C_Polarized C13
U 1 1 614DFE71
P 5750 2050
F 0 "C?" H 5868 2096 50 0000 L CNN
F 0 "C13" H 5868 2096 50 0000 L CNN
F 1 "1uF" H 5868 2005 50 0000 L CNN
F 2 "" H 5788 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 5788 1900 50 0001 C CNN
F 3 "~" H 5750 2050 50 0001 C CNN
1 5750 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C14
U 1 1 614DFE77
P 6150 2050
F 0 "C?" H 6265 2096 50 0000 L CNN
F 0 "C14" H 6265 2096 50 0000 L CNN
F 1 "100nF" H 6265 2005 50 0000 L CNN
F 2 "" H 6188 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 6188 1900 50 0001 C CNN
F 3 "~" H 6150 2050 50 0001 C CNN
1 6150 2050
1 0 0 -1
$EndComp
$Comp
L Device:C C?
L Device:C C12
U 1 1 614DFE7D
P 5400 2050
F 0 "C?" H 5515 2096 50 0000 L CNN
F 0 "C12" H 5515 2096 50 0000 L CNN
F 1 "10nF" H 5515 2005 50 0000 L CNN
F 2 "" H 5438 1900 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 5438 1900 50 0001 C CNN
F 3 "~" H 5400 2050 50 0001 C CNN
1 5400 2050
1 0 0 -1
$EndComp
$Comp
L Device:FerriteBead FB?
L Device:FerriteBead FB3
U 1 1 614DFE84
P 6550 1850
F 0 "FB?" V 6276 1850 50 0000 C CNN
F 0 "FB3" V 6276 1850 50 0000 C CNN
F 1 "600e" V 6367 1850 50 0000 C CNN
F 2 "" V 6480 1850 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 6480 1850 50 0001 C CNN
F 3 "~" H 6550 1850 50 0001 C CNN
F 4 "742792042" H 6550 1850 50 0001 C CNN "ordercode"
1 6550 1850
@@ -617,10 +617,10 @@ Connection ~ 5400 1850
Wire Wire Line
4200 1850 3750 1850
$Comp
L power:GND #PWR?
L power:GND #PWR0118
U 1 1 614DFE8D
P 5250 5400
F 0 "#PWR?" H 5250 5150 50 0001 C CNN
F 0 "#PWR0118" H 5250 5150 50 0001 C CNN
F 1 "GND" V 5255 5272 50 0000 R CNN
F 2 "" H 5250 5400 50 0001 C CNN
F 3 "" H 5250 5400 50 0001 C CNN
@@ -639,12 +639,12 @@ Wire Wire Line
Wire Wire Line
5250 5350 5250 5400
$Comp
L Device:C C?
L Device:C C15
U 1 1 614DFE99
P 6200 4550
F 0 "C?" H 6315 4596 50 0000 L CNN
F 0 "C15" H 6315 4596 50 0000 L CNN
F 1 "1nF" H 6315 4505 50 0000 L CNN
F 2 "" H 6238 4400 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 6238 4400 50 0001 C CNN
F 3 "~" H 6200 4550 50 0001 C CNN
1 6200 4550
1 0 0 -1
@@ -654,10 +654,10 @@ Wire Wire Line
Wire Wire Line
6200 4250 6200 4400
$Comp
L power:GND #PWR?
L power:GND #PWR0119
U 1 1 614DFEA1
P 6200 4850
F 0 "#PWR?" H 6200 4600 50 0001 C CNN
F 0 "#PWR0119" H 6200 4600 50 0001 C CNN
F 1 "GND" V 6205 4722 50 0000 R CNN
F 2 "" H 6200 4850 50 0001 C CNN
F 3 "" H 6200 4850 50 0001 C CNN
@@ -667,12 +667,12 @@ $EndComp
Wire Wire Line
6200 4850 6200 4700
$Comp
L Device:R R?
L Device:R R17
U 1 1 614DFEA8
P 3650 2950
F 0 "R?" V 3443 2950 50 0000 C CNN
F 0 "R17" V 3443 2950 50 0000 C CNN
F 1 "3k3" V 3534 2950 50 0000 C CNN
F 2 "" V 3580 2950 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3580 2950 50 0001 C CNN
F 3 "~" H 3650 2950 50 0001 C CNN
1 3650 2950
0 1 1 0
@@ -680,10 +680,10 @@ $EndComp
Wire Wire Line
3850 2950 3800 2950
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0120
U 1 1 614DFEAF
P 3450 2800
F 0 "#PWR?" H 3450 2650 50 0001 C CNN
F 0 "#PWR0120" H 3450 2650 50 0001 C CNN
F 1 "+3V3" H 3465 2973 50 0000 C CNN
F 2 "" H 3450 2800 50 0001 C CNN
F 3 "" H 3450 2800 50 0001 C CNN
@@ -695,23 +695,23 @@ Wire Wire Line
Wire Wire Line
3450 2950 3500 2950
$Comp
L Device:R R?
L Device:R R15
U 1 1 614DFEB7
P 3400 3600
F 0 "R?" V 3300 3550 50 0000 C CNN
F 0 "R15" V 3300 3550 50 0000 C CNN
F 1 "3k3" V 3300 3700 50 0000 C CNN
F 2 "" V 3330 3600 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3330 3600 50 0001 C CNN
F 3 "~" H 3400 3600 50 0001 C CNN
1 3400 3600
0 1 1 0
$EndComp
$Comp
L Device:R R?
L Device:R R16
U 1 1 614DFEBD
P 3400 3700
F 0 "R?" V 3500 3650 50 0000 C CNN
F 0 "R16" V 3500 3650 50 0000 C CNN
F 1 "3k3" V 3500 3800 50 0000 C CNN
F 2 "" V 3330 3700 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3330 3700 50 0001 C CNN
F 3 "~" H 3400 3700 50 0001 C CNN
1 3400 3700
0 1 1 0
@@ -721,45 +721,45 @@ Wire Wire Line
Wire Wire Line
3850 3700 3550 3700
$Comp
L Device:R R?
L Device:R R11
U 1 1 614DFEC5
P 2450 3400
F 0 "R?" V 2350 3350 50 0000 C CNN
F 0 "R11" V 2350 3350 50 0000 C CNN
F 1 "0e" V 2350 3500 50 0000 C CNN
F 2 "" V 2380 3400 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2380 3400 50 0001 C CNN
F 3 "~" H 2450 3400 50 0001 C CNN
1 2450 3400
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R13
U 1 1 614DFECB
P 2700 3400
F 0 "R?" V 2600 3350 50 0000 C CNN
F 0 "R13" V 2600 3350 50 0000 C CNN
F 1 "0e" V 2600 3500 50 0000 C CNN
F 2 "" V 2630 3400 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2630 3400 50 0001 C CNN
F 3 "~" H 2700 3400 50 0001 C CNN
1 2700 3400
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R14
U 1 1 614DFED1
P 2700 3900
F 0 "R?" V 2600 3850 50 0000 C CNN
F 0 "R14" V 2600 3850 50 0000 C CNN
F 1 "0e" V 2600 4000 50 0000 C CNN
F 2 "" V 2630 3900 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2630 3900 50 0001 C CNN
F 3 "~" H 2700 3900 50 0001 C CNN
1 2700 3900
-1 0 0 1
$EndComp
$Comp
L Device:R R?
L Device:R R12
U 1 1 614DFED7
P 2450 3900
F 0 "R?" V 2350 3850 50 0000 C CNN
F 0 "R12" V 2350 3850 50 0000 C CNN
F 1 "0e" V 2350 4000 50 0000 C CNN
F 2 "" V 2380 3900 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2380 3900 50 0001 C CNN
F 3 "~" H 2450 3900 50 0001 C CNN
1 2450 3900
-1 0 0 1
@@ -791,10 +791,10 @@ Wire Wire Line
Wire Wire Line
2450 4100 2450 4050
$Comp
L power:+3V3 #PWR?
L power:+3V3 #PWR0121
U 1 1 614DFEEB
P 2550 3150
F 0 "#PWR?" H 2550 3000 50 0001 C CNN
F 0 "#PWR0121" H 2550 3000 50 0001 C CNN
F 1 "+3V3" H 2565 3323 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
@@ -807,10 +807,10 @@ Connection ~ 2550 3200
Wire Wire Line
2550 3200 2700 3200
$Comp
L power:GND #PWR?
L power:GND #PWR0122
U 1 1 614DFEF4
P 2550 4150
F 0 "#PWR?" H 2550 3900 50 0001 C CNN
F 0 "#PWR0122" H 2550 3900 50 0001 C CNN
F 1 "GND" H 2555 3977 50 0000 C CNN
F 2 "" H 2550 4150 50 0001 C CNN
F 3 "" H 2550 4150 50 0001 C CNN
@@ -823,10 +823,10 @@ Connection ~ 2550 4100
Wire Wire Line
2550 4100 2450 4100
$Comp
L Device:Crystal_GND24 Y?
L Device:Crystal_GND24 Y1
U 1 1 614DFEFE
P 1950 2400
F 0 "Y?" V 1904 2644 50 0000 L CNN
F 0 "Y1" V 1904 2644 50 0000 L CNN
F 1 "27,12Mhz" V 1995 2644 50 0000 L CNN
F 2 "" H 1950 2400 50 0001 C CNN
F 3 "~" H 1950 2400 50 0001 C CNN
@@ -855,24 +855,24 @@ Wire Wire Line
Wire Wire Line
1950 2600 2800 2600
$Comp
L Device:C C?
L Device:C C6
U 1 1 614DFF0E
P 1700 2200
F 0 "C?" H 1815 2246 50 0000 L CNN
F 0 "C6" H 1815 2246 50 0000 L CNN
F 1 "10nF" H 1815 2155 50 0000 L CNN
F 2 "" H 1738 2050 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1738 2050 50 0001 C CNN
F 3 "~" H 1700 2200 50 0001 C CNN
1 1700 2200
0 -1 -1 0
$EndComp
Connection ~ 1950 2200
$Comp
L Device:C C?
L Device:C C7
U 1 1 614DFF15
P 1700 2600
F 0 "C?" H 1815 2646 50 0000 L CNN
F 0 "C7" H 1815 2646 50 0000 L CNN
F 1 "10nF" H 1815 2555 50 0000 L CNN
F 2 "" H 1738 2450 50 0001 C CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1738 2450 50 0001 C CNN
F 3 "~" H 1700 2600 50 0001 C CNN
1 1700 2600
0 1 1 0
@@ -894,10 +894,10 @@ Connection ~ 1350 2400
Wire Wire Line
1350 2400 1350 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0123
U 1 1 614DFF24
P 1350 2700
F 0 "#PWR?" H 1350 2450 50 0001 C CNN
F 0 "#PWR0123" H 1350 2450 50 0001 C CNN
F 1 "GND" H 1355 2527 50 0000 C CNN
F 2 "" H 1350 2700 50 0001 C CNN
F 3 "" H 1350 2700 50 0001 C CNN
@@ -908,10 +908,10 @@ Wire Wire Line
1350 2700 1350 2600
Connection ~ 1350 2600
$Comp
L power:GND #PWR?
L power:GND #PWR0124
U 1 1 614DFF2C
P 2200 2700
F 0 "#PWR?" H 2200 2450 50 0001 C CNN
F 0 "#PWR0124" H 2200 2450 50 0001 C CNN
F 1 "GND" H 2205 2527 50 0000 C CNN
F 2 "" H 2200 2700 50 0001 C CNN
F 3 "" H 2200 2700 50 0001 C CNN

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 3 5
Sheet 2 5
Title ""
Date ""
Rev ""
@@ -19,10 +19,10 @@ U 1 1 6159E865
P 2400 6650
AR Path="/6159E865" Ref="R?" Part="1"
AR Path="/6158A412/6159E865" Ref="R?" Part="1"
AR Path="/60FE1698/6159E865" Ref="R?" Part="1"
F 0 "R?" H 2470 6696 50 0000 L CNN
AR Path="/60FE1698/6159E865" Ref="R4" Part="1"
F 0 "R4" H 2470 6696 50 0000 L CNN
F 1 "10K" H 2470 6605 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2330 6650 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2330 6650 50 0001 C CNN
F 3 "~" H 2400 6650 50 0001 C CNN
F 4 "R010K_0603" H 2400 6650 50 0001 C CNN "StockRef"
1 2400 6650
@@ -34,10 +34,10 @@ U 1 1 6159E86C
P 2400 6250
AR Path="/6159E86C" Ref="R?" Part="1"
AR Path="/6158A412/6159E86C" Ref="R?" Part="1"
AR Path="/60FE1698/6159E86C" Ref="R?" Part="1"
F 0 "R?" H 2470 6296 50 0000 L CNN
AR Path="/60FE1698/6159E86C" Ref="R3" Part="1"
F 0 "R3" H 2470 6296 50 0000 L CNN
F 1 "4k7" H 2470 6205 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2330 6250 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2330 6250 50 0001 C CNN
F 3 "~" H 2400 6250 50 0001 C CNN
F 4 "R04K7_0603" H 2400 6250 50 0001 C CNN "StockRef"
1 2400 6250
@@ -56,8 +56,8 @@ U 1 1 6159E877
P 2400 5450
AR Path="/6159E877" Ref="#PWR?" Part="1"
AR Path="/6158A412/6159E877" Ref="#PWR?" Part="1"
AR Path="/60FE1698/6159E877" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2400 5300 50 0001 C CNN
AR Path="/60FE1698/6159E877" Ref="#PWR0101" Part="1"
F 0 "#PWR0101" H 2400 5300 50 0001 C CNN
F 1 "+BATT" H 2415 5623 50 0000 C CNN
F 2 "" H 2400 5450 50 0001 C CNN
F 3 "" H 2400 5450 50 0001 C CNN
@@ -72,8 +72,8 @@ U 1 1 6159E87E
P 2400 6900
AR Path="/6159E87E" Ref="#PWR?" Part="1"
AR Path="/6158A412/6159E87E" Ref="#PWR?" Part="1"
AR Path="/60FE1698/6159E87E" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2400 6650 50 0001 C CNN
AR Path="/60FE1698/6159E87E" Ref="#PWR0102" Part="1"
F 0 "#PWR0102" H 2400 6650 50 0001 C CNN
F 1 "GND" H 2405 6727 50 0000 C CNN
F 2 "" H 2400 6900 50 0001 C CNN
F 3 "" H 2400 6900 50 0001 C CNN
@@ -88,8 +88,8 @@ U 1 1 6159E887
P 2300 5800
AR Path="/6159E887" Ref="Q?" Part="1"
AR Path="/6158A412/6159E887" Ref="Q?" Part="1"
AR Path="/60FE1698/6159E887" Ref="Q?" Part="1"
F 0 "Q?" H 2504 5846 50 0000 L CNN
AR Path="/60FE1698/6159E887" Ref="Q1" Part="1"
F 0 "Q1" H 2504 5846 50 0000 L CNN
F 1 "BSS84" H 2504 5755 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 2500 5725 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 2300 5800 50 0001 L CNN
@@ -109,8 +109,8 @@ U 1 1 6159E892
P 2150 6650
AR Path="/6159E892" Ref="C?" Part="1"
AR Path="/6158A412/6159E892" Ref="C?" Part="1"
AR Path="/60FE1698/6159E892" Ref="C?" Part="1"
F 0 "C?" H 2265 6696 50 0000 L CNN
AR Path="/60FE1698/6159E892" Ref="C2" Part="1"
F 0 "C2" H 2265 6696 50 0000 L CNN
F 1 "100nF" H 2265 6605 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 2188 6500 50 0001 C CNN
F 3 "~" H 2150 6650 50 0001 C CNN
@@ -144,8 +144,8 @@ U 1 1 6159E8A4
P 2800 5750
AR Path="/6159E8A4" Ref="JP?" Part="1"
AR Path="/6158A412/6159E8A4" Ref="JP?" Part="1"
AR Path="/60FE1698/6159E8A4" Ref="JP?" Part="1"
F 0 "JP?" V 2754 5818 50 0000 L CNN
AR Path="/60FE1698/6159E8A4" Ref="JP1" Part="1"
F 0 "JP1" V 2754 5818 50 0000 L CNN
F 1 "SolderJumper_2_Open" V 2845 5818 50 0001 L CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 2800 5750 50 0001 C CNN
F 3 "~" H 2800 5750 50 0001 C CNN
@@ -161,10 +161,10 @@ U 1 1 6159E8AC
P 2050 5650
AR Path="/6159E8AC" Ref="R?" Part="1"
AR Path="/6158A412/6159E8AC" Ref="R?" Part="1"
AR Path="/60FE1698/6159E8AC" Ref="R?" Part="1"
F 0 "R?" H 2120 5696 50 0000 L CNN
AR Path="/60FE1698/6159E8AC" Ref="R2" Part="1"
F 0 "R2" H 2120 5696 50 0000 L CNN
F 1 "100K" H 2120 5605 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1980 5650 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 1980 5650 50 0001 C CNN
F 3 "~" H 2050 5650 50 0001 C CNN
F 4 "R100K_0603" H 2050 5650 50 0001 C CNN "StockRef"
1 2050 5650
@@ -228,8 +228,8 @@ U 1 1 615B2DAE
P 6800 2150
AR Path="/615B2DAE" Ref="Q?" Part="1"
AR Path="/6158A412/615B2DAE" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2DAE" Ref="Q?" Part="1"
F 0 "Q?" H 7005 2196 50 0000 L CNN
AR Path="/60FE1698/615B2DAE" Ref="Q3" Part="1"
F 0 "Q3" H 7005 2196 50 0000 L CNN
F 1 "2N7002" H 7005 2105 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7000 2075 50 0001 L CIN
F 3 "https://www.onsemi.com/pub/Collateral/NDS7002A-D.PDF" H 6800 2150 50 0001 L CNN
@@ -254,8 +254,8 @@ U 1 1 615B2DBC
P 5400 1200
AR Path="/615B2DBC" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2DBC" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2DBC" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 5400 1050 50 0001 C CNN
AR Path="/60FE1698/615B2DBC" Ref="#PWR0103" Part="1"
F 0 "#PWR0103" H 5400 1050 50 0001 C CNN
F 1 "+3.3V" H 5415 1373 50 0000 C CNN
F 2 "" H 5400 1200 50 0001 C CNN
F 3 "" H 5400 1200 50 0001 C CNN
@@ -268,10 +268,10 @@ U 1 1 615B2DC3
P 5400 1500
AR Path="/615B2DC3" Ref="R?" Part="1"
AR Path="/6158A412/615B2DC3" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DC3" Ref="R?" Part="1"
F 0 "R?" V 5193 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DC3" Ref="R7" Part="1"
F 0 "R7" V 5193 1500 50 0000 C CNN
F 1 "10K" V 5284 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5330 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5330 1500 50 0001 C CNN
F 3 "~" H 5400 1500 50 0001 C CNN
F 4 "R010K_0603" H 5400 1500 50 0001 C CNN "StockRef"
1 5400 1500
@@ -283,8 +283,8 @@ U 1 1 615B2DCA
P 5850 2400
AR Path="/615B2DCA" Ref="C?" Part="1"
AR Path="/6158A412/615B2DCA" Ref="C?" Part="1"
AR Path="/60FE1698/615B2DCA" Ref="C?" Part="1"
F 0 "C?" H 5965 2446 50 0000 L CNN
AR Path="/60FE1698/615B2DCA" Ref="C4" Part="1"
F 0 "C4" H 5965 2446 50 0000 L CNN
F 1 "100nF" H 5965 2355 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 5888 2250 50 0001 C CNN
F 3 "~" H 5850 2400 50 0001 C CNN
@@ -298,8 +298,8 @@ U 1 1 615B2DD1
P 5500 2100
AR Path="/615B2DD1" Ref="Q?" Part="1"
AR Path="/6158A412/615B2DD1" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2DD1" Ref="Q?" Part="1"
F 0 "Q?" H 5705 2146 50 0000 L CNN
AR Path="/60FE1698/615B2DD1" Ref="Q2" Part="1"
F 0 "Q2" H 5705 2146 50 0000 L CNN
F 1 "2N7002" H 5705 2055 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 5700 2025 50 0001 L CIN
F 3 "https://www.onsemi.com/pub/Collateral/NDS7002A-D.PDF" H 5500 2100 50 0001 L CNN
@@ -318,8 +318,8 @@ U 1 1 615B2DDA
P 8000 2800
AR Path="/615B2DDA" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2DDA" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2DDA" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 8000 2550 50 0001 C CNN
AR Path="/60FE1698/615B2DDA" Ref="#PWR0104" Part="1"
F 0 "#PWR0104" H 8000 2550 50 0001 C CNN
F 1 "GND" H 8005 2627 50 0000 C CNN
F 2 "" H 8000 2800 50 0001 C CNN
F 3 "" H 8000 2800 50 0001 C CNN
@@ -332,8 +332,8 @@ U 1 1 615B2DE1
P 6200 2400
AR Path="/615B2DE1" Ref="SW?" Part="1"
AR Path="/6158A412/615B2DE1" Ref="SW?" Part="1"
AR Path="/60FE1698/615B2DE1" Ref="SW?" Part="1"
F 0 "SW?" V 6200 2750 50 0000 R CNN
AR Path="/60FE1698/615B2DE1" Ref="SW1" Part="1"
F 0 "SW1" V 6200 2750 50 0000 R CNN
F 1 "SW_Push" V 6100 2800 50 0000 R CNN
F 2 "Button_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx58-2LFS" H 6200 2600 50 0001 C CNN
F 3 "~" H 6200 2600 50 0001 C CNN
@@ -356,10 +356,10 @@ U 1 1 615B2DED
P 5850 1500
AR Path="/615B2DED" Ref="R?" Part="1"
AR Path="/6158A412/615B2DED" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DED" Ref="R?" Part="1"
F 0 "R?" V 5643 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DED" Ref="R8" Part="1"
F 0 "R8" V 5643 1500 50 0000 C CNN
F 1 "10K" V 5734 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5780 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5780 1500 50 0001 C CNN
F 3 "~" H 5850 1500 50 0001 C CNN
F 4 "R010K_0603" H 5850 1500 50 0001 C CNN "StockRef"
1 5850 1500
@@ -372,8 +372,8 @@ U 1 1 615B2DF5
P 6200 1850
AR Path="/615B2DF5" Ref="D?" Part="1"
AR Path="/6158A412/615B2DF5" Ref="D?" Part="1"
AR Path="/60FE1698/615B2DF5" Ref="D?" Part="1"
F 0 "D?" V 6300 1700 50 0000 L CNN
AR Path="/60FE1698/615B2DF5" Ref="D3" Part="1"
F 0 "D3" V 6300 1700 50 0000 L CNN
F 1 "BAS316" V 6200 1500 50 0000 L CNN
F 2 "Diode_SMD:D_SOD-323" H 6200 1675 50 0001 C CNN
F 3 "https://assets.nexperia.com/documents/data-sheet/BAS16_SER.pdf" H 6200 1850 50 0001 C CNN
@@ -393,10 +393,10 @@ U 1 1 615B2DFF
P 6200 1500
AR Path="/615B2DFF" Ref="R?" Part="1"
AR Path="/6158A412/615B2DFF" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DFF" Ref="R?" Part="1"
F 0 "R?" V 5993 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DFF" Ref="R9" Part="1"
F 0 "R9" V 5993 1500 50 0000 C CNN
F 1 "10K" V 6084 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6130 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 6130 1500 50 0001 C CNN
F 3 "~" H 6200 1500 50 0001 C CNN
F 4 "R010K_0603" H 6200 1500 50 0001 C CNN "StockRef"
1 6200 1500
@@ -421,10 +421,10 @@ U 1 1 615B2E0F
P 7600 2100
AR Path="/615B2E0F" Ref="R?" Part="1"
AR Path="/6158A412/615B2E0F" Ref="R?" Part="1"
AR Path="/60FE1698/615B2E0F" Ref="R?" Part="1"
F 0 "R?" V 7393 2100 50 0000 C CNN
AR Path="/60FE1698/615B2E0F" Ref="R10" Part="1"
F 0 "R10" V 7393 2100 50 0000 C CNN
F 1 "10K" V 7484 2100 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 7530 2100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7530 2100 50 0001 C CNN
F 3 "~" H 7600 2100 50 0001 C CNN
F 4 "R010K_0603" H 7600 2100 50 0001 C CNN "StockRef"
1 7600 2100
@@ -436,8 +436,8 @@ U 1 1 615B2E16
P 6200 1150
AR Path="/615B2E16" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2E16" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2E16" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 6200 1000 50 0001 C CNN
AR Path="/60FE1698/615B2E16" Ref="#PWR0105" Part="1"
F 0 "#PWR0105" H 6200 1000 50 0001 C CNN
F 1 "+BATT" H 6215 1323 50 0000 C CNN
F 2 "" H 6200 1150 50 0001 C CNN
F 3 "" H 6200 1150 50 0001 C CNN
@@ -450,8 +450,8 @@ U 1 1 615B2E1E
P 7150 1650
AR Path="/615B2E1E" Ref="Q?" Part="1"
AR Path="/6158A412/615B2E1E" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2E1E" Ref="Q?" Part="1"
F 0 "Q?" H 7350 1650 50 0000 L CNN
AR Path="/60FE1698/615B2E1E" Ref="Q4" Part="1"
F 0 "Q4" H 7350 1650 50 0000 L CNN
F 1 "BSS84" H 7300 1550 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7350 1575 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 7150 1650 50 0001 L CNN
@@ -469,8 +469,8 @@ U 1 1 615B2E29
P 8000 1400
AR Path="/615B2E29" Ref="U?" Part="1"
AR Path="/6158A412/615B2E29" Ref="U?" Part="1"
AR Path="/60FE1698/615B2E29" Ref="U?" Part="1"
F 0 "U?" H 8000 1742 50 0000 C CNN
AR Path="/60FE1698/615B2E29" Ref="U2" Part="1"
F 0 "U2" H 8000 1742 50 0000 C CNN
F 1 "MIC94310-SYM5" H 8000 1651 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-5" H 8000 1725 50 0001 C CIN
F 3 "http://www.ti.com/lit/ds/symlink/tps763.pdf" H 8000 1400 50 0001 C CNN
@@ -490,8 +490,8 @@ U 1 1 615B2E33
P 8500 2000
AR Path="/615B2E33" Ref="C?" Part="1"
AR Path="/6158A412/615B2E33" Ref="C?" Part="1"
AR Path="/60FE1698/615B2E33" Ref="C?" Part="1"
F 0 "C?" H 8618 2046 50 0000 L CNN
AR Path="/60FE1698/615B2E33" Ref="C5" Part="1"
F 0 "C5" H 8618 2046 50 0000 L CNN
F 1 "4,7uF" H 8618 1955 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 8538 1850 50 0001 C CNN
F 3 "~" H 8500 2000 50 0001 C CNN
@@ -507,8 +507,8 @@ U 1 1 615B2E3A
P 8500 1200
AR Path="/615B2E3A" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2E3A" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2E3A" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 8500 1050 50 0001 C CNN
AR Path="/60FE1698/615B2E3A" Ref="#PWR0106" Part="1"
F 0 "#PWR0106" H 8500 1050 50 0001 C CNN
F 1 "+3.3V" H 8515 1373 50 0000 C CNN
F 2 "" H 8500 1200 50 0001 C CNN
F 3 "" H 8500 1200 50 0001 C CNN
@@ -521,8 +521,8 @@ U 1 1 615B8118
P 2450 1700
AR Path="/615B8118" Ref="U?" Part="1"
AR Path="/6158A412/615B8118" Ref="U?" Part="1"
AR Path="/60FE1698/615B8118" Ref="U?" Part="1"
F 0 "U?" H 2700 1750 60 0000 C CNN
AR Path="/60FE1698/615B8118" Ref="U1" Part="1"
F 0 "U1" H 2700 1750 60 0000 C CNN
F 1 "MCP73832T-2ACI_OT" H 1900 1750 60 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-5" H 2650 1900 60 0001 L CNN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf" H 2650 2000 60 0001 L CNN
@@ -538,8 +538,8 @@ U 1 1 615B811E
P 3250 1900
AR Path="/615B811E" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B811E" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B811E" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 3250 1750 50 0001 C CNN
AR Path="/60FE1698/615B811E" Ref="#PWR0107" Part="1"
F 0 "#PWR0107" H 3250 1750 50 0001 C CNN
F 1 "+BATT" V 3250 2150 50 0000 C CNN
F 2 "" H 3250 1900 50 0001 C CNN
F 3 "" H 3250 1900 50 0001 C CNN
@@ -554,10 +554,10 @@ U 1 1 615B8126
P 1950 2250
AR Path="/615B8126" Ref="R?" Part="1"
AR Path="/6158A412/615B8126" Ref="R?" Part="1"
AR Path="/60FE1698/615B8126" Ref="R?" Part="1"
F 0 "R?" H 2020 2296 50 0000 L CNN
AR Path="/60FE1698/615B8126" Ref="R1" Part="1"
F 0 "R1" H 2020 2296 50 0000 L CNN
F 1 "3K3" H 2020 2205 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1880 2250 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 1880 2250 50 0001 C CNN
F 3 "~" H 1950 2250 50 0001 C CNN
F 4 "R03K3_0603" H 1950 2250 50 0001 C CNN "StockRef"
1 1950 2250
@@ -579,8 +579,8 @@ U 1 1 615B8131
P 2450 1250
AR Path="/615B8131" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B8131" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B8131" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2450 1100 50 0001 C CNN
AR Path="/60FE1698/615B8131" Ref="#PWR0108" Part="1"
F 0 "#PWR0108" H 2450 1100 50 0001 C CNN
F 1 "VBUS" H 2465 1423 50 0000 C CNN
F 2 "" H 2450 1250 50 0001 C CNN
F 3 "" H 2450 1250 50 0001 C CNN
@@ -593,8 +593,8 @@ U 1 1 615B8137
P 2450 2650
AR Path="/615B8137" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B8137" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B8137" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2450 2400 50 0001 C CNN
AR Path="/60FE1698/615B8137" Ref="#PWR0109" Part="1"
F 0 "#PWR0109" H 2450 2400 50 0001 C CNN
F 1 "GND" H 2455 2477 50 0000 C CNN
F 2 "" H 2450 2650 50 0001 C CNN
F 3 "" H 2450 2650 50 0001 C CNN
@@ -610,8 +610,8 @@ U 1 1 615B8140
P 3300 1550
AR Path="/615B8140" Ref="D?" Part="1"
AR Path="/6158A412/615B8140" Ref="D?" Part="1"
AR Path="/60FE1698/615B8140" Ref="D?" Part="1"
F 0 "D?" H 3293 1295 50 0000 C CNN
AR Path="/60FE1698/615B8140" Ref="D1" Part="1"
F 0 "D1" H 3293 1295 50 0000 C CNN
F 1 "LED" H 3293 1386 50 0000 C CNN
F 2 "LED_SMD:LED_0805_2012Metric" H 3300 1550 50 0001 C CNN
F 3 "~" H 3300 1550 50 0001 C CNN
@@ -625,8 +625,8 @@ U 1 1 615B8147
P 3800 2250
AR Path="/615B8147" Ref="D?" Part="1"
AR Path="/6158A412/615B8147" Ref="D?" Part="1"
AR Path="/60FE1698/615B8147" Ref="D?" Part="1"
F 0 "D?" H 3793 1995 50 0000 C CNN
AR Path="/60FE1698/615B8147" Ref="D2" Part="1"
F 0 "D2" H 3793 1995 50 0000 C CNN
F 1 "LED" H 3793 2086 50 0000 C CNN
F 2 "LED_SMD:LED_0805_2012Metric" H 3800 2250 50 0001 C CNN
F 3 "~" H 3800 2250 50 0001 C CNN
@@ -642,10 +642,10 @@ U 1 1 615B814F
P 3800 1550
AR Path="/615B814F" Ref="R?" Part="1"
AR Path="/6158A412/615B814F" Ref="R?" Part="1"
AR Path="/60FE1698/615B814F" Ref="R?" Part="1"
F 0 "R?" V 3593 1550 50 0000 C CNN
AR Path="/60FE1698/615B814F" Ref="R6" Part="1"
F 0 "R6" V 3593 1550 50 0000 C CNN
F 1 "470E" V 3684 1550 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3730 1550 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3730 1550 50 0001 C CNN
F 3 "~" H 3800 1550 50 0001 C CNN
F 4 "R470E_0603" H 3800 1550 50 0001 C CNN "StockRef"
1 3800 1550
@@ -660,8 +660,8 @@ U 1 1 615B8158
P 2950 2250
AR Path="/615B8158" Ref="C?" Part="1"
AR Path="/6158A412/615B8158" Ref="C?" Part="1"
AR Path="/60FE1698/615B8158" Ref="C?" Part="1"
F 0 "C?" H 3068 2296 50 0000 L CNN
AR Path="/60FE1698/615B8158" Ref="C3" Part="1"
F 0 "C3" H 3068 2296 50 0000 L CNN
F 1 "4,7uF" H 3068 2205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 2988 2100 50 0001 C CNN
F 3 "~" H 2950 2250 50 0001 C CNN
@@ -685,8 +685,8 @@ U 1 1 615B8165
P 1700 2400
AR Path="/615B8165" Ref="C?" Part="1"
AR Path="/6158A412/615B8165" Ref="C?" Part="1"
AR Path="/60FE1698/615B8165" Ref="C?" Part="1"
F 0 "C?" H 1818 2446 50 0000 L CNN
AR Path="/60FE1698/615B8165" Ref="C1" Part="1"
F 0 "C1" H 1818 2446 50 0000 L CNN
F 1 "4,7uF" H 1818 2355 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 1738 2250 50 0001 C CNN
F 3 "~" H 1700 2400 50 0001 C CNN
@@ -730,10 +730,10 @@ U 1 1 615B8180
P 3050 1800
AR Path="/615B8180" Ref="R?" Part="1"
AR Path="/6158A412/615B8180" Ref="R?" Part="1"
AR Path="/60FE1698/615B8180" Ref="R?" Part="1"
F 0 "R?" V 2843 1800 50 0000 C CNN
AR Path="/60FE1698/615B8180" Ref="R5" Part="1"
F 0 "R5" V 2843 1800 50 0000 C CNN
F 1 "470E" V 2934 1800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2980 1800 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2980 1800 50 0001 C CNN
F 3 "~" H 3050 1800 50 0001 C CNN
F 4 "R470E_0603" H 3050 1800 50 0001 C CNN "StockRef"
1 3050 1800
@@ -756,10 +756,10 @@ Wire Wire Line
Wire Wire Line
5400 1650 5400 1800
$Comp
L Connector:Conn_01x02_Male J?
L Connector:Conn_01x02_Male J1
U 1 1 615F09E5
P 2000 4000
F 0 "J?" H 1972 3974 50 0000 R CNN
F 0 "J1" H 1972 3974 50 0000 R CNN
F 1 "JST_PH_S2B" H 1972 3883 50 0000 R CNN
F 2 "Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal" H 2000 4000 50 0001 C CNN
F 3 "~" H 2000 4000 50 0001 C CNN
@@ -768,10 +768,10 @@ F 4 "CON_PIN_01x02xPH_JST" H 2000 4000 50 0001 C CNN "StockRef"
-1 0 0 -1
$EndComp
$Comp
L power:+BATT #PWR?
L power:+BATT #PWR0110
U 1 1 615F09EB
P 1650 3750
F 0 "#PWR?" H 1650 3600 50 0001 C CNN
F 0 "#PWR0110" H 1650 3600 50 0001 C CNN
F 1 "+BATT" H 1665 3923 50 0000 C CNN
F 2 "" H 1650 3750 50 0001 C CNN
F 3 "" H 1650 3750 50 0001 C CNN
@@ -779,10 +779,10 @@ F 3 "" H 1650 3750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0111
U 1 1 615F09F1
P 1650 4400
F 0 "#PWR?" H 1650 4150 50 0001 C CNN
F 0 "#PWR0111" H 1650 4150 50 0001 C CNN
F 1 "GND" H 1655 4227 50 0000 C CNN
F 2 "" H 1650 4400 50 0001 C CNN
F 3 "" H 1650 4400 50 0001 C CNN

View File

@@ -3,7 +3,7 @@ EELAYER 30 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 3 5
Sheet 2 5
Title ""
Date ""
Rev ""
@@ -19,10 +19,10 @@ U 1 1 6159E865
P 2400 6650
AR Path="/6159E865" Ref="R?" Part="1"
AR Path="/6158A412/6159E865" Ref="R?" Part="1"
AR Path="/60FE1698/6159E865" Ref="R?" Part="1"
F 0 "R?" H 2470 6696 50 0000 L CNN
AR Path="/60FE1698/6159E865" Ref="R4" Part="1"
F 0 "R4" H 2470 6696 50 0000 L CNN
F 1 "10K" H 2470 6605 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2330 6650 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2330 6650 50 0001 C CNN
F 3 "~" H 2400 6650 50 0001 C CNN
F 4 "R010K_0603" H 2400 6650 50 0001 C CNN "StockRef"
1 2400 6650
@@ -34,10 +34,10 @@ U 1 1 6159E86C
P 2400 6250
AR Path="/6159E86C" Ref="R?" Part="1"
AR Path="/6158A412/6159E86C" Ref="R?" Part="1"
AR Path="/60FE1698/6159E86C" Ref="R?" Part="1"
F 0 "R?" H 2470 6296 50 0000 L CNN
AR Path="/60FE1698/6159E86C" Ref="R3" Part="1"
F 0 "R3" H 2470 6296 50 0000 L CNN
F 1 "4k7" H 2470 6205 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2330 6250 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2330 6250 50 0001 C CNN
F 3 "~" H 2400 6250 50 0001 C CNN
F 4 "R04K7_0603" H 2400 6250 50 0001 C CNN "StockRef"
1 2400 6250
@@ -56,8 +56,8 @@ U 1 1 6159E877
P 2400 5450
AR Path="/6159E877" Ref="#PWR?" Part="1"
AR Path="/6158A412/6159E877" Ref="#PWR?" Part="1"
AR Path="/60FE1698/6159E877" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2400 5300 50 0001 C CNN
AR Path="/60FE1698/6159E877" Ref="#PWR0101" Part="1"
F 0 "#PWR0101" H 2400 5300 50 0001 C CNN
F 1 "+BATT" H 2415 5623 50 0000 C CNN
F 2 "" H 2400 5450 50 0001 C CNN
F 3 "" H 2400 5450 50 0001 C CNN
@@ -72,8 +72,8 @@ U 1 1 6159E87E
P 2400 6900
AR Path="/6159E87E" Ref="#PWR?" Part="1"
AR Path="/6158A412/6159E87E" Ref="#PWR?" Part="1"
AR Path="/60FE1698/6159E87E" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2400 6650 50 0001 C CNN
AR Path="/60FE1698/6159E87E" Ref="#PWR0102" Part="1"
F 0 "#PWR0102" H 2400 6650 50 0001 C CNN
F 1 "GND" H 2405 6727 50 0000 C CNN
F 2 "" H 2400 6900 50 0001 C CNN
F 3 "" H 2400 6900 50 0001 C CNN
@@ -88,8 +88,8 @@ U 1 1 6159E887
P 2300 5800
AR Path="/6159E887" Ref="Q?" Part="1"
AR Path="/6158A412/6159E887" Ref="Q?" Part="1"
AR Path="/60FE1698/6159E887" Ref="Q?" Part="1"
F 0 "Q?" H 2504 5846 50 0000 L CNN
AR Path="/60FE1698/6159E887" Ref="Q1" Part="1"
F 0 "Q1" H 2504 5846 50 0000 L CNN
F 1 "BSS84" H 2504 5755 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 2500 5725 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 2300 5800 50 0001 L CNN
@@ -109,8 +109,8 @@ U 1 1 6159E892
P 2150 6650
AR Path="/6159E892" Ref="C?" Part="1"
AR Path="/6158A412/6159E892" Ref="C?" Part="1"
AR Path="/60FE1698/6159E892" Ref="C?" Part="1"
F 0 "C?" H 2265 6696 50 0000 L CNN
AR Path="/60FE1698/6159E892" Ref="C2" Part="1"
F 0 "C2" H 2265 6696 50 0000 L CNN
F 1 "100nF" H 2265 6605 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 2188 6500 50 0001 C CNN
F 3 "~" H 2150 6650 50 0001 C CNN
@@ -144,8 +144,8 @@ U 1 1 6159E8A4
P 2800 5750
AR Path="/6159E8A4" Ref="JP?" Part="1"
AR Path="/6158A412/6159E8A4" Ref="JP?" Part="1"
AR Path="/60FE1698/6159E8A4" Ref="JP?" Part="1"
F 0 "JP?" V 2754 5818 50 0000 L CNN
AR Path="/60FE1698/6159E8A4" Ref="JP1" Part="1"
F 0 "JP1" V 2754 5818 50 0000 L CNN
F 1 "SolderJumper_2_Open" V 2845 5818 50 0001 L CNN
F 2 "Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm" H 2800 5750 50 0001 C CNN
F 3 "~" H 2800 5750 50 0001 C CNN
@@ -161,10 +161,10 @@ U 1 1 6159E8AC
P 2050 5650
AR Path="/6159E8AC" Ref="R?" Part="1"
AR Path="/6158A412/6159E8AC" Ref="R?" Part="1"
AR Path="/60FE1698/6159E8AC" Ref="R?" Part="1"
F 0 "R?" H 2120 5696 50 0000 L CNN
AR Path="/60FE1698/6159E8AC" Ref="R2" Part="1"
F 0 "R2" H 2120 5696 50 0000 L CNN
F 1 "100K" H 2120 5605 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1980 5650 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 1980 5650 50 0001 C CNN
F 3 "~" H 2050 5650 50 0001 C CNN
F 4 "R100K_0603" H 2050 5650 50 0001 C CNN "StockRef"
1 2050 5650
@@ -228,8 +228,8 @@ U 1 1 615B2DAE
P 6800 2150
AR Path="/615B2DAE" Ref="Q?" Part="1"
AR Path="/6158A412/615B2DAE" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2DAE" Ref="Q?" Part="1"
F 0 "Q?" H 7005 2196 50 0000 L CNN
AR Path="/60FE1698/615B2DAE" Ref="Q3" Part="1"
F 0 "Q3" H 7005 2196 50 0000 L CNN
F 1 "2N7002" H 7005 2105 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7000 2075 50 0001 L CIN
F 3 "https://www.onsemi.com/pub/Collateral/NDS7002A-D.PDF" H 6800 2150 50 0001 L CNN
@@ -254,8 +254,8 @@ U 1 1 615B2DBC
P 5400 1200
AR Path="/615B2DBC" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2DBC" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2DBC" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 5400 1050 50 0001 C CNN
AR Path="/60FE1698/615B2DBC" Ref="#PWR0103" Part="1"
F 0 "#PWR0103" H 5400 1050 50 0001 C CNN
F 1 "+3.3V" H 5415 1373 50 0000 C CNN
F 2 "" H 5400 1200 50 0001 C CNN
F 3 "" H 5400 1200 50 0001 C CNN
@@ -268,10 +268,10 @@ U 1 1 615B2DC3
P 5400 1500
AR Path="/615B2DC3" Ref="R?" Part="1"
AR Path="/6158A412/615B2DC3" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DC3" Ref="R?" Part="1"
F 0 "R?" V 5193 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DC3" Ref="R7" Part="1"
F 0 "R7" V 5193 1500 50 0000 C CNN
F 1 "10K" V 5284 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5330 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5330 1500 50 0001 C CNN
F 3 "~" H 5400 1500 50 0001 C CNN
F 4 "R010K_0603" H 5400 1500 50 0001 C CNN "StockRef"
1 5400 1500
@@ -283,8 +283,8 @@ U 1 1 615B2DCA
P 5850 2400
AR Path="/615B2DCA" Ref="C?" Part="1"
AR Path="/6158A412/615B2DCA" Ref="C?" Part="1"
AR Path="/60FE1698/615B2DCA" Ref="C?" Part="1"
F 0 "C?" H 5965 2446 50 0000 L CNN
AR Path="/60FE1698/615B2DCA" Ref="C4" Part="1"
F 0 "C4" H 5965 2446 50 0000 L CNN
F 1 "100nF" H 5965 2355 50 0000 L CNN
F 2 "Capacitor_SMD:C_0603_1608Metric" H 5888 2250 50 0001 C CNN
F 3 "~" H 5850 2400 50 0001 C CNN
@@ -298,8 +298,8 @@ U 1 1 615B2DD1
P 5500 2100
AR Path="/615B2DD1" Ref="Q?" Part="1"
AR Path="/6158A412/615B2DD1" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2DD1" Ref="Q?" Part="1"
F 0 "Q?" H 5705 2146 50 0000 L CNN
AR Path="/60FE1698/615B2DD1" Ref="Q2" Part="1"
F 0 "Q2" H 5705 2146 50 0000 L CNN
F 1 "2N7002" H 5705 2055 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 5700 2025 50 0001 L CIN
F 3 "https://www.onsemi.com/pub/Collateral/NDS7002A-D.PDF" H 5500 2100 50 0001 L CNN
@@ -318,8 +318,8 @@ U 1 1 615B2DDA
P 8000 2800
AR Path="/615B2DDA" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2DDA" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2DDA" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 8000 2550 50 0001 C CNN
AR Path="/60FE1698/615B2DDA" Ref="#PWR0104" Part="1"
F 0 "#PWR0104" H 8000 2550 50 0001 C CNN
F 1 "GND" H 8005 2627 50 0000 C CNN
F 2 "" H 8000 2800 50 0001 C CNN
F 3 "" H 8000 2800 50 0001 C CNN
@@ -332,8 +332,8 @@ U 1 1 615B2DE1
P 6200 2400
AR Path="/615B2DE1" Ref="SW?" Part="1"
AR Path="/6158A412/615B2DE1" Ref="SW?" Part="1"
AR Path="/60FE1698/615B2DE1" Ref="SW?" Part="1"
F 0 "SW?" V 6200 2750 50 0000 R CNN
AR Path="/60FE1698/615B2DE1" Ref="SW1" Part="1"
F 0 "SW1" V 6200 2750 50 0000 R CNN
F 1 "SW_Push" V 6100 2800 50 0000 R CNN
F 2 "Button_Switch_THT:SW_Tactile_SPST_Angled_PTS645Vx58-2LFS" H 6200 2600 50 0001 C CNN
F 3 "~" H 6200 2600 50 0001 C CNN
@@ -356,10 +356,10 @@ U 1 1 615B2DED
P 5850 1500
AR Path="/615B2DED" Ref="R?" Part="1"
AR Path="/6158A412/615B2DED" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DED" Ref="R?" Part="1"
F 0 "R?" V 5643 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DED" Ref="R8" Part="1"
F 0 "R8" V 5643 1500 50 0000 C CNN
F 1 "10K" V 5734 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 5780 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 5780 1500 50 0001 C CNN
F 3 "~" H 5850 1500 50 0001 C CNN
F 4 "R010K_0603" H 5850 1500 50 0001 C CNN "StockRef"
1 5850 1500
@@ -372,8 +372,8 @@ U 1 1 615B2DF5
P 6200 1850
AR Path="/615B2DF5" Ref="D?" Part="1"
AR Path="/6158A412/615B2DF5" Ref="D?" Part="1"
AR Path="/60FE1698/615B2DF5" Ref="D?" Part="1"
F 0 "D?" V 6300 1700 50 0000 L CNN
AR Path="/60FE1698/615B2DF5" Ref="D3" Part="1"
F 0 "D3" V 6300 1700 50 0000 L CNN
F 1 "BAS316" V 6200 1500 50 0000 L CNN
F 2 "Diode_SMD:D_SOD-323" H 6200 1675 50 0001 C CNN
F 3 "https://assets.nexperia.com/documents/data-sheet/BAS16_SER.pdf" H 6200 1850 50 0001 C CNN
@@ -393,10 +393,10 @@ U 1 1 615B2DFF
P 6200 1500
AR Path="/615B2DFF" Ref="R?" Part="1"
AR Path="/6158A412/615B2DFF" Ref="R?" Part="1"
AR Path="/60FE1698/615B2DFF" Ref="R?" Part="1"
F 0 "R?" V 5993 1500 50 0000 C CNN
AR Path="/60FE1698/615B2DFF" Ref="R9" Part="1"
F 0 "R9" V 5993 1500 50 0000 C CNN
F 1 "10K" V 6084 1500 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 6130 1500 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 6130 1500 50 0001 C CNN
F 3 "~" H 6200 1500 50 0001 C CNN
F 4 "R010K_0603" H 6200 1500 50 0001 C CNN "StockRef"
1 6200 1500
@@ -421,10 +421,10 @@ U 1 1 615B2E0F
P 7600 2100
AR Path="/615B2E0F" Ref="R?" Part="1"
AR Path="/6158A412/615B2E0F" Ref="R?" Part="1"
AR Path="/60FE1698/615B2E0F" Ref="R?" Part="1"
F 0 "R?" V 7393 2100 50 0000 C CNN
AR Path="/60FE1698/615B2E0F" Ref="R10" Part="1"
F 0 "R10" V 7393 2100 50 0000 C CNN
F 1 "10K" V 7484 2100 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 7530 2100 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 7530 2100 50 0001 C CNN
F 3 "~" H 7600 2100 50 0001 C CNN
F 4 "R010K_0603" H 7600 2100 50 0001 C CNN "StockRef"
1 7600 2100
@@ -436,8 +436,8 @@ U 1 1 615B2E16
P 6200 1150
AR Path="/615B2E16" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2E16" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2E16" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 6200 1000 50 0001 C CNN
AR Path="/60FE1698/615B2E16" Ref="#PWR0105" Part="1"
F 0 "#PWR0105" H 6200 1000 50 0001 C CNN
F 1 "+BATT" H 6215 1323 50 0000 C CNN
F 2 "" H 6200 1150 50 0001 C CNN
F 3 "" H 6200 1150 50 0001 C CNN
@@ -450,8 +450,8 @@ U 1 1 615B2E1E
P 7150 1650
AR Path="/615B2E1E" Ref="Q?" Part="1"
AR Path="/6158A412/615B2E1E" Ref="Q?" Part="1"
AR Path="/60FE1698/615B2E1E" Ref="Q?" Part="1"
F 0 "Q?" H 7350 1650 50 0000 L CNN
AR Path="/60FE1698/615B2E1E" Ref="Q4" Part="1"
F 0 "Q4" H 7350 1650 50 0000 L CNN
F 1 "BSS84" H 7300 1550 50 0000 L CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 7350 1575 50 0001 L CIN
F 3 "http://assets.nexperia.com/documents/data-sheet/BSS84.pdf" H 7150 1650 50 0001 L CNN
@@ -469,8 +469,8 @@ U 1 1 615B2E29
P 8000 1400
AR Path="/615B2E29" Ref="U?" Part="1"
AR Path="/6158A412/615B2E29" Ref="U?" Part="1"
AR Path="/60FE1698/615B2E29" Ref="U?" Part="1"
F 0 "U?" H 8000 1742 50 0000 C CNN
AR Path="/60FE1698/615B2E29" Ref="U2" Part="1"
F 0 "U2" H 8000 1742 50 0000 C CNN
F 1 "MIC94310-SYM5" H 8000 1651 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-5" H 8000 1725 50 0001 C CIN
F 3 "http://www.ti.com/lit/ds/symlink/tps763.pdf" H 8000 1400 50 0001 C CNN
@@ -490,8 +490,8 @@ U 1 1 615B2E33
P 8500 2000
AR Path="/615B2E33" Ref="C?" Part="1"
AR Path="/6158A412/615B2E33" Ref="C?" Part="1"
AR Path="/60FE1698/615B2E33" Ref="C?" Part="1"
F 0 "C?" H 8618 2046 50 0000 L CNN
AR Path="/60FE1698/615B2E33" Ref="C5" Part="1"
F 0 "C5" H 8618 2046 50 0000 L CNN
F 1 "4,7uF" H 8618 1955 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 8538 1850 50 0001 C CNN
F 3 "~" H 8500 2000 50 0001 C CNN
@@ -507,8 +507,8 @@ U 1 1 615B2E3A
P 8500 1200
AR Path="/615B2E3A" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B2E3A" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B2E3A" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 8500 1050 50 0001 C CNN
AR Path="/60FE1698/615B2E3A" Ref="#PWR0106" Part="1"
F 0 "#PWR0106" H 8500 1050 50 0001 C CNN
F 1 "+3.3V" H 8515 1373 50 0000 C CNN
F 2 "" H 8500 1200 50 0001 C CNN
F 3 "" H 8500 1200 50 0001 C CNN
@@ -521,8 +521,8 @@ U 1 1 615B8118
P 2450 1700
AR Path="/615B8118" Ref="U?" Part="1"
AR Path="/6158A412/615B8118" Ref="U?" Part="1"
AR Path="/60FE1698/615B8118" Ref="U?" Part="1"
F 0 "U?" H 2700 1750 60 0000 C CNN
AR Path="/60FE1698/615B8118" Ref="U1" Part="1"
F 0 "U1" H 2700 1750 60 0000 C CNN
F 1 "MCP73832T-2ACI_OT" H 1900 1750 60 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23-5" H 2650 1900 60 0001 L CNN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001984g.pdf" H 2650 2000 60 0001 L CNN
@@ -538,8 +538,8 @@ U 1 1 615B811E
P 3250 1900
AR Path="/615B811E" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B811E" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B811E" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 3250 1750 50 0001 C CNN
AR Path="/60FE1698/615B811E" Ref="#PWR0107" Part="1"
F 0 "#PWR0107" H 3250 1750 50 0001 C CNN
F 1 "+BATT" V 3250 2150 50 0000 C CNN
F 2 "" H 3250 1900 50 0001 C CNN
F 3 "" H 3250 1900 50 0001 C CNN
@@ -554,10 +554,10 @@ U 1 1 615B8126
P 1950 2250
AR Path="/615B8126" Ref="R?" Part="1"
AR Path="/6158A412/615B8126" Ref="R?" Part="1"
AR Path="/60FE1698/615B8126" Ref="R?" Part="1"
F 0 "R?" H 2020 2296 50 0000 L CNN
AR Path="/60FE1698/615B8126" Ref="R1" Part="1"
F 0 "R1" H 2020 2296 50 0000 L CNN
F 1 "3K3" H 2020 2205 50 0000 L CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 1880 2250 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 1880 2250 50 0001 C CNN
F 3 "~" H 1950 2250 50 0001 C CNN
F 4 "R03K3_0603" H 1950 2250 50 0001 C CNN "StockRef"
1 1950 2250
@@ -579,8 +579,8 @@ U 1 1 615B8131
P 2450 1250
AR Path="/615B8131" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B8131" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B8131" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2450 1100 50 0001 C CNN
AR Path="/60FE1698/615B8131" Ref="#PWR0108" Part="1"
F 0 "#PWR0108" H 2450 1100 50 0001 C CNN
F 1 "VBUS" H 2465 1423 50 0000 C CNN
F 2 "" H 2450 1250 50 0001 C CNN
F 3 "" H 2450 1250 50 0001 C CNN
@@ -593,8 +593,8 @@ U 1 1 615B8137
P 2450 2650
AR Path="/615B8137" Ref="#PWR?" Part="1"
AR Path="/6158A412/615B8137" Ref="#PWR?" Part="1"
AR Path="/60FE1698/615B8137" Ref="#PWR?" Part="1"
F 0 "#PWR?" H 2450 2400 50 0001 C CNN
AR Path="/60FE1698/615B8137" Ref="#PWR0109" Part="1"
F 0 "#PWR0109" H 2450 2400 50 0001 C CNN
F 1 "GND" H 2455 2477 50 0000 C CNN
F 2 "" H 2450 2650 50 0001 C CNN
F 3 "" H 2450 2650 50 0001 C CNN
@@ -610,8 +610,8 @@ U 1 1 615B8140
P 3300 1550
AR Path="/615B8140" Ref="D?" Part="1"
AR Path="/6158A412/615B8140" Ref="D?" Part="1"
AR Path="/60FE1698/615B8140" Ref="D?" Part="1"
F 0 "D?" H 3293 1295 50 0000 C CNN
AR Path="/60FE1698/615B8140" Ref="D1" Part="1"
F 0 "D1" H 3293 1295 50 0000 C CNN
F 1 "LED" H 3293 1386 50 0000 C CNN
F 2 "LED_SMD:LED_0805_2012Metric" H 3300 1550 50 0001 C CNN
F 3 "~" H 3300 1550 50 0001 C CNN
@@ -625,8 +625,8 @@ U 1 1 615B8147
P 3800 2250
AR Path="/615B8147" Ref="D?" Part="1"
AR Path="/6158A412/615B8147" Ref="D?" Part="1"
AR Path="/60FE1698/615B8147" Ref="D?" Part="1"
F 0 "D?" H 3793 1995 50 0000 C CNN
AR Path="/60FE1698/615B8147" Ref="D2" Part="1"
F 0 "D2" H 3793 1995 50 0000 C CNN
F 1 "LED" H 3793 2086 50 0000 C CNN
F 2 "LED_SMD:LED_0805_2012Metric" H 3800 2250 50 0001 C CNN
F 3 "~" H 3800 2250 50 0001 C CNN
@@ -642,10 +642,10 @@ U 1 1 615B814F
P 3800 1550
AR Path="/615B814F" Ref="R?" Part="1"
AR Path="/6158A412/615B814F" Ref="R?" Part="1"
AR Path="/60FE1698/615B814F" Ref="R?" Part="1"
F 0 "R?" V 3593 1550 50 0000 C CNN
AR Path="/60FE1698/615B814F" Ref="R6" Part="1"
F 0 "R6" V 3593 1550 50 0000 C CNN
F 1 "470E" V 3684 1550 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 3730 1550 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 3730 1550 50 0001 C CNN
F 3 "~" H 3800 1550 50 0001 C CNN
F 4 "R470E_0603" H 3800 1550 50 0001 C CNN "StockRef"
1 3800 1550
@@ -660,8 +660,8 @@ U 1 1 615B8158
P 2950 2250
AR Path="/615B8158" Ref="C?" Part="1"
AR Path="/6158A412/615B8158" Ref="C?" Part="1"
AR Path="/60FE1698/615B8158" Ref="C?" Part="1"
F 0 "C?" H 3068 2296 50 0000 L CNN
AR Path="/60FE1698/615B8158" Ref="C3" Part="1"
F 0 "C3" H 3068 2296 50 0000 L CNN
F 1 "4,7uF" H 3068 2205 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 2988 2100 50 0001 C CNN
F 3 "~" H 2950 2250 50 0001 C CNN
@@ -685,8 +685,8 @@ U 1 1 615B8165
P 1700 2400
AR Path="/615B8165" Ref="C?" Part="1"
AR Path="/6158A412/615B8165" Ref="C?" Part="1"
AR Path="/60FE1698/615B8165" Ref="C?" Part="1"
F 0 "C?" H 1818 2446 50 0000 L CNN
AR Path="/60FE1698/615B8165" Ref="C1" Part="1"
F 0 "C1" H 1818 2446 50 0000 L CNN
F 1 "4,7uF" H 1818 2355 50 0000 L CNN
F 2 "Capacitor_SMD:C_0805_2012Metric" H 1738 2250 50 0001 C CNN
F 3 "~" H 1700 2400 50 0001 C CNN
@@ -730,10 +730,10 @@ U 1 1 615B8180
P 3050 1800
AR Path="/615B8180" Ref="R?" Part="1"
AR Path="/6158A412/615B8180" Ref="R?" Part="1"
AR Path="/60FE1698/615B8180" Ref="R?" Part="1"
F 0 "R?" V 2843 1800 50 0000 C CNN
AR Path="/60FE1698/615B8180" Ref="R5" Part="1"
F 0 "R5" V 2843 1800 50 0000 C CNN
F 1 "470E" V 2934 1800 50 0000 C CNN
F 2 "Resistor_SMD:R_0603_1608Metric" V 2980 1800 50 0001 C CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 2980 1800 50 0001 C CNN
F 3 "~" H 3050 1800 50 0001 C CNN
F 4 "R470E_0603" H 3050 1800 50 0001 C CNN "StockRef"
1 3050 1800
@@ -756,10 +756,10 @@ Wire Wire Line
Wire Wire Line
5400 1650 5400 1800
$Comp
L Connector:Conn_01x02_Male J?
L Connector:Conn_01x02_Male J1
U 1 1 615F09E5
P 2000 4000
F 0 "J?" H 1972 3974 50 0000 R CNN
F 0 "J1" H 1972 3974 50 0000 R CNN
F 1 "JST_PH_S2B" H 1972 3883 50 0000 R CNN
F 2 "Connector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_Horizontal" H 2000 4000 50 0001 C CNN
F 3 "~" H 2000 4000 50 0001 C CNN
@@ -768,10 +768,10 @@ F 4 "CON_PIN_01x02xPH_JST" H 2000 4000 50 0001 C CNN "StockRef"
-1 0 0 -1
$EndComp
$Comp
L power:+BATT #PWR?
L power:+BATT #PWR0110
U 1 1 615F09EB
P 1650 3750
F 0 "#PWR?" H 1650 3600 50 0001 C CNN
F 0 "#PWR0110" H 1650 3600 50 0001 C CNN
F 1 "+BATT" H 1665 3923 50 0000 C CNN
F 2 "" H 1650 3750 50 0001 C CNN
F 3 "" H 1650 3750 50 0001 C CNN
@@ -779,10 +779,10 @@ F 3 "" H 1650 3750 50 0001 C CNN
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR?
L power:GND #PWR0111
U 1 1 615F09F1
P 1650 4400
F 0 "#PWR?" H 1650 4150 50 0001 C CNN
F 0 "#PWR0111" H 1650 4150 50 0001 C CNN
F 1 "GND" H 1655 4227 50 0000 C CNN
F 2 "" H 1650 4400 50 0001 C CNN
F 3 "" H 1650 4400 50 0001 C CNN

View File

@@ -0,0 +1 @@
0

BIN
FW/.DS_Store vendored Normal file

Binary file not shown.

5
FW/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

7
FW/.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

39
FW/include/README Normal file
View File

@@ -0,0 +1,39 @@
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html

46
FW/lib/README Normal file
View File

@@ -0,0 +1,46 @@
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html

18
FW/platformio.ini Normal file
View File

@@ -0,0 +1,18 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:m5stack-core2]
platform = espressif32
board = m5stack-core2
framework = arduino
lib_deps =
earlephilhower/ESP8266Audio@^1.9.2
m5stack/M5Core2@^0.0.4
monitor_speed = 115200

451
FW/src/main.cpp Normal file
View File

@@ -0,0 +1,451 @@
/*
March 28, 2021
Made changes to the Example Core2 Web Radio Player from:
https://www.hackster.io/tommyho/arduino-web-radio-player-c4cb23
I see that the actual library for the functions came from:
Earle Philhower III
Who credits his library to : StellaPlayer and libMAD
https://github.com/earlephilhower/ESP8266Audio
*/
//
// m5StreamTest Version 2020.12b (Source/Buffer Tester)
// Board: M5StackCore2 (esp32)
// Author: tommyho510@gmail.com
// Required: Arduino library ESP8266Audio 1.60
//
#include <M5Core2.h>
#include <driver/i2s.h>
#include <WiFi.h>
#include <AudioFileSourceICYStream.h>
#include <AudioFileSource.h>
#include <AudioFileSourceBuffer.h>
#include <AudioFileSourceSPIRAMBuffer.h>
#include <AudioGeneratorMP3.h>
#include <AudioOutputI2S.h>
#include "Free_Fonts.h"
//#include <spiram-fast.h>
const int bufferSize = 128 * 1024; // buffer size in byte
// Enter your WiFi, Station, button settings here:
const char *SSID = "poes";
const char *PASSWORD = "Rijnstraat214";
// Added Charlie FM in Portland Oregon
//http://24083.live.streamtheworld.com:80/KYCHFM_SC
//
//Removed these from the list:
// {"Mega Shuffle", "http://jenny.torontocast.com:8134/stream"},
// {"Way Up Radio", "http://188.165.212.154:8478/stream"},
// {"Asia Dream", "https://igor.torontocast.com:1025/;.-mp3"},
// {"KPop Way Radio", "http://streamer.radio.co/s06b196587/listen"},
// {"SomaFM", "http://ice2.somafm.com/christmas-128-mp3"}
const int stations = 6;// Change Number here if you add feeds!
char * stationList[stations][2] = {
{"Charlie FM", "http://24083.live.streamtheworld.com:80/KYCHFM_SC"},
{"MAXXED Out", "http://149.56.195.94:8015/steam"},
{"Smooth Jazz", "http://sj32.hnux.com/stream?type=http&nocache=3104"},
{"Smooth Lounge", "http://sl32.hnux.com/stream?type=http&nocache=1257"},
{"Classic FM", "http://media-ice.musicradio.com:80/ClassicFMMP3"},
{"Lite Favorites", "http://naxos.cdnstream.com:80/1255_128"}
};
float audioGain = 0.0;
float gainfactor = 0.08;
int currentStationNumber = 0;
unsigned long disUpdate = millis();
AudioGeneratorMP3 *mp3;
AudioFileSourceICYStream *filemp3;
AudioFileSourceBuffer *buffmp3;
AudioOutputI2S *out, *outmp3;
// Draw a + mark centred on x,y
void drawDatumMarker(int x, int y)
{
M5.Lcd.drawLine(x - 5, y, x + 5, y, TFT_GREEN);
M5.Lcd.drawLine(x, y - 5, x, y + 5, TFT_GREEN);
}
/// WIFI Routines *********************
void initwifi() {
M5.Lcd.setTextColor(TFT_BLUE, TFT_BLACK);
M5.Lcd.setTextSize(2);
M5.Lcd.setTextDatum(BC_DATUM);
M5.Lcd.setFreeFont(FSB12);
M5.Lcd.drawString("Connecting..", M5.Lcd.width()/2, 200, GFXFF);
WiFi.disconnect();
WiFi.softAPdisconnect(true);
WiFi.mode(WIFI_STA);
WiFi.begin(SSID, PASSWORD);
// Try forever
int i = 0;
while (WiFi.status() != WL_CONNECTED) {
Serial.print("STATUS(Connecting to WiFi) ");
delay(1500);
i = i + 1;
if (i > 15) {
ESP.restart();
}
}
Serial.println("\nWiFi Connected!\n");
}
// Display network information on the LCD
void displayWiFiInformation() {
M5.Lcd.setTextColor(TFT_WHITE, TFT_BLACK);
M5.Lcd.setTextSize(1);
M5.Lcd.setFreeFont(FSS9);
M5.Lcd.setTextDatum(BL_DATUM);
M5.Lcd.drawString("Network: ", 10, 165, GFXFF);
M5.Lcd.drawString("IP: " , 10, 190, GFXFF);
M5.Lcd.drawString(SSID, 90, 165, GFXFF);
M5.Lcd.drawString(WiFi.localIP().toString(),40,190,GFXFF);
}
// Update WiFi Signal Strength
void updateWiFiSignal() {
// Display the WiFi Signal Strength
M5.Lcd.setTextColor(TFT_WHITE, TFT_BLACK);
M5.Lcd.setTextSize(1);
M5.Lcd.setFreeFont(FSS9);
M5.Lcd.setTextDatum(BL_DATUM);
M5.Lcd.drawString("WiFi Signal: ", 10, 215, GFXFF);
M5.Lcd.fillRect(112,195,30,20,BLACK);
uint16_t clr = GREEN;
clr = (WiFi.RSSI() < -70) ? TFT_RED : TFT_GREEN;
M5.Lcd.setTextColor(clr, TFT_BLACK);
M5.Lcd.drawString(String(WiFi.RSSI()),115, 215, GFXFF);
}
/// Battery ***************************
// Calculate Battery Useable range (3.2 to 4.1 Volts)
void displayBattery() {
M5.Lcd.setTextSize(1);
M5.Lcd.setFreeFont(FSS9);
int maxVolts = 410; // Battery Max volts * 100
int minVolts = 320; // Battery Min Volts * 100
M5.Lcd.setTextColor(TFT_WHITE, TFT_BLACK);
M5.Lcd.setTextSize(1);
char battInfo[5];
dtostrf(M5.Axp.GetBatVoltage(),1,2,battInfo);
String btInfo = "Batt: " + String(battInfo);
M5.Lcd.setTextDatum(BL_DATUM);
M5.Lcd.drawString(btInfo, 230, 215, GFXFF);
// drawDatumMarker(230,215);
int batt = map(M5.Axp.GetBatVoltage() * 100, minVolts, maxVolts, 0 , 10000) / 100.0;
// Draw Battery bar(s) on the right side of the screen
uint16_t clr = GREEN;
for (int x = 9; x >= 0; x--) {
if (x < 3) clr = RED;
else if (x < 6) clr = YELLOW;
M5.Lcd.fillRoundRect(314, (216 - (x * 24)), 6, 21, 2, (batt > (x * 10)) ? clr : BLACK);
M5.Lcd.drawRoundRect(314, (216 - (x * 24)), 6, 21, 2, TFT_LIGHTGREY);
}
}
// MISC ****************************
// Remove the Track information (While changing stations)
void clearTrack() {
M5.Lcd.fillRect(10, 55, 300, 70, TFT_DARKGREY); // Clear the area of old data
M5.Lcd.drawRect(10, 55, 300, 70, BLUE); // Draw a box around the Track Information
}
// Identify buttons at the bottom of screen
void drawButtons() {
M5.Lcd.fillRect(10,220,300,25,YELLOW);
M5.Lcd.setTextColor(TFT_BLACK);
M5.Lcd.setTextSize(1);
M5.Lcd.setTextDatum(TC_DATUM);
M5.Lcd.setFreeFont(FSB12);
M5.Lcd.drawString("Volume", 55,220, GFXFF);
M5.Lcd.drawString("Station", M5.Lcd.width()/2,220, GFXFF);
M5.Lcd.drawString("Mute", 270 ,220, GFXFF);
}
// Get the Split String Value Used for Band or Track
String getValue(String data, char separator, int index) {
int found = 0;
int strIndex[] = {0, -1};
int maxIndex = data.length() - 1;
for (int i = 0; i <= maxIndex && found <= index; i++) {
if (data.charAt(i) == separator || i == maxIndex) {
found++;
strIndex[0] = strIndex[1] + 1;
strIndex[1] = (i == maxIndex) ? i + 1 : i;
}
}
return found > index ? data.substring(strIndex[0], strIndex[1]) : "";
}
// MP3, Audio etc. ****************************
// Called when a metadata event occurs (i.e. an ID3 tag, an ICY block, etc.
void MDCallback(void *cbData, const char *type, bool isUnicode, const char *string) {
const char *ptr = reinterpret_cast<const char *>(cbData);
(void) isUnicode; // Punt this ball for now
// Note that the type and string may be in PROGMEM, so copy them to RAM for printf
char s1[32], s2[64];
strncpy_P(s1, type, sizeof(s1));
s1[sizeof(s1) - 1] = 0;
strncpy_P(s2, string, sizeof(s2));
s2[sizeof(s2) - 1] = 0;
String band = getValue(s2, '-', 0);
band.trim();
String track = getValue(s2, '-', 1);
track.trim();
if(band.length() > 30) band = band.substring(0, 30);
if(track.length() > 30) track = track.substring(0, 30);
// Serial.printf("Band: %s Track: %s \n", band.c_str(), track.c_str());
Serial.printf("METADATA(%s) '%s' = '%s'\n", ptr, s1, s2);
M5.Lcd.setTextSize(1);
M5.Lcd.setTextColor(TFT_BLACK, TFT_DARKGREY );
clearTrack();
M5.Lcd.setTextDatum(MC_DATUM);
M5.Lcd.setFreeFont(FSS9);
if(band.length() < 20) M5.Lcd.setFreeFont(FSS12); // Select the font
M5.Lcd.drawString(band, M5.Lcd.width()/2, 72, GFXFF);
M5.Lcd.setFreeFont(FSS9);
if(track.length() < 20) M5.Lcd.setFreeFont(FSS12);
// M5.Lcd.setTextDatum(MC_DATUM);
M5.Lcd.drawString(track, M5.Lcd.width()/2, 107, GFXFF);
Serial.flush();
// Make sure the new song information does not overwrite the battery
displayBattery();
}
// Called when there's a warning or error (like a buffer underflow or decode hiccup)
void StatusCallback(void *cbData, int code, const char *string) {
const char *ptr = reinterpret_cast<const char *>(cbData);
// Note that the string may be in PROGMEM, so copy it to RAM for printf
char s1[64];
strncpy_P(s1, string, sizeof(s1));
s1[sizeof(s1) - 1] = 0;
Serial.printf("STATUS(%s) '%d' = '%s'\n", ptr, code, s1);
Serial.flush();
}
void stopPlaying() {
Serial.printf("Stopping MP3...\n");
if (mp3) {
mp3->stop();
delete mp3;
mp3 = NULL;
}
Serial.printf("MP3 Stopped, Stopping Buffer...\n");
if (buffmp3) {
buffmp3->close();
delete buffmp3;
buffmp3 = NULL;
}
Serial.printf("Buffer stopped... Stopping File ...\n");
if (filemp3) {
filemp3->close();
delete filemp3;
filemp3 = NULL;
}
if (outmp3) {
// filemp3->close();
delete outmp3;
outmp3 = NULL;
}
Serial.printf("STATUS(Stopped)\n");
Serial.flush();
}
// Update the Station Label
void updateStation(String message) {
M5.Lcd.fillRect(10, 10, 300, 35, BLACK); // Clear out other information on the line
M5.Lcd.setTextColor(TFT_GREEN, TFT_BLACK);
M5.Lcd.setTextSize(1);
M5.Lcd.setTextDatum(TC_DATUM);
M5.Lcd.setFreeFont(FSB18);
M5.Lcd.drawString(message, M5.Lcd.width()/2, 10, GFXFF);
}
// Change to the next station
void changeStation() {
updateStation("Changing..Wait..");
currentStationNumber++;
if (currentStationNumber >= stations) currentStationNumber = 0;
Serial.printf("\n******** Changing to channel number: %i\n", currentStationNumber);
}
// Change the volume level
// Update the volume graphic
void changeVolume() {
audioGain += 1.0;
if (audioGain > 10.0) {
audioGain = 1.0;
}
if (audioGain < 0.0) {
audioGain = 0.0;
}
int xtPos = 260; // X Position for the Volume indication
outmp3->SetGain(audioGain * gainfactor); // Change Volume to new level
//---------New Volume Bar on left side of LCD *******************
// Draw Volume bar(s) on the left side of the screen
uint16_t clr = RED;
for (int x = 9; x >= 0; x--) {
if (x < 5) clr = GREEN;
else if (x < 8) clr = TFT_ORANGE;
M5.Lcd.fillRoundRect(0, (216 - (x * 24)), 6, 21, 2, (audioGain > x ) ? clr : BLACK);
M5.Lcd.drawRoundRect(0, (216 - (x * 24)), 6, 21, 2, TFT_LIGHTGREY);
}
// Alternate Draw the Volume Indicator (Triangle)
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + 50, 20, xtPos + 50, 0, BLACK); // Clear out old Meter
// if (audioGain > 9) { // If we are full, draw red, blue and green
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * audioGain), 20, xtPos + (5 * audioGain), 20 - (2 * audioGain), RED);
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * 9), 20, xtPos + (5 * 9), 20 - (2 * 9), BLUE);
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * 6), 20, xtPos + (5 * 6), 20 - (2 * 6), GREEN);
// }
// else if (audioGain >= 6) { // if above 5, draw blue and green
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * audioGain), 20, xtPos + (5 * audioGain), 20 - (2 * audioGain), BLUE);
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * 6), 20, xtPos + (5 * 6), 20 - (2 * 6), GREEN);
// }
// else if (audioGain >= 1)
// M5.Lcd.fillTriangle(xtPos, 20, xtPos + (5 * audioGain), 20, xtPos + (5 * audioGain), 20 - (2 * audioGain), GREEN);
}
/*
Setup output to I2S Device
Set Pins and Gain
Set FileSource as web radio station
Join FileSource to get MetaData
Create Buffer for data
Register Callback for...?
Begin the MP3 playback
*/
void playMP3() {
outmp3 = new AudioOutputI2S(0, 0); // Output to builtInDAC
outmp3->SetPinout(12, 0, 2);
outmp3->SetOutputModeMono(true);
outmp3->SetGain(audioGain * gainfactor);
filemp3 = new AudioFileSourceICYStream(stationList[currentStationNumber][1]);
filemp3->RegisterMetadataCB(MDCallback, (void*)"ICY"); // ID3TAG // ICY
// StreamTitle
buffmp3 = new AudioFileSourceBuffer(filemp3, bufferSize);
buffmp3->RegisterStatusCB(StatusCallback, (void*)"buffer");
mp3 = new AudioGeneratorMP3();
mp3->RegisterStatusCB(StatusCallback, (void*)"mp3");
mp3->begin(buffmp3, outmp3);
Serial.printf("STATUS(URL) %s %s\n", stationList[currentStationNumber][0], stationList[currentStationNumber][1]);
Serial.flush();
updateStation(String(stationList[currentStationNumber][0]));
}
void loopMP3() {
if (mp3 != NULL) { // To avoid crash while changing stationsI
if (mp3->isRunning()) {
if (!mp3->loop()) mp3->stop();
} else {
Serial.printf("Status(Stream) Stopped \n");
clearTrack();
changeStation();
// stopPlaying();
delay(1000);
playMP3();
}
}
}
// General Arduino Routines
void setup() {
Serial.begin(115200);
M5.begin();
M5.Axp.SetSpkEnable(true);
// M5.Lcd.setRotation(3);
M5.Lcd.fillScreen(BLACK);
M5.Lcd.setTextWrap(false);
M5.Lcd.setTextColor(TFT_GREEN, TFT_BLACK);
M5.Lcd.setTextSize(1);
M5.Lcd.setTextDatum(TC_DATUM);
M5.Lcd.setFreeFont(FSB18);
M5.Lcd.drawString("Core2 Web Radio", M5.Lcd.width()/2, 20, GFXFF);
initwifi();
delay(500);
M5.Lcd.clear();
drawButtons();
playMP3();
changeVolume(); // To update Volume setting and graphic
displayWiFiInformation();
}
void loop() {
loopMP3();
M5.update();
if (m5.BtnA.wasPressed()) { //Change Volume(Button A)
changeVolume();
}
if (m5.BtnB.wasPressed()) { //Change Station(Button B)
clearTrack();
changeStation();
stopPlaying();
playMP3();
}
if (m5.BtnC.wasPressed()) { //Mute (Button C)
audioGain = -1.0;
changeVolume();
}
// Update the battery voltage, and WiFi Signal every second
if ((disUpdate + 1000) < millis()) {
disUpdate = millis();
displayBattery();
updateWiFiSignal();
}
}

11
FW/test/README Normal file
View File

@@ -0,0 +1,11 @@
This directory is intended for PlatformIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html

13886
STM32Cube/.metadata/.ide.log Normal file

File diff suppressed because it is too large Load Diff

View File

93
STM32Cube/.metadata/.log Normal file
View File

@@ -0,0 +1,93 @@
!SESSION 2021-08-01 19:00:19.535 -----------------------------------------------
eclipse.buildId=Version 1.7.0
java.version=11.0.10
java.vendor=AdoptOpenJDK
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments: -keyring /Users/willemoldemans/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/willemoldemans/.eclipse_keyring
!ENTRY com.st.stm32cube.ide.mcu.informationcenter 1 1 2021-08-01 19:00:46.189
!MESSAGE Log4j initialized with config file /Users/willemoldemans/Documents/PROJECTEN/leo_muziekdoos/STM32Cube/.metadata/.log4j.xml
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2021-08-01 19:00:49.347
!MESSAGE Started RMI Server, listening on port 41337
!ENTRY com.st.stm32cube.ide.mcu.ide 1 1 2021-08-01 19:00:55.988
!MESSAGE ProjectImporter: already registered
!ENTRY org.eclipse.equinox.p2.core 4 0 2021-08-01 19:03:18.922
!MESSAGE Provisioning exception
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: HTTP Server 'Bad Gateway' : https://download.eclipse.org/technology/epp/packages/2021-03/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:247)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:69)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:89)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:676)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:171)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:113)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:124)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:676)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.getAvailableRepositories(UpdateChecker.java:152)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:130)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:78)
Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: HttpComponents connection error response code 502.
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:278)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2021-08-01 19:03:18.923
!MESSAGE HTTP Server 'Bad Gateway' : https://download.eclipse.org/technology/epp/packages/2021-03/content.xml
!STACK 1
org.eclipse.ecf.filetransfer.BrowseFileTransferException: HttpComponents connection error response code 502.
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:278)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 2 org.eclipse.ecf.identity 4 0 2021-08-01 19:03:18.923
!MESSAGE HttpComponents connection error response code 502.
!ENTRY org.eclipse.equinox.p2.metadata.repository 4 1002 2021-08-01 19:03:18.925
!MESSAGE Unable to read repository at https://download.eclipse.org/releases/2021-03.
!STACK 1
org.eclipse.equinox.p2.core.ProvisionException: HTTP Server 'Bad Gateway' : https://download.eclipse.org/technology/epp/packages/2021-03/content.xml
at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:247)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:69)
at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:89)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:676)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:171)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.<init>(CompositeMetadataRepository.java:113)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:124)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:63)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:775)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:676)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:110)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:105)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.getAvailableRepositories(UpdateChecker.java:152)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker.checkForUpdates(UpdateChecker.java:130)
at org.eclipse.equinox.internal.p2.updatechecker.UpdateChecker$UpdateCheckThread.run(UpdateChecker.java:78)
Caused by: org.eclipse.ecf.filetransfer.BrowseFileTransferException: HttpComponents connection error response code 502.
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:278)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 1 org.eclipse.equinox.p2.transport.ecf 4 1002 2021-08-01 19:03:18.926
!MESSAGE HTTP Server 'Bad Gateway' : https://download.eclipse.org/technology/epp/packages/2021-03/content.xml
!STACK 1
org.eclipse.ecf.filetransfer.BrowseFileTransferException: HttpComponents connection error response code 502.
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:278)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
!SUBENTRY 2 org.eclipse.ecf.identity 4 0 2021-08-01 19:03:18.926
!MESSAGE HttpComponents connection error response code 502.
!ENTRY org.eclipse.cdt.core 1 0 2021-08-01 19:03:37.046
!MESSAGE Indexed 'leo_muziekdoos' (21 sources, 81 headers) in 3.07 sec: 4,274 declarations; 17,888 references; 0 unresolved inclusions; 1 syntax errors; 2 unresolved names (0.009%)

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="DEBUGFILE" class="org.apache.log4j.RollingFileAppender">
<param name="Append" value="true"/>
<param name="File" value="/Users/willemoldemans/Documents/PROJECTEN/leo_muziekdoos/STM32Cube/.metadata/.ide.log"/>
<param name="MaxBackupIndex" value="1"/>
<param name="MaxFileSize" value="50MB"/>
<param name="Threshold" value="INFO"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss,SSS} [%p] %c{1}:%L - %m%n"/>
</layout>
</appender>
<root>
<level value="ALL"/>
<appender-ref ref="DEBUGFILE"/>
</root>
</log4j:configuration>

View File

@@ -0,0 +1 @@
*** SESSION Aug 01, 2021 19:00:44.889 ------------------------------------------

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="org.eclipse.cdt.internal.ui.MakeView">
</section>
</section>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="completion_proposal_size">
</section>
<section name="org.eclipse.cdt.ui.text.hover.CMacroExpansionExploration">
</section>
</section>

View File

@@ -0,0 +1,7 @@
20:00:09 **** Incremental Build of configuration Debug for project leo_muziekdoos ****
make -j7 all
arm-none-eabi-size leo_muziekdoos.elf
text data bss dec hex filename
4644 20 1572 6236 185c leo_muziekdoos.elf
Finished building: default.size.stdout

View File

@@ -0,0 +1,10 @@
20:00:09 **** Incremental Build of configuration Debug for project leo_muziekdoos ****
make -j7 all
arm-none-eabi-size leo_muziekdoos.elf
text data bss dec hex filename
4644 20 1572 6236 185c leo_muziekdoos.elf
Finished building: default.size.stdout
20:00:09 Build Finished. 0 errors, 0 warnings. (took 407ms)

View File

@@ -0,0 +1,5 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
66BE74F758C12D739921AEA421D593D3=0
8DF89ED150041C4CBC7CB9A9CAA90856=3F8619B5B3B7CDD071F792958AF10C84
DC22A860405A8BF2F2C095E5B6529F12=3F8619B5B3B7CDD071F792958AF10C84
eclipse.preferences.version=1

View File

@@ -0,0 +1,3 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
DC22A860405A8BF2F2C095E5B6529F12=3F8619B5B3B7CDD071F792958AF10C84
eclipse.preferences.version=1

View File

@@ -0,0 +1,2 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
eclipse.preferences.version=1

View File

@@ -0,0 +1,5 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
66BE74F758C12D739921AEA421D593D3=1
8DF89ED150041C4CBC7CB9A9CAA90856=3F8619B5B3B7CDD071F792958AF10C84
DC22A860405A8BF2F2C095E5B6529F12=3F8619B5B3B7CDD071F792958AF10C84
eclipse.preferences.version=1

View File

@@ -0,0 +1,5 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
66BE74F758C12D739921AEA421D593D3=2
8DF89ED150041C4CBC7CB9A9CAA90856=3F8619B5B3B7CDD071F792958AF10C84
DC22A860405A8BF2F2C095E5B6529F12=3F8619B5B3B7CDD071F792958AF10C84
eclipse.preferences.version=1

View File

@@ -0,0 +1,4 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
66BE74F758C12D739921AEA421D593D3=0
DC22A860405A8BF2F2C095E5B6529F12=3F8619B5B3B7CDD071F792958AF10C84
eclipse.preferences.version=1

View File

@@ -0,0 +1,3 @@
DeviceConfigurationTool.AskToSwitchToCubeMxPerspective=false
DeviceConfigurationTool.SwitchToCubeMxPerspective=true
eclipse.preferences.version=1

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
project_presentation/setHierarchicalMode=false

View File

@@ -0,0 +1,16 @@
eclipse.preferences.version=1
indexer/indexAllFiles=true
indexer/indexAllHeaderVersions=false
indexer/indexImportLocation=.settings/cdt-index.zip
indexer/indexOnOpen=false
indexer/indexUnusedHeadersWithAlternateLang=false
indexer/indexUnusedHeadersWithDefaultLang=true
indexer/indexerId=org.eclipse.cdt.core.fastIndexer
indexer/preferenceScope=1
indexer/skipFilesLargerThanMB=8
indexer/skipImplicitReferences=false
indexer/skipIncludedFilesLargerThanMB=16
indexer/skipMacroReferences=false
indexer/skipReferences=false
indexer/skipTypeReferences=false
indexer/useHeuristicIncludeResolution=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.cdt.debug.core.cDebug.default_source_containers=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<sourceLookupDirector>\n <sourceContainers duplicates\="false">\n <container memento\="AbsolutePath" typeId\="org.eclipse.cdt.debug.core.containerType.absolutePath"/>\n <container memento\="programRelativePath" typeId\="org.eclipse.cdt.debug.core.containerType.programRelativePath"/>\n <container memento\="&lt;?xml version\=&quot;1.0&quot; encoding\=&quot;UTF-8&quot; standalone\=&quot;no&quot;?&gt;&\#10;&lt;project referencedProjects\=&quot;true&quot;/&gt;&\#10;" typeId\="org.eclipse.cdt.debug.core.containerType.project"/>\n </sourceContainers>\n</sourceLookupDirector>\n

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
properties/leo_muziekdoos.null.75758409/com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915=com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.670196154\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.882781726\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915\=rebuildState\\\=true\\nrcState\\\=0\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.227668595\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.335579717\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.1782083415\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.1001568561\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.1319027747\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.659901484\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1838855663\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.492125800\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.1584543015\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.994706521\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.372303207\=rebuildState\\\=false\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.2005914122\=rebuildState\\\=false\\n\n
properties/leo_muziekdoos.null.75758409/com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420=com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.1319870685\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.1223436029\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.917509297\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1568835848\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.939882398\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.1337314943\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.1484523683\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.1026237772\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.1711848089\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.223961666\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.142054781\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.606202164\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.234507284\=rebuildState\\\=true\\n\ncom.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1220731402\=rebuildState\\\=true\\n\n

View File

@@ -0,0 +1,5 @@
eclipse.preferences.version=1
spelling_locale=en_GB
spelling_locale_initialized=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
version=1

View File

@@ -0,0 +1,5 @@
//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.applicationLaunchType=org.eclipse.cdt.dsf.gdb.launch.localCLaunch,debug,;org.eclipse.cdt.cdi.launch.localCLaunch,run,;
//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.attachLaunchType=org.eclipse.cdt.dsf.gdb.launch.attachCLaunch,debug,;
//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.postmortemLaunchType=org.eclipse.cdt.dsf.gdb.launch.coreCLaunch,debug,;
//org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.launch.remoteApplicationLaunchType=org.eclipse.rse.remotecdt.dsf.debug,debug,;
eclipse.preferences.version=1

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\n<launchPerspectives/>\n
preferredTargets=org.eclipse.cdt.debug.ui.toggleCBreakpointTarget,org.eclipse.cdt.debug.ui.toggleCDynamicPrintfTarget\:org.eclipse.cdt.debug.ui.toggleCBreakpointTarget|

View File

@@ -0,0 +1,2 @@
browsers=<?xml version\="1.0" encoding\="UTF-8"?>\n<web-browsers current\="0">\n<system/>\n<external location\="/Applications/Firefox.app" name\="Firefox"/>\n</web-browsers>
eclipse.preferences.version=1

View File

@@ -0,0 +1,4 @@
eclipse.preferences.version=1
platformState=1627837220189
quickStart=false
tipsAndTricks=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.ui.navigator.ProjectExplorer.filterActivation=\:org.eclipse.ui.navigator.resources.filters.startsWithDot\:org.eclipse.cdt.ui.navigator.filters.AnonymousStructFilter\:org.eclipse.ui.navigator.resources.nested.HideTopLevelProjectIfNested\:org.eclipse.ui.navigator.resources.nested.HideFolderWhenProjectIsShownAsNested\:org.eclipse.cdt.ui.navigator.filters.ForwardDeclarationFilter\:

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
showIntro=false

View File

@@ -0,0 +1,10 @@
//org.eclipse.ui.commands/state/com.st.stm32cube.ide.mcu.buildanalyzer.showstate/org.eclipse.ui.commands.radioState=human
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
eclipse.preferences.version=1
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_BG_START=255,255,255
org.eclipse.ui.workbench.ACTIVE_NOFOCUS_TAB_TEXT_COLOR=16,16,16
org.eclipse.ui.workbench.ACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.ACTIVE_TAB_BG_START=230,230,230
org.eclipse.ui.workbench.INACTIVE_TAB_BG_END=255,255,255
org.eclipse.ui.workbench.INACTIVE_TAB_BG_START=240,240,240

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
processedSchemes=,eclipse+command,eclipse+mpc

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<section name="Workbench">
<section name="ExternalProjectImportWizard">
<item key="WizardProjectsImportPage.STORE_NESTED_PROJECTS" value="true"/>
</section>
</section>

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<workingSetManager>
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1627837246118_0" label="Window Working Set" name="Aggregate for window 1627837246117"/>
</workingSetManager>

View File

@@ -0,0 +1,3 @@
#Sun Aug 01 19:00:43 CEST 2021
org.eclipse.core.runtime=2
org.eclipse.platform=4.19.0.v20210303-1800

View File

@@ -0,0 +1,222 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915" name="Debug" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug">
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug.994706521" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.debug">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.1073570181" name="MCU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F411CEUx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1181626570" name="CPU" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.1381741500" name="Core" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.576367147" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.200180792" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.817455689" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.505035099" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F411CEUx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../FATFS/App | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../FATFS/Target | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FatFs/src || || || USE_HAL_DRIVER | STM32F411xE || || Drivers | Core/Startup | Middlewares | Core | FATFS || || || ${workspace_loc:/${ProjName}/STM32F411CEUX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1874619563" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/leo_muziekdoos}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.815322329" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.372303207" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.107491662" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g3" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols.1551095589" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.definedsymbols" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.1771580693" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.882781726" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.1768517893" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g3" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.1599255507" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.360466175" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F411xE"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1580281349" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="../Core/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
<listOptionValue builtIn="false" value="../FATFS/Target"/>
<listOptionValue builtIn="false" value="../FATFS/App"/>
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FatFs/src"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1055794950" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1838855663" name="MCU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.93528421" name="Debug level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g3" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1557592879" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols.2081405228" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="DEBUG"/>
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F411xE"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.includepaths.1967033386" name="Include paths (-I)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="../Core/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
<listOptionValue builtIn="false" value="../FATFS/Target"/>
<listOptionValue builtIn="false" value="../FATFS/App"/>
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FatFs/src"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp.1694537499" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.659901484" name="MCU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.1319027747" name="MCU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.script.267070287" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.script" value="${workspace_loc:/${ProjName}/STM32F411CEUX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.input.1025922384" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.1001568561" name="MCU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.492125800" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.670196154" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.2005914122" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.1584543015" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.335579717" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.1782083415" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.227668595" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="FATFS"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactExtension="elf" artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420" name="Release" parent="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release">
<folderInfo id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420." name="/" resourcePath="">
<toolChain id="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release.1711848089" name="MCU ARM GCC" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.toolchain.exe.release">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu.2006021363" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_mcu" useByScannerDiscovery="true" value="STM32F411CEUx" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid.1973154983" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_cpuid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid.1671652045" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_coreid" useByScannerDiscovery="false" value="0" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.1958685822" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.264650981" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1369980081" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.136868528" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.5 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F411CEUx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../FATFS/App | ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../FATFS/Target | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FatFs/src || || || USE_HAL_DRIVER | STM32F411xE || || Drivers | Core/Startup | Middlewares | Core | FATFS || || || ${workspace_loc:/${ProjName}/STM32F411CEUX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || " valueType="string"/>
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.258309731" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
<builder buildPath="${workspace_loc:/leo_muziekdoos}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.2081024983" managedBuildOn="true" name="Gnu Make Builder.Release" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.1319870685" name="MCU GCC Assembler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.785454966" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.option.debuglevel.value.g0" valueType="enumerated"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input.330305545" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.assembler.input"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.142054781" name="MCU GCC Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.876712462" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.512302904" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols.854715674" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F411xE"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths.1428059860" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="../Core/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
<listOptionValue builtIn="false" value="../FATFS/Target"/>
<listOptionValue builtIn="false" value="../FATFS/App"/>
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FatFs/src"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.958012007" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1568835848" name="MCU G++ Compiler" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.1343164486" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.debuglevel.value.g0" valueType="enumerated"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.1356588495" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.value.os" valueType="enumerated"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols.768501656" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
<listOptionValue builtIn="false" value="USE_HAL_DRIVER"/>
<listOptionValue builtIn="false" value="STM32F411xE"/>
</option>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.includepaths.2048197553" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.includepaths" useByScannerDiscovery="false" valueType="includePath">
<listOptionValue builtIn="false" value="../Core/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc"/>
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
<listOptionValue builtIn="false" value="../FATFS/Target"/>
<listOptionValue builtIn="false" value="../FATFS/App"/>
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FatFs/src"/>
</option>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp.714301207" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.223961666" name="MCU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.917509297" name="MCU G++ Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.script.1300166399" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.option.script" value="${workspace_loc:/${ProjName}/STM32F411CEUX_FLASH.ld}" valueType="string"/>
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.input.946034363" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.linker.input">
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
</inputType>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver.606202164" name="MCU GCC Archiver" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.archiver"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size.1484523683" name="MCU Size" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.size"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile.1220731402" name="MCU Output Converter list file" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objdump.listfile"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex.1026237772" name="MCU Output Converter Hex" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.hex"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary.1337314943" name="MCU Output Converter Binary" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.binary"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog.939882398" name="MCU Output Converter Verilog" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.verilog"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec.234507284" name="MCU Output Converter Motorola S-rec" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.srec"/>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec.1223436029" name="MCU Output Converter Motorola S-rec with symbols" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.objcopy.symbolsrec"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="FATFS"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.pathentry"/>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="leo_muziekdoos.null.75758409" name="leo_muziekdoos"/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.142054781;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.958012007">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.882781726;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1055794950">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1838855663;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp.1694537499">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
<scannerConfigBuildInfo instanceId="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420;com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420.;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.1568835848;com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.input.cpp.714301207">
<autodiscovery enabled="false" problemReportingEnabled="true" selectedProfileId=""/>
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="refreshScope"/>
</cproject>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>leo_muziekdoos</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.st.stm32cube.ide.mcu.MCUProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeProjectNature</nature>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature</nature>
<nature>com.st.stm32cube.ide.mcu.MCURootProjectNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1013491915" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-118100671813571006" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1013356420" name="Release">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-118100671813571006" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
</project>

View File

@@ -0,0 +1,5 @@
635E684B79701B039C64EA45C3F84D30=4C9A2D143A84AF204D3B0D0F8534995D
66BE74F758C12D739921AEA421D593D3=2
8DF89ED150041C4CBC7CB9A9CAA90856=3F8619B5B3B7CDD071F792958AF10C84
DC22A860405A8BF2F2C095E5B6529F12=013BB9989D888E89C805AA3749E51DAF
eclipse.preferences.version=1

View File

@@ -0,0 +1,95 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */
/* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/
void Error_Handler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
#define DAC_DATA_Pin GPIO_PIN_1
#define DAC_DATA_GPIO_Port GPIOA
#define MEAS_VBATT_Pin GPIO_PIN_2
#define MEAS_VBATT_GPIO_Port GPIOA
#define BTN_PWR_Pin GPIO_PIN_0
#define BTN_PWR_GPIO_Port GPIOB
#define DAC_LRCLK_Pin GPIO_PIN_12
#define DAC_LRCLK_GPIO_Port GPIOB
#define DAC_CLK_Pin GPIO_PIN_13
#define DAC_CLK_GPIO_Port GPIOB
#define PW_HOLD_Pin GPIO_PIN_14
#define PW_HOLD_GPIO_Port GPIOB
#define USB_DM_Pin GPIO_PIN_11
#define USB_DM_GPIO_Port GPIOA
#define USB_DP_Pin GPIO_PIN_12
#define USB_DP_GPIO_Port GPIOA
#define SWDIO_Pin GPIO_PIN_13
#define SWDIO_GPIO_Port GPIOA
#define SWCLK_Pin GPIO_PIN_14
#define SWCLK_GPIO_Port GPIOA
#define MEAS_EN_Pin GPIO_PIN_3
#define MEAS_EN_GPIO_Port GPIOB
#define SD_DET_Pin GPIO_PIN_9
#define SD_DET_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
#ifdef __cplusplus
}
#endif
#endif /* __MAIN_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,492 @@
/**
******************************************************************************
* @file stm32f4xx_hal_conf_template.h
* @author MCD Application Team
* @brief HAL configuration template file.
* This file should be copied to the application folder and renamed
* to stm32f4xx_hal_conf.h.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F4xx_HAL_CONF_H
#define __STM32F4xx_HAL_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Exported types ------------------------------------------------------------*/
/* Exported constants --------------------------------------------------------*/
/* ########################## Module Selection ############################## */
/**
* @brief This is the list of modules to be used in the HAL driver
*/
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
/* #define HAL_CRYP_MODULE_ENABLED */
/* #define HAL_CAN_MODULE_ENABLED */
/* #define HAL_CRC_MODULE_ENABLED */
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */
/* #define HAL_CRYP_MODULE_ENABLED */
/* #define HAL_DAC_MODULE_ENABLED */
/* #define HAL_DCMI_MODULE_ENABLED */
/* #define HAL_DMA2D_MODULE_ENABLED */
/* #define HAL_ETH_MODULE_ENABLED */
/* #define HAL_NAND_MODULE_ENABLED */
/* #define HAL_NOR_MODULE_ENABLED */
/* #define HAL_PCCARD_MODULE_ENABLED */
/* #define HAL_SRAM_MODULE_ENABLED */
/* #define HAL_SDRAM_MODULE_ENABLED */
/* #define HAL_HASH_MODULE_ENABLED */
/* #define HAL_I2C_MODULE_ENABLED */
#define HAL_I2S_MODULE_ENABLED
/* #define HAL_IWDG_MODULE_ENABLED */
/* #define HAL_LTDC_MODULE_ENABLED */
/* #define HAL_RNG_MODULE_ENABLED */
/* #define HAL_RTC_MODULE_ENABLED */
/* #define HAL_SAI_MODULE_ENABLED */
#define HAL_SD_MODULE_ENABLED
/* #define HAL_MMC_MODULE_ENABLED */
#define HAL_SPI_MODULE_ENABLED
/* #define HAL_TIM_MODULE_ENABLED */
#define HAL_UART_MODULE_ENABLED
/* #define HAL_USART_MODULE_ENABLED */
/* #define HAL_IRDA_MODULE_ENABLED */
/* #define HAL_SMARTCARD_MODULE_ENABLED */
/* #define HAL_SMBUS_MODULE_ENABLED */
/* #define HAL_WWDG_MODULE_ENABLED */
/* #define HAL_PCD_MODULE_ENABLED */
#define HAL_HCD_MODULE_ENABLED
/* #define HAL_DSI_MODULE_ENABLED */
/* #define HAL_QSPI_MODULE_ENABLED */
/* #define HAL_QSPI_MODULE_ENABLED */
/* #define HAL_CEC_MODULE_ENABLED */
/* #define HAL_FMPI2C_MODULE_ENABLED */
/* #define HAL_FMPSMBUS_MODULE_ENABLED */
/* #define HAL_SPDIFRX_MODULE_ENABLED */
/* #define HAL_DFSDM_MODULE_ENABLED */
/* #define HAL_LPTIM_MODULE_ENABLED */
#define HAL_GPIO_MODULE_ENABLED
#define HAL_EXTI_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED
#define HAL_RCC_MODULE_ENABLED
#define HAL_FLASH_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_CORTEX_MODULE_ENABLED
/* ########################## HSE/HSI Values adaptation ##################### */
/**
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE 24000000U /*!< Value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSE_STARTUP_TIMEOUT)
#define HSE_STARTUP_TIMEOUT 100U /*!< Time out for HSE start up, in ms */
#endif /* HSE_STARTUP_TIMEOUT */
/**
* @brief Internal High Speed oscillator (HSI) value.
* This value is used by the RCC HAL module to compute the system frequency
* (when HSI is used as system clock source, directly or through the PLL).
*/
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
/**
* @brief Internal Low Speed oscillator (LSI) value.
*/
#if !defined (LSI_VALUE)
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
The real value may vary depending on the variations
in voltage and temperature.*/
/**
* @brief External Low Speed oscillator (LSE) value.
*/
#if !defined (LSE_VALUE)
#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
#endif /* LSE_VALUE */
#if !defined (LSE_STARTUP_TIMEOUT)
#define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
#endif /* LSE_STARTUP_TIMEOUT */
/**
* @brief External clock source for I2S peripheral
* This value is used by the I2S HAL module to compute the I2S clock source
* frequency, this source is inserted directly through I2S_CKIN pad.
*/
#if !defined (EXTERNAL_CLOCK_VALUE)
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External audio frequency in Hz*/
#endif /* EXTERNAL_CLOCK_VALUE */
/* Tip: To avoid modifying this file each time you need to use different HSE,
=== you can define the HSE value in your toolchain compiler preprocessor. */
/* ########################### System Configuration ######################### */
/**
* @brief This is the HAL system configuration section
*/
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
#define TICK_INT_PRIORITY 15U /*!< tick interrupt priority */
#define USE_RTOS 0U
#define PREFETCH_ENABLE 1U
#define INSTRUCTION_CACHE_ENABLE 1U
#define DATA_CACHE_ENABLE 1U
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U /* DCMI register callback disabled */
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U /* DFSDM register callback disabled */
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U /* DMA2D register callback disabled */
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U /* DSI register callback disabled */
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
#define USE_HAL_FMPI2C_REGISTER_CALLBACKS 0U /* FMPI2C register callback disabled */
#define USE_HAL_FMPSMBUS_REGISTER_CALLBACKS 0U /* FMPSMBUS register callback disabled */
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U /* LTDC register callback disabled */
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
#define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
#define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U /* QSPI register callback disabled */
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
#define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
#define USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
/* ########################## Assert Selection ############################## */
/**
* @brief Uncomment the line below to expanse the "assert_param" macro in the
* HAL drivers code
*/
/* #define USE_FULL_ASSERT 1U */
/* ################## Ethernet peripheral configuration ##################### */
/* Section 1 : Ethernet peripheral configuration */
/* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
#define MAC_ADDR0 2U
#define MAC_ADDR1 0U
#define MAC_ADDR2 0U
#define MAC_ADDR3 0U
#define MAC_ADDR4 0U
#define MAC_ADDR5 0U
/* Definition of the Ethernet driver buffers size and count */
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for receive */
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
#define ETH_RXBUFNB 4U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
/* Section 2: PHY configuration section */
/* DP83848_PHY_ADDRESS Address*/
#define DP83848_PHY_ADDRESS 0x01U
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
#define PHY_RESET_DELAY 0x000000FFU
/* PHY Configuration delay */
#define PHY_CONFIG_DELAY 0x00000FFFU
#define PHY_READ_TO 0x0000FFFFU
#define PHY_WRITE_TO 0x0000FFFFU
/* Section 3: Common PHY Registers */
#define PHY_BCR ((uint16_t)0x0000U) /*!< Transceiver Basic Control Register */
#define PHY_BSR ((uint16_t)0x0001U) /*!< Transceiver Basic Status Register */
#define PHY_RESET ((uint16_t)0x8000U) /*!< PHY Reset */
#define PHY_LOOPBACK ((uint16_t)0x4000U) /*!< Select loop-back mode */
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) /*!< Set the full-duplex mode at 100 Mb/s */
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) /*!< Set the half-duplex mode at 100 Mb/s */
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) /*!< Set the full-duplex mode at 10 Mb/s */
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) /*!< Set the half-duplex mode at 10 Mb/s */
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) /*!< Enable auto-negotiation function */
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) /*!< Restart auto-negotiation function */
#define PHY_POWERDOWN ((uint16_t)0x0800U) /*!< Select the power down mode */
#define PHY_ISOLATE ((uint16_t)0x0400U) /*!< Isolate PHY from MII */
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) /*!< Auto-Negotiation process completed */
#define PHY_LINKED_STATUS ((uint16_t)0x0004U) /*!< Valid link established */
#define PHY_JABBER_DETECTION ((uint16_t)0x0002U) /*!< Jabber condition detected */
/* Section 4: Extended PHY Registers */
#define PHY_SR ((uint16_t)0x10U) /*!< PHY status register Offset */
#define PHY_SPEED_STATUS ((uint16_t)0x0002U) /*!< PHY Speed mask */
#define PHY_DUPLEX_STATUS ((uint16_t)0x0004U) /*!< PHY Duplex mask */
/* ################## SPI peripheral configuration ########################## */
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
* Activated: CRC code is present inside driver
* Deactivated: CRC code cleaned from driver
*/
#define USE_SPI_CRC 0U
/* Includes ------------------------------------------------------------------*/
/**
* @brief Include module's header file
*/
#ifdef HAL_RCC_MODULE_ENABLED
#include "stm32f4xx_hal_rcc.h"
#endif /* HAL_RCC_MODULE_ENABLED */
#ifdef HAL_GPIO_MODULE_ENABLED
#include "stm32f4xx_hal_gpio.h"
#endif /* HAL_GPIO_MODULE_ENABLED */
#ifdef HAL_EXTI_MODULE_ENABLED
#include "stm32f4xx_hal_exti.h"
#endif /* HAL_EXTI_MODULE_ENABLED */
#ifdef HAL_DMA_MODULE_ENABLED
#include "stm32f4xx_hal_dma.h"
#endif /* HAL_DMA_MODULE_ENABLED */
#ifdef HAL_CORTEX_MODULE_ENABLED
#include "stm32f4xx_hal_cortex.h"
#endif /* HAL_CORTEX_MODULE_ENABLED */
#ifdef HAL_ADC_MODULE_ENABLED
#include "stm32f4xx_hal_adc.h"
#endif /* HAL_ADC_MODULE_ENABLED */
#ifdef HAL_CAN_MODULE_ENABLED
#include "stm32f4xx_hal_can.h"
#endif /* HAL_CAN_MODULE_ENABLED */
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
#include "stm32f4xx_hal_can_legacy.h"
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
#ifdef HAL_CRC_MODULE_ENABLED
#include "stm32f4xx_hal_crc.h"
#endif /* HAL_CRC_MODULE_ENABLED */
#ifdef HAL_CRYP_MODULE_ENABLED
#include "stm32f4xx_hal_cryp.h"
#endif /* HAL_CRYP_MODULE_ENABLED */
#ifdef HAL_DMA2D_MODULE_ENABLED
#include "stm32f4xx_hal_dma2d.h"
#endif /* HAL_DMA2D_MODULE_ENABLED */
#ifdef HAL_DAC_MODULE_ENABLED
#include "stm32f4xx_hal_dac.h"
#endif /* HAL_DAC_MODULE_ENABLED */
#ifdef HAL_DCMI_MODULE_ENABLED
#include "stm32f4xx_hal_dcmi.h"
#endif /* HAL_DCMI_MODULE_ENABLED */
#ifdef HAL_ETH_MODULE_ENABLED
#include "stm32f4xx_hal_eth.h"
#endif /* HAL_ETH_MODULE_ENABLED */
#ifdef HAL_FLASH_MODULE_ENABLED
#include "stm32f4xx_hal_flash.h"
#endif /* HAL_FLASH_MODULE_ENABLED */
#ifdef HAL_SRAM_MODULE_ENABLED
#include "stm32f4xx_hal_sram.h"
#endif /* HAL_SRAM_MODULE_ENABLED */
#ifdef HAL_NOR_MODULE_ENABLED
#include "stm32f4xx_hal_nor.h"
#endif /* HAL_NOR_MODULE_ENABLED */
#ifdef HAL_NAND_MODULE_ENABLED
#include "stm32f4xx_hal_nand.h"
#endif /* HAL_NAND_MODULE_ENABLED */
#ifdef HAL_PCCARD_MODULE_ENABLED
#include "stm32f4xx_hal_pccard.h"
#endif /* HAL_PCCARD_MODULE_ENABLED */
#ifdef HAL_SDRAM_MODULE_ENABLED
#include "stm32f4xx_hal_sdram.h"
#endif /* HAL_SDRAM_MODULE_ENABLED */
#ifdef HAL_HASH_MODULE_ENABLED
#include "stm32f4xx_hal_hash.h"
#endif /* HAL_HASH_MODULE_ENABLED */
#ifdef HAL_I2C_MODULE_ENABLED
#include "stm32f4xx_hal_i2c.h"
#endif /* HAL_I2C_MODULE_ENABLED */
#ifdef HAL_SMBUS_MODULE_ENABLED
#include "stm32f4xx_hal_smbus.h"
#endif /* HAL_SMBUS_MODULE_ENABLED */
#ifdef HAL_I2S_MODULE_ENABLED
#include "stm32f4xx_hal_i2s.h"
#endif /* HAL_I2S_MODULE_ENABLED */
#ifdef HAL_IWDG_MODULE_ENABLED
#include "stm32f4xx_hal_iwdg.h"
#endif /* HAL_IWDG_MODULE_ENABLED */
#ifdef HAL_LTDC_MODULE_ENABLED
#include "stm32f4xx_hal_ltdc.h"
#endif /* HAL_LTDC_MODULE_ENABLED */
#ifdef HAL_PWR_MODULE_ENABLED
#include "stm32f4xx_hal_pwr.h"
#endif /* HAL_PWR_MODULE_ENABLED */
#ifdef HAL_RNG_MODULE_ENABLED
#include "stm32f4xx_hal_rng.h"
#endif /* HAL_RNG_MODULE_ENABLED */
#ifdef HAL_RTC_MODULE_ENABLED
#include "stm32f4xx_hal_rtc.h"
#endif /* HAL_RTC_MODULE_ENABLED */
#ifdef HAL_SAI_MODULE_ENABLED
#include "stm32f4xx_hal_sai.h"
#endif /* HAL_SAI_MODULE_ENABLED */
#ifdef HAL_SD_MODULE_ENABLED
#include "stm32f4xx_hal_sd.h"
#endif /* HAL_SD_MODULE_ENABLED */
#ifdef HAL_SPI_MODULE_ENABLED
#include "stm32f4xx_hal_spi.h"
#endif /* HAL_SPI_MODULE_ENABLED */
#ifdef HAL_TIM_MODULE_ENABLED
#include "stm32f4xx_hal_tim.h"
#endif /* HAL_TIM_MODULE_ENABLED */
#ifdef HAL_UART_MODULE_ENABLED
#include "stm32f4xx_hal_uart.h"
#endif /* HAL_UART_MODULE_ENABLED */
#ifdef HAL_USART_MODULE_ENABLED
#include "stm32f4xx_hal_usart.h"
#endif /* HAL_USART_MODULE_ENABLED */
#ifdef HAL_IRDA_MODULE_ENABLED
#include "stm32f4xx_hal_irda.h"
#endif /* HAL_IRDA_MODULE_ENABLED */
#ifdef HAL_SMARTCARD_MODULE_ENABLED
#include "stm32f4xx_hal_smartcard.h"
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
#ifdef HAL_WWDG_MODULE_ENABLED
#include "stm32f4xx_hal_wwdg.h"
#endif /* HAL_WWDG_MODULE_ENABLED */
#ifdef HAL_PCD_MODULE_ENABLED
#include "stm32f4xx_hal_pcd.h"
#endif /* HAL_PCD_MODULE_ENABLED */
#ifdef HAL_HCD_MODULE_ENABLED
#include "stm32f4xx_hal_hcd.h"
#endif /* HAL_HCD_MODULE_ENABLED */
#ifdef HAL_DSI_MODULE_ENABLED
#include "stm32f4xx_hal_dsi.h"
#endif /* HAL_DSI_MODULE_ENABLED */
#ifdef HAL_QSPI_MODULE_ENABLED
#include "stm32f4xx_hal_qspi.h"
#endif /* HAL_QSPI_MODULE_ENABLED */
#ifdef HAL_CEC_MODULE_ENABLED
#include "stm32f4xx_hal_cec.h"
#endif /* HAL_CEC_MODULE_ENABLED */
#ifdef HAL_FMPI2C_MODULE_ENABLED
#include "stm32f4xx_hal_fmpi2c.h"
#endif /* HAL_FMPI2C_MODULE_ENABLED */
#ifdef HAL_FMPSMBUS_MODULE_ENABLED
#include "stm32f4xx_hal_fmpsmbus.h"
#endif /* HAL_FMPSMBUS_MODULE_ENABLED */
#ifdef HAL_SPDIFRX_MODULE_ENABLED
#include "stm32f4xx_hal_spdifrx.h"
#endif /* HAL_SPDIFRX_MODULE_ENABLED */
#ifdef HAL_DFSDM_MODULE_ENABLED
#include "stm32f4xx_hal_dfsdm.h"
#endif /* HAL_DFSDM_MODULE_ENABLED */
#ifdef HAL_LPTIM_MODULE_ENABLED
#include "stm32f4xx_hal_lptim.h"
#endif /* HAL_LPTIM_MODULE_ENABLED */
#ifdef HAL_MMC_MODULE_ENABLED
#include "stm32f4xx_hal_mmc.h"
#endif /* HAL_MMC_MODULE_ENABLED */
/* Exported macro ------------------------------------------------------------*/
#ifdef USE_FULL_ASSERT
/**
* @brief The assert_param macro is used for function's parameters check.
* @param expr If expr is false, it calls assert_failed function
* which reports the name of the source file and the source
* line number of the call that failed.
* If expr is true, it returns no value.
* @retval None
*/
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
/* Exported functions ------------------------------------------------------- */
void assert_failed(uint8_t* file, uint32_t line);
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */
#ifdef __cplusplus
}
#endif
#endif /* __STM32F4xx_HAL_CONF_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,69 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_it.h
* @brief This file contains the headers of the interrupt handlers.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __STM32F4xx_IT_H
#define __STM32F4xx_IT_H
#ifdef __cplusplus
extern "C" {
#endif
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */
/* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
/* USER CODE END EM */
/* Exported functions prototypes ---------------------------------------------*/
void NMI_Handler(void);
void HardFault_Handler(void);
void MemManage_Handler(void);
void BusFault_Handler(void);
void UsageFault_Handler(void);
void SVC_Handler(void);
void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);
/* USER CODE BEGIN EFP */
/* USER CODE END EFP */
#ifdef __cplusplus
}
#endif
#endif /* __STM32F4xx_IT_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,455 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "fatfs.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
/* USER CODE END PTD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN PM */
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
ADC_HandleTypeDef hadc1;
I2S_HandleTypeDef hi2s4;
SD_HandleTypeDef hsd;
SPI_HandleTypeDef hspi1;
UART_HandleTypeDef huart1;
HCD_HandleTypeDef hhcd_USB_OTG_FS;
/* USER CODE BEGIN PV */
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
static void MX_SDIO_SD_Init(void);
static void MX_USART1_UART_Init(void);
static void MX_I2S4_Init(void);
static void MX_SPI1_Init(void);
static void MX_USB_OTG_FS_HCD_Init(void);
static void MX_ADC1_Init(void);
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_SDIO_SD_Init();
MX_USART1_UART_Init();
MX_FATFS_Init();
MX_I2S4_Init();
MX_SPI1_Init();
MX_USB_OTG_FS_HCD_Init();
MX_ADC1_Init();
/* USER CODE BEGIN 2 */
/* USER CODE END 2 */
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Configure the main internal regulator output voltage
*/
__HAL_RCC_PWR_CLK_ENABLE();
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSE;
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
RCC_OscInitStruct.PLL.PLLM = 12;
RCC_OscInitStruct.PLL.PLLN = 72;
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
RCC_OscInitStruct.PLL.PLLQ = 3;
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
{
Error_Handler();
}
}
/**
* @brief ADC1 Initialization Function
* @param None
* @retval None
*/
static void MX_ADC1_Init(void)
{
/* USER CODE BEGIN ADC1_Init 0 */
/* USER CODE END ADC1_Init 0 */
ADC_ChannelConfTypeDef sConfig = {0};
/* USER CODE BEGIN ADC1_Init 1 */
/* USER CODE END ADC1_Init 1 */
/** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
*/
hadc1.Instance = ADC1;
hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV2;
hadc1.Init.Resolution = ADC_RESOLUTION_12B;
hadc1.Init.ScanConvMode = DISABLE;
hadc1.Init.ContinuousConvMode = DISABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
hadc1.Init.NbrOfConversion = 1;
hadc1.Init.DMAContinuousRequests = DISABLE;
hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
if (HAL_ADC_Init(&hadc1) != HAL_OK)
{
Error_Handler();
}
/** Configure for the selected ADC regular channel its corresponding rank in the sequencer and its sample time.
*/
sConfig.Channel = ADC_CHANNEL_2;
sConfig.Rank = 1;
sConfig.SamplingTime = ADC_SAMPLETIME_3CYCLES;
if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN ADC1_Init 2 */
/* USER CODE END ADC1_Init 2 */
}
/**
* @brief I2S4 Initialization Function
* @param None
* @retval None
*/
static void MX_I2S4_Init(void)
{
/* USER CODE BEGIN I2S4_Init 0 */
/* USER CODE END I2S4_Init 0 */
/* USER CODE BEGIN I2S4_Init 1 */
/* USER CODE END I2S4_Init 1 */
hi2s4.Instance = SPI4;
hi2s4.Init.Mode = I2S_MODE_SLAVE_TX;
hi2s4.Init.Standard = I2S_STANDARD_PHILIPS;
hi2s4.Init.DataFormat = I2S_DATAFORMAT_16B;
hi2s4.Init.MCLKOutput = I2S_MCLKOUTPUT_DISABLE;
hi2s4.Init.AudioFreq = I2S_AUDIOFREQ_32K;
hi2s4.Init.CPOL = I2S_CPOL_LOW;
hi2s4.Init.ClockSource = I2S_CLOCK_PLL;
hi2s4.Init.FullDuplexMode = I2S_FULLDUPLEXMODE_DISABLE;
if (HAL_I2S_Init(&hi2s4) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN I2S4_Init 2 */
/* USER CODE END I2S4_Init 2 */
}
/**
* @brief SDIO Initialization Function
* @param None
* @retval None
*/
static void MX_SDIO_SD_Init(void)
{
/* USER CODE BEGIN SDIO_Init 0 */
/* USER CODE END SDIO_Init 0 */
/* USER CODE BEGIN SDIO_Init 1 */
/* USER CODE END SDIO_Init 1 */
hsd.Instance = SDIO;
hsd.Init.ClockEdge = SDIO_CLOCK_EDGE_RISING;
hsd.Init.ClockBypass = SDIO_CLOCK_BYPASS_DISABLE;
hsd.Init.ClockPowerSave = SDIO_CLOCK_POWER_SAVE_DISABLE;
hsd.Init.BusWide = SDIO_BUS_WIDE_1B;
hsd.Init.HardwareFlowControl = SDIO_HARDWARE_FLOW_CONTROL_DISABLE;
hsd.Init.ClockDiv = 0;
/* USER CODE BEGIN SDIO_Init 2 */
/* USER CODE END SDIO_Init 2 */
}
/**
* @brief SPI1 Initialization Function
* @param None
* @retval None
*/
static void MX_SPI1_Init(void)
{
/* USER CODE BEGIN SPI1_Init 0 */
/* USER CODE END SPI1_Init 0 */
/* USER CODE BEGIN SPI1_Init 1 */
/* USER CODE END SPI1_Init 1 */
/* SPI1 parameter configuration*/
hspi1.Instance = SPI1;
hspi1.Init.Mode = SPI_MODE_MASTER;
hspi1.Init.Direction = SPI_DIRECTION_2LINES;
hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi1.Init.NSS = SPI_NSS_HARD_OUTPUT;
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
hspi1.Init.CRCPolynomial = 10;
if (HAL_SPI_Init(&hspi1) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN SPI1_Init 2 */
/* USER CODE END SPI1_Init 2 */
}
/**
* @brief USART1 Initialization Function
* @param None
* @retval None
*/
static void MX_USART1_UART_Init(void)
{
/* USER CODE BEGIN USART1_Init 0 */
/* USER CODE END USART1_Init 0 */
/* USER CODE BEGIN USART1_Init 1 */
/* USER CODE END USART1_Init 1 */
huart1.Instance = USART1;
huart1.Init.BaudRate = 115200;
huart1.Init.WordLength = UART_WORDLENGTH_8B;
huart1.Init.StopBits = UART_STOPBITS_1;
huart1.Init.Parity = UART_PARITY_NONE;
huart1.Init.Mode = UART_MODE_TX_RX;
huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
huart1.Init.OverSampling = UART_OVERSAMPLING_16;
if (HAL_UART_Init(&huart1) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN USART1_Init 2 */
/* USER CODE END USART1_Init 2 */
}
/**
* @brief USB_OTG_FS Initialization Function
* @param None
* @retval None
*/
static void MX_USB_OTG_FS_HCD_Init(void)
{
/* USER CODE BEGIN USB_OTG_FS_Init 0 */
/* USER CODE END USB_OTG_FS_Init 0 */
/* USER CODE BEGIN USB_OTG_FS_Init 1 */
/* USER CODE END USB_OTG_FS_Init 1 */
hhcd_USB_OTG_FS.Instance = USB_OTG_FS;
hhcd_USB_OTG_FS.Init.Host_channels = 8;
hhcd_USB_OTG_FS.Init.speed = HCD_SPEED_FULL;
hhcd_USB_OTG_FS.Init.dma_enable = DISABLE;
hhcd_USB_OTG_FS.Init.phy_itface = HCD_PHY_EMBEDDED;
hhcd_USB_OTG_FS.Init.Sof_enable = DISABLE;
if (HAL_HCD_Init(&hhcd_USB_OTG_FS) != HAL_OK)
{
Error_Handler();
}
/* USER CODE BEGIN USB_OTG_FS_Init 2 */
/* USER CODE END USB_OTG_FS_Init 2 */
}
/**
* @brief GPIO Initialization Function
* @param None
* @retval None
*/
static void MX_GPIO_Init(void)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOH_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/*Configure GPIO pin Output Level */
HAL_GPIO_WritePin(GPIOB, PW_HOLD_Pin|MEAS_EN_Pin, GPIO_PIN_RESET);
/*Configure GPIO pins : BTN_PWR_Pin SD_DET_Pin */
GPIO_InitStruct.Pin = BTN_PWR_Pin|SD_DET_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/*Configure GPIO pins : PW_HOLD_Pin MEAS_EN_Pin */
GPIO_InitStruct.Pin = PW_HOLD_Pin|MEAS_EN_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
}
/* USER CODE BEGIN 4 */
/* USER CODE END 4 */
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
__disable_irq();
while (1)
{
}
/* USER CODE END Error_Handler_Debug */
}
#ifdef USE_FULL_ASSERT
/**
* @brief Reports the name of the source file and the source line number
* where the assert_param error has occurred.
* @param file: pointer to the source file name
* @param line: assert_param error line source number
* @retval None
*/
void assert_failed(uint8_t *file, uint32_t line)
{
/* USER CODE BEGIN 6 */
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
/* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,538 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_hal_msp.c
* @brief This file provides code for the MSP Initialization
* and de-Initialization codes.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN TD */
/* USER CODE END TD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN Define */
/* USER CODE END Define */
/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN Macro */
/* USER CODE END Macro */
/* Private variables ---------------------------------------------------------*/
/* USER CODE BEGIN PV */
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
/* External functions --------------------------------------------------------*/
/* USER CODE BEGIN ExternalFunctions */
/* USER CODE END ExternalFunctions */
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/**
* Initializes the Global MSP.
*/
void HAL_MspInit(void)
{
/* USER CODE BEGIN MspInit 0 */
/* USER CODE END MspInit 0 */
__HAL_RCC_SYSCFG_CLK_ENABLE();
__HAL_RCC_PWR_CLK_ENABLE();
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE END MspInit 1 */
}
/**
* @brief ADC MSP Initialization
* This function configures the hardware resources used in this example
* @param hadc: ADC handle pointer
* @retval None
*/
void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(hadc->Instance==ADC1)
{
/* USER CODE BEGIN ADC1_MspInit 0 */
/* USER CODE END ADC1_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_ADC1_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
/**ADC1 GPIO Configuration
PA2 ------> ADC1_IN2
PA3 ------> ADC1_IN3
*/
GPIO_InitStruct.Pin = MEAS_VBATT_Pin|GPIO_PIN_3;
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
GPIO_InitStruct.Pull = GPIO_NOPULL;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/* USER CODE BEGIN ADC1_MspInit 1 */
/* USER CODE END ADC1_MspInit 1 */
}
}
/**
* @brief ADC MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hadc: ADC handle pointer
* @retval None
*/
void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
{
if(hadc->Instance==ADC1)
{
/* USER CODE BEGIN ADC1_MspDeInit 0 */
/* USER CODE END ADC1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_ADC1_CLK_DISABLE();
/**ADC1 GPIO Configuration
PA2 ------> ADC1_IN2
PA3 ------> ADC1_IN3
*/
HAL_GPIO_DeInit(GPIOA, MEAS_VBATT_Pin|GPIO_PIN_3);
/* USER CODE BEGIN ADC1_MspDeInit 1 */
/* USER CODE END ADC1_MspDeInit 1 */
}
}
/**
* @brief I2S MSP Initialization
* This function configures the hardware resources used in this example
* @param hi2s: I2S handle pointer
* @retval None
*/
void HAL_I2S_MspInit(I2S_HandleTypeDef* hi2s)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
if(hi2s->Instance==SPI4)
{
/* USER CODE BEGIN SPI4_MspInit 0 */
/* USER CODE END SPI4_MspInit 0 */
/** Initializes the peripherals clock
*/
PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_I2S;
PeriphClkInitStruct.PLLI2S.PLLI2SN = 192;
PeriphClkInitStruct.PLLI2S.PLLI2SM = 16;
PeriphClkInitStruct.PLLI2S.PLLI2SR = 2;
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
{
Error_Handler();
}
/* Peripheral clock enable */
__HAL_RCC_SPI4_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**I2S4 GPIO Configuration
PA1 ------> I2S4_SD
PB12 ------> I2S4_WS
PB13 ------> I2S4_CK
*/
GPIO_InitStruct.Pin = DAC_DATA_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI4;
HAL_GPIO_Init(DAC_DATA_GPIO_Port, &GPIO_InitStruct);
GPIO_InitStruct.Pin = DAC_LRCLK_Pin|DAC_CLK_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.Alternate = GPIO_AF6_SPI4;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN SPI4_MspInit 1 */
/* USER CODE END SPI4_MspInit 1 */
}
}
/**
* @brief I2S MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hi2s: I2S handle pointer
* @retval None
*/
void HAL_I2S_MspDeInit(I2S_HandleTypeDef* hi2s)
{
if(hi2s->Instance==SPI4)
{
/* USER CODE BEGIN SPI4_MspDeInit 0 */
/* USER CODE END SPI4_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_SPI4_CLK_DISABLE();
/**I2S4 GPIO Configuration
PA1 ------> I2S4_SD
PB12 ------> I2S4_WS
PB13 ------> I2S4_CK
*/
HAL_GPIO_DeInit(DAC_DATA_GPIO_Port, DAC_DATA_Pin);
HAL_GPIO_DeInit(GPIOB, DAC_LRCLK_Pin|DAC_CLK_Pin);
/* USER CODE BEGIN SPI4_MspDeInit 1 */
/* USER CODE END SPI4_MspDeInit 1 */
}
}
/**
* @brief SD MSP Initialization
* This function configures the hardware resources used in this example
* @param hsd: SD handle pointer
* @retval None
*/
void HAL_SD_MspInit(SD_HandleTypeDef* hsd)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(hsd->Instance==SDIO)
{
/* USER CODE BEGIN SDIO_MspInit 0 */
/* USER CODE END SDIO_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_SDIO_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**SDIO GPIO Configuration
PA6 ------> SDIO_CMD
PB15 ------> SDIO_CK
PA8 ------> SDIO_D1
PA9 ------> SDIO_D2
PB5 ------> SDIO_D3
PB7 ------> SDIO_D0
*/
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_8|GPIO_PIN_9;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF12_SDIO;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_15|GPIO_PIN_5|GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF12_SDIO;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN SDIO_MspInit 1 */
/* USER CODE END SDIO_MspInit 1 */
}
}
/**
* @brief SD MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hsd: SD handle pointer
* @retval None
*/
void HAL_SD_MspDeInit(SD_HandleTypeDef* hsd)
{
if(hsd->Instance==SDIO)
{
/* USER CODE BEGIN SDIO_MspDeInit 0 */
/* USER CODE END SDIO_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_SDIO_CLK_DISABLE();
/**SDIO GPIO Configuration
PA6 ------> SDIO_CMD
PB15 ------> SDIO_CK
PA8 ------> SDIO_D1
PA9 ------> SDIO_D2
PB5 ------> SDIO_D3
PB7 ------> SDIO_D0
*/
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_6|GPIO_PIN_8|GPIO_PIN_9);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_15|GPIO_PIN_5|GPIO_PIN_7);
/* USER CODE BEGIN SDIO_MspDeInit 1 */
/* USER CODE END SDIO_MspDeInit 1 */
}
}
/**
* @brief SPI MSP Initialization
* This function configures the hardware resources used in this example
* @param hspi: SPI handle pointer
* @retval None
*/
void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(hspi->Instance==SPI1)
{
/* USER CODE BEGIN SPI1_MspInit 0 */
/* USER CODE END SPI1_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_SPI1_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**SPI1 GPIO Configuration
PA4 ------> SPI1_NSS
PA5 ------> SPI1_SCK
PA7 ------> SPI1_MOSI
PB4 ------> SPI1_MISO
*/
GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_7;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_4;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF5_SPI1;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN SPI1_MspInit 1 */
/* USER CODE END SPI1_MspInit 1 */
}
}
/**
* @brief SPI MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hspi: SPI handle pointer
* @retval None
*/
void HAL_SPI_MspDeInit(SPI_HandleTypeDef* hspi)
{
if(hspi->Instance==SPI1)
{
/* USER CODE BEGIN SPI1_MspDeInit 0 */
/* USER CODE END SPI1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_SPI1_CLK_DISABLE();
/**SPI1 GPIO Configuration
PA4 ------> SPI1_NSS
PA5 ------> SPI1_SCK
PA7 ------> SPI1_MOSI
PB4 ------> SPI1_MISO
*/
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_4|GPIO_PIN_5|GPIO_PIN_7);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_4);
/* USER CODE BEGIN SPI1_MspDeInit 1 */
/* USER CODE END SPI1_MspDeInit 1 */
}
}
/**
* @brief UART MSP Initialization
* This function configures the hardware resources used in this example
* @param huart: UART handle pointer
* @retval None
*/
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(huart->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspInit 0 */
/* USER CODE END USART1_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_USART1_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
/**USART1 GPIO Configuration
PA10 ------> USART1_RX
PB6 ------> USART1_TX
*/
GPIO_InitStruct.Pin = GPIO_PIN_10;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
GPIO_InitStruct.Pin = GPIO_PIN_6;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
/* USER CODE BEGIN USART1_MspInit 1 */
/* USER CODE END USART1_MspInit 1 */
}
}
/**
* @brief UART MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param huart: UART handle pointer
* @retval None
*/
void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
{
if(huart->Instance==USART1)
{
/* USER CODE BEGIN USART1_MspDeInit 0 */
/* USER CODE END USART1_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_USART1_CLK_DISABLE();
/**USART1 GPIO Configuration
PA10 ------> USART1_RX
PB6 ------> USART1_TX
*/
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_10);
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_6);
/* USER CODE BEGIN USART1_MspDeInit 1 */
/* USER CODE END USART1_MspDeInit 1 */
}
}
/**
* @brief HCD MSP Initialization
* This function configures the hardware resources used in this example
* @param hhcd: HCD handle pointer
* @retval None
*/
void HAL_HCD_MspInit(HCD_HandleTypeDef* hhcd)
{
GPIO_InitTypeDef GPIO_InitStruct = {0};
if(hhcd->Instance==USB_OTG_FS)
{
/* USER CODE BEGIN USB_OTG_FS_MspInit 0 */
/* USER CODE END USB_OTG_FS_MspInit 0 */
__HAL_RCC_GPIOA_CLK_ENABLE();
/**USB_OTG_FS GPIO Configuration
PA11 ------> USB_OTG_FS_DM
PA12 ------> USB_OTG_FS_DP
*/
GPIO_InitStruct.Pin = USB_DM_Pin|USB_DP_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/* Peripheral clock enable */
__HAL_RCC_USB_OTG_FS_CLK_ENABLE();
/* USER CODE BEGIN USB_OTG_FS_MspInit 1 */
/* USER CODE END USB_OTG_FS_MspInit 1 */
}
}
/**
* @brief HCD MSP De-Initialization
* This function freeze the hardware resources used in this example
* @param hhcd: HCD handle pointer
* @retval None
*/
void HAL_HCD_MspDeInit(HCD_HandleTypeDef* hhcd)
{
if(hhcd->Instance==USB_OTG_FS)
{
/* USER CODE BEGIN USB_OTG_FS_MspDeInit 0 */
/* USER CODE END USB_OTG_FS_MspDeInit 0 */
/* Peripheral clock disable */
__HAL_RCC_USB_OTG_FS_CLK_DISABLE();
/**USB_OTG_FS GPIO Configuration
PA11 ------> USB_OTG_FS_DM
PA12 ------> USB_OTG_FS_DP
*/
HAL_GPIO_DeInit(GPIOA, USB_DM_Pin|USB_DP_Pin);
/* USER CODE BEGIN USB_OTG_FS_MspDeInit 1 */
/* USER CODE END USB_OTG_FS_MspDeInit 1 */
}
}
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,205 @@
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f4xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "stm32f4xx_it.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN TD */
/* USER CODE END TD */
/* Private define ------------------------------------------------------------*/
/* USER CODE BEGIN PD */
/* USER CODE END PD */
/* Private macro -------------------------------------------------------------*/
/* USER CODE BEGIN PM */
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
/* USER CODE BEGIN PV */
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
/* USER CODE BEGIN PFP */
/* USER CODE END PFP */
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/* External variables --------------------------------------------------------*/
/* USER CODE BEGIN EV */
/* USER CODE END EV */
/******************************************************************************/
/* Cortex-M4 Processor Interruption and Exception Handlers */
/******************************************************************************/
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
{
}
/* USER CODE END NonMaskableInt_IRQn 1 */
}
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
/* USER CODE BEGIN HardFault_IRQn 0 */
/* USER CODE END HardFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
/* USER CODE END W1_HardFault_IRQn 0 */
}
}
/**
* @brief This function handles Memory management fault.
*/
void MemManage_Handler(void)
{
/* USER CODE BEGIN MemoryManagement_IRQn 0 */
/* USER CODE END MemoryManagement_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
/* USER CODE END W1_MemoryManagement_IRQn 0 */
}
}
/**
* @brief This function handles Pre-fetch fault, memory access fault.
*/
void BusFault_Handler(void)
{
/* USER CODE BEGIN BusFault_IRQn 0 */
/* USER CODE END BusFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_BusFault_IRQn 0 */
/* USER CODE END W1_BusFault_IRQn 0 */
}
}
/**
* @brief This function handles Undefined instruction or illegal state.
*/
void UsageFault_Handler(void)
{
/* USER CODE BEGIN UsageFault_IRQn 0 */
/* USER CODE END UsageFault_IRQn 0 */
while (1)
{
/* USER CODE BEGIN W1_UsageFault_IRQn 0 */
/* USER CODE END W1_UsageFault_IRQn 0 */
}
}
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
/* USER CODE BEGIN SVCall_IRQn 0 */
/* USER CODE END SVCall_IRQn 0 */
/* USER CODE BEGIN SVCall_IRQn 1 */
/* USER CODE END SVCall_IRQn 1 */
}
/**
* @brief This function handles Debug monitor.
*/
void DebugMon_Handler(void)
{
/* USER CODE BEGIN DebugMonitor_IRQn 0 */
/* USER CODE END DebugMonitor_IRQn 0 */
/* USER CODE BEGIN DebugMonitor_IRQn 1 */
/* USER CODE END DebugMonitor_IRQn 1 */
}
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
/* USER CODE BEGIN PendSV_IRQn 0 */
/* USER CODE END PendSV_IRQn 0 */
/* USER CODE BEGIN PendSV_IRQn 1 */
/* USER CODE END PendSV_IRQn 1 */
}
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
/******************************************************************************/
/* STM32F4xx Peripheral Interrupt Handlers */
/* Add here the Interrupt Handlers for the used peripherals. */
/* For the available peripheral interrupt handler names, */
/* please refer to the startup file (startup_stm32f4xx.s). */
/******************************************************************************/
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,156 @@
/**
******************************************************************************
* @file syscalls.c
* @author Auto-generated by STM32CubeIDE
* @brief STM32CubeIDE Minimal System calls file
*
* For more information about which c-functions
* need which of these lowlevel functions
* please consult the Newlib libc-manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <sys/stat.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <sys/time.h>
#include <sys/times.h>
/* Variables */
extern int __io_putchar(int ch) __attribute__((weak));
extern int __io_getchar(void) __attribute__((weak));
char *__env[1] = { 0 };
char **environ = __env;
/* Functions */
void initialise_monitor_handles()
{
}
int _getpid(void)
{
return 1;
}
int _kill(int pid, int sig)
{
errno = EINVAL;
return -1;
}
void _exit (int status)
{
_kill(status, -1);
while (1) {} /* Make sure we hang here */
}
__attribute__((weak)) int _read(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
*ptr++ = __io_getchar();
}
return len;
}
__attribute__((weak)) int _write(int file, char *ptr, int len)
{
int DataIdx;
for (DataIdx = 0; DataIdx < len; DataIdx++)
{
__io_putchar(*ptr++);
}
return len;
}
int _close(int file)
{
return -1;
}
int _fstat(int file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _isatty(int file)
{
return 1;
}
int _lseek(int file, int ptr, int dir)
{
return 0;
}
int _open(char *path, int flags, ...)
{
/* Pretend like we always fail */
return -1;
}
int _wait(int *status)
{
errno = ECHILD;
return -1;
}
int _unlink(char *name)
{
errno = ENOENT;
return -1;
}
int _times(struct tms *buf)
{
return -1;
}
int _stat(char *file, struct stat *st)
{
st->st_mode = S_IFCHR;
return 0;
}
int _link(char *old, char *new)
{
errno = EMLINK;
return -1;
}
int _fork(void)
{
errno = EAGAIN;
return -1;
}
int _execve(char *name, char **argv, char **env)
{
errno = ENOMEM;
return -1;
}

View File

@@ -0,0 +1,80 @@
/**
******************************************************************************
* @file sysmem.c
* @author Generated by STM32CubeIDE
* @brief STM32CubeIDE System Memory calls file
*
* For more information about which C functions
* need which of these lowlevel functions
* please consult the newlib libc manual
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/* Includes */
#include <errno.h>
#include <stdint.h>
/**
* Pointer to the current high watermark of the heap usage
*/
static uint8_t *__sbrk_heap_end = NULL;
/**
* @brief _sbrk() allocates memory to the newlib heap and is used by malloc
* and others from the C library
*
* @verbatim
* ############################################################################
* # .data # .bss # newlib heap # MSP stack #
* # # # # Reserved by _Min_Stack_Size #
* ############################################################################
* ^-- RAM start ^-- _end _estack, RAM end --^
* @endverbatim
*
* This implementation starts allocating at the '_end' linker symbol
* The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
* The implementation considers '_estack' linker symbol to be RAM end
* NOTE: If the MSP stack, at any point during execution, grows larger than the
* reserved size, please increase the '_Min_Stack_Size'.
*
* @param incr Memory size
* @return Pointer to allocated memory
*/
void *_sbrk(ptrdiff_t incr)
{
extern uint8_t _end; /* Symbol defined in the linker script */
extern uint8_t _estack; /* Symbol defined in the linker script */
extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
const uint8_t *max_heap = (uint8_t *)stack_limit;
uint8_t *prev_heap_end;
/* Initialize heap end at first call */
if (NULL == __sbrk_heap_end)
{
__sbrk_heap_end = &_end;
}
/* Protect heap from growing into the reserved MSP stack */
if (__sbrk_heap_end + incr > max_heap)
{
errno = ENOMEM;
return (void *)-1;
}
prev_heap_end = __sbrk_heap_end;
__sbrk_heap_end += incr;
return (void *)prev_heap_end;
}

View File

@@ -0,0 +1,749 @@
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @brief CMSIS Cortex-M4 Device Peripheral Access Layer System Source File.
*
* This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the "startup_stm32f4xx.s" file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
*
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
/** @addtogroup CMSIS
* @{
*/
/** @addtogroup stm32f4xx_system
* @{
*/
/** @addtogroup STM32F4xx_System_Private_Includes
* @{
*/
#include "stm32f4xx.h"
#if !defined (HSE_VALUE)
#define HSE_VALUE ((uint32_t)25000000) /*!< Default value of the External oscillator in Hz */
#endif /* HSE_VALUE */
#if !defined (HSI_VALUE)
#define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
#endif /* HSI_VALUE */
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Defines
* @{
*/
/************************* Miscellaneous Configuration ************************/
/*!< Uncomment the following line if you need to use external SRAM or SDRAM as data memory */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)
/* #define DATA_IN_ExtSRAM */
#endif /* STM32F40xxx || STM32F41xxx || STM32F42xxx || STM32F43xxx || STM32F469xx || STM32F479xx ||\
STM32F412Zx || STM32F412Vx */
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
/* #define DATA_IN_ExtSDRAM */
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F446xx || STM32F469xx ||\
STM32F479xx */
/* Note: Following vector table addresses must be defined in line with linker
configuration. */
/*!< Uncomment the following line if you need to relocate the vector table
anywhere in Flash or Sram, else the vector table is kept at the automatic
remap of boot address selected */
/* #define USER_VECT_TAB_ADDRESS */
#if defined(USER_VECT_TAB_ADDRESS)
/*!< Uncomment the following line if you need to relocate your vector Table
in Sram else user remap will be done in Flash. */
/* #define VECT_TAB_SRAM */
#if defined(VECT_TAB_SRAM)
#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#else
#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
This value must be a multiple of 0x200. */
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
This value must be a multiple of 0x200. */
#endif /* VECT_TAB_SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
/******************************************************************************/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Macros
* @{
*/
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Variables
* @{
*/
/* This variable is updated in three ways:
1) by calling CMSIS function SystemCoreClockUpdate()
2) by calling HAL API function HAL_RCC_GetHCLKFreq()
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
Note: If you use this function to configure the system clock; then there
is no need to call the 2 first functions listed above, since SystemCoreClock
variable is updated automatically.
*/
uint32_t SystemCoreClock = 16000000;
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_FunctionPrototypes
* @{
*/
#if defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
static void SystemInit_ExtMemCtl(void);
#endif /* DATA_IN_ExtSRAM || DATA_IN_ExtSDRAM */
/**
* @}
*/
/** @addtogroup STM32F4xx_System_Private_Functions
* @{
*/
/**
* @brief Setup the microcontroller system
* Initialize the FPU setting, vector table location and External memory
* configuration.
* @param None
* @retval None
*/
void SystemInit(void)
{
/* FPU settings ------------------------------------------------------------*/
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
#endif
#if defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
SystemInit_ExtMemCtl();
#endif /* DATA_IN_ExtSRAM || DATA_IN_ExtSDRAM */
/* Configure the Vector Table location -------------------------------------*/
#if defined(USER_VECT_TAB_ADDRESS)
SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
#endif /* USER_VECT_TAB_ADDRESS */
}
/**
* @brief Update SystemCoreClock variable according to Clock Register Values.
* The SystemCoreClock variable contains the core clock (HCLK), it can
* be used by the user application to setup the SysTick timer or configure
* other parameters.
*
* @note Each time the core clock (HCLK) changes, this function must be called
* to update SystemCoreClock variable value. Otherwise, any configuration
* based on this variable will be incorrect.
*
* @note - The system frequency computed by this function is not the real
* frequency in the chip. It is calculated based on the predefined
* constant and the selected clock source:
*
* - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
*
* - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
*
* - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
* or HSI_VALUE(*) multiplied/divided by the PLL factors.
*
* (*) HSI_VALUE is a constant defined in stm32f4xx_hal_conf.h file (default value
* 16 MHz) but the real value may vary depending on the variations
* in voltage and temperature.
*
* (**) HSE_VALUE is a constant defined in stm32f4xx_hal_conf.h file (its value
* depends on the application requirements), user has to ensure that HSE_VALUE
* is same as the real frequency of the crystal used. Otherwise, this function
* may have wrong result.
*
* - The result of this function could be not correct when using fractional
* value for HSE crystal.
*
* @param None
* @retval None
*/
void SystemCoreClockUpdate(void)
{
uint32_t tmp = 0, pllvco = 0, pllp = 2, pllsource = 0, pllm = 2;
/* Get SYSCLK source -------------------------------------------------------*/
tmp = RCC->CFGR & RCC_CFGR_SWS;
switch (tmp)
{
case 0x00: /* HSI used as system clock source */
SystemCoreClock = HSI_VALUE;
break;
case 0x04: /* HSE used as system clock source */
SystemCoreClock = HSE_VALUE;
break;
case 0x08: /* PLL used as system clock source */
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLL_M) * PLL_N
SYSCLK = PLL_VCO / PLL_P
*/
pllsource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) >> 22;
pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM;
if (pllsource != 0)
{
/* HSE used as PLL clock source */
pllvco = (HSE_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6);
}
else
{
/* HSI used as PLL clock source */
pllvco = (HSI_VALUE / pllm) * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> 6);
}
pllp = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >>16) + 1 ) *2;
SystemCoreClock = pllvco/pllp;
break;
default:
SystemCoreClock = HSI_VALUE;
break;
}
/* Compute HCLK frequency --------------------------------------------------*/
/* Get HCLK prescaler */
tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];
/* HCLK frequency */
SystemCoreClock >>= tmp;
}
#if defined (DATA_IN_ExtSRAM) && defined (DATA_IN_ExtSDRAM)
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
/**
* @brief Setup the external memory controller.
* Called in startup_stm32f4xx.s before jump to main.
* This function configures the external memories (SRAM/SDRAM)
* This SRAM/SDRAM will be used as program data memory (including heap and stack).
* @param None
* @retval None
*/
void SystemInit_ExtMemCtl(void)
{
__IO uint32_t tmp = 0x00;
register uint32_t tmpreg = 0, timeout = 0xFFFF;
register __IO uint32_t index;
/* Enable GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH and GPIOI interface clock */
RCC->AHB1ENR |= 0x000001F8;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOCEN);
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x00CCC0CC;
GPIOD->AFR[1] = 0xCCCCCCCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xAAAA0A8A;
/* Configure PDx pins speed to 100 MHz */
GPIOD->OSPEEDR = 0xFFFF0FCF;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00CC0CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA828A;
/* Configure PEx pins speed to 100 MHz */
GPIOE->OSPEEDR = 0xFFFFC3CF;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0xCCCCCCCC;
GPIOF->AFR[1] = 0xCCCCCCCC;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA800AAA;
/* Configure PFx pins speed to 50 MHz */
GPIOF->OSPEEDR = 0xAA800AAA;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0xCCCCCCCC;
GPIOG->AFR[1] = 0xCCCCCCCC;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0xAAAAAAAA;
/* Configure PGx pins speed to 50 MHz */
GPIOG->OSPEEDR = 0xAAAAAAAA;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
/* Connect PHx pins to FMC Alternate function */
GPIOH->AFR[0] = 0x00C0CC00;
GPIOH->AFR[1] = 0xCCCCCCCC;
/* Configure PHx pins in Alternate function mode */
GPIOH->MODER = 0xAAAA08A0;
/* Configure PHx pins speed to 50 MHz */
GPIOH->OSPEEDR = 0xAAAA08A0;
/* Configure PHx pins Output type to push-pull */
GPIOH->OTYPER = 0x00000000;
/* No pull-up, pull-down for PHx pins */
GPIOH->PUPDR = 0x00000000;
/* Connect PIx pins to FMC Alternate function */
GPIOI->AFR[0] = 0xCCCCCCCC;
GPIOI->AFR[1] = 0x00000CC0;
/* Configure PIx pins in Alternate function mode */
GPIOI->MODER = 0x0028AAAA;
/* Configure PIx pins speed to 50 MHz */
GPIOI->OSPEEDR = 0x0028AAAA;
/* Configure PIx pins Output type to push-pull */
GPIOI->OTYPER = 0x00000000;
/* No pull-up, pull-down for PIx pins */
GPIOI->PUPDR = 0x00000000;
/*-- FMC Configuration -------------------------------------------------------*/
/* Enable the FMC interface clock */
RCC->AHB3ENR |= 0x00000001;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
FMC_Bank5_6->SDCR[0] = 0x000019E4;
FMC_Bank5_6->SDTR[0] = 0x01115351;
/* SDRAM initialization sequence */
/* Clock enable command */
FMC_Bank5_6->SDCMR = 0x00000011;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Delay */
for (index = 0; index<1000; index++);
/* PALL command */
FMC_Bank5_6->SDCMR = 0x00000012;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Auto refresh command */
FMC_Bank5_6->SDCMR = 0x00000073;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* MRD register program */
FMC_Bank5_6->SDCMR = 0x00046014;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Set refresh count */
tmpreg = FMC_Bank5_6->SDRTR;
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000027C<<1));
/* Disable write protection */
tmpreg = FMC_Bank5_6->SDCR[0];
FMC_Bank5_6->SDCR[0] = (tmpreg & 0xFFFFFDFF);
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001011;
FMC_Bank1->BTCR[3] = 0x00000201;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */
#if defined(STM32F469xx) || defined(STM32F479xx)
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001091;
FMC_Bank1->BTCR[3] = 0x00110212;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F469xx || STM32F479xx */
(void)(tmp);
}
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
#elif defined (DATA_IN_ExtSRAM) || defined (DATA_IN_ExtSDRAM)
/**
* @brief Setup the external memory controller.
* Called in startup_stm32f4xx.s before jump to main.
* This function configures the external memories (SRAM/SDRAM)
* This SRAM/SDRAM will be used as program data memory (including heap and stack).
* @param None
* @retval None
*/
void SystemInit_ExtMemCtl(void)
{
__IO uint32_t tmp = 0x00;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx)
#if defined (DATA_IN_ExtSDRAM)
register uint32_t tmpreg = 0, timeout = 0xFFFF;
register __IO uint32_t index;
#if defined(STM32F446xx)
/* Enable GPIOA, GPIOC, GPIOD, GPIOE, GPIOF, GPIOG interface
clock */
RCC->AHB1ENR |= 0x0000007D;
#else
/* Enable GPIOC, GPIOD, GPIOE, GPIOF, GPIOG, GPIOH and GPIOI interface
clock */
RCC->AHB1ENR |= 0x000001F8;
#endif /* STM32F446xx */
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIOCEN);
#if defined(STM32F446xx)
/* Connect PAx pins to FMC Alternate function */
GPIOA->AFR[0] |= 0xC0000000;
GPIOA->AFR[1] |= 0x00000000;
/* Configure PDx pins in Alternate function mode */
GPIOA->MODER |= 0x00008000;
/* Configure PDx pins speed to 50 MHz */
GPIOA->OSPEEDR |= 0x00008000;
/* Configure PDx pins Output type to push-pull */
GPIOA->OTYPER |= 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOA->PUPDR |= 0x00000000;
/* Connect PCx pins to FMC Alternate function */
GPIOC->AFR[0] |= 0x00CC0000;
GPIOC->AFR[1] |= 0x00000000;
/* Configure PDx pins in Alternate function mode */
GPIOC->MODER |= 0x00000A00;
/* Configure PDx pins speed to 50 MHz */
GPIOC->OSPEEDR |= 0x00000A00;
/* Configure PDx pins Output type to push-pull */
GPIOC->OTYPER |= 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOC->PUPDR |= 0x00000000;
#endif /* STM32F446xx */
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x000000CC;
GPIOD->AFR[1] = 0xCC000CCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xA02A000A;
/* Configure PDx pins speed to 50 MHz */
GPIOD->OSPEEDR = 0xA02A000A;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00000CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA800A;
/* Configure PEx pins speed to 50 MHz */
GPIOE->OSPEEDR = 0xAAAA800A;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0xCCCCCCCC;
GPIOF->AFR[1] = 0xCCCCCCCC;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA800AAA;
/* Configure PFx pins speed to 50 MHz */
GPIOF->OSPEEDR = 0xAA800AAA;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0xCCCCCCCC;
GPIOG->AFR[1] = 0xCCCCCCCC;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0xAAAAAAAA;
/* Configure PGx pins speed to 50 MHz */
GPIOG->OSPEEDR = 0xAAAAAAAA;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx)
/* Connect PHx pins to FMC Alternate function */
GPIOH->AFR[0] = 0x00C0CC00;
GPIOH->AFR[1] = 0xCCCCCCCC;
/* Configure PHx pins in Alternate function mode */
GPIOH->MODER = 0xAAAA08A0;
/* Configure PHx pins speed to 50 MHz */
GPIOH->OSPEEDR = 0xAAAA08A0;
/* Configure PHx pins Output type to push-pull */
GPIOH->OTYPER = 0x00000000;
/* No pull-up, pull-down for PHx pins */
GPIOH->PUPDR = 0x00000000;
/* Connect PIx pins to FMC Alternate function */
GPIOI->AFR[0] = 0xCCCCCCCC;
GPIOI->AFR[1] = 0x00000CC0;
/* Configure PIx pins in Alternate function mode */
GPIOI->MODER = 0x0028AAAA;
/* Configure PIx pins speed to 50 MHz */
GPIOI->OSPEEDR = 0x0028AAAA;
/* Configure PIx pins Output type to push-pull */
GPIOI->OTYPER = 0x00000000;
/* No pull-up, pull-down for PIx pins */
GPIOI->PUPDR = 0x00000000;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
/*-- FMC Configuration -------------------------------------------------------*/
/* Enable the FMC interface clock */
RCC->AHB3ENR |= 0x00000001;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable SDRAM bank1 */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCR[0] = 0x00001954;
#else
FMC_Bank5_6->SDCR[0] = 0x000019E4;
#endif /* STM32F446xx */
FMC_Bank5_6->SDTR[0] = 0x01115351;
/* SDRAM initialization sequence */
/* Clock enable command */
FMC_Bank5_6->SDCMR = 0x00000011;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Delay */
for (index = 0; index<1000; index++);
/* PALL command */
FMC_Bank5_6->SDCMR = 0x00000012;
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Auto refresh command */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCMR = 0x000000F3;
#else
FMC_Bank5_6->SDCMR = 0x00000073;
#endif /* STM32F446xx */
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* MRD register program */
#if defined(STM32F446xx)
FMC_Bank5_6->SDCMR = 0x00044014;
#else
FMC_Bank5_6->SDCMR = 0x00046014;
#endif /* STM32F446xx */
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
timeout = 0xFFFF;
while((tmpreg != 0) && (timeout-- > 0))
{
tmpreg = FMC_Bank5_6->SDSR & 0x00000020;
}
/* Set refresh count */
tmpreg = FMC_Bank5_6->SDRTR;
#if defined(STM32F446xx)
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000050C<<1));
#else
FMC_Bank5_6->SDRTR = (tmpreg | (0x0000027C<<1));
#endif /* STM32F446xx */
/* Disable write protection */
tmpreg = FMC_Bank5_6->SDCR[0];
FMC_Bank5_6->SDCR[0] = (tmpreg & 0xFFFFFDFF);
#endif /* DATA_IN_ExtSDRAM */
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F446xx || STM32F469xx || STM32F479xx */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx) || defined(STM32F417xx)\
|| defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)\
|| defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx)
#if defined(DATA_IN_ExtSRAM)
/*-- GPIOs Configuration -----------------------------------------------------*/
/* Enable GPIOD, GPIOE, GPIOF and GPIOG interface clock */
RCC->AHB1ENR |= 0x00000078;
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB1ENR, RCC_AHB1ENR_GPIODEN);
/* Connect PDx pins to FMC Alternate function */
GPIOD->AFR[0] = 0x00CCC0CC;
GPIOD->AFR[1] = 0xCCCCCCCC;
/* Configure PDx pins in Alternate function mode */
GPIOD->MODER = 0xAAAA0A8A;
/* Configure PDx pins speed to 100 MHz */
GPIOD->OSPEEDR = 0xFFFF0FCF;
/* Configure PDx pins Output type to push-pull */
GPIOD->OTYPER = 0x00000000;
/* No pull-up, pull-down for PDx pins */
GPIOD->PUPDR = 0x00000000;
/* Connect PEx pins to FMC Alternate function */
GPIOE->AFR[0] = 0xC00CC0CC;
GPIOE->AFR[1] = 0xCCCCCCCC;
/* Configure PEx pins in Alternate function mode */
GPIOE->MODER = 0xAAAA828A;
/* Configure PEx pins speed to 100 MHz */
GPIOE->OSPEEDR = 0xFFFFC3CF;
/* Configure PEx pins Output type to push-pull */
GPIOE->OTYPER = 0x00000000;
/* No pull-up, pull-down for PEx pins */
GPIOE->PUPDR = 0x00000000;
/* Connect PFx pins to FMC Alternate function */
GPIOF->AFR[0] = 0x00CCCCCC;
GPIOF->AFR[1] = 0xCCCC0000;
/* Configure PFx pins in Alternate function mode */
GPIOF->MODER = 0xAA000AAA;
/* Configure PFx pins speed to 100 MHz */
GPIOF->OSPEEDR = 0xFF000FFF;
/* Configure PFx pins Output type to push-pull */
GPIOF->OTYPER = 0x00000000;
/* No pull-up, pull-down for PFx pins */
GPIOF->PUPDR = 0x00000000;
/* Connect PGx pins to FMC Alternate function */
GPIOG->AFR[0] = 0x00CCCCCC;
GPIOG->AFR[1] = 0x000000C0;
/* Configure PGx pins in Alternate function mode */
GPIOG->MODER = 0x00085AAA;
/* Configure PGx pins speed to 100 MHz */
GPIOG->OSPEEDR = 0x000CAFFF;
/* Configure PGx pins Output type to push-pull */
GPIOG->OTYPER = 0x00000000;
/* No pull-up, pull-down for PGx pins */
GPIOG->PUPDR = 0x00000000;
/*-- FMC/FSMC Configuration --------------------------------------------------*/
/* Enable the FMC/FSMC interface clock */
RCC->AHB3ENR |= 0x00000001;
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001011;
FMC_Bank1->BTCR[3] = 0x00000201;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */
#if defined(STM32F469xx) || defined(STM32F479xx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
/* Configure and enable Bank1_SRAM2 */
FMC_Bank1->BTCR[2] = 0x00001091;
FMC_Bank1->BTCR[3] = 0x00110212;
FMC_Bank1E->BWTR[2] = 0x0fffffff;
#endif /* STM32F469xx || STM32F479xx */
#if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx)\
|| defined(STM32F412Zx) || defined(STM32F412Vx)
/* Delay after an RCC peripheral clock enabling */
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FSMCEN);
/* Configure and enable Bank1_SRAM2 */
FSMC_Bank1->BTCR[2] = 0x00001011;
FSMC_Bank1->BTCR[3] = 0x00000201;
FSMC_Bank1E->BWTR[2] = 0x0FFFFFFF;
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F412Zx || STM32F412Vx */
#endif /* DATA_IN_ExtSRAM */
#endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx || STM32F427xx || STM32F437xx ||\
STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx || STM32F412Zx || STM32F412Vx */
(void)(tmp);
}
#endif /* DATA_IN_ExtSRAM && DATA_IN_ExtSDRAM */
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,439 @@
/**
******************************************************************************
* @file startup_stm32f411xe.s
* @author MCD Application Team
* @brief STM32F411xExx Devices vector table for GCC based toolchains.
* This module performs:
* - Set the initial SP
* - Set the initial PC == Reset_Handler,
* - Set the vector table entries with the exceptions ISR address
* - Branches to main in the C library (which eventually
* calls main()).
* After Reset the Cortex-M4 processor is in Thread mode,
* priority is Privileged, and the Stack is set to Main.
******************************************************************************
* @attention
*
* <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
* opensource.org/licenses/BSD-3-Clause
*
******************************************************************************
*/
.syntax unified
.cpu cortex-m4
.fpu softvfp
.thumb
.global g_pfnVectors
.global Default_Handler
/* start address for the initialization values of the .data section.
defined in linker script */
.word _sidata
/* start address for the .data section. defined in linker script */
.word _sdata
/* end address for the .data section. defined in linker script */
.word _edata
/* start address for the .bss section. defined in linker script */
.word _sbss
/* end address for the .bss section. defined in linker script */
.word _ebss
/* stack used for SystemInit_ExtMemCtl; always internal RAM used */
/**
* @brief This is the code that gets called when the processor first
* starts execution following a reset event. Only the absolutely
* necessary set is performed, after which the application
* supplied main() routine is called.
* @param None
* @retval : None
*/
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr sp, =_estack /* set stack pointer */
/* Copy the data segment initializers from flash to SRAM */
ldr r0, =_sdata
ldr r1, =_edata
ldr r2, =_sidata
movs r3, #0
b LoopCopyDataInit
CopyDataInit:
ldr r4, [r2, r3]
str r4, [r0, r3]
adds r3, r3, #4
LoopCopyDataInit:
adds r4, r0, r3
cmp r4, r1
bcc CopyDataInit
/* Zero fill the bss segment. */
ldr r2, =_sbss
ldr r4, =_ebss
movs r3, #0
b LoopFillZerobss
FillZerobss:
str r3, [r2]
adds r2, r2, #4
LoopFillZerobss:
cmp r2, r4
bcc FillZerobss
/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
bl main
bx lr
.size Reset_Handler, .-Reset_Handler
/**
* @brief This is the code that gets called when the processor receives an
* unexpected interrupt. This simply enters an infinite loop, preserving
* the system state for examination by a debugger.
* @param None
* @retval None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
.size Default_Handler, .-Default_Handler
/******************************************************************************
*
* The minimal vector table for a Cortex M3. Note that the proper constructs
* must be placed on this to ensure that it ends up at physical address
* 0x0000.0000.
*
*******************************************************************************/
.section .isr_vector,"a",%progbits
.type g_pfnVectors, %object
.size g_pfnVectors, .-g_pfnVectors
g_pfnVectors:
.word _estack
.word Reset_Handler
.word NMI_Handler
.word HardFault_Handler
.word MemManage_Handler
.word BusFault_Handler
.word UsageFault_Handler
.word 0
.word 0
.word 0
.word 0
.word SVC_Handler
.word DebugMon_Handler
.word 0
.word PendSV_Handler
.word SysTick_Handler
/* External Interrupts */
.word WWDG_IRQHandler /* Window WatchDog */
.word PVD_IRQHandler /* PVD through EXTI Line detection */
.word TAMP_STAMP_IRQHandler /* Tamper and TimeStamps through the EXTI line */
.word RTC_WKUP_IRQHandler /* RTC Wakeup through the EXTI line */
.word FLASH_IRQHandler /* FLASH */
.word RCC_IRQHandler /* RCC */
.word EXTI0_IRQHandler /* EXTI Line0 */
.word EXTI1_IRQHandler /* EXTI Line1 */
.word EXTI2_IRQHandler /* EXTI Line2 */
.word EXTI3_IRQHandler /* EXTI Line3 */
.word EXTI4_IRQHandler /* EXTI Line4 */
.word DMA1_Stream0_IRQHandler /* DMA1 Stream 0 */
.word DMA1_Stream1_IRQHandler /* DMA1 Stream 1 */
.word DMA1_Stream2_IRQHandler /* DMA1 Stream 2 */
.word DMA1_Stream3_IRQHandler /* DMA1 Stream 3 */
.word DMA1_Stream4_IRQHandler /* DMA1 Stream 4 */
.word DMA1_Stream5_IRQHandler /* DMA1 Stream 5 */
.word DMA1_Stream6_IRQHandler /* DMA1 Stream 6 */
.word ADC_IRQHandler /* ADC1, ADC2 and ADC3s */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word EXTI9_5_IRQHandler /* External Line[9:5]s */
.word TIM1_BRK_TIM9_IRQHandler /* TIM1 Break and TIM9 */
.word TIM1_UP_TIM10_IRQHandler /* TIM1 Update and TIM10 */
.word TIM1_TRG_COM_TIM11_IRQHandler /* TIM1 Trigger and Commutation and TIM11 */
.word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
.word TIM2_IRQHandler /* TIM2 */
.word TIM3_IRQHandler /* TIM3 */
.word TIM4_IRQHandler /* TIM4 */
.word I2C1_EV_IRQHandler /* I2C1 Event */
.word I2C1_ER_IRQHandler /* I2C1 Error */
.word I2C2_EV_IRQHandler /* I2C2 Event */
.word I2C2_ER_IRQHandler /* I2C2 Error */
.word SPI1_IRQHandler /* SPI1 */
.word SPI2_IRQHandler /* SPI2 */
.word USART1_IRQHandler /* USART1 */
.word USART2_IRQHandler /* USART2 */
.word 0 /* Reserved */
.word EXTI15_10_IRQHandler /* External Line[15:10]s */
.word RTC_Alarm_IRQHandler /* RTC Alarm (A and B) through EXTI Line */
.word OTG_FS_WKUP_IRQHandler /* USB OTG FS Wakeup through EXTI line */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word DMA1_Stream7_IRQHandler /* DMA1 Stream7 */
.word 0 /* Reserved */
.word SDIO_IRQHandler /* SDIO */
.word TIM5_IRQHandler /* TIM5 */
.word SPI3_IRQHandler /* SPI3 */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word DMA2_Stream0_IRQHandler /* DMA2 Stream 0 */
.word DMA2_Stream1_IRQHandler /* DMA2 Stream 1 */
.word DMA2_Stream2_IRQHandler /* DMA2 Stream 2 */
.word DMA2_Stream3_IRQHandler /* DMA2 Stream 3 */
.word DMA2_Stream4_IRQHandler /* DMA2 Stream 4 */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word OTG_FS_IRQHandler /* USB OTG FS */
.word DMA2_Stream5_IRQHandler /* DMA2 Stream 5 */
.word DMA2_Stream6_IRQHandler /* DMA2 Stream 6 */
.word DMA2_Stream7_IRQHandler /* DMA2 Stream 7 */
.word USART6_IRQHandler /* USART6 */
.word I2C3_EV_IRQHandler /* I2C3 event */
.word I2C3_ER_IRQHandler /* I2C3 error */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word FPU_IRQHandler /* FPU */
.word 0 /* Reserved */
.word 0 /* Reserved */
.word SPI4_IRQHandler /* SPI4 */
.word SPI5_IRQHandler /* SPI5 */
/*******************************************************************************
*
* Provide weak aliases for each Exception handler to the Default_Handler.
* As they are weak aliases, any function with the same name will override
* this definition.
*
*******************************************************************************/
.weak NMI_Handler
.thumb_set NMI_Handler,Default_Handler
.weak HardFault_Handler
.thumb_set HardFault_Handler,Default_Handler
.weak MemManage_Handler
.thumb_set MemManage_Handler,Default_Handler
.weak BusFault_Handler
.thumb_set BusFault_Handler,Default_Handler
.weak UsageFault_Handler
.thumb_set UsageFault_Handler,Default_Handler
.weak SVC_Handler
.thumb_set SVC_Handler,Default_Handler
.weak DebugMon_Handler
.thumb_set DebugMon_Handler,Default_Handler
.weak PendSV_Handler
.thumb_set PendSV_Handler,Default_Handler
.weak SysTick_Handler
.thumb_set SysTick_Handler,Default_Handler
.weak WWDG_IRQHandler
.thumb_set WWDG_IRQHandler,Default_Handler
.weak PVD_IRQHandler
.thumb_set PVD_IRQHandler,Default_Handler
.weak TAMP_STAMP_IRQHandler
.thumb_set TAMP_STAMP_IRQHandler,Default_Handler
.weak RTC_WKUP_IRQHandler
.thumb_set RTC_WKUP_IRQHandler,Default_Handler
.weak FLASH_IRQHandler
.thumb_set FLASH_IRQHandler,Default_Handler
.weak RCC_IRQHandler
.thumb_set RCC_IRQHandler,Default_Handler
.weak EXTI0_IRQHandler
.thumb_set EXTI0_IRQHandler,Default_Handler
.weak EXTI1_IRQHandler
.thumb_set EXTI1_IRQHandler,Default_Handler
.weak EXTI2_IRQHandler
.thumb_set EXTI2_IRQHandler,Default_Handler
.weak EXTI3_IRQHandler
.thumb_set EXTI3_IRQHandler,Default_Handler
.weak EXTI4_IRQHandler
.thumb_set EXTI4_IRQHandler,Default_Handler
.weak DMA1_Stream0_IRQHandler
.thumb_set DMA1_Stream0_IRQHandler,Default_Handler
.weak DMA1_Stream1_IRQHandler
.thumb_set DMA1_Stream1_IRQHandler,Default_Handler
.weak DMA1_Stream2_IRQHandler
.thumb_set DMA1_Stream2_IRQHandler,Default_Handler
.weak DMA1_Stream3_IRQHandler
.thumb_set DMA1_Stream3_IRQHandler,Default_Handler
.weak DMA1_Stream4_IRQHandler
.thumb_set DMA1_Stream4_IRQHandler,Default_Handler
.weak DMA1_Stream5_IRQHandler
.thumb_set DMA1_Stream5_IRQHandler,Default_Handler
.weak DMA1_Stream6_IRQHandler
.thumb_set DMA1_Stream6_IRQHandler,Default_Handler
.weak ADC_IRQHandler
.thumb_set ADC_IRQHandler,Default_Handler
.weak EXTI9_5_IRQHandler
.thumb_set EXTI9_5_IRQHandler,Default_Handler
.weak TIM1_BRK_TIM9_IRQHandler
.thumb_set TIM1_BRK_TIM9_IRQHandler,Default_Handler
.weak TIM1_UP_TIM10_IRQHandler
.thumb_set TIM1_UP_TIM10_IRQHandler,Default_Handler
.weak TIM1_TRG_COM_TIM11_IRQHandler
.thumb_set TIM1_TRG_COM_TIM11_IRQHandler,Default_Handler
.weak TIM1_CC_IRQHandler
.thumb_set TIM1_CC_IRQHandler,Default_Handler
.weak TIM2_IRQHandler
.thumb_set TIM2_IRQHandler,Default_Handler
.weak TIM3_IRQHandler
.thumb_set TIM3_IRQHandler,Default_Handler
.weak TIM4_IRQHandler
.thumb_set TIM4_IRQHandler,Default_Handler
.weak I2C1_EV_IRQHandler
.thumb_set I2C1_EV_IRQHandler,Default_Handler
.weak I2C1_ER_IRQHandler
.thumb_set I2C1_ER_IRQHandler,Default_Handler
.weak I2C2_EV_IRQHandler
.thumb_set I2C2_EV_IRQHandler,Default_Handler
.weak I2C2_ER_IRQHandler
.thumb_set I2C2_ER_IRQHandler,Default_Handler
.weak SPI1_IRQHandler
.thumb_set SPI1_IRQHandler,Default_Handler
.weak SPI2_IRQHandler
.thumb_set SPI2_IRQHandler,Default_Handler
.weak USART1_IRQHandler
.thumb_set USART1_IRQHandler,Default_Handler
.weak USART2_IRQHandler
.thumb_set USART2_IRQHandler,Default_Handler
.weak EXTI15_10_IRQHandler
.thumb_set EXTI15_10_IRQHandler,Default_Handler
.weak RTC_Alarm_IRQHandler
.thumb_set RTC_Alarm_IRQHandler,Default_Handler
.weak OTG_FS_WKUP_IRQHandler
.thumb_set OTG_FS_WKUP_IRQHandler,Default_Handler
.weak DMA1_Stream7_IRQHandler
.thumb_set DMA1_Stream7_IRQHandler,Default_Handler
.weak SDIO_IRQHandler
.thumb_set SDIO_IRQHandler,Default_Handler
.weak TIM5_IRQHandler
.thumb_set TIM5_IRQHandler,Default_Handler
.weak SPI3_IRQHandler
.thumb_set SPI3_IRQHandler,Default_Handler
.weak DMA2_Stream0_IRQHandler
.thumb_set DMA2_Stream0_IRQHandler,Default_Handler
.weak DMA2_Stream1_IRQHandler
.thumb_set DMA2_Stream1_IRQHandler,Default_Handler
.weak DMA2_Stream2_IRQHandler
.thumb_set DMA2_Stream2_IRQHandler,Default_Handler
.weak DMA2_Stream3_IRQHandler
.thumb_set DMA2_Stream3_IRQHandler,Default_Handler
.weak DMA2_Stream4_IRQHandler
.thumb_set DMA2_Stream4_IRQHandler,Default_Handler
.weak OTG_FS_IRQHandler
.thumb_set OTG_FS_IRQHandler,Default_Handler
.weak DMA2_Stream5_IRQHandler
.thumb_set DMA2_Stream5_IRQHandler,Default_Handler
.weak DMA2_Stream6_IRQHandler
.thumb_set DMA2_Stream6_IRQHandler,Default_Handler
.weak DMA2_Stream7_IRQHandler
.thumb_set DMA2_Stream7_IRQHandler,Default_Handler
.weak USART6_IRQHandler
.thumb_set USART6_IRQHandler,Default_Handler
.weak I2C3_EV_IRQHandler
.thumb_set I2C3_EV_IRQHandler,Default_Handler
.weak I2C3_ER_IRQHandler
.thumb_set I2C3_ER_IRQHandler,Default_Handler
.weak FPU_IRQHandler
.thumb_set FPU_IRQHandler,Default_Handler
.weak SPI4_IRQHandler
.thumb_set SPI4_IRQHandler,Default_Handler
.weak SPI5_IRQHandler
.thumb_set SPI5_IRQHandler,Default_Handler
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

View File

@@ -0,0 +1,78 @@
Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
../Core/Inc/stm32f4xx_hal_conf.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h \
../Drivers/CMSIS/Include/core_cm4.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
../Core/Inc/main.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
../Core/Inc/stm32f4xx_hal_conf.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h:
../Drivers/CMSIS/Include/core_cm4.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:

Binary file not shown.

View File

@@ -0,0 +1,3 @@
main.c:63:5:main 8 static
main.c:105:6:SystemClock_Config 88 static
main.c:148:6:Error_Handler 4 static,ignoring_inline_asm

View File

@@ -0,0 +1,78 @@
Core/Src/stm32f4xx_hal_msp.o: ../Core/Src/stm32f4xx_hal_msp.c \
../Core/Inc/main.h ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
../Core/Inc/stm32f4xx_hal_conf.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h \
../Drivers/CMSIS/Include/core_cm4.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h
../Core/Inc/main.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
../Core/Inc/stm32f4xx_hal_conf.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h:
../Drivers/CMSIS/Include/core_cm4.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:

View File

@@ -0,0 +1 @@
stm32f4xx_hal_msp.c:64:6:HAL_MspInit 16 static

View File

@@ -0,0 +1,81 @@
Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
../Core/Inc/stm32f4xx_hal_conf.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h \
../Drivers/CMSIS/Include/core_cm4.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Include/mpu_armv7.h \
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
../Core/Inc/stm32f4xx_it.h
../Core/Inc/main.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
../Core/Inc/stm32f4xx_hal_conf.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f411xe.h:
../Drivers/CMSIS/Include/core_cm4.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Include/mpu_armv7.h:
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
../Core/Inc/stm32f4xx_it.h:

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More