Skip to content
mcu.sch 36.4 KiB
Newer Older
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$EndComp
Text Label 10500 4400 0    60   ~ 0
TMS
Text Label 10500 4500 0    60   ~ 0
TCK
Wire Wire Line
	10000 4600 9900 4600
Wire Wire Line
	9900 4600 9900 4700
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L GND #PWR021
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57C791FC
P 9900 4700
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR021" H 9900 4450 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "GND" H 9900 4550 50  0000 C CNN
F 2 "" H 9900 4700 50  0000 C CNN
F 3 "" H 9900 4700 50  0000 C CNN
	1    9900 4700
	1    0    0    -1  
$EndComp
$Comp
L STM32F107VCT U1
U 10 1 57C94DA2
P 2200 2400
AR Path="/57C94DA2" Ref="U1"  Part="10" 
AR Path="/57A213D7/57C94DA2" Ref="U1"  Part="10" 
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "U1" H 1400 3250 50  0000 C CNN
F 1 "STM32F107VCT" H 1000 3250 50  0000 C CNN
F 2 "Housings_QFP:LQFP-100_14x14mm_Pitch0.5mm" H 2387 2734 50  0001 C CNN
F 3 "" H 2200 2400 50  0000 C CNN
F 4 "STMicroelectronics" H 7500 1700 60  0001 C CNN "MFN"
F 5 "STM32F107VCT7" H 7500 1700 60  0001 C CNN "MFP"
F 6 "511-STM32F107VCT7" H 7500 1700 60  0001 C CNN "S1PN"
F 7 "STM32 Connectivity, 72MHz, 256/64kB" H 7500 1700 60  0001 C CNN "Description"
	10   2200 2400
	1    0    0    -1  
$EndComp
Wire Wire Line
	3000 2600 3500 2600
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	3500 2100 3000 2100
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	3000 2000 3500 2000
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text HLabel 5000 1300 2    60   UnSpc ~ 0
Input_[0..2]
Wire Bus Line
	5000 1300 4900 1300
Wire Bus Line
	4900 1300 4900 2100
Entry Wire Line
	4800 2200 4900 2100
Entry Wire Line
	4800 1700 4900 1600
Entry Wire Line
	4800 1800 4900 1700
Wire Wire Line
	3000 1700 4800 1700
Wire Wire Line
	4800 1800 3000 1800
Wire Wire Line
	3000 2200 4800 2200
Text Label 3600 1700 0    60   ~ 0
Input_0
Text Label 3600 1800 0    60   ~ 0
Input_1
Text Label 3600 2200 0    60   ~ 0
Input_2
$Comp
L STM32F107VCT U1
U 7 1 57C9C470
P 2200 1000
AR Path="/57C9C470" Ref="U1"  Part="7" 
AR Path="/57A213D7/57C9C470" Ref="U1"  Part="7" 
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "U1" H 2650 1400 50  0000 C CNN
F 1 "STM32F107VCT" H 2650 1300 50  0000 C CNN
F 2 "Housings_QFP:LQFP-100_14x14mm_Pitch0.5mm" H 2387 1334 50  0001 C CNN
F 3 "" H 2200 1000 50  0000 C CNN
F 4 "STMicroelectronics" H 7500 300 60  0001 C CNN "MFN"
F 5 "STM32F107VCT7" H 7500 300 60  0001 C CNN "MFP"
F 6 "511-STM32F107VCT7" H 7500 300 60  0001 C CNN "S1PN"
F 7 "STM32 Connectivity, 72MHz, 256/64kB" H 7500 300 60  0001 C CNN "Description"
	7    2200 1000
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    0    0    1   
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$EndComp
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L CONN_02X05 P3
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57C9C680
Nicolas Pouillon's avatar
Nicolas Pouillon committed
P 4050 1100
F 0 "P3" H 4050 1500 50  0000 C CNN
F 1 "SPI" H 4050 1400 50  0000 C CNN
F 2 "SMD_pin_header:TH_2mm_02x05" H 4050 1100 50  0001 C CNN
F 3 "" H 4050 1100 50  0000 C CNN
F 4 "NU" H 4050 1050 60  0000 C CNN "Installed"
	1    4050 1100
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    0    0    -1  
$EndComp
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	3000 2800 4500 2800
Text Label 4350 1200 0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
CS1
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Label 3500 1300 0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
CS0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Label 3500 1100 0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
SCK
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Label 3500 900  0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
MOSI
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Label 3500 1000 0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
MISO
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	4850 800  4850 1100
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L +3V3 #PWR022
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57C9DC05
P 4850 800
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR022" H 4850 650 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "+3V3" H 4850 940 50  0000 C CNN
F 2 "" H 4850 800 50  0000 C CNN
F 3 "" H 4850 800 50  0000 C CNN
	1    4850 800 
	1    0    0    -1  
$EndComp
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	5050 800  5050 900 
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L +5V #PWR023
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57C9DD42
P 5050 800
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR023" H 5050 650 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "+5V" H 5050 940 50  0000 C CNN
F 2 "" H 5050 800 50  0000 C CNN
F 3 "" H 5050 800 50  0000 C CNN
	1    5050 800 
	1    0    0    -1  
$EndComp
Wire Wire Line
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	3250 1100 3800 1100
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Label 2900 5400 0    60   ~ 0
USB_VBus
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L USB_OTG P1
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57CD820F
P 1000 4600
AR Path="/57CD820F" Ref="P1"  Part="1" 
AR Path="/57A213D7/57CD820F" Ref="P1"  Part="1" 
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "P1" H 1325 4475 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "USB_OTG" H 1000 4800 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 2 "Molex_USB:47589-0001" V 950 4500 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 3 "" V 950 4500 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 4 "Molex" H 1000 4600 60  0001 C CNN "MFN"
F 5 "47589-0001" H 1000 4600 60  0001 C CNN "MFP"
F 6 "538-47589-0001" H 1000 4600 60  0001 C CNN "S1PN"
F 7 "USB AB Receptacle" H 1000 4600 60  0001 C CNN "Description"
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    1000 4600
	0    -1   1    0   
$EndComp
Wire Wire Line
	1200 6000 900  6000
Wire Wire Line
	900  6000 900  5000
Connection ~ 1200 6000
Wire Wire Line
	1300 4800 1400 4800
Wire Wire Line
	1400 4800 1400 4900
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L GND #PWR024
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57CD8F63
P 1400 4900
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR024" H 1400 4650 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "GND" H 1400 4750 50  0000 C CNN
F 2 "" H 1400 4900 50  0000 C CNN
F 3 "" H 1400 4900 50  0000 C CNN
	1    1400 4900
	1    0    0    -1  
$EndComp
Wire Wire Line
	1300 4600 2700 4600
Wire Wire Line
	2700 4600 2700 5600
Connection ~ 2700 5600
Wire Wire Line
	2800 5500 2800 4500
Wire Wire Line
	2800 4500 1300 4500
Connection ~ 2800 5500
$Comp
L R R1
U 1 1 57CD9189
P 3150 4400
F 0 "R1" V 3230 4400 50  0000 C CNN
F 1 "47k" V 3050 4400 50  0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3080 4400 50  0001 C CNN
F 3 "" H 3150 4400 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 4 "Panasonic" H 5550 3850 60  0001 C CNN "MFN"
F 5 "ERJ-3EKF4702V" H 5550 3850 60  0001 C CNN "MFP"
F 6 "667-ERJ-3EKF4702V" H 5550 3850 60  0001 C CNN "S1PN"
F 7 "1%, 75V, 0603" H 5550 3850 60  0001 C CNN "Description"
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    3150 4400
	0    1    1    0   
$EndComp
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L R R3
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57CD9317
P 3650 4400
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "R3" V 3730 4400 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "68k" V 3550 4400 50  0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3580 4400 50  0001 C CNN
F 3 "" H 3650 4400 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 4 "Panasonic" H 5550 3850 60  0001 C CNN "MFN"
F 5 "ERJ-3EKF6802V" H 5550 3850 60  0001 C CNN "MFP"
F 6 "667-ERJ-3EKF6802V" H 5550 3850 60  0001 C CNN "S1PN"
F 7 "1%, 75V, 0603" H 5550 3850 60  0001 C CNN "Description"
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    3650 4400
	0    1    1    0   
$EndComp
Wire Wire Line
	1300 4400 3000 4400
Wire Wire Line
	3300 4400 3500 4400
Wire Wire Line
	3800 4400 3900 4400
Wire Wire Line
	3900 4400 3900 4500
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L GND #PWR025
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 57CD995C
P 3900 4500
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR025" H 3900 4250 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "GND" H 3900 4350 50  0000 C CNN
F 2 "" H 3900 4500 50  0000 C CNN
F 3 "" H 3900 4500 50  0000 C CNN
	1    3900 4500
	1    0    0    -1  
$EndComp
Wire Wire Line
	3400 4400 3400 5400
Connection ~ 3400 5400
Connection ~ 3400 4400
Wire Wire Line
	1300 4700 3800 4700
Connection ~ 3800 5900
$Comp
L R R2
U 1 1 57CDA428
P 3150 4900
F 0 "R2" V 3230 4900 50  0000 C CNN
F 1 "1k5" V 3050 4900 50  0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3080 4900 50  0001 C CNN
F 3 "" H 3150 4900 50  0000 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 4 "Panasonic" H 5550 3850 60  0001 C CNN "MFN"
F 5 "ERJ-3EKF1501V" H 5550 3850 60  0001 C CNN "MFP"
F 6 "667-ERJ-3EKF1501V" H 5550 3850 60  0001 C CNN "S1PN"
F 7 "1%, 75V, 0603" H 5550 3850 60  0001 C CNN "Description"
Nicolas Pouillon's avatar
Nicolas Pouillon committed
	1    3150 4900
	0    1    1    0   
$EndComp
Wire Wire Line
	3000 4900 2700 4900
Connection ~ 2700 4900
Wire Wire Line
	3300 4900 3700 4900
Connection ~ 3700 5700
Text Notes 4150 4800 0    60   ~ 0
OTG:\nPA10: OTG ID\nPA8: D+ Pullup
Wire Notes Line
	600  3900 5600 3900
Wire Notes Line
	5700 600  5700 7700
Wire Notes Line
	6050 7700 6050 7650
Text Notes 9750 3150 0    60   ~ 0
Power, clock and reset
Text Notes 4500 7000 0    60   ~ 0
USB: OTG or Host
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Text Notes 4350 3800 0    60   ~ 0
Nicolas Pouillon's avatar
Nicolas Pouillon committed
SPI & bulk connections
Wire Notes Line
	5900 5400 10900 5400
Text Notes 10250 5600 0    60   ~ 0
RTC or LFCLK
Text Notes 10250 3850 0    60   ~ 0
Debug and trace
Wire Notes Line
	5900 3300 10900 3300
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$Comp
L STM32F107VCT U?
U 8 1 581F3E95
P 5950 2650
AR Path="/581F3E95" Ref="U?"  Part="5" 
AR Path="/57A213DD/581F3E95" Ref="U?"  Part="8" 
AR Path="/57A213D7/581F3E95" Ref="U1"  Part="8" 
F 0 "U1" H 6374 3195 50  0000 C CNN
F 1 "STM32F107VCT" H 6374 3104 50  0000 C CNN
F 2 "Housings_QFP:LQFP-100_14x14mm_Pitch0.5mm" H 6374 3013 50  0001 C CNN
F 3 "" H 5950 2650 50  0000 C CNN
F 4 "STMicroelectronics" H 14750 4350 60  0001 C CNN "MFN"
F 5 "STM32F107VCT7" H 14750 4350 60  0001 C CNN "MFP"
F 6 "511-STM32F107VCT7" H 14750 4350 60  0001 C CNN "S1PN"
F 7 "STM32 Connectivity, 72MHz, 256/64kB" H 14750 4350 60  0001 C CNN "Description"
	8    5950 2650
	1    0    0    1   
$EndComp
$Comp
L CONN_01X06 P14
U 1 1 581F3E9D
P 7600 2150
F 0 "P14" H 7600 2500 50  0000 C CNN
F 1 "UART" V 7700 2150 50  0000 C CNN
F 2 "Pin_Headers:Pin_Header_Straight_1x06" H 7600 2150 50  0001 C CNN
F 3 "" H 7600 2150 50  0000 C CNN
F 4 "OB" H 7600 2150 60  0000 C CNN "Installed"
	1    7600 2150
	0    1    -1   0   
$EndComp
Wire Wire Line
	6750 2850 7350 2850
Wire Wire Line
	6750 2750 7750 2750
Wire Wire Line
	6750 2650 7450 2650
Wire Wire Line
	6750 2550 7550 2550
Wire Wire Line
	7850 2350 7850 2450
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L GND #PWR026
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 581F3EA9
P 7850 2450
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR026" H 7850 2200 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "GND" H 7850 2300 50  0000 C CNN
F 2 "" H 7850 2450 50  0000 C CNN
F 3 "" H 7850 2450 50  0000 C CNN
	1    7850 2450
	1    0    0    -1  
$EndComp
Text Label 6850 2550 0    60   ~ 0
U2RX
Text Label 6850 2650 0    60   ~ 0
U2TX
Text Label 6850 2750 0    60   ~ 0
U2RTS
Text Label 6850 2850 0    60   ~ 0
U2CTS
Wire Wire Line
	7750 2750 7750 2350
Wire Wire Line
	7550 2550 7550 2350
Wire Wire Line
	7450 2650 7450 2350
Wire Wire Line
	7350 2850 7350 2350
Wire Notes Line
	5800 2000 8300 2000
Wire Notes Line
	8300 2000 8300 3200
Text Notes 7400 3200 0    60   ~ 0
UART
Text Label 10500 4600 0    60   ~ 0
U2TX
Text Label 10000 4500 2    60   ~ 0
U2RX
$Comp
L LED D13
U 1 1 581F5418
P 4400 3300
F 0 "D13" H 4400 3400 50  0000 C CNN
F 1 "Red" H 4400 3200 50  0000 C CNN
F 2 "LEDs:LED-5MM" H 4400 3300 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 3 "" H 4400 3300 50  0000 C CNN
F 4 "Osram Opto" H 4400 3300 60  0001 C CNN "MFN"
F 5 "LS Q976-NR-1" H 4400 3300 60  0001 C CNN "MFP"
F 6 "720-LSQ976-NR-1" H 4400 3300 60  0001 C CNN "S1PN"
F 7 "Red, Vf=2V, 20mA" H 4400 3300 60  0001 C CNN "Description"
	1    4400 3300
	1    0    0    -1  
$EndComp
$Comp
L LED D12
U 1 1 581F559F
P 4400 3000
F 0 "D12" H 4400 3100 50  0000 C CNN
F 1 "Green" H 4400 2900 50  0000 C CNN
F 2 "LEDs:LED-5MM" H 4400 3000 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 3 "" H 4400 3000 50  0000 C CNN
	1    4400 3000
	1    0    0    -1  
$EndComp
Wire Wire Line
	3200 3300 3600 3300
Wire Wire Line
	3300 3000 3600 3000
Wire Wire Line
	4200 3300 3900 3300
Wire Wire Line
	4200 3000 3900 3000
$Comp
L R R34
U 1 1 581F5A2C
P 3750 3300
F 0 "R34" V 3830 3300 50  0000 C CNN
F 1 "150R" V 3650 3300 50  0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3680 3300 50  0001 C CNN
F 3 "" H 3750 3300 50  0000 C CNN
	1    3750 3300
	0    -1   -1   0   
$EndComp
$Comp
L R R33
U 1 1 581F5B24
P 3750 3000
F 0 "R33" V 3830 3000 50  0000 C CNN
F 1 "150R" V 3650 3000 50  0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3680 3000 50  0001 C CNN
F 3 "" H 3750 3000 50  0000 C CNN
	1    3750 3000
	0    -1   -1   0   
$EndComp
Wire Wire Line
	4600 3000 5300 3000
Wire Wire Line
	4800 3300 4600 3300
Wire Wire Line
	4800 3000 4800 3300
Wire Wire Line
	5300 3000 5300 2900
Connection ~ 4800 3000
$Comp
Nicolas Pouillon's avatar
Nicolas Pouillon committed
L +3V3 #PWR027
Nicolas Pouillon's avatar
Nicolas Pouillon committed
U 1 1 581F6E38
P 5300 2900
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 0 "#PWR027" H 5300 2750 50  0001 C CNN
Nicolas Pouillon's avatar
Nicolas Pouillon committed
F 1 "+3V3" H 5300 3040 50  0000 C CNN
F 2 "" H 5300 2900 50  0000 C CNN
F 3 "" H 5300 2900 50  0000 C CNN
	1    5300 2900
	1    0    0    -1  
$EndComp
Wire Wire Line
	3300 3000 3300 1900
Wire Wire Line
	3300 1900 3000 1900
Wire Wire Line
	3000 2700 3200 2700
Wire Wire Line
	3200 2700 3200 3300
Nicolas Pouillon's avatar
Nicolas Pouillon committed
Wire Wire Line
	5050 900  4300 900 
Wire Wire Line
	4850 1100 4300 1100
Wire Wire Line
	4300 1000 4750 1000
Wire Wire Line
	4750 1000 4750 1200
$Comp
L GND #PWR028
U 1 1 582E76D9
P 4750 1200
F 0 "#PWR028" H 4750 950 50  0001 C CNN
F 1 "GND" H 4750 1050 50  0000 C CNN
F 2 "" H 4750 1200 50  0000 C CNN
F 3 "" H 4750 1200 50  0000 C CNN
	1    4750 1200
	1    0    0    -1  
$EndComp
Wire Wire Line
	3000 900  3800 900 
Wire Wire Line
	3000 800  3350 800 
Wire Wire Line
	3350 800  3350 1000
Wire Wire Line
	3350 1000 3800 1000
Wire Wire Line
	3000 1000 3250 1000
Wire Wire Line
	3250 1000 3250 1100
Wire Wire Line
	4500 2800 4500 1200
Wire Wire Line
	4500 1200 4300 1200
Wire Wire Line
	6750 2450 7150 2450
Text Label 6850 2450 0    60   ~ 0
CS2
Text Label 3500 1200 0    60   ~ 0
CS2
Wire Wire Line
	3000 1100 3150 1100
Wire Wire Line
	3150 1100 3150 1300
Wire Wire Line
	3500 1200 3800 1200
Wire Wire Line
	3150 1300 3800 1300
Wire Wire Line
	3000 2500 4400 2500
Wire Wire Line
	4400 2500 4400 1300
Wire Wire Line
	4400 1300 4300 1300
Nicolas Pouillon's avatar
Nicolas Pouillon committed
$EndSCHEMATC