From d3581a360ae6b446b2e93c4487e6d24ab0a89bbc Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sat, 1 Oct 2016 17:33:34 +0200 Subject: [PATCH 01/10] Added STM32F407ZGT --- schematics/stm/stm32f4.dcm | 6 ++ schematics/stm/stm32f4.lib | 185 ++++++++++++++++++++++++++++++++++++- 2 files changed, 186 insertions(+), 5 deletions(-) diff --git a/schematics/stm/stm32f4.dcm b/schematics/stm/stm32f4.dcm index 5f3ed79..df0fb22 100644 --- a/schematics/stm/stm32f4.dcm +++ b/schematics/stm/stm32f4.dcm @@ -1,3 +1,9 @@ EESchema-DOCLIB Version 2.0 # +$CMP STM32F407ZGT +D ARM Cortex-M4 32b MCU+FPU, 210DMIPS, up to 1MB Flash/192+4KB RAM, USB OTG HS/FS, Ethernet, 17 TIMs, 3 ADCs, 15 comm. interfaces & camera +K STM32 ARM Microcontroller Controller +F http://www.st.com/content/ccc/resource/technical/document/datasheet/ef/92/76/6d/bb/c2/4f/f7/DM00037051.pdf/files/DM00037051.pdf/jcr:content/translations/en.DM00037051.pdf +$ENDCMP +# #End Doc Library diff --git a/schematics/stm/stm32f4.lib b/schematics/stm/stm32f4.lib index 5632747..2a46c51 100644 --- a/schematics/stm/stm32f4.lib +++ b/schematics/stm/stm32f4.lib @@ -9,14 +9,14 @@ F1 "STM32F407VGT" 350 50 60 H V C CNN F2 "" -500 500 60 H V C CNN F3 "" -500 500 60 H V C CNN DRAW -T 900 450 -800 60 0 2 0 Port~A Normal 0 C C -T 900 450 -800 60 0 3 0 Port~B Normal 0 C C +T 900 450 -800 60 0 2 0 Port~A Normal 0 C C +T 900 450 -800 60 0 3 0 Port~B Normal 0 C C S 0 0 750 -1700 3 0 0 f -T 900 450 -800 60 0 4 0 Port~C Normal 0 C C +T 900 450 -800 60 0 4 0 Port~C Normal 0 C C S 0 0 750 -1700 4 0 0 f -T 900 450 -800 60 0 5 0 Port~D Normal 0 C C +T 900 450 -800 60 0 5 0 Port~D Normal 0 C C S 0 0 750 -1700 5 0 0 f -T 900 450 -800 60 0 6 0 Port~E Normal 0 C C +T 900 450 -800 60 0 6 0 Port~E Normal 0 C C S 0 0 750 -1700 6 0 0 f S 0 0 550 -550 7 0 0 f S 0 0 500 -1350 1 1 0 f @@ -124,4 +124,179 @@ X BOOT0 94 -200 -450 200 R 50 50 7 1 I ENDDRAW ENDDEF # +# STM32F407ZGT +# +DEF STM32F407ZGT U 0 40 Y Y 9 L N +F0 "U" 100 150 60 H V C CNN +F1 "STM32F407ZGT" 350 50 60 H V C CNN +F2 "" -500 500 60 H V C CNN +F3 "" -500 500 60 H V C CNN +$FPLIST + LQFP144 + LQFP-144 +$ENDFPLIST +DRAW +T 900 450 -800 60 0 2 0 Port~A Normal 0 C C +T 900 450 -800 60 0 3 0 Port~B Normal 0 C C +S 0 0 750 -1700 3 0 0 f +T 900 450 -800 60 0 4 0 Port~C Normal 0 C C +S 0 0 750 -1700 4 0 0 f +T 900 450 -800 60 0 5 0 Port~D Normal 0 C C +S 0 0 750 -1700 5 0 0 f +T 900 450 -800 60 0 6 0 Port~E Normal 0 C C +S 0 0 750 -1700 6 0 0 f +S 0 0 750 -1700 7 0 0 f +S 0 0 500 -1950 1 1 0 f +X VBAT 6 -200 -1850 200 R 50 50 1 1 W +X VDD 30 -200 -200 200 R 50 50 1 1 W +X VSSA 31 700 -1350 200 L 50 50 1 1 W +X VSS 51 700 -300 200 L 50 50 1 1 W +X VSS 61 700 -400 200 L 50 50 1 1 W +X VCAP1 71 -200 -1600 200 R 50 50 1 1 W +X VREF+ 32 -200 -1450 200 R 50 50 1 1 W +X VDD 52 -200 -400 200 R 50 50 1 1 W +X VDD 62 -200 -500 200 R 50 50 1 1 W +X VDD 72 -200 -600 200 R 50 50 1 1 W +X VDDA 33 -200 -1350 200 R 50 50 1 1 W +X VSS 83 700 -500 200 L 50 50 1 1 W +X VDD 84 -200 -700 200 R 50 50 1 1 W +X VSS 94 700 -600 200 L 50 50 1 1 W +X VDD 95 -200 -800 200 R 50 50 1 1 W +X VSS 16 700 -100 200 L 50 50 1 1 W +X VDD 17 -200 -100 200 R 50 50 1 1 W +X VSS 38 700 -200 200 L 50 50 1 1 W +X VDD 39 -200 -300 200 R 50 50 1 1 W +X VSS 120 700 -800 200 L 50 50 1 1 W +X VSS 130 700 -900 200 L 50 50 1 1 W +X VDD 121 -200 -1000 200 R 50 50 1 1 W +X VDD 131 -200 -1100 200 R 50 50 1 1 W +X VDD 144 -200 -1200 200 R 50 50 1 1 W +X VCAP2 106 -200 -1700 200 R 50 50 1 1 W +X VSS 107 700 -700 200 L 50 50 1 1 W +X VDD 108 -200 -900 200 R 50 50 1 1 W +S 0 0 750 -1700 2 1 0 f +X PA4 40 -200 -500 200 R 50 50 2 1 B +X PA5 41 -200 -600 200 R 50 50 2 1 B +X PA6 42 -200 -700 200 R 50 50 2 1 B +X PA7 43 -200 -800 200 R 50 50 2 1 B +X PA0/WKUP 34 -200 -100 200 R 50 50 2 1 B +X PA1 35 -200 -200 200 R 50 50 2 1 B +X PA2 36 -200 -300 200 R 50 50 2 1 B +X PA3 37 -200 -400 200 R 50 50 2 1 B +X PA8 100 -200 -900 200 R 50 50 2 1 B +X PA15/JTDI 110 -200 -1600 200 R 50 50 2 1 B +X PA9 101 -200 -1000 200 R 50 50 2 1 B +X PA10 102 -200 -1100 200 R 50 50 2 1 B +X PA11 103 -200 -1200 200 R 50 50 2 1 B +X PA12 104 -200 -1300 200 R 50 50 2 1 B +X PA13/JTMS/SWDIO 105 -200 -1400 200 R 50 50 2 1 B +X PA14/JTCK/SWCLK 109 -200 -1500 200 R 50 50 2 1 B +X PB11 70 -200 -1200 200 R 50 50 3 1 B +X PB12 73 -200 -1300 200 R 50 50 3 1 B +X PB13 74 -200 -1400 200 R 50 50 3 1 B +X PB14 75 -200 -1500 200 R 50 50 3 1 B +X PB0 46 -200 -100 200 R 50 50 3 1 B +X PB15 76 -200 -1600 200 R 50 50 3 1 B +X PB1 47 -200 -200 200 R 50 50 3 1 B +X PB2/BOOT1 48 -200 -300 200 R 50 50 3 1 B +X PB10 69 -200 -1100 200 R 50 50 3 1 B +X PB9 140 -200 -1000 200 R 50 50 3 1 B +X PB3/JTDO/TCSWO 133 -200 -400 200 R 50 50 3 1 B +X PB4/NJRST 134 -200 -500 200 R 50 50 3 1 B +X PB5 135 -200 -600 200 R 50 50 3 1 B +X PB6 136 -200 -700 200 R 50 50 3 1 B +X PB7 137 -200 -800 200 R 50 50 3 1 B +X PB8 139 -200 -900 200 R 50 50 3 1 B +X PC13 7 -200 -1400 200 R 50 50 4 1 B +X PC14/OSC32_IN 8 -200 -1500 200 R 50 50 4 1 B +X PC15/OSC32_OUT 9 -200 -1600 200 R 50 50 4 1 B +X PC4 44 -200 -500 200 R 50 50 4 1 B +X PC5 45 -200 -600 200 R 50 50 4 1 B +X PC0 26 -200 -100 200 R 50 50 4 1 B +X PC6 96 -200 -700 200 R 50 50 4 1 B +X PC1 27 -200 -200 200 R 50 50 4 1 B +X PC7 97 -200 -800 200 R 50 50 4 1 B +X PC2 28 -200 -300 200 R 50 50 4 1 B +X PC8 98 -200 -900 200 R 50 50 4 1 B +X PC3 29 -200 -400 200 R 50 50 4 1 B +X PC9 99 -200 -1000 200 R 50 50 4 1 B +X PC10 111 -200 -1100 200 R 50 50 4 1 B +X PC11 112 -200 -1200 200 R 50 50 4 1 B +X PC12 113 -200 -1300 200 R 50 50 4 1 B +X PD11 80 -200 -1200 200 R 50 50 5 1 B +X PD12 81 -200 -1300 200 R 50 50 5 1 B +X PD13 82 -200 -1400 200 R 50 50 5 1 B +X PD14 85 -200 -1500 200 R 50 50 5 1 B +X PD15 86 -200 -1600 200 R 50 50 5 1 B +X PD8 77 -200 -900 200 R 50 50 5 1 B +X PD9 78 -200 -1000 200 R 50 50 5 1 B +X PD10 79 -200 -1100 200 R 50 50 5 1 B +X PD6 122 -200 -700 200 R 50 50 5 1 B +X PD7 123 -200 -800 200 R 50 50 5 1 B +X PD0 114 -200 -100 200 R 50 50 5 1 B +X PD1 115 -200 -200 200 R 50 50 5 1 B +X PD2 116 -200 -300 200 R 50 50 5 1 B +X PD3 117 -200 -400 200 R 50 50 5 1 B +X PD4 118 -200 -500 200 R 50 50 5 1 B +X PD5 119 -200 -600 200 R 50 50 5 1 B +X PE2 1 -200 -300 200 R 50 50 6 1 B +X PE3 2 -200 -400 200 R 50 50 6 1 B +X PE4 3 -200 -500 200 R 50 50 6 1 B +X PE5 4 -200 -600 200 R 50 50 6 1 B +X PE6 5 -200 -700 200 R 50 50 6 1 B +X PE9 60 -200 -1000 200 R 50 50 6 1 B +X PE10 63 -200 -1100 200 R 50 50 6 1 B +X PE11 64 -200 -1200 200 R 50 50 6 1 B +X PE12 65 -200 -1300 200 R 50 50 6 1 B +X PE13 66 -200 -1400 200 R 50 50 6 1 B +X PE14 67 -200 -1500 200 R 50 50 6 1 B +X PE7 58 -200 -800 200 R 50 50 6 1 B +X PE15 68 -200 -1600 200 R 50 50 6 1 B +X PE8 59 -200 -900 200 R 50 50 6 1 B +X PE0 141 -200 -100 200 R 50 50 6 1 B +X PE1 142 -200 -200 200 R 50 50 6 1 B +T 900 450 -800 60 0 7 1 Port~F Normal 0 C C +X PF0 10 -200 -100 200 R 50 50 7 1 B +X PF8 20 -200 -900 200 R 50 50 7 1 B +X PF12 50 -200 -1300 200 R 50 50 7 1 B +X PF1 11 -200 -200 200 R 50 50 7 1 B +X PF9 21 -200 -1000 200 R 50 50 7 1 B +X PF2 12 -200 -300 200 R 50 50 7 1 B +X PF10 22 -200 -1100 200 R 50 50 7 1 B +X PF3 13 -200 -400 200 R 50 50 7 1 B +X PF13 53 -200 -1400 200 R 50 50 7 1 B +X PF4 14 -200 -500 200 R 50 50 7 1 B +X PF14 54 -200 -1500 200 R 50 50 7 1 B +X PF5 15 -200 -600 200 R 50 50 7 1 B +X PF15 55 -200 -1600 200 R 50 50 7 1 B +X PF6 18 -200 -700 200 R 50 50 7 1 B +X PF7 19 -200 -800 200 R 50 50 7 1 B +X PF11 49 -200 -1200 200 R 50 50 7 1 B +T 900 450 -800 60 0 8 1 Port~G Normal 0 C C +S 0 0 750 -1700 8 1 0 f +X PG5 90 -200 -600 200 R 50 50 8 1 B +X PG6 91 -200 -700 200 R 50 50 8 1 B +X PG7 92 -200 -800 200 R 50 50 8 1 B +X PG8 93 -200 -900 200 R 50 50 8 1 B +X PG0 56 -200 -100 200 R 50 50 8 1 B +X PG1 57 -200 -200 200 R 50 50 8 1 B +X PG2 87 -200 -300 200 R 50 50 8 1 B +X PG3 88 -200 -400 200 R 50 50 8 1 B +X PG4 89 -200 -500 200 R 50 50 8 1 B +X PG15 132 -200 -1600 200 R 50 50 8 1 B +X PG9 124 -200 -1000 200 R 50 50 8 1 B +X PG10 125 -200 -1100 200 R 50 50 8 1 B +X PG11 126 -200 -1200 200 R 50 50 8 1 B +X PG12 127 -200 -1300 200 R 50 50 8 1 B +X PG13 128 -200 -1400 200 R 50 50 8 1 B +X PG14 129 -200 -1500 200 R 50 50 8 1 B +S 0 0 750 -700 9 1 0 f +X PH0/OSC_IN 23 -200 -100 200 R 50 50 9 1 B +X PH1/OSC_IN 24 -200 -200 200 R 50 50 9 1 B +X NRST 25 -200 -400 200 R 50 50 9 1 B +X PDR_ON 143 -200 -600 200 R 50 50 9 1 B +X BOOT0 138 -200 -500 200 R 50 50 9 1 B +ENDDRAW +ENDDEF +# #End Library From 1fb1b05b4ba2c49dff8ba688d57ddb07aedfe3e1 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 2 Oct 2016 13:04:27 +0200 Subject: [PATCH 02/10] Updated STM32F407ZGT --- schematics/stm/stm32f4.lib | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/schematics/stm/stm32f4.lib b/schematics/stm/stm32f4.lib index 2a46c51..5827028 100644 --- a/schematics/stm/stm32f4.lib +++ b/schematics/stm/stm32f4.lib @@ -146,33 +146,33 @@ S 0 0 750 -1700 5 0 0 f T 900 450 -800 60 0 6 0 Port~E Normal 0 C C S 0 0 750 -1700 6 0 0 f S 0 0 750 -1700 7 0 0 f -S 0 0 500 -1950 1 1 0 f -X VBAT 6 -200 -1850 200 R 50 50 1 1 W +S 0 0 600 -1700 1 1 0 f +X VBAT 6 -200 -1600 200 R 50 50 1 1 W X VDD 30 -200 -200 200 R 50 50 1 1 W -X VSSA 31 700 -1350 200 L 50 50 1 1 W -X VSS 51 700 -300 200 L 50 50 1 1 W -X VSS 61 700 -400 200 L 50 50 1 1 W -X VCAP1 71 -200 -1600 200 R 50 50 1 1 W +X VSSA 31 800 -1050 200 L 50 50 1 1 W +X VSS 51 800 -300 200 L 50 50 1 1 W +X VSS 61 800 -400 200 L 50 50 1 1 W +X VCAP1 71 800 -1200 200 L 50 50 1 1 W X VREF+ 32 -200 -1450 200 R 50 50 1 1 W X VDD 52 -200 -400 200 R 50 50 1 1 W X VDD 62 -200 -500 200 R 50 50 1 1 W X VDD 72 -200 -600 200 R 50 50 1 1 W X VDDA 33 -200 -1350 200 R 50 50 1 1 W -X VSS 83 700 -500 200 L 50 50 1 1 W +X VSS 83 800 -500 200 L 50 50 1 1 W X VDD 84 -200 -700 200 R 50 50 1 1 W -X VSS 94 700 -600 200 L 50 50 1 1 W +X VSS 94 800 -600 200 L 50 50 1 1 W X VDD 95 -200 -800 200 R 50 50 1 1 W -X VSS 16 700 -100 200 L 50 50 1 1 W +X VSS 16 800 -100 200 L 50 50 1 1 W X VDD 17 -200 -100 200 R 50 50 1 1 W -X VSS 38 700 -200 200 L 50 50 1 1 W +X VSS 38 800 -200 200 L 50 50 1 1 W X VDD 39 -200 -300 200 R 50 50 1 1 W -X VSS 120 700 -800 200 L 50 50 1 1 W -X VSS 130 700 -900 200 L 50 50 1 1 W +X VSS 120 800 -800 200 L 50 50 1 1 W +X VSS 130 800 -900 200 L 50 50 1 1 W X VDD 121 -200 -1000 200 R 50 50 1 1 W X VDD 131 -200 -1100 200 R 50 50 1 1 W X VDD 144 -200 -1200 200 R 50 50 1 1 W -X VCAP2 106 -200 -1700 200 R 50 50 1 1 W -X VSS 107 700 -700 200 L 50 50 1 1 W +X VCAP2 106 800 -1300 200 L 50 50 1 1 W +X VSS 107 800 -700 200 L 50 50 1 1 W X VDD 108 -200 -900 200 R 50 50 1 1 W S 0 0 750 -1700 2 1 0 f X PA4 40 -200 -500 200 R 50 50 2 1 B @@ -292,10 +292,10 @@ X PG13 128 -200 -1400 200 R 50 50 8 1 B X PG14 129 -200 -1500 200 R 50 50 8 1 B S 0 0 750 -700 9 1 0 f X PH0/OSC_IN 23 -200 -100 200 R 50 50 9 1 B -X PH1/OSC_IN 24 -200 -200 200 R 50 50 9 1 B -X NRST 25 -200 -400 200 R 50 50 9 1 B -X PDR_ON 143 -200 -600 200 R 50 50 9 1 B -X BOOT0 138 -200 -500 200 R 50 50 9 1 B +X PH1/OSC_OUT 24 -200 -200 200 R 50 50 9 1 B +X NRST 25 -200 -400 200 R 50 50 9 1 I +X PDR_ON 143 -200 -600 200 R 50 50 9 1 I +X BOOT0 138 -200 -500 200 R 50 50 9 1 I ENDDRAW ENDDEF # From 51ce9cf5b7ff7b57688c558559abc883f5696cca Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 2 Oct 2016 13:51:14 +0200 Subject: [PATCH 03/10] Added ST1S10 --- README.MD | 2 ++ schematics/power/regulators.dcm | 6 ++++++ schematics/power/regulators.lib | 23 +++++++++++++++++++++++ 3 files changed, 31 insertions(+) diff --git a/README.MD b/README.MD index 82df89b..4141df8 100644 --- a/README.MD +++ b/README.MD @@ -15,9 +15,11 @@ Libraries for KiCad. ## Power * MCP73833 +* ST1S10 ## STM32F4 * STM32F407VGT +* STM32F407ZGT ## Connectors * Micro SD Card diff --git a/schematics/power/regulators.dcm b/schematics/power/regulators.dcm index 3a1a3c0..ab4c9d2 100644 --- a/schematics/power/regulators.dcm +++ b/schematics/power/regulators.dcm @@ -6,4 +6,10 @@ K Buck Step-down regulator F http://www.ti.com/lit/ds/symlink/lm2596.pdf $ENDCMP # +$CMP ST1S10 +D 3 A, 900 kHz, monolithic synchronous step-down regulator IC +K Step Down Switch Mode Power Supply SMPS +F http://www.st.com/content/ccc/resource/technical/document/datasheet/fb/03/25/5a/eb/45/46/33/CD00169322.pdf/files/CD00169322.pdf/jcr:content/translations/en.CD00169322.pdf +$ENDCMP +# #End Doc Library diff --git a/schematics/power/regulators.lib b/schematics/power/regulators.lib index e5bee87..88aca8d 100644 --- a/schematics/power/regulators.lib +++ b/schematics/power/regulators.lib @@ -22,4 +22,27 @@ X ON 5 -150 -500 200 U 50 50 1 1 I I ENDDRAW ENDDEF # +# ST1S10 +# +DEF ST1S10 U 0 40 Y Y 1 F N +F0 "U" 50 50 60 H V C CNN +F1 "ST1S10" 500 50 60 H V C CNN +F2 "" 0 0 60 H I C CNN +F3 "" 0 0 60 H I C CNN +$FPLIST + PowerSO-8 +$ENDFPLIST +DRAW +S 0 0 650 -700 0 1 0 f +X V_IN_A 1 -200 -200 200 R 50 50 1 1 W +X EN_L 2 -200 -400 200 R 50 50 1 1 I I +X V_FB 3 850 -400 200 L 50 50 1 1 I +X AGND 4 300 -900 200 U 50 50 1 1 W +X SYNC 5 450 -900 200 U 50 50 1 1 I +X V_IN_SW 6 -200 -100 200 R 50 50 1 1 W +X SW 7 850 -100 200 L 50 50 1 1 w +X PGND 8 150 -900 200 U 50 50 1 1 W +ENDDRAW +ENDDEF +# #End Library From dd29f62281598b5ed8312e678215099258448c39 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 2 Oct 2016 15:31:51 +0200 Subject: [PATCH 04/10] Updated ST1S10 --- schematics/power/regulators.lib | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schematics/power/regulators.lib b/schematics/power/regulators.lib index 88aca8d..95c7b3c 100644 --- a/schematics/power/regulators.lib +++ b/schematics/power/regulators.lib @@ -33,14 +33,14 @@ $FPLIST PowerSO-8 $ENDFPLIST DRAW -S 0 0 650 -700 0 1 0 f +S 0 0 600 -700 0 1 0 f X V_IN_A 1 -200 -200 200 R 50 50 1 1 W X EN_L 2 -200 -400 200 R 50 50 1 1 I I -X V_FB 3 850 -400 200 L 50 50 1 1 I +X V_FB 3 800 -400 200 L 50 50 1 1 I X AGND 4 300 -900 200 U 50 50 1 1 W X SYNC 5 450 -900 200 U 50 50 1 1 I X V_IN_SW 6 -200 -100 200 R 50 50 1 1 W -X SW 7 850 -100 200 L 50 50 1 1 w +X SW 7 800 -100 200 L 50 50 1 1 w X PGND 8 150 -900 200 U 50 50 1 1 W ENDDRAW ENDDEF From ac9185b49c1b5afd935c1200aa2ffda4bd671ff9 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 2 Oct 2016 15:58:57 +0200 Subject: [PATCH 05/10] Added Ethernet PHY and jack --- README.MD | 6 ++ schematics/networking/eth-mechanical.dcm | 8 ++ schematics/networking/eth-mechanical.lib | 112 +++++++++++++++++++++++ schematics/networking/eth-phy.dcm | 3 + schematics/networking/eth-phy.lib | 41 +++++++++ 5 files changed, 170 insertions(+) create mode 100644 schematics/networking/eth-mechanical.dcm create mode 100644 schematics/networking/eth-mechanical.lib create mode 100644 schematics/networking/eth-phy.dcm create mode 100644 schematics/networking/eth-phy.lib diff --git a/README.MD b/README.MD index 4141df8..3d88d39 100644 --- a/README.MD +++ b/README.MD @@ -28,6 +28,12 @@ Libraries for KiCad. ## analog * UDA1330ATS 16-bit Stereo DAC +## eth-phy +* LAN8720A + +## eth-mechanical +* RJ45 with transformer + # Shimatta Footprints Footprints diff --git a/schematics/networking/eth-mechanical.dcm b/schematics/networking/eth-mechanical.dcm new file mode 100644 index 0000000..ca331af --- /dev/null +++ b/schematics/networking/eth-mechanical.dcm @@ -0,0 +1,8 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP RJ45-TRANSFO +D RJ45 with transformer + leds WURTH +K RJ45 +$ENDCMP +# +#End Doc Library diff --git a/schematics/networking/eth-mechanical.lib b/schematics/networking/eth-mechanical.lib new file mode 100644 index 0000000..052873a --- /dev/null +++ b/schematics/networking/eth-mechanical.lib @@ -0,0 +1,112 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# RJ45-TRANSFO +# +DEF RJ45-TRANSFO J 0 0 Y Y 1 F N +F0 "J" 100 600 50 H V L CNN +F1 "RJ45-TRANSFO" -50 600 50 H V R CNN +F2 "" 0 0 50 H V C CNN +F3 "" 0 0 50 H V C CNN +DRAW +T 0 -575 -250 40 0 0 0 GREEN Normal 0 C C +T 0 -275 475 40 0 0 0 J1 Normal 0 C C +T 0 -275 325 40 0 0 0 J2 Normal 0 C C +T 0 -275 175 40 0 0 0 J3 Normal 0 C C +T 0 -275 400 35 0 0 0 J4 Normal 0 C B +T 0 -275 375 35 0 0 0 J5 Normal 0 C C +T 0 -275 25 40 0 0 0 J6 Normal 0 C C +T 0 -275 100 35 0 0 0 J7 Normal 0 C B +T 0 -275 75 35 0 0 0 J8 Normal 0 C C +T 0 -675 -25 40 0 0 0 RCV Normal 0 C C +T 0 -650 275 40 0 0 0 XMIT Normal 0 C C +T 0 -575 -450 40 0 0 0 YELLOW Normal 0 C C +P 3 0 0 0 -700 -475 -800 -475 -800 -475 N +P 3 0 0 0 -700 -275 -800 -275 -800 -275 N +P 3 0 0 0 -500 100 -500 0 -500 0 N +P 3 0 0 0 -500 400 -500 100 -500 100 N +P 3 0 0 10 -450 -25 -550 -25 -550 -25 N +P 3 0 0 0 -350 100 -375 100 -375 100 N +P 3 0 0 0 -350 400 -375 400 -375 400 N +P 4 0 0 0 -925 -500 -750 -500 -750 -475 -750 -475 N +P 4 0 0 0 -925 -400 -750 -400 -750 -425 -750 -425 N +P 4 0 0 0 -925 -200 -750 -200 -750 -225 -750 -225 N +P 4 0 0 0 -750 -275 -750 -300 -925 -300 -900 -300 N +P 4 0 0 0 -500 -25 -500 -100 -925 -100 -875 -100 N +P 4 0 0 10 -450 0 -525 0 -550 0 -550 0 N +P 5 0 0 0 -800 -225 -700 -225 -750 -275 -800 -225 -800 -225 N +P 5 0 0 0 -700 -425 -800 -425 -750 -475 -700 -425 -700 -425 N +P 5 0 0 0 -325 125 -350 125 -350 75 -325 75 -325 75 N +P 5 0 0 0 -325 425 -350 425 -350 375 -325 375 -325 375 N +A -900 25 25 -899 899 0 1 0 N -900 0 -900 50 +A -900 75 25 -899 899 0 1 0 N -900 50 -900 100 +A -900 125 25 -899 899 0 1 0 N -900 100 -900 150 +A -900 175 25 -899 899 0 1 0 N -900 150 -900 200 +A -900 325 25 -899 899 0 1 0 N -900 300 -900 350 +A -900 375 25 -899 899 0 1 0 N -900 350 -900 400 +A -900 425 25 -899 899 0 1 0 N -900 400 -900 450 +A -900 475 25 -899 899 0 1 0 N -900 450 -900 500 +A -800 25 25 901 -901 0 1 0 N -800 50 -800 0 +A -800 75 25 901 -901 0 1 0 N -800 100 -800 50 +A -800 125 25 901 -901 0 1 0 N -800 150 -800 100 +A -800 175 25 901 -901 0 1 0 N -800 200 -800 150 +A -800 325 25 901 -901 0 1 0 N -800 350 -800 300 +A -800 375 25 901 -901 0 1 0 N -800 400 -800 350 +A -800 425 25 901 -901 0 1 0 N -800 450 -800 400 +A -800 475 25 901 -901 0 1 0 N -800 500 -800 450 +A -725 25 25 1 1799 0 1 0 N -700 25 -750 25 +A -725 175 25 -1799 -1 0 1 0 N -750 175 -700 175 +A -725 325 25 1 1799 0 1 0 N -700 325 -750 325 +A -725 475 25 -1799 -1 0 1 0 N -750 475 -700 475 +A -675 25 25 1 1799 0 1 0 N -650 25 -700 25 +A -675 175 25 -1799 -1 0 1 0 N -700 175 -650 175 +A -675 325 25 1 1799 0 1 0 N -650 325 -700 325 +A -675 475 25 -1799 -1 0 1 0 N -700 475 -650 475 +S -925 -550 400 550 0 1 0 N +S -625 125 -525 75 0 1 0 N +S -625 425 -525 375 0 1 0 N +S -475 125 -375 75 0 1 0 N +S -475 425 -375 375 0 1 0 N +P 3 0 1 0 -900 0 -925 0 -925 0 N +P 3 0 1 0 -900 100 -925 100 -925 100 N +P 3 0 1 0 -900 200 -925 200 -925 200 N +P 3 0 1 0 -900 300 -925 300 -925 300 N +P 3 0 1 0 -900 400 -925 400 -925 400 N +P 3 0 1 0 -650 25 -325 25 -325 25 N +P 3 0 1 0 -650 175 -325 175 -325 175 N +P 3 0 1 0 -650 325 -325 325 -325 325 N +P 3 0 1 0 -650 475 -325 475 -325 475 N +P 3 0 1 0 -525 100 -475 100 -475 100 N +P 3 0 1 0 -525 400 -475 400 -475 400 N +P 3 0 1 0 -175 300 -175 350 -175 350 N +P 3 0 1 0 -125 350 -125 300 -125 300 N +P 3 0 1 0 -75 350 -75 300 -75 300 N +P 3 0 1 0 -25 350 -25 300 -25 300 N +P 3 0 1 0 25 350 25 300 25 300 N +P 3 0 1 0 75 350 75 300 75 300 N +P 3 0 1 0 125 300 125 350 125 350 N +P 3 0 1 0 175 300 175 350 175 350 N +P 4 0 1 0 -900 500 -925 500 -925 500 -925 500 N +P 4 0 1 0 -750 25 -750 0 -800 0 -800 0 N +P 4 0 1 0 -750 325 -750 300 -800 300 -800 300 N +P 4 0 1 0 -625 100 -800 100 -800 100 -800 100 N +P 4 0 1 0 -625 400 -800 400 -800 400 -800 400 N +P 6 0 1 0 -800 200 -750 200 -750 175 -750 175 -750 175 -750 175 N +P 6 0 1 0 -800 500 -750 500 -750 475 -750 475 -750 475 -750 475 N +P 14 0 1 0 -225 350 225 350 225 -50 125 -50 125 -100 75 -100 75 -150 -75 -150 -75 -100 -125 -100 -125 -50 -225 -50 -225 350 -225 350 N +X TD+ 1 -1100 500 175 R 30 20 1 1 P +X TCT 2 -1100 400 175 R 30 20 1 1 P +X TD- 3 -1100 300 175 R 30 20 1 1 P +X RD+ 4 -1100 200 175 R 30 20 1 1 P +X RCT 5 -1100 100 175 R 30 20 1 1 P +X RD- 6 -1100 0 175 R 30 20 1 1 P +X ~ 8 -1100 -100 175 R 30 20 1 1 P +X SHIELD 13 600 -400 200 L 30 20 1 1 P +X LEDG_A GA -1100 -200 175 R 30 20 1 1 P +X LEDY_A YA -1100 -400 175 R 30 20 1 1 P +X LEDG_K GK -1100 -300 175 R 30 20 1 1 P +X LEDY_K YK -1100 -500 175 R 30 20 1 1 P +ENDDRAW +ENDDEF +# +#End Library diff --git a/schematics/networking/eth-phy.dcm b/schematics/networking/eth-phy.dcm new file mode 100644 index 0000000..5f3ed79 --- /dev/null +++ b/schematics/networking/eth-phy.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 +# +#End Doc Library diff --git a/schematics/networking/eth-phy.lib b/schematics/networking/eth-phy.lib new file mode 100644 index 0000000..22660a7 --- /dev/null +++ b/schematics/networking/eth-phy.lib @@ -0,0 +1,41 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# LAN8720A +# +DEF LAN8720A U 0 40 Y Y 1 F N +F0 "U" 100 1950 60 H V C CNN +F1 "LAN8720A" 250 -100 60 H V C CNN +F2 "" 0 0 60 H V C CNN +F3 "" 0 0 60 H V C CNN +DRAW +S 0 0 1250 1900 0 1 0 f +X VDD2A 1 750 2100 200 D 50 50 1 1 W +X LED2/nINTSELL 2 1450 1300 200 L 50 50 1 1 B +X LED1/REGOFF 3 1450 1200 200 L 50 50 1 1 B +X XTAL2 4 -200 1600 200 R 50 50 1 1 B +X XTAL1/CLKIN 5 -200 1500 200 R 50 50 1 1 B +X VDDCR 6 950 2100 200 D 50 50 1 1 w +X RXD1/MODE1 7 -200 1200 200 R 50 50 1 1 B +X RXD0/MODE0 8 -200 1100 200 R 50 50 1 1 B +X VDDIO 9 550 2100 200 D 50 50 1 1 W +X RXER/PHYAD0 10 -200 1300 200 R 50 50 1 1 B +X TXN 20 1450 900 200 L 50 50 1 1 B +X CRS_DV/MODE2 11 -200 500 200 R 50 50 1 1 B +X TXP 21 1450 800 200 L 50 50 1 1 B +X MDIO 12 -200 400 200 R 50 50 1 1 B +X RXN 22 1450 700 200 L 50 50 1 1 B +X MDC 13 -200 300 200 R 50 50 1 1 B +X RXP 23 1450 600 200 L 50 50 1 1 B +X nINT/REFCLKO 14 -200 200 200 R 50 50 1 1 B +X RBIAS 24 650 -200 200 U 50 50 1 1 B +X nRST 15 -200 100 200 R 50 50 1 1 B +X VSS/centerTab 25 850 -200 200 U 50 50 1 1 W +X TXEN 16 -200 900 200 R 50 50 1 1 B +X TXD0 17 -200 800 200 R 50 50 1 1 B +X TXD1 18 -200 700 200 R 50 50 1 1 B +X VDD1A 19 650 2100 200 D 50 50 1 1 B +ENDDRAW +ENDDEF +# +#End Library From 26fc1ac9ef26d6393418381db54626858ad61322 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Sun, 2 Oct 2016 16:02:42 +0200 Subject: [PATCH 06/10] Added oscillator --- README.MD | 3 +++ schematics/clock/clock.dcm | 3 +++ schematics/clock/clock.lib | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 schematics/clock/clock.dcm create mode 100644 schematics/clock/clock.lib diff --git a/README.MD b/README.MD index 3d88d39..77c7e80 100644 --- a/README.MD +++ b/README.MD @@ -34,6 +34,9 @@ Libraries for KiCad. ## eth-mechanical * RJ45 with transformer +## clock +* OSC (oscillator) + # Shimatta Footprints Footprints diff --git a/schematics/clock/clock.dcm b/schematics/clock/clock.dcm new file mode 100644 index 0000000..5f3ed79 --- /dev/null +++ b/schematics/clock/clock.dcm @@ -0,0 +1,3 @@ +EESchema-DOCLIB Version 2.0 +# +#End Doc Library diff --git a/schematics/clock/clock.lib b/schematics/clock/clock.lib new file mode 100644 index 0000000..6b2970c --- /dev/null +++ b/schematics/clock/clock.lib @@ -0,0 +1,30 @@ +EESchema-LIBRARY Version 2.3 +#encoding utf-8 +# +# OSC +# +DEF OSC U 0 40 Y Y 1 F N +F0 "U" 200 -100 60 H V C CNN +F1 "OSC" 600 -100 60 H V C CNN +F2 "" 200 -150 60 H V C CNN +F3 "" 200 -150 60 H V C CNN +DRAW +S 0 0 800 700 1 1 0 N +S 200 360 250 340 1 1 0 N +P 2 1 1 0 190 370 260 370 N +P 2 1 1 0 225 250 225 330 N +P 2 1 1 0 225 450 225 370 N +P 2 1 1 0 260 330 190 330 N +P 2 1 1 0 300 250 225 250 N +P 2 1 1 0 300 450 225 450 N +P 2 1 1 0 575 350 550 350 N +P 3 1 1 0 570 550 440 550 440 420 N +P 4 1 1 0 300 500 300 200 550 350 300 500 N +X CON 1 1100 550 300 L 60 60 1 1 I +X VSS 2 -300 150 300 R 60 60 1 1 W +X OUT 3 1100 350 300 L 60 60 1 1 O +X VDD 4 -300 550 300 R 60 60 1 1 W +ENDDRAW +ENDDEF +# +#End Library From 7eab8d428455de7e89c7d2f2ba2cab3640cc7b42 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Thu, 28 Sep 2017 19:41:11 +0200 Subject: [PATCH 07/10] Add LCMXO2-1200HC-5SG32C --- README.MD | 1 + schematics/lattice/lattice.dcm | 6 ++++ schematics/lattice/lattice.lib | 65 +++++++++++++++++++++++++++++++++- 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/README.MD b/README.MD index 77c7e80..8ab1284 100644 --- a/README.MD +++ b/README.MD @@ -9,6 +9,7 @@ Libraries for KiCad. ## lattice (Kurisu) * LFXP2-5E-6TN144C +* LCMXO2-1200HC-5SG32C ## Video (Kurisu) * ADV7513 diff --git a/schematics/lattice/lattice.dcm b/schematics/lattice/lattice.dcm index 58fb495..12f2230 100644 --- a/schematics/lattice/lattice.dcm +++ b/schematics/lattice/lattice.dcm @@ -1,5 +1,11 @@ EESchema-DOCLIB Version 2.0 # +$CMP LCMXO2-1200HC-4SG32C +D Lattice MachXO2 FPGA +K Lattice MachXO2 FPGA +F http://www.latticesemi.com/~/media/LatticeSemi/Documents/DataSheets/MachXO23/MachXO2FamilyDataSheet.pdf?document_id=38834 +$ENDCMP +# $CMP LFXP2-5E-6TN144C D Lattice XP2-5E FPGA (TQFP144, Speedgrade -6) K Lattice XP2 FPGA PLD diff --git a/schematics/lattice/lattice.lib b/schematics/lattice/lattice.lib index c585a42..92fb4e9 100644 --- a/schematics/lattice/lattice.lib +++ b/schematics/lattice/lattice.lib @@ -1,6 +1,69 @@ -EESchema-LIBRARY Version 2.3 +EESchema-LIBRARY Version 2.4 #encoding utf-8 # +# LCMXO2-1200HC-4SG32C +# +DEF LCMXO2-1200HC-4SG32C U 0 40 Y Y 5 L N +F0 "U" 400 50 60 H V C CNN +F1 "LCMXO2-1200HC-4SG32C" 400 150 60 H V C CNN +F2 "" 250 -700 60 H I C CNN +F3 "" 250 -700 60 H I C CNN +ALIAS LCMXO2-1200HC-5SG32C LCMXO2-1200HC-6SG32C +$FPLIST + QFN32 + QFN-32 +$ENDFPLIST +DRAW +T 0 400 -50 60 0 1 1 FPGA~Power Normal 0 C C +T 0 400 -50 60 0 2 1 Bank~0 Normal 0 C C +T 0 400 -50 60 0 3 1 Bank~1 Normal 0 C C +T 0 400 -50 60 0 4 1 Bank~2 Normal 0 C C +T 0 400 -50 60 0 5 1 Bank~3 Normal 0 C C +S 0 -100 800 -400 1 1 0 f +S 0 0 800 -100 1 1 0 f +S 0 -100 800 -1350 2 1 0 f +S 800 0 0 -100 2 1 0 f +S 0 -100 800 -550 3 1 0 f +S 0 0 800 -100 3 1 0 f +S 0 -100 800 -1350 4 1 0 f +S 0 0 800 -100 4 1 0 f +S 0 -100 800 -550 5 1 0 f +S 0 0 800 -100 5 1 0 f +X VCC 18 -200 -300 200 R 50 50 1 1 W +X VCC 2 -200 -200 200 R 50 50 1 1 W +X GND 22 1000 -300 200 L 50 50 1 1 W +X GND 3 1000 -200 200 L 50 50 1 1 W +X PT10C_TDO 1 -200 -1000 200 R 50 50 2 1 B +X PT17D_DONE 23 -200 -300 200 R 50 50 2 1 B +X VCCIO0 24 -200 -1150 200 R 50 50 2 1 W +X PT15D_PROGRAMN 25 -200 -200 200 R 50 50 2 1 B I +X PT15C_JTAGENB 26 -200 -400 200 R 50 50 2 1 B +X PT12D_SDAPCLKC0 27 -200 -500 200 R 50 50 2 1 B +X PT12C_SCLPCLKT0 28 -200 -600 200 R 50 50 2 1 B +X PT11D_TMS 29 -200 -700 200 R 50 50 2 1 B +X PT11C_TCK 30 -200 -800 200 R 50 50 2 1 B +X VCCIO0 31 -200 -1250 200 R 50 50 2 1 W +X PT10D_TDI 32 -200 -900 200 R 50 50 2 1 B +X VCCIO1 19 -200 -450 200 R 50 50 3 1 W +X PR5D_PCLKC1 20 -200 -200 200 R 50 50 3 1 B +X PR5C_PCLKT1 21 -200 -300 200 R 50 50 3 1 B +X PB6D_SOSPISO 10 -200 -400 200 R 50 50 4 1 B +X PB9A_PCLKT20 11 -200 -500 200 R 50 50 4 1 B +X PB9B_PCLKC20 12 -200 -600 200 R 50 50 4 1 B +X PB11A_PCLKT21 13 -200 -700 200 R 50 50 4 1 B +X PB11B_PCLKC21 14 -200 -800 200 R 50 50 4 1 B +X VCCIO2 15 -200 -1150 200 R 50 50 4 1 W +X PB20C_SN 16 -200 -900 200 R 50 50 4 1 B +X PB20D_SISPI 17 -200 -1000 200 R 50 50 4 1 B +X VCCIO2 7 -200 -1250 200 R 50 50 4 1 W +X PB4C_CSSPIN 8 -200 -200 200 R 50 50 4 1 B +X PB6C_MCLKCCLK 9 -200 -300 200 R 50 50 4 1 B +X PL9A_PCLKT3 4 -200 -200 200 R 50 50 5 1 B +X PL9B_PCLKC3 5 -200 -300 200 R 50 50 5 1 B +X VCCIO3 6 -200 -450 200 R 50 50 5 1 W +ENDDRAW +ENDDEF +# # LFXP2-5E-6TN144C # DEF LFXP2-5E-6TN144C U 0 40 Y Y 6 L N From 5ed6e2bb51ca0ab9046b6b5595218d028cfcd84b Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Thu, 28 Sep 2017 20:11:54 +0200 Subject: [PATCH 08/10] Update lfxp2 part in lattice library to kicad 2.4 --- schematics/lattice/lattice.lib | 252 ++++++++++++++++----------------- 1 file changed, 126 insertions(+), 126 deletions(-) diff --git a/schematics/lattice/lattice.lib b/schematics/lattice/lattice.lib index 92fb4e9..193382c 100644 --- a/schematics/lattice/lattice.lib +++ b/schematics/lattice/lattice.lib @@ -77,84 +77,68 @@ $FPLIST TQFP-144 $ENDFPLIST DRAW -T 0 250 650 60 0 2 0 BANK0 Italic 0 C C -T 0 -250 650 60 0 2 0 BANK1 Italic 0 C C -T 0 250 650 60 0 3 0 BANK2 Italic 0 C C -T 0 -250 650 60 0 3 0 BANK3 Italic 0 C C -T 0 250 650 60 0 4 0 BANK4 Italic 0 C C -T 0 -250 650 60 0 4 0 BANK5 Italic 0 C C -T 0 250 650 60 0 5 0 BANK6 Italic 0 C C -T 0 -250 650 60 0 5 0 BANK7 Italic 0 C C -T 0 -300 650 60 0 6 0 JTAG Italic 0 C C +T 0 250 650 60 0 2 0 BANK0 Italic 0 C C +T 0 -250 650 60 0 2 0 BANK1 Italic 0 C C +T 0 250 650 60 0 3 0 BANK2 Italic 0 C C +T 0 -250 650 60 0 3 0 BANK3 Italic 0 C C +T 0 250 650 60 0 4 0 BANK4 Italic 0 C C +T 0 -250 650 60 0 4 0 BANK5 Italic 0 C C +T 0 250 650 60 0 5 0 BANK6 Italic 0 C C +T 0 -250 650 60 0 5 0 BANK7 Italic 0 C C +T 0 -300 650 60 0 6 0 JTAG Italic 0 C C S 450 750 -450 -750 1 1 0 f -X VCCAUX2 60 -650 50 200 R 50 50 1 1 W -X VCCAUX1 23 -650 150 200 R 50 50 1 1 W -X VCC1 24 -650 650 200 R 50 50 1 1 W -X VCC3 84 -650 450 200 R 50 50 1 1 W -X TOE 25 650 50 200 L 50 50 1 1 I -X VCCAUX3 85 -650 -50 200 R 50 50 1 1 W -X CFG0 26 650 -50 200 L 50 50 1 1 I -X GND 86 650 650 200 L 50 50 1 1 W -X LRC_VCCPLL 67 -650 -350 200 R 50 50 1 1 W -X LRC_GNDPLL 68 -650 -450 200 R 50 50 1 1 W -X VCC2 59 -650 550 200 R 50 50 1 1 W -X ULC_VCCPLL 140 -650 -550 200 R 50 50 1 1 W +S 450 750 -450 -2100 2 1 0 f +S 450 750 -450 -1900 3 1 0 f +S 450 750 -450 -1900 4 1 0 f +S 450 750 -450 -1900 5 1 0 f +S 450 750 -450 -100 6 1 0 f X VCCAUX4 117 -650 -150 200 R 50 50 1 1 W X VCC4 118 -650 350 200 R 50 50 1 1 W X ULC_GNDPLL 139 -650 -650 200 R 50 50 1 1 W -S 450 750 -450 -2100 2 1 0 f -X PT28A 110 -650 400 200 R 50 50 2 1 B -X PT19A 120 650 400 200 L 50 50 2 1 B -X PT14B 130 650 -400 200 L 50 50 2 1 B -X GNDIO1 111 -650 -2000 200 R 50 50 2 1 W -X PT18B 121 650 300 200 L 50 50 2 1 B -X PT15A 131 650 -500 200 L 50 50 2 1 B -X PT7B 141 650 -1100 200 L 50 50 2 1 B -X VCCIO1 112 -650 -1900 200 R 50 50 2 1 W -X PT17B 122 650 200 200 L 50 50 2 1 B -X PT14A 132 650 -600 200 L 50 50 2 1 B -X PT8B 142 650 -1200 200 L 50 50 2 1 B -X PT21B 113 -650 300 200 R 50 50 2 1 B -X PT18A 123 650 100 200 L 50 50 2 1 B -X PT13B 133 650 -700 200 L 50 50 2 1 B -X PT7A 143 650 -1300 200 L 50 50 2 1 B -X PT20B 114 -650 200 200 R 50 50 2 1 B -X PT17A 124 650 0 200 L 50 50 2 1 B -X PT13A 134 650 -800 200 L 50 50 2 1 B -X PT8A 144 650 -1400 200 L 50 50 2 1 B -X PT21A 115 -650 100 200 R 50 50 2 1 B -X PT16B 125 650 -100 200 L 50 50 2 1 B -X GNDIO02 135 650 -2000 200 L 50 50 2 1 W -X PT20A 116 -650 0 200 R 50 50 2 1 B -X GNDIO01 126 650 -1900 200 L 50 50 2 1 W -X VCCIO02 136 650 -1800 200 L 50 50 2 1 W -X PT16A 127 650 -200 200 L 50 50 2 1 B -X PT9B 137 650 -900 200 L 50 50 2 1 B -X VCCIO01 128 650 -1700 200 L 50 50 2 1 W -X PT9A 138 650 -1000 200 L 50 50 2 1 B +X ULC_VCCPLL 140 -650 -550 200 R 50 50 1 1 W +X VCCAUX1 23 -650 150 200 R 50 50 1 1 W +X VCC1 24 -650 650 200 R 50 50 1 1 W +X TOE 25 650 50 200 L 50 50 1 1 I +X CFG0 26 650 -50 200 L 50 50 1 1 I +X VCC2 59 -650 550 200 R 50 50 1 1 W +X VCCAUX2 60 -650 50 200 R 50 50 1 1 W +X LRC_VCCPLL 67 -650 -350 200 R 50 50 1 1 W +X LRC_GNDPLL 68 -650 -450 200 R 50 50 1 1 W +X VCC3 84 -650 450 200 R 50 50 1 1 W +X VCCAUX3 85 -650 -50 200 R 50 50 1 1 W +X GND 86 650 650 200 L 50 50 1 1 W X PT28B 109 -650 500 200 R 50 50 2 1 B +X PT28A 110 -650 400 200 R 50 50 2 1 B +X GNDIO1 111 -650 -2000 200 R 50 50 2 1 W +X VCCIO1 112 -650 -1900 200 R 50 50 2 1 W +X PT21B 113 -650 300 200 R 50 50 2 1 B +X PT20B 114 -650 200 200 R 50 50 2 1 B +X PT21A 115 -650 100 200 R 50 50 2 1 B +X PT20A 116 -650 0 200 R 50 50 2 1 B X PT19B 119 650 500 200 L 50 50 2 1 B +X PT19A 120 650 400 200 L 50 50 2 1 B +X PT18B 121 650 300 200 L 50 50 2 1 B +X PT17B 122 650 200 200 L 50 50 2 1 B +X PT18A 123 650 100 200 L 50 50 2 1 B +X PT17A 124 650 0 200 L 50 50 2 1 B +X PT16B 125 650 -100 200 L 50 50 2 1 B +X GNDIO01 126 650 -1900 200 L 50 50 2 1 W +X PT16A 127 650 -200 200 L 50 50 2 1 B +X VCCIO01 128 650 -1700 200 L 50 50 2 1 W X PT15B 129 650 -300 200 L 50 50 2 1 B -S 450 750 -450 -1900 3 1 0 f -X PR11A 90 650 200 200 L 50 50 3 1 B -X PR10B 91 650 100 200 L 50 50 3 1 B -X PR9B 92 650 0 200 L 50 50 3 1 B -X PR24A 73 -650 500 200 R 50 50 3 1 B -X PR10A 93 650 -100 200 L 50 50 3 1 B -X PR24B 74 -650 400 200 R 50 50 3 1 B -X PR9A 94 650 -200 200 L 50 50 3 1 B -X GNDIO3 75 -650 -1800 200 R 50 50 3 1 W -X VCCIO21 95 650 -1500 200 L 50 50 3 1 W -X VCCIO3 76 -650 -1700 200 R 50 50 3 1 W -X PR8B 96 650 -300 200 L 50 50 3 1 B -X PR14B 77 -650 300 200 R 50 50 3 1 B -X PR12B 87 650 500 200 L 50 50 3 1 B -X GNDIO21 97 650 -1700 200 L 50 50 3 1 W -X PR14A 78 -650 200 200 R 50 50 3 1 B -X PR12A 88 650 400 200 L 50 50 3 1 B -X PR8A 98 650 -400 200 L 50 50 3 1 B -X PR11B 89 650 300 200 L 50 50 3 1 B -X PR7B 99 650 -500 200 L 50 50 3 1 B +X PT14B 130 650 -400 200 L 50 50 2 1 B +X PT15A 131 650 -500 200 L 50 50 2 1 B +X PT14A 132 650 -600 200 L 50 50 2 1 B +X PT13B 133 650 -700 200 L 50 50 2 1 B +X PT13A 134 650 -800 200 L 50 50 2 1 B +X GNDIO02 135 650 -2000 200 L 50 50 2 1 W +X VCCIO02 136 650 -1800 200 L 50 50 2 1 W +X PT9B 137 650 -900 200 L 50 50 2 1 B +X PT9A 138 650 -1000 200 L 50 50 2 1 B +X PT7B 141 650 -1100 200 L 50 50 2 1 B +X PT8B 142 650 -1200 200 L 50 50 2 1 B +X PT7A 143 650 -1300 200 L 50 50 2 1 B +X PT8A 144 650 -1400 200 L 50 50 2 1 B X PR6B 100 650 -600 200 L 50 50 3 1 B X PR7A 101 650 -700 200 L 50 50 3 1 B X PR6A 102 650 -800 200 L 50 50 3 1 B @@ -164,78 +148,94 @@ X VCCIO22 105 650 -1600 200 L 50 50 3 1 W X GNDIO22 106 650 -1800 200 L 50 50 3 1 W X PR2B 107 650 -1100 200 L 50 50 3 1 B X PR2A 108 650 -1200 200 L 50 50 3 1 B -S 450 750 -450 -1900 4 1 0 f -X PB7B 40 -650 200 200 R 50 50 4 1 B -X PB16A 50 -650 -500 200 R 50 50 4 1 B -X PB28A 70 650 0 200 L 50 50 4 1 B -X GNDIO51 41 -650 -1700 200 R 50 50 4 1 W -X GNDIO52 51 -650 -1800 200 R 50 50 4 1 W -X PB20A 61 650 500 200 L 50 50 4 1 B -X PB27B 71 650 -100 200 L 50 50 4 1 B -X VCCIO51 42 -650 -1500 200 R 50 50 4 1 W -X PB16B 52 -650 -600 200 R 50 50 4 1 B -X PB20B 62 650 400 200 L 50 50 4 1 B -X PB28B 72 650 -200 200 L 50 50 4 1 B -X PB13B 43 -650 100 200 R 50 50 4 1 B -X PB17A 53 -650 -700 200 R 50 50 4 1 B -X VCCIO4 63 650 -1700 200 L 50 50 4 1 W -X PB13A 44 -650 0 200 R 50 50 4 1 B -X PB17B 54 -650 -800 200 R 50 50 4 1 B -X GNDIO4 64 650 -1800 200 L 50 50 4 1 W -X PB15A 45 -650 -100 200 R 50 50 4 1 B -X PB18A 55 -650 -900 200 R 50 50 4 1 B -X PB26A 65 650 300 200 L 50 50 4 1 B -X PB14A 46 -650 -200 200 R 50 50 4 1 B -X PB19A 56 -650 -1000 200 R 50 50 4 1 B -X PB26B 66 650 200 200 L 50 50 4 1 B +X PR24A 73 -650 500 200 R 50 50 3 1 B +X PR24B 74 -650 400 200 R 50 50 3 1 B +X GNDIO3 75 -650 -1800 200 R 50 50 3 1 W +X VCCIO3 76 -650 -1700 200 R 50 50 3 1 W +X PR14B 77 -650 300 200 R 50 50 3 1 B +X PR14A 78 -650 200 200 R 50 50 3 1 B +X PR12B 87 650 500 200 L 50 50 3 1 B +X PR12A 88 650 400 200 L 50 50 3 1 B +X PR11B 89 650 300 200 L 50 50 3 1 B +X PR11A 90 650 200 200 L 50 50 3 1 B +X PR10B 91 650 100 200 L 50 50 3 1 B +X PR9B 92 650 0 200 L 50 50 3 1 B +X PR10A 93 650 -100 200 L 50 50 3 1 B +X PR9A 94 650 -200 200 L 50 50 3 1 B +X VCCIO21 95 650 -1500 200 L 50 50 3 1 W +X PR8B 96 650 -300 200 L 50 50 3 1 B +X GNDIO21 97 650 -1700 200 L 50 50 3 1 W +X PR8A 98 650 -400 200 L 50 50 3 1 B +X PR7B 99 650 -500 200 L 50 50 3 1 B X PB8A 37 -650 500 200 R 50 50 4 1 B -X PB15B 47 -650 -300 200 R 50 50 4 1 B -X PB18B 57 -650 -1100 200 R 50 50 4 1 B X PB7A 38 -650 400 200 R 50 50 4 1 B -X PB14B 48 -650 -400 200 R 50 50 4 1 B -X PB19B 58 -650 -1200 200 R 50 50 4 1 B X PB8B 39 -650 300 200 R 50 50 4 1 B +X PB7B 40 -650 200 200 R 50 50 4 1 B +X GNDIO51 41 -650 -1700 200 R 50 50 4 1 W +X VCCIO51 42 -650 -1500 200 R 50 50 4 1 W +X PB13B 43 -650 100 200 R 50 50 4 1 B +X PB13A 44 -650 0 200 R 50 50 4 1 B +X PB15A 45 -650 -100 200 R 50 50 4 1 B +X PB14A 46 -650 -200 200 R 50 50 4 1 B +X PB15B 47 -650 -300 200 R 50 50 4 1 B +X PB14B 48 -650 -400 200 R 50 50 4 1 B X VCCIO52 49 -650 -1600 200 R 50 50 4 1 W +X PB16A 50 -650 -500 200 R 50 50 4 1 B +X GNDIO52 51 -650 -1800 200 R 50 50 4 1 W +X PB16B 52 -650 -600 200 R 50 50 4 1 B +X PB17A 53 -650 -700 200 R 50 50 4 1 B +X PB17B 54 -650 -800 200 R 50 50 4 1 B +X PB18A 55 -650 -900 200 R 50 50 4 1 B +X PB19A 56 -650 -1000 200 R 50 50 4 1 B +X PB18B 57 -650 -1100 200 R 50 50 4 1 B +X PB19B 58 -650 -1200 200 R 50 50 4 1 B +X PB20A 61 650 500 200 L 50 50 4 1 B +X PB20B 62 650 400 200 L 50 50 4 1 B +X VCCIO4 63 650 -1700 200 L 50 50 4 1 W +X GNDIO4 64 650 -1800 200 L 50 50 4 1 W +X PB26A 65 650 300 200 L 50 50 4 1 B +X PB26B 66 650 200 200 L 50 50 4 1 B X PB27A 69 650 100 200 L 50 50 4 1 B -S 450 750 -450 -1900 5 1 0 f +X PB28A 70 650 0 200 L 50 50 4 1 B +X PB27B 71 650 -100 200 L 50 50 4 1 B +X PB28B 72 650 -200 200 L 50 50 4 1 B X PL2A 1 -650 500 200 R 50 50 5 1 B +X PL7B 10 -650 -200 200 R 50 50 5 1 B +X PL8A 11 -650 -300 200 R 50 50 5 1 B +X GNDIO71 12 -650 -1700 200 R 50 50 5 1 W +X PL8B 13 -650 -400 200 R 50 50 5 1 B +X VCCIO71 14 -650 -1500 200 R 50 50 5 1 W +X PL9A 15 -650 -500 200 R 50 50 5 1 B +X PL10A 16 -650 -600 200 R 50 50 5 1 B +X PL9B 17 -650 -700 200 R 50 50 5 1 B +X PL10B 18 -650 -800 200 R 50 50 5 1 B +X PL11A 19 -650 -900 200 R 50 50 5 1 B X PL2B 2 -650 400 200 R 50 50 5 1 B +X PL11B 20 -650 -1000 200 R 50 50 5 1 B +X PL12A 21 -650 -1100 200 R 50 50 5 1 B +X PL12B 22 -650 -1200 200 R 50 50 5 1 B +X PL15A 27 650 500 200 L 50 50 5 1 B +X PL14A 28 650 400 200 L 50 50 5 1 B +X PL15B 29 650 300 200 L 50 50 5 1 B X GNDIO72 3 -650 -1800 200 R 50 50 5 1 W +X PL14B 30 650 200 200 L 50 50 5 1 B +X PL16B 31 650 100 200 L 50 50 5 1 B +X PL16A 32 650 0 200 L 50 50 5 1 B +X VCCIO6 33 650 -1700 200 L 50 50 5 1 W +X GNDIO6 34 650 -1800 200 L 50 50 5 1 W +X PL25A 35 650 -100 200 L 50 50 5 1 B +X PL25B 36 650 -200 200 L 50 50 5 1 B X VCCIO72 4 -650 -1600 200 R 50 50 5 1 W X PL5A 5 -650 300 200 R 50 50 5 1 B X PL5B 6 -650 200 200 R 50 50 5 1 B X PL6A 7 -650 100 200 R 50 50 5 1 B X PL6B 8 -650 0 200 R 50 50 5 1 B X PL7A 9 -650 -100 200 R 50 50 5 1 B -X PL7B 10 -650 -200 200 R 50 50 5 1 B -X PL11B 20 -650 -1000 200 R 50 50 5 1 B -X PL14B 30 650 200 200 L 50 50 5 1 B -X PL8A 11 -650 -300 200 R 50 50 5 1 B -X PL12A 21 -650 -1100 200 R 50 50 5 1 B -X PL16B 31 650 100 200 L 50 50 5 1 B -X GNDIO71 12 -650 -1700 200 R 50 50 5 1 W -X PL12B 22 -650 -1200 200 R 50 50 5 1 B -X PL16A 32 650 0 200 L 50 50 5 1 B -X PL8B 13 -650 -400 200 R 50 50 5 1 B -X VCCIO6 33 650 -1700 200 L 50 50 5 1 W -X VCCIO71 14 -650 -1500 200 R 50 50 5 1 W -X GNDIO6 34 650 -1800 200 L 50 50 5 1 W -X PL9A 15 -650 -500 200 R 50 50 5 1 B -X PL25A 35 650 -100 200 L 50 50 5 1 B -X PL10A 16 -650 -600 200 R 50 50 5 1 B -X PL25B 36 650 -200 200 L 50 50 5 1 B -X PL9B 17 -650 -700 200 R 50 50 5 1 B -X PL15A 27 650 500 200 L 50 50 5 1 B -X PL10B 18 -650 -800 200 R 50 50 5 1 B -X PL14A 28 650 400 200 L 50 50 5 1 B -X PL11A 19 -650 -900 200 R 50 50 5 1 B -X PL15B 29 650 300 200 L 50 50 5 1 B -S 450 750 -450 -100 6 1 0 f +X TMS 79 -650 100 200 R 50 50 6 1 I X TDI 80 -650 200 200 R 50 50 6 1 I X TCK 81 -650 0 200 R 50 50 6 1 I C X TDO 82 -650 300 200 R 50 50 6 1 O X VCCJ 83 -650 500 200 R 50 50 6 1 W -X TMS 79 -650 100 200 R 50 50 6 1 I ENDDRAW ENDDEF # @@ -249,6 +249,7 @@ F3 "" 0 0 60 H V C CNN DRAW S -250 300 250 -300 0 1 0 N X SCK 1 -450 200 200 R 50 50 1 1 O C +X PROG 10 450 -200 200 L 50 50 1 1 O X GND 2 450 200 200 L 50 50 1 1 W X TMS 3 -450 100 200 R 50 50 1 1 O X GND 4 450 100 200 L 50 50 1 1 W @@ -257,7 +258,6 @@ X VCC 6 450 0 200 L 50 50 1 1 W X TDO 7 -450 -100 200 R 50 50 1 1 I X INIT 8 450 -100 200 L 50 50 1 1 O X TRST 9 -450 -200 200 R 50 50 1 1 I -X PROG 10 450 -200 200 L 50 50 1 1 O ENDDRAW ENDDEF # From 2a5da9b54b4ee1e3445e8e7bb5a40f91cfa7be81 Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Fri, 29 Sep 2017 12:17:56 +0200 Subject: [PATCH 09/10] Add ch340g --- README.MD | 3 +++ schematics/interfaces/usbserial.dcm | 9 ++++++++ schematics/interfaces/usbserial.lib | 36 +++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 schematics/interfaces/usbserial.dcm create mode 100644 schematics/interfaces/usbserial.lib diff --git a/README.MD b/README.MD index 858afa5..990b469 100644 --- a/README.MD +++ b/README.MD @@ -68,6 +68,9 @@ Libraries for KiCad. * TFP410 DVI Transceiver * TPA6120(A2) Headphone Amp +## interfaces/usbserial +* CH340G + # Shimatta Footprints Some footprints have no 3D model. However, in some cases a model of another footprint can be used. diff --git a/schematics/interfaces/usbserial.dcm b/schematics/interfaces/usbserial.dcm new file mode 100644 index 0000000..383f97f --- /dev/null +++ b/schematics/interfaces/usbserial.dcm @@ -0,0 +1,9 @@ +EESchema-DOCLIB Version 2.0 +# +$CMP ch340g +D CH340G USB to UART Interface +K WCH CH340 Series USB Interface Integrated Circuit +F http://www.foxdelta.com/products/ST2-0816/ch340g.pdf +$ENDCMP +# +#End Doc Library diff --git a/schematics/interfaces/usbserial.lib b/schematics/interfaces/usbserial.lib new file mode 100644 index 0000000..be0a762 --- /dev/null +++ b/schematics/interfaces/usbserial.lib @@ -0,0 +1,36 @@ +EESchema-LIBRARY Version 2.4 +#encoding utf-8 +# +# ch340g +# +DEF ch340g U 0 40 Y Y 1 F N +F0 "U" -250 -600 60 H V C CNN +F1 "ch340g" 0 600 60 H V C CNN +F2 "" -300 450 60 H I C CNN +F3 "" -300 450 60 H I C CNN +$FPLIST + SOIC-16_3.9x9.9mm_Pitch1.27mm + SOIC-16 +$ENDFPLIST +DRAW +S -300 550 300 -550 0 1 0 f +X GND 1 -500 -450 200 R 50 50 1 1 W +X DSR 10 500 100 200 L 50 50 1 1 O I +X RI 11 500 0 200 L 50 50 1 1 O I +X DCD 12 500 -100 200 L 50 50 1 1 O I +X DTR 13 500 -200 200 L 50 50 1 1 O I +X RTS 14 500 -300 200 L 50 50 1 1 O I +X R232 15 500 -450 200 L 50 50 1 1 I +X VCC 16 -500 -350 200 R 50 50 1 1 W +X TXD 2 500 450 200 L 50 50 1 1 O +X RXD 3 500 350 200 L 50 50 1 1 I +X V3 4 -500 -250 200 R 50 50 1 1 W +X D+ 5 -500 450 200 R 50 50 1 1 B +X D- 6 -500 350 200 R 50 50 1 1 B +X XI 7 -500 100 200 R 50 50 1 1 I C +X XO 8 -500 0 200 R 50 50 1 1 O IC +X CTS 9 500 200 200 L 50 50 1 1 O I +ENDDRAW +ENDDEF +# +#End Library From e517b6e0b0302f57f45782b8d06249025033467d Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Fri, 29 Sep 2017 22:52:47 +0200 Subject: [PATCH 10/10] Add thermal pad to lcmxo2-1200hc --- schematics/lattice/lattice.lib | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/schematics/lattice/lattice.lib b/schematics/lattice/lattice.lib index 193382c..196f328 100644 --- a/schematics/lattice/lattice.lib +++ b/schematics/lattice/lattice.lib @@ -19,7 +19,7 @@ T 0 400 -50 60 0 2 1 Bank~0 Normal 0 C C T 0 400 -50 60 0 3 1 Bank~1 Normal 0 C C T 0 400 -50 60 0 4 1 Bank~2 Normal 0 C C T 0 400 -50 60 0 5 1 Bank~3 Normal 0 C C -S 0 -100 800 -400 1 1 0 f +S 0 -100 800 -550 1 1 0 f S 0 0 800 -100 1 1 0 f S 0 -100 800 -1350 2 1 0 f S 800 0 0 -100 2 1 0 f @@ -33,6 +33,7 @@ X VCC 18 -200 -300 200 R 50 50 1 1 W X VCC 2 -200 -200 200 R 50 50 1 1 W X GND 22 1000 -300 200 L 50 50 1 1 W X GND 3 1000 -200 200 L 50 50 1 1 W +X PAD 33 -200 -450 200 R 50 50 1 1 U X PT10C_TDO 1 -200 -1000 200 R 50 50 2 1 B X PT17D_DONE 23 -200 -300 200 R 50 50 2 1 B X VCCIO0 24 -200 -1150 200 R 50 50 2 1 W