GnuPG hardware token using Gnuk.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

579 lines
13 KiB

EESchema Schematic File Version 4
LIBS:gpgkey-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title "Gnukey"
Date "2019-04-18"
Rev "DS"
Comp "[RnD]²"
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L Gnukey:NUF2221W1 U3
U 1 1 4E521576
P 6300 1350
F 0 "U3" H 6100 1550 70 0000 C CNN
F 1 "NUF2221W1" H 6300 1125 70 0000 C CNN
F 2 "Gnukey:SOT363" H 6300 1350 60 0001 C CNN
F 3 "" H 6300 1350 60 0001 C CNN
F 4 "NUF2221W1T2G" H 0 0 50 0001 C CNN "MPN"
1 6300 1350
1 0 0 -1
$EndComp
Text Label 4400 3350 0 60 ~ 0
LED
Text Label 1650 3600 3 60 ~ 0
OSC_OUT
Text Label 1650 3300 1 60 ~ 0
OSC_IN
Text Label 2250 2850 0 60 ~ 0
NRST
$Comp
L power:GND #PWR07
U 1 1 4E2D76FE
P 4400 4100
F 0 "#PWR07" H 4400 4100 30 0001 C CNN
F 1 "GND" H 4400 4030 30 0001 C CNN
F 2 "" H 4400 4100 60 0001 C CNN
F 3 "" H 4400 4100 60 0001 C CNN
1 4400 4100
1 0 0 -1
$EndComp
$Comp
L Device:LED D1
U 1 1 4E2D76AF
P 4400 3800
F 0 "D1" H 4400 3900 50 0000 C CNN
F 1 "LED" H 4400 3700 50 0000 C CNN
F 2 "LED_SMD:LED_0603_1608Metric" H 4400 3800 60 0001 C CNN
F 3 "" H 4400 3800 60 0001 C CNN
F 4 "SML-D12V1WT86" H 0 0 50 0001 C CNN "MPN"
1 4400 3800
0 1 -1 0
$EndComp
$Comp
L power:GND #PWR011
U 1 1 4E2D6DF1
P 2350 3200
F 0 "#PWR011" H 2350 3200 30 0001 C CNN
F 1 "GND" H 2350 3130 30 0001 C CNN
F 2 "" H 2350 3200 60 0001 C CNN
F 3 "" H 2350 3200 60 0001 C CNN
1 2350 3200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR012
U 1 1 4E2D6A81
P 2000 3150
F 0 "#PWR012" H 2000 3150 30 0001 C CNN
F 1 "GND" H 2000 3080 30 0001 C CNN
F 2 "" H 2000 3150 60 0001 C CNN
F 3 "" H 2000 3150 60 0001 C CNN
1 2000 3150
1 0 0 -1
$EndComp
$Comp
L Device:C C3
U 1 1 4E2D6A2C
P 2000 3000
F 0 "C3" H 2050 3100 50 0000 L CNN
F 1 "100n" H 2050 2900 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 2000 3000 60 0001 C CNN
F 3 "" H 2000 3000 60 0001 C CNN
F 4 "CC0402KRX7R6BB104" H 0 0 50 0001 C CNN "MPN"
1 2000 3000
1 0 0 -1
$EndComp
$Comp
L power:+3V3 #PWR013
U 1 1 4E2D6574
P 1300 4650
F 0 "#PWR013" H 1300 4610 30 0001 C CNN
F 1 "+3V3" H 1300 4760 30 0000 C CNN
F 2 "" H 1300 4650 60 0001 C CNN
F 3 "" H 1300 4650 60 0001 C CNN
1 1300 4650
1 0 0 -1
$EndComp
$Comp
L Device:C C6
U 1 1 4E2D6573
P 1550 4850
F 0 "C6" H 1600 4950 50 0000 L CNN
F 1 "100n" H 1600 4750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1550 4850 60 0001 C CNN
F 3 "" H 1550 4850 60 0001 C CNN
F 4 "CC0402KRX7R6BB104" H 500 0 50 0001 C CNN "MPN"
1 1550 4850
1 0 0 1
$EndComp
$Comp
L Device:C C4
U 1 1 4E2D63F9
P 800 4850
F 0 "C4" H 850 4950 50 0000 L CNN
F 1 "100n" H 850 4750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 800 4850 60 0001 C CNN
F 3 "" H 800 4850 60 0001 C CNN
F 4 "CC0402KRX7R6BB104" H -800 0 50 0001 C CNN "MPN"
1 800 4850
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR016
U 1 1 4E2D63F8
P 1300 5000
F 0 "#PWR016" H 1300 5000 30 0001 C CNN
F 1 "GND" H 1300 4930 30 0001 C CNN
F 2 "" H 1300 5000 60 0001 C CNN
F 3 "" H 1300 5000 60 0001 C CNN
1 1300 5000
-1 0 0 -1
$EndComp
$Comp
L Device:C C5
U 1 1 4E2D167B
P 1100 4850
F 0 "C5" H 1150 4950 50 0000 L CNN
F 1 "100n" H 1150 4750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1100 4850 60 0001 C CNN
F 3 "" H 1100 4850 60 0001 C CNN
F 4 "CC0402KRX7R6BB104" H 300 0 50 0001 C CNN "MPN"
1 1100 4850
-1 0 0 1
$EndComp
$Comp
L Device:C C7
U 1 1 4E2D1296
P 1850 4850
F 0 "C7" H 1900 4950 50 0000 L CNN
F 1 "100n" H 1900 4750 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 1850 4850 60 0001 C CNN
F 3 "" H 1850 4850 60 0001 C CNN
F 4 "CC0402KRX7R6BB104" H 0 0 50 0001 C CNN "MPN"
1 1850 4850
1 0 0 1
$EndComp
$Comp
L power:+3V3 #PWR022
U 1 1 4E2CD995
P 4850 1000
F 0 "#PWR022" H 4850 960 30 0001 C CNN
F 1 "+3V3" H 4850 1110 30 0000 C CNN
F 2 "" H 4850 1000 60 0001 C CNN
F 3 "" H 4850 1000 60 0001 C CNN
1 4850 1000
1 0 0 -1
$EndComp
Wire Wire Line
2350 3050 2350 3200
$Comp
L power:+3V3 #PWR030
U 1 1 57C41036
P 7300 1100
F 0 "#PWR030" H 7300 1060 30 0001 C CNN
F 1 "+3V3" H 7300 1210 30 0000 C CNN
F 2 "" H 7300 1100 60 0001 C CNN
F 3 "" H 7300 1100 60 0001 C CNN
1 7300 1100
1 0 0 -1
$EndComp
$Comp
L Gnukey:USB_A_PLUG J1
U 1 1 5C56424B
P 1350 1300
F 0 "J1" V 1322 1527 60 0000 L CNN
F 1 "USB_A_PLUG" V 1428 1527 60 0000 L CNN
F 2 "Gnukey:usb-PCB" H 1350 1300 60 0001 C CNN
F 3 "" H 1350 1300 60 0000 C CNN
1 1350 1300
0 -1 1 0
$EndComp
Wire Wire Line
4400 3950 4400 4100
$Comp
L Device:C C8
U 1 1 5C5688A3
P 3700 1300
F 0 "C8" H 3815 1346 50 0000 L CNN
F 1 "1uF" H 3815 1255 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 3738 1150 50 0001 C CNN
F 3 "~" H 3700 1300 50 0001 C CNN
F 4 "CC0402KRX5R6BB105" H 0 0 50 0001 C CNN "MPN"
1 3700 1300
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0101
U 1 1 5C568AB6
P 4300 1600
F 0 "#PWR0101" H 4300 1350 50 0001 C CNN
F 1 "GND" H 4305 1427 50 0000 C CNN
F 2 "" H 4300 1600 50 0001 C CNN
F 3 "" H 4300 1600 50 0001 C CNN
1 4300 1600
1 0 0 -1
$EndComp
Wire Wire Line
3700 1550 4300 1550
Connection ~ 4300 1550
Wire Wire Line
4300 1550 4300 1600
Wire Wire Line
4600 1100 4700 1100
Wire Wire Line
4700 1150 4700 1100
Connection ~ 4700 1100
Wire Wire Line
4950 1100 4850 1100
$Comp
L Device:C C9
U 1 1 5C568976
P 4700 1300
F 0 "C9" H 4815 1346 50 0000 L CNN
F 1 "1uF" H 4815 1255 50 0000 L CNN
F 2 "Capacitor_SMD:C_0402_1005Metric" H 4738 1150 50 0001 C CNN
F 3 "~" H 4700 1300 50 0001 C CNN
F 4 "CC0402KRX5R6BB105" H 0 0 50 0001 C CNN "MPN"
1 4700 1300
1 0 0 -1
$EndComp
Wire Wire Line
4700 1450 4700 1550
Wire Wire Line
4300 1550 4700 1550
Wire Wire Line
3700 1100 3700 1150
Wire Wire Line
3700 1450 3700 1550
Text GLabel 2050 1100 2 60 Input ~ 0
VBUS
Text GLabel 2050 1400 2 60 Input ~ 0
D_PLUG+
Text GLabel 2050 1250 2 60 Input ~ 0
D_PLUG-
Text GLabel 3600 1100 0 60 Input ~ 0
VBUS
Wire Wire Line
3700 1100 3600 1100
Connection ~ 3700 1100
Wire Notes Line
3100 750 3100 2100
Text Notes 650 2050 0 60 ~ 0
USB Plug
Text Notes 3150 2050 0 60 ~ 0
3.3V LDO Regulator
Text GLabel 2050 1550 2 60 Input ~ 0
GND
Text GLabel 5800 1350 0 60 Input ~ 0
GND
Text GLabel 5800 1250 0 60 Input ~ 0
D+
Text GLabel 5800 1450 0 60 Input ~ 0
D-
Text GLabel 6800 1250 2 60 Input ~ 0
D_PLUG+
Text GLabel 6800 1450 2 60 Input ~ 0
D_PLUG-
Wire Wire Line
6800 1350 7300 1350
Wire Wire Line
7300 1350 7300 1100
Text Notes 5300 2050 0 60 ~ 0
USB Terminator, ESD Protection
Text GLabel 3800 4050 2 60 Input ~ 0
D+
Text GLabel 3800 3950 2 60 Input ~ 0
D-
Text GLabel 3800 4150 2 60 Input ~ 0
SWDIO
Text GLabel 3800 4250 2 60 Input ~ 0
SWCLK
Text GLabel 8250 1400 2 60 Input ~ 0
SWDIO
Text GLabel 8250 1500 2 60 Input ~ 0
SWCLK
Wire Notes Line
8700 2100 8700 750
Text Notes 7500 2050 0 60 ~ 0
SWD Header
$Comp
L Graphic:Logo_Open_Hardware_Small #LOGO1
U 1 1 5C5B07FA
P 850 7500
F 0 "#LOGO1" H 850 7775 50 0001 C CNN
F 1 "Logo_Open_Hardware_Small" H 850 7275 50 0001 C CNN
F 2 "" H 850 7500 50 0001 C CNN
F 3 "~" H 850 7500 50 0001 C CNN
1 850 7500
1 0 0 -1
$EndComp
$Comp
L Gnukey:DRV5032FA U4
U 1 1 5C5B0D87
P 6400 2900
F 0 "U4" H 6170 2946 50 0000 R CNN
F 1 "DRV5032FA" H 6800 3250 50 0000 R CNN
F 2 "Gnukey:Texas_X2SON-4_1.1x1.4mm_P0.4mm" H 6400 2550 50 0001 L CIN
F 3 "" H 6300 2900 50 0001 C CNN
F 4 "DRV5032FADMRT" H 0 0 50 0001 C CNN "MPN"
1 6400 2900
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0102
U 1 1 5C5B0EB8
P 6300 3400
F 0 "#PWR0102" H 6300 3150 50 0001 C CNN
F 1 "GND" H 6305 3227 50 0000 C CNN
F 2 "" H 6300 3400 50 0001 C CNN
F 3 "" H 6300 3400 50 0001 C CNN
1 6300 3400
1 0 0 -1
$EndComp
Text GLabel 4400 3050 2 60 Input ~ 0
ACKBTN
Text GLabel 6700 2800 2 60 Input ~ 0
ACKBTN
$Comp
L power:+3V3 #PWR0103
U 1 1 5C5B9CC9
P 6300 2350
F 0 "#PWR0103" H 6300 2310 30 0001 C CNN
F 1 "+3V3" H 6300 2460 30 0000 C CNN
F 2 "" H 6300 2350 60 0001 C CNN
F 3 "" H 6300 2350 60 0001 C CNN
1 6300 2350
1 0 0 -1
$EndComp
Wire Notes Line
7450 750 7450 3800
Text Notes 5350 3750 0 60 ~ 0
Acknowledge button (optional)
Text Notes 550 5350 0 60 ~ 0
ARM MCU
$Comp
L Device:R R1
U 1 1 5C5F2E28
P 4400 3500
F 0 "R1" H 4470 3546 50 0000 L CNN
F 1 "330" V 4400 3450 50 0000 L CNN
F 2 "Resistor_SMD:R_0402_1005Metric" V 4330 3500 50 0001 C CNN
F 3 "~" H 4400 3500 50 0001 C CNN
F 4 "RC0402JR-0733RL" H 4400 3500 50 0001 C CNN "MPN"
1 4400 3500
1 0 0 -1
$EndComp
$Comp
L MCU_ST_STM32F1:STM32F103TBUx U1
U 1 1 5C5931F2
P 3200 3550
F 0 "U1" H 3150 4628 50 0000 C CNN
F 1 "STM32F103TBUx" H 3150 4537 50 0000 C CNN
F 2 "Package_DFN_QFN:QFN-36-1EP_6x6mm_P0.5mm_EP4.1x4.1mm" H 2600 2650 50 0001 R CNN
F 3 "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00161566.pdf" H 3200 3550 50 0001 C CNN
F 4 "STM32F103TBU6" H 3200 3550 50 0001 C CNN "MPN"
1 3200 3550
1 0 0 -1
$EndComp
Wire Wire Line
2500 3050 2350 3050
Wire Wire Line
2000 2850 2500 2850
Wire Wire Line
3300 2650 3200 2650
Wire Wire Line
3100 2650 3200 2650
Connection ~ 3200 2650
Wire Wire Line
3100 2650 3000 2650
Connection ~ 3100 2650
Wire Wire Line
3000 2650 2750 2650
Wire Wire Line
2750 2650 2750 2500
Connection ~ 3000 2650
$Comp
L power:+3.3V #PWR0104
U 1 1 5C5B9DE7
P 2750 2500
F 0 "#PWR0104" H 2750 2350 50 0001 C CNN
F 1 "+3.3V" H 2765 2673 50 0000 C CNN
F 2 "" H 2750 2500 50 0001 C CNN
F 3 "" H 2750 2500 50 0001 C CNN
1 2750 2500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0105
U 1 1 5C5BA007
P 3500 4600
F 0 "#PWR0105" H 3500 4350 50 0001 C CNN
F 1 "GND" H 3505 4427 50 0000 C CNN
F 2 "" H 3500 4600 50 0001 C CNN
F 3 "" H 3500 4600 50 0001 C CNN
1 3500 4600
1 0 0 -1
$EndComp
Wire Wire Line
3500 4600 3500 4550
Wire Wire Line
3500 4550 3400 4550
Connection ~ 3400 4550
Wire Wire Line
3200 4550 3300 4550
Connection ~ 3300 4550
Wire Wire Line
3300 4550 3400 4550
Wire Wire Line
3200 4550 3100 4550
Connection ~ 3200 4550
Wire Wire Line
3100 4550 3000 4550
Connection ~ 3100 4550
Wire Wire Line
3800 3150 4400 3150
Wire Wire Line
4400 3150 4400 3350
Wire Wire Line
1300 4700 1300 4650
Connection ~ 1300 4700
Connection ~ 1300 5000
Wire Wire Line
2350 3450 2500 3450
Wire Notes Line
500 5400 500 750
Wire Notes Line
5200 5400 500 5400
Wire Notes Line
5200 3800 7450 3800
$Comp
L power:GND #PWR0106
U 1 1 5C677DDE
P 2300 3850
F 0 "#PWR0106" H 2300 3600 50 0001 C CNN
F 1 "GND" H 2305 3677 50 0000 C CNN
F 2 "" H 2300 3850 50 0001 C CNN
F 3 "" H 2300 3850 50 0001 C CNN
1 2300 3850
1 0 0 -1
$EndComp
Wire Wire Line
2300 3850 2500 3850
$Comp
L Device:Resonator Y1
U 1 1 5C58CF42
P 1450 3450
F 0 "Y1" V 1404 3561 50 0000 L CNN
F 1 "Resonator" V 1495 3561 50 0000 L CNN
F 2 "Crystal:Resonator_SMD_muRata_CSTxExxV-3Pin_3.0x1.1mm" H 1425 3450 50 0001 C CNN
F 3 "${KIPRJMOD}/datasheet/SPEC-CSTNE8M00GH5L000R0.pdf" H 1425 3450 50 0001 C CNN
F 4 "CSTNE8M00GH5C000R0" V 1450 3450 50 0001 C CNN "MPN"
1 1450 3450
0 1 1 0
$EndComp
Wire Wire Line
2150 3300 2150 3350
Wire Wire Line
1450 3300 2150 3300
Wire Wire Line
2150 3350 2500 3350
Wire Wire Line
2350 3450 2350 3600
Wire Wire Line
1450 3600 2350 3600
Wire Wire Line
1250 3450 1150 3450
Wire Wire Line
1150 3450 1150 3550
$Comp
L power:GND #PWR0107
U 1 1 5C5976EC
P 1150 3550
F 0 "#PWR0107" H 1150 3300 50 0001 C CNN
F 1 "GND" H 1155 3377 50 0000 C CNN
F 2 "" H 1150 3550 50 0001 C CNN
F 3 "" H 1150 3550 50 0001 C CNN
1 1150 3550
1 0 0 -1
$EndComp
Wire Notes Line
5200 750 5200 5400
$Comp
L Regulator_Linear:MCP1700-3302E_SOT23 U2
U 1 1 5C5B30B0
P 4300 1100
F 0 "U2" H 4300 1342 50 0000 C CNN
F 1 "MCP1700-3302E_SOT23" H 4300 1251 50 0000 C CNN
F 2 "Package_TO_SOT_SMD:SOT-23" H 4300 1325 50 0001 C CNN
F 3 "http://ww1.microchip.com/downloads/en/DeviceDoc/20001826C.pdf" H 4300 1100 50 0001 C CNN
F 4 "MCP1700T-3302E/TT" H 0 0 50 0001 C CNN "MPN"
1 4300 1100
1 0 0 -1
$EndComp
Wire Wire Line
3700 1100 4000 1100
Wire Wire Line
4300 1400 4300 1550
Wire Wire Line
3800 3050 4400 3050
Wire Wire Line
6300 3300 6300 3400
Wire Wire Line
6300 2350 6300 2500
$Comp
L Connector_Generic:Conn_02x02_Counter_Clockwise J2
U 1 1 5C5C8574
P 7950 1400
F 0 "J2" H 8000 1617 50 0000 C CNN
F 1 "SWD" H 8000 1526 50 0000 C CNN
F 2 "Connector_PinHeader_1.00mm:PinHeader_2x02_P1.00mm_Vertical" H 7950 1400 50 0001 C CNN
F 3 "~" H 7950 1400 50 0001 C CNN
1 7950 1400
1 0 0 -1
$EndComp
Wire Notes Line
500 2100 8700 2100
Wire Notes Line
500 750 8700 750
Text GLabel 7750 1400 0 60 Input ~ 0
GND
Text GLabel 4950 1100 2 60 Input ~ 0
3V3
Wire Wire Line
4850 1100 4850 1000
Connection ~ 4850 1100
Wire Wire Line
4850 1100 4700 1100
Text GLabel 7750 1500 0 60 Input ~ 0
3V3
Text GLabel 6700 3100 2 60 Input ~ 0
GND
Wire Wire Line
1300 4700 1550 4700
Wire Wire Line
1300 5000 1550 5000
Wire Wire Line
800 4700 1100 4700
Wire Wire Line
800 5000 1100 5000
Connection ~ 1100 4700
Wire Wire Line
1100 4700 1300 4700
Connection ~ 1100 5000
Wire Wire Line
1100 5000 1300 5000
Connection ~ 1550 4700
Connection ~ 1550 5000
Wire Wire Line
1550 4700 1850 4700
Wire Wire Line
1550 5000 1850 5000
$EndSCHEMATC