WIP: hardware test partner round 1

Not sure which kicad files are necessary and which are local yet!

Goal: fixed "host" board (this board) with socket for _any_ Nucleo64 st
board, giving access to test:
* DAC->ADC (both directions)
* I2C (both directions)
* SPI (both directions)
* Uart (both directions)

a socket for a cheap fx2 based logic analyser will be included, so that
sigrok can be used to capture tests of the actual line states.
This commit is contained in:
Karl Palsson 2017-10-07 15:20:00 +00:00
parent b375054177
commit cb376f3959
23 changed files with 45578 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,12 @@
(module Arduino_1pin (layer F.Cu) (tedit 0)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(fp_text reference REF** (at 0 -3.048) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value 1pin (at 0 2.794) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS))
)

View file

@ -0,0 +1,32 @@
(module Socket_Strip_Arduino_1x06 (layer F.Cu) (tedit 551AF7D9)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x06 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 14.45 -1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 14.45 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 13.97 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 1.27) (end 13.97 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x06.wrl
(at (xyz 0.25 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

View file

@ -0,0 +1,34 @@
(module Socket_Strip_Arduino_1x08 (layer F.Cu) (tedit 551AF8B3)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x08 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

View file

@ -0,0 +1,36 @@
(module Socket_Strip_Arduino_1x10 (layer F.Cu) (tedit 551AF8D9)
(descr "Through hole socket strip")
(tags "socket strip")
(fp_text reference REF** (at 0 -5.1) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Socket_Strip_Arduino_1x10 (at 0 -3.1) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 24.65 -1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 24.65 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 24.13 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 1.27) (end 24.13 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 9 thru_hole oval (at 20.32 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(pad 10 thru_hole oval (at 22.86 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x10.wrl
(at (xyz 0.45 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)

144
hw1/cubemx-pin-selector.ioc Normal file
View file

@ -0,0 +1,144 @@
#MicroXplorer Configuration settings - do not modify
ADC.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_TEMPSENSOR
ADC.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag
ADC.NbrOfConversionFlag=1
ADC.Rank-0\#ChannelRegularConversion=1
ADC.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_4CYCLES
File.Version=6
KeepUserPlacement=false
Mcu.Family=STM32L1
Mcu.IP0=ADC
Mcu.IP1=DAC
Mcu.IP2=I2C1
Mcu.IP3=NVIC
Mcu.IP4=RCC
Mcu.IP5=SPI2
Mcu.IP6=SYS
Mcu.IP7=USART2
Mcu.IP8=USB
Mcu.IPNb=9
Mcu.Name=STM32L151C(6-8-B)TxA
Mcu.Package=LQFP48
Mcu.Pin0=PH0-OSC_IN
Mcu.Pin1=PH1-OSC_OUT
Mcu.Pin10=PB0
Mcu.Pin11=PB1
Mcu.Pin12=PB12
Mcu.Pin13=PB13
Mcu.Pin14=PB14
Mcu.Pin15=PB15
Mcu.Pin16=PA8
Mcu.Pin17=PA11
Mcu.Pin18=PA12
Mcu.Pin19=PB8
Mcu.Pin2=PA0-WKUP1
Mcu.Pin20=PB9
Mcu.Pin21=VP_ADC_TempSens_Input
Mcu.Pin22=VP_ADC_Vref_Input
Mcu.Pin23=VP_SYS_VS_Systick
Mcu.Pin3=PA1
Mcu.Pin4=PA2
Mcu.Pin5=PA3
Mcu.Pin6=PA4
Mcu.Pin7=PA5
Mcu.Pin8=PA6
Mcu.Pin9=PA7
Mcu.PinsNb=24
Mcu.UserConstants=
Mcu.UserName=STM32L151C8TxA
MxCube.Version=4.13.1
MxDb.Version=DB.4.0.130
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
NVIC.SysTick_IRQn=true\:0\:0\:false
PA0-WKUP1.Mode=CTS_RTS
PA0-WKUP1.Signal=USART2_CTS
PA1.Mode=CTS_RTS
PA1.Signal=USART2_RTS
PA11.Mode=Device
PA11.Signal=USB_DM
PA12.Mode=Device
PA12.Signal=USB_DP
PA2.Mode=Asynchronous
PA2.Signal=USART2_TX
PA3.Mode=Asynchronous
PA3.Signal=USART2_RX
PA4.Signal=COMP_DAC1_group
PA5.Signal=COMP_DAC2_group
PA6.Mode=IN6
PA6.Signal=ADC_IN6
PA7.Mode=IN7
PA7.Signal=ADC_IN7
PA8.Mode=Clock-out
PA8.Signal=RCC_MCO
PB0.Mode=IN8
PB0.Signal=ADC_IN8
PB1.Mode=IN9
PB1.Signal=ADC_IN9
PB12.Mode=NSS_Signal_Hard_Input
PB12.Signal=SPI2_NSS
PB13.Mode=Full_Duplex_Master
PB13.Signal=SPI2_SCK
PB14.Mode=Full_Duplex_Master
PB14.Signal=SPI2_MISO
PB15.Mode=Full_Duplex_Master
PB15.Signal=SPI2_MOSI
PB8.Locked=true
PB8.Mode=I2C
PB8.Signal=I2C1_SCL
PB9.Locked=true
PB9.Mode=I2C
PB9.Signal=I2C1_SDA
PCC.Checker=true
PCC.Line=STM32L151/152
PCC.MCU=STM32L151C(6-8-B)TxA
PCC.MXVersion=4.13.1
PCC.PartNumber=STM32L151C8TxA
PCC.Seq0=0
PCC.Series=STM32L1
PCC.Temperature=25
PCC.Vdd=3.0
PH0-OSC_IN.Mode=HSE-External-Oscillator
PH0-OSC_IN.Signal=RCC_OSC_IN
PH1-OSC_OUT.Mode=HSE-External-Oscillator
PH1-OSC_OUT.Signal=RCC_OSC_OUT
RCC.AHBFreq_Value=32000000
RCC.APB1Freq_Value=32000000
RCC.APB1TimFreq_Value=32000000
RCC.APB2Freq_Value=32000000
RCC.APB2TimFreq_Value=32000000
RCC.FCLKCortexFreq_Value=32000000
RCC.FamilyName=M
RCC.HCLKFreq_Value=32000000
RCC.HSE_VALUE=24000000
RCC.HSI_VALUE=16000000
RCC.IPParameters=FamilyName,HSI_VALUE,LSI_VALUE,MSI_VALUE,HSE_VALUE,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,AHBFreq_Value,TIMFreq_Value,APB1Freq_Value,APB2Freq_Value,RTCFreq_Value,VCOOutputFreq_Value,PLLCLKFreq_Value,USBOutput,VCOInputFreq_Value,SYSCLKSource,PWRFreq_Value,HCLKFreq_Value,TimerFreq_Value,FCLKCortexFreq_Value,APB1TimFreq_Value,APB2TimFreq_Value,MCOPinFreq_Value,PLLDIV,PLLMUL
RCC.LSI_VALUE=37000
RCC.MCOPinFreq_Value=32000000
RCC.MSI_VALUE=2097000
RCC.PLLCLKFreq_Value=32000000
RCC.PLLDIV=RCC_PLL_DIV3
RCC.PLLMUL=RCC_PLL_MUL4
RCC.PWRFreq_Value=32000000
RCC.RTCFreq_Value=37000
RCC.RTCHSEDivFreq_Value=12000000
RCC.SYSCLKFreq_VALUE=32000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.TIMFreq_Value=32000000
RCC.TimerFreq_Value=32000000
RCC.USBOutput=48000000
RCC.VCOInputFreq_Value=24000000
RCC.VCOOutputFreq_Value=96000000
SH.COMP_DAC1_group.0=DAC_OUT1,DAC_OUT1
SH.COMP_DAC1_group.ConfNb=1
SH.COMP_DAC2_group.0=DAC_OUT2,DAC_OUT2
SH.COMP_DAC2_group.ConfNb=1
SPI2.CalculateBaudRate=16.0 MBits/s
SPI2.IPParameters=Mode,CalculateBaudRate,VirtualNSS
SPI2.Mode=SPI_MODE_MASTER
SPI2.VirtualNSS=VM_NSSHARD
VP_ADC_TempSens_Input.Mode=IN-TempSens
VP_ADC_TempSens_Input.Signal=ADC_TempSens_Input
VP_ADC_Vref_Input.Mode=IN-Vrefint
VP_ADC_Vref_Input.Signal=ADC_Vref_Input
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick

327
hw1/hw1-cache.lib Normal file
View file

@ -0,0 +1,327 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# +3V3
#
DEF +3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# +5V
#
DEF +5V #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "+5V" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +5V 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# C
#
DEF C C 0 10 N Y 1 F N
F0 "C" 25 100 50 H V L CNN
F1 "C" 25 -100 50 H V L CNN
F2 "" 38 -150 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
C_*
$ENDFPLIST
DRAW
P 2 0 1 20 -80 -30 80 -30 N
P 2 0 1 20 -80 30 80 30 N
X ~ 1 0 150 110 D 50 50 1 1 P
X ~ 2 0 -150 110 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X01
#
DEF CONN_01X01 J 0 40 Y N 1 F N
F0 "J" 0 100 50 H V C CNN
F1 "CONN_01X01" 100 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Pin_Header_Straight_1X*
Pin_Header_Angled_1X*
Socket_Strip_Straight_1X*
Socket_Strip_Angled_1X*
$ENDFPLIST
DRAW
S -50 5 10 -5 0 1 0 N
S -50 50 50 -50 0 1 0 N
X P1 1 -200 0 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X06
#
DEF CONN_01X06 J 0 40 Y N 1 F N
F0 "J" 0 350 50 H V C CNN
F1 "CONN_01X06" 100 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Pin_Header_Straight_1X*
Pin_Header_Angled_1X*
Socket_Strip_Straight_1X*
Socket_Strip_Angled_1X*
$ENDFPLIST
DRAW
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 300 50 -300 0 1 0 N
X P1 1 -200 250 150 R 50 50 1 1 P
X P2 2 -200 150 150 R 50 50 1 1 P
X P3 3 -200 50 150 R 50 50 1 1 P
X P4 4 -200 -50 150 R 50 50 1 1 P
X P5 5 -200 -150 150 R 50 50 1 1 P
X P6 6 -200 -250 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X08
#
DEF CONN_01X08 J 0 40 Y N 1 F N
F0 "J" 0 450 50 H V C CNN
F1 "CONN_01X08" 100 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Pin_Header_Straight_1X*
Pin_Header_Angled_1X*
Socket_Strip_Straight_1X*
Socket_Strip_Angled_1X*
$ENDFPLIST
DRAW
S -50 -400 50 400 0 1 0 N
S -50 -345 10 -355 0 1 0 N
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 355 10 345 0 1 0 N
X P1 1 -200 350 150 R 50 50 1 1 P
X P2 2 -200 250 150 R 50 50 1 1 P
X P3 3 -200 150 150 R 50 50 1 1 P
X P4 4 -200 50 150 R 50 50 1 1 P
X P5 5 -200 -50 150 R 50 50 1 1 P
X P6 6 -200 -150 150 R 50 50 1 1 P
X P7 7 -200 -250 150 R 50 50 1 1 P
X P8 8 -200 -350 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_01X10
#
DEF CONN_01X10 J 0 40 Y N 1 F N
F0 "J" 0 550 50 H V C CNN
F1 "CONN_01X10" 100 0 50 V V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
$FPLIST
Pin_Header_Straight_1X*
Pin_Header_Angled_1X*
Socket_Strip_Straight_1X*
Socket_Strip_Angled_1X*
$ENDFPLIST
DRAW
S -50 -445 10 -455 0 1 0 N
S -50 -345 10 -355 0 1 0 N
S -50 -245 10 -255 0 1 0 N
S -50 -145 10 -155 0 1 0 N
S -50 -45 10 -55 0 1 0 N
S -50 55 10 45 0 1 0 N
S -50 155 10 145 0 1 0 N
S -50 255 10 245 0 1 0 N
S -50 355 10 345 0 1 0 N
S -50 455 10 445 0 1 0 N
S -50 500 50 -500 0 1 0 N
X P1 1 -200 450 150 R 50 50 1 1 P
X P2 2 -200 350 150 R 50 50 1 1 P
X P3 3 -200 250 150 R 50 50 1 1 P
X P4 4 -200 150 150 R 50 50 1 1 P
X P5 5 -200 50 150 R 50 50 1 1 P
X P6 6 -200 -50 150 R 50 50 1 1 P
X P7 7 -200 -150 150 R 50 50 1 1 P
X P8 8 -200 -250 150 R 50 50 1 1 P
X P9 9 -200 -350 150 R 50 50 1 1 P
X P10 10 -200 -450 150 R 50 50 1 1 P
ENDDRAW
ENDDEF
#
# CONN_02X05
#
DEF CONN_02X05 J 0 1 Y N 1 F N
F0 "J" 0 300 50 H V C CNN
F1 "CONN_02X05" 0 -300 50 H V C CNN
F2 "" 0 -1200 50 H I C CNN
F3 "" 0 -1200 50 H I C CNN
$FPLIST
Pin_Header_Straight_2X*
Pin_Header_Angled_2X*
Socket_Strip_Straight_2X*
Socket_Strip_Angled_2X*
IDC_Header_Straight_*
$ENDFPLIST
DRAW
S -100 -195 -50 -205 0 1 0 N
S -100 -95 -50 -105 0 1 0 N
S -100 5 -50 -5 0 1 0 N
S -100 105 -50 95 0 1 0 N
S -100 205 -50 195 0 1 0 N
S -100 250 100 -250 0 1 0 N
S 50 -195 100 -205 0 1 0 N
S 50 -95 100 -105 0 1 0 N
S 50 5 100 -5 0 1 0 N
S 50 105 100 95 0 1 0 N
S 50 205 100 195 0 1 0 N
X P1 1 -250 200 150 R 50 50 1 1 P
X P2 2 250 200 150 L 50 50 1 1 P
X P3 3 -250 100 150 R 50 50 1 1 P
X P4 4 250 100 150 L 50 50 1 1 P
X P5 5 -250 0 150 R 50 50 1 1 P
X P6 6 250 0 150 L 50 50 1 1 P
X P7 7 -250 -100 150 R 50 50 1 1 P
X P8 8 250 -100 150 L 50 50 1 1 P
X P9 9 -250 -200 150 R 50 50 1 1 P
X P10 10 250 -200 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# GND
#
DEF GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# PWR_FLAG
#
DEF PWR_FLAG #FLG 0 0 N N 1 F P
F0 "#FLG" 0 75 50 H I C CNN
F1 "PWR_FLAG" 0 150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
X pwr 1 0 0 0 U 50 50 0 0 w
P 6 0 1 0 0 0 0 50 -40 75 0 100 40 75 0 50 N
ENDDRAW
ENDDEF
#
# STM32L151C6TxA
#
DEF STM32L151C6TxA U 0 40 Y Y 1 L N
F0 "U" -3500 1725 50 H V L BNN
F1 "STM32L151C6TxA" 3500 1725 50 H V R BNN
F2 "Housings_QFP:LQFP-48_7x7mm_Pitch0.5mm" 3500 1675 50 H I R TNN
F3 "" 0 0 50 H I C CNN
ALIAS STM32L151C8TxA STM32L151CBTxA
DRAW
S -3500 -1700 3500 1700 0 1 10 f
X VLCD 1 -3600 1000 100 R 50 50 1 1 W
X PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2/TIMX_IC2 2 -3600 500 100 R 50 50 1 1 B
X PC14/RCC_OSC32_IN/TIMX_IC3 3 -3600 400 100 R 50 50 1 1 B
X PC15/ADC_EXTI15/RCC_OSC32_OUT/TIMX_IC4 4 -3600 300 100 R 50 50 1 1 B
X PH0/RCC_OSC_IN 5 -3600 800 100 R 50 50 1 1 I
X PH1/RCC_OSC_OUT 6 -3600 700 100 R 50 50 1 1 I
X NRST 7 -3600 1400 100 R 50 50 1 1 I
X VSSA 8 100 -1800 100 U 50 50 1 1 W
X VDDA 9 100 1800 100 D 50 50 1 1 W
X ADC_IN0/COMP1_INP/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TIMX_IC1/TS_G1_IO1/USART2_CTS/PA0 10 3600 100 100 L 50 50 1 1 B
X PB2/BOOT1/COMP1_INP/TS_G3_IO3 20 -3600 -100 100 R 50 50 1 1 B
X DAC_EXTI9/TIMX_IC2/TS_G4_IO2/USART1_TX/PA9 30 3600 -800 100 L 50 50 1 1 B
X PB4/COMP2_INP/SPI1_MISO/SYS_JTRST/TIM3_CH1/TS_G6_IO1 40 -3600 -300 100 R 50 50 1 1 B
X ADC_IN1/COMP1_INP/TIM2_CH2/TIMX_IC2/TS_G1_IO2/USART2_RTS/PA1 11 3600 0 100 L 50 50 1 1 B
X PB10/I2C2_SCL/TIM2_CH3/USART3_TX 21 -3600 -900 100 R 50 50 1 1 B
X TIMX_IC3/TS_G4_IO3/USART1_RX/PA10 31 3600 -900 100 L 50 50 1 1 B
X PB5/COMP2_INP/I2C1_SMBA/SPI1_MOSI/TIM3_CH2/TS_G6_IO2 41 -3600 -400 100 R 50 50 1 1 B
X ADC_IN2/COMP1_INP/TIM2_CH3/TIM9_CH1/TIMX_IC3/TS_G1_IO3/USART2_TX/PA2 12 3600 -100 100 L 50 50 1 1 B
X PB11/ADC_EXTI11/I2C2_SDA/TIM2_CH4/USART3_RX 22 -3600 -1000 100 R 50 50 1 1 B
X ADC_EXTI11/SPI1_MISO/TIMX_IC4/USART1_CTS/USB_DM/PA11 32 3600 -1000 100 L 50 50 1 1 B
X PB6/I2C1_SCL/TIM4_CH1/TS_G6_IO3/USART1_TX 42 -3600 -500 100 R 50 50 1 1 B
X ADC_IN3/COMP1_INP/TIM2_CH4/TIM9_CH2/TIMX_IC4/TS_G1_IO4/USART2_RX/PA3 13 3600 -200 100 L 50 50 1 1 B
X VSS 23 -200 -1800 100 U 50 50 1 1 W
X SPI1_MOSI/TIMX_IC1/USART1_RTS/USB_DP/PA12 33 3600 -1100 100 L 50 50 1 1 B
X PB7/I2C1_SDA/SYS_PVD_IN/TIM4_CH2/TS_G6_IO4/USART1_RX 43 -3600 -600 100 R 50 50 1 1 B
X ADC_IN4/COMP1_INP/DAC_OUT1/SPI1_NSS/TIMX_IC1/USART2_CK/PA4 14 3600 -300 100 L 50 50 1 1 B
X VDD 24 -200 1800 100 D 50 50 1 1 W
X SYS_JTMS-SWDIO/TIMX_IC2/TS_G5_IO1/PA13 34 3600 -1200 100 L 50 50 1 1 B
X BOOT0 44 -3600 1200 100 R 50 50 1 1 I
X ADC_IN5/COMP1_INP/DAC_OUT2/SPI1_SCK/TIM2_CH1/TIM2_ETR/TIMX_IC2/PA5 15 3600 -400 100 L 50 50 1 1 B
X PB12/ADC_IN18/COMP1_INP/I2C2_SMBA/SPI2_NSS/TIM10_CH1/TS_G7_IO1/USART3_CK 25 -3600 -1100 100 R 50 50 1 1 B
X VSS 35 -100 -1800 100 U 50 50 1 1 W
X PB8/I2C1_SCL/TIM10_CH1/TIM4_CH3 45 -3600 -700 100 R 50 50 1 1 B
X ADC_IN6/COMP1_INP/SPI1_MISO/TIM10_CH1/TIM3_CH1/TIMX_IC3/TS_G2_IO1/PA6 16 3600 -500 100 L 50 50 1 1 B
X PB13/ADC_IN19/COMP1_INP/SPI2_SCK/TIM9_CH1/TS_G7_IO2/USART3_CTS 26 -3600 -1200 100 R 50 50 1 1 B
X VDD 36 -100 1800 100 D 50 50 1 1 W
X PB9/DAC_EXTI9/I2C1_SDA/TIM11_CH1/TIM4_CH4 46 -3600 -800 100 R 50 50 1 1 B
X ADC_IN7/COMP1_INP/SPI1_MOSI/TIM11_CH1/TIM3_CH2/TIMX_IC4/TS_G2_IO2/PA7 17 3600 -600 100 L 50 50 1 1 B
X PB14/ADC_IN20/COMP1_INP/SPI2_MISO/TIM9_CH2/TS_G7_IO3/USART3_RTS 27 -3600 -1300 100 R 50 50 1 1 B
X SYS_JTCK-SWCLK/TIMX_IC3/TS_G5_IO2/PA14 37 3600 -1300 100 L 50 50 1 1 B
X VSS 47 0 -1800 100 U 50 50 1 1 W
X PB0/ADC_IN8/COMP1_INP/SYS_V_REF_OUT/TIM3_CH3/TS_G3_IO1 18 -3600 100 100 R 50 50 1 1 B
X PB15/ADC_EXTI15/ADC_IN21/COMP1_INP/RTC_REFIN/SPI2_MOSI/TIM11_CH1/TS_G7_IO4 28 -3600 -1400 100 R 50 50 1 1 B
X ADC_EXTI15/SPI1_NSS/SYS_JTDI/TIM2_CH1/TIM2_ETR/TIMX_IC4/TS_G5_IO3/PA15 38 3600 -1400 100 L 50 50 1 1 B
X VDD 48 0 1800 100 D 50 50 1 1 W
X PB1/ADC_IN9/COMP1_INP/SYS_V_REF_OUT/TIM3_CH4/TS_G3_IO2 19 -3600 0 100 R 50 50 1 1 B
X RCC_MCO/TIMX_IC1/TS_G4_IO1/USART1_CK/PA8 29 3600 -700 100 L 50 50 1 1 B
X PB3/COMP2_INM/SPI1_SCK/SYS_JTDO-TRACESWO/TIM2_CH2 39 -3600 -200 100 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# USB_OTG-RESCUE-hw1
#
DEF USB_OTG-RESCUE-hw1 P 0 40 Y Y 1 F N
F0 "P" 325 -125 50 H V C CNN
F1 "USB_OTG-RESCUE-hw1" 0 200 50 H V C CNN
F2 "" -50 -100 50 V V C CNN
F3 "" -50 -100 50 V V C CNN
$FPLIST
USB*
$ENDFPLIST
DRAW
S -250 -150 250 150 0 1 0 N
S -205 -150 -195 -120 0 1 0 N
S -105 -150 -95 -120 0 1 0 N
S -5 -150 5 -120 0 1 0 N
S 95 -150 105 -120 0 1 0 N
S 195 -150 205 -120 0 1 0 N
X VBUS 1 -200 -300 150 U 50 50 1 1 w
X D- 2 -100 -300 150 U 50 50 1 1 P
X D+ 3 0 -300 150 U 50 50 1 1 P
X ID 4 100 -300 150 U 50 50 1 1 W
X GND 5 200 -300 150 U 50 50 1 1 W
X shield 6 400 100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library

30
hw1/hw1-rescue.lib Normal file
View file

@ -0,0 +1,30 @@
EESchema-LIBRARY Version 2.3
#encoding utf-8
#
# USB_OTG-RESCUE-hw1
#
DEF USB_OTG-RESCUE-hw1 P 0 40 Y Y 1 F N
F0 "P" 325 -125 50 H V C CNN
F1 "USB_OTG-RESCUE-hw1" 0 200 50 H V C CNN
F2 "" -50 -100 50 V V C CNN
F3 "" -50 -100 50 V V C CNN
$FPLIST
USB*
$ENDFPLIST
DRAW
S -250 -150 250 150 0 1 0 N
S -205 -150 -195 -120 0 1 0 N
S -105 -150 -95 -120 0 1 0 N
S -5 -150 5 -120 0 1 0 N
S 95 -150 105 -120 0 1 0 N
S 195 -150 205 -120 0 1 0 N
X VBUS 1 -200 -300 150 U 50 50 1 1 w
X D- 2 -100 -300 150 U 50 50 1 1 P
X D+ 3 0 -300 150 U 50 50 1 1 P
X ID 4 100 -300 150 U 50 50 1 1 W
X GND 5 200 -300 150 U 50 50 1 1 W
X shield 6 400 100 150 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
#End Library

703
hw1/hw1.bak Normal file
View file

@ -0,0 +1,703 @@
EESchema Schematic File Version 2
LIBS:hw1-rescue
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:stm32
LIBS:hw1-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date "lun. 30 mars 2015"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 8950 1450 1 60 ~ 0
Vin
Text Label 9300 1450 1 60 ~ 0
IOREF
Text Label 8900 2500 0 60 ~ 0
DAC1
Text Label 8900 2600 0 60 ~ 0
DAC2
Text Label 8900 2700 0 60 ~ 0
A2
Text Label 8900 2800 0 60 ~ 0
A3
Text Label 8900 2900 0 60 ~ 0
I2C_SDA
Text Label 10550 3000 0 60 ~ 0
UART_RX
Text Label 10550 2800 0 60 ~ 0
2
Text Label 10550 2900 0 60 ~ 0
UART_TX
Text Label 10550 2700 0 60 ~ 0
3(**)
Text Label 10550 2600 0 60 ~ 0
4
Text Label 10550 2500 0 60 ~ 0
5(**)
Text Label 10550 2400 0 60 ~ 0
6(**)
Text Label 10550 2300 0 60 ~ 0
7
Text Label 10550 2100 0 60 ~ 0
8
Text Label 10550 2000 0 60 ~ 0
9(**)
Text Label 10550 1900 0 60 ~ 0
SPI_CS
Text Label 10550 1800 0 60 ~ 0
SPI_MOSI
Text Label 10550 1700 0 60 ~ 0
SPI_MISO
Text Label 10550 1600 0 60 ~ 0
SPI_SCK
Text Label 10550 1400 0 60 ~ 0
AREF
NoConn ~ 9400 1600
Text Label 10550 1300 0 60 ~ 0
I2C_SDA
Text Label 10550 1200 0 60 ~ 0
I2C_SCL
Text Notes 10850 1000 0 60 ~ 0
Holes
Text Notes 8550 750 0 60 ~ 0
Arduino UNOr3 pins\nAs used on Nucleo64 boards\n
$Comp
L CONN_01X08 P1
U 1 1 56D70129
P 9600 1950
F 0 "P1" H 9600 2400 50 0000 C CNN
F 1 "Power" V 9700 1950 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 9600 1950 50 0001 C CNN
F 3 "" H 9600 1950 50 0000 C CNN
1 9600 1950
1 0 0 -1
$EndComp
Text Label 8650 1800 0 60 ~ 0
Reset
$Comp
L +3.3V #PWR01
U 1 1 56D70538
P 9150 1450
F 0 "#PWR01" H 9150 1300 50 0001 C CNN
F 1 "+3.3V" H 9150 1590 30 0000 C CNN
F 2 "" H 9150 1450 50 0000 C CNN
F 3 "" H 9150 1450 50 0000 C CNN
1 9150 1450
1 0 0 -1
$EndComp
$Comp
L +5V #PWR02
U 1 1 56D707BB
P 9050 1450
F 0 "#PWR02" H 9050 1300 50 0001 C CNN
F 1 "+5V" H 9050 1590 30 0000 C CNN
F 2 "" H 9050 1450 50 0000 C CNN
F 3 "" H 9050 1450 50 0000 C CNN
1 9050 1450
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 56D70CC2
P 9300 3150
F 0 "#PWR03" H 9300 2900 50 0001 C CNN
F 1 "GND" H 9300 3000 50 0000 C CNN
F 2 "" H 9300 3150 50 0000 C CNN
F 3 "" H 9300 3150 50 0000 C CNN
1 9300 3150
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 56D70CFF
P 10300 3150
F 0 "#PWR04" H 10300 2900 50 0001 C CNN
F 1 "GND" H 10300 3000 50 0000 C CNN
F 2 "" H 10300 3150 50 0000 C CNN
F 3 "" H 10300 3150 50 0000 C CNN
1 10300 3150
1 0 0 -1
$EndComp
$Comp
L CONN_01X06 P2
U 1 1 56D70DD8
P 9600 2750
F 0 "P2" H 9600 3100 50 0000 C CNN
F 1 "Analog" V 9700 2750 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x06" H 9600 2750 50 0001 C CNN
F 3 "" H 9600 2750 50 0000 C CNN
1 9600 2750
1 0 0 -1
$EndComp
$Comp
L CONN_01X01 P5
U 1 1 56D71177
P 10800 650
F 0 "P5" V 10900 650 50 0000 C CNN
F 1 "CONN_01X01" V 10900 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10800 650 50 0001 C CNN
F 3 "" H 10800 650 50 0000 C CNN
1 10800 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P6
U 1 1 56D71274
P 10900 650
F 0 "P6" V 11000 650 50 0000 C CNN
F 1 "CONN_01X01" V 11000 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10900 650 50 0001 C CNN
F 3 "" H 10900 650 50 0000 C CNN
1 10900 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P7
U 1 1 56D712A8
P 11000 650
F 0 "P7" V 11100 650 50 0000 C CNN
F 1 "CONN_01X01" V 11100 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11000 650 50 0001 C CNN
F 3 "" H 11000 650 50 0000 C CNN
1 11000 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P8
U 1 1 56D712DB
P 11100 650
F 0 "P8" V 11200 650 50 0000 C CNN
F 1 "CONN_01X01" V 11200 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11100 650 50 0001 C CNN
F 3 "" H 11100 650 50 0000 C CNN
1 11100 650
0 -1 -1 0
$EndComp
NoConn ~ 10800 850
NoConn ~ 10900 850
NoConn ~ 11000 850
NoConn ~ 11100 850
$Comp
L CONN_01X08 P4
U 1 1 56D7164F
P 10000 2650
F 0 "P4" H 10000 3100 50 0000 C CNN
F 1 "Digital" V 10100 2650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 10000 2650 50 0001 C CNN
F 3 "" H 10000 2650 50 0000 C CNN
1 10000 2650
-1 0 0 -1
$EndComp
$Comp
L CONN_01X10 P3
U 1 1 56D721E0
P 10000 1650
F 0 "P3" H 10000 2200 50 0000 C CNN
F 1 "Digital" V 10100 1650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x10" H 10000 1650 50 0001 C CNN
F 3 "" H 10000 1650 50 0000 C CNN
1 10000 1650
-1 0 0 -1
$EndComp
Text Notes 9700 1600 0 60 ~ 0
1
$Comp
L STM32L151C6TxA U1
U 1 1 58CEFE92
P 4550 4350
F 0 "U1" H 1050 6075 50 0000 L BNN
F 1 "STM32L151C6TxA" H 8050 6075 50 0000 R BNN
F 2 "LQFP48" H 8050 6025 50 0000 R TNN
F 3 "" H 4550 4350 50 0000 C CNN
1 4550 4350
1 0 0 -1
$EndComp
$Comp
L CONN_02X05 P9
U 1 1 58CF048F
P 1150 1250
F 0 "P9" H 1150 1550 50 0000 C CNN
F 1 "FX2LA" H 1150 950 50 0000 C CNN
F 2 "Connectors:IDC_Header_Straight_10pins" H 1150 50 50 0001 C CNN
F 3 "" H 1150 50 50 0000 C CNN
1 1150 1250
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR05
U 1 1 58CF063D
P 4500 2350
F 0 "#PWR05" H 4500 2200 50 0001 C CNN
F 1 "+3V3" H 4500 2490 50 0000 C CNN
F 2 "" H 4500 2350 50 0000 C CNN
F 3 "" H 4500 2350 50 0000 C CNN
1 4500 2350
1 0 0 -1
$EndComp
$Comp
L GND #PWR06
U 1 1 58CF077D
P 4450 6300
F 0 "#PWR06" H 4450 6050 50 0001 C CNN
F 1 "GND" H 4450 6150 50 0000 C CNN
F 2 "" H 4450 6300 50 0000 C CNN
F 3 "" H 4450 6300 50 0000 C CNN
1 4450 6300
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 58CF0E5B
P 1500 1550
F 0 "#PWR07" H 1500 1300 50 0001 C CNN
F 1 "GND" H 1500 1400 50 0000 C CNN
F 2 "" H 1500 1550 50 0000 C CNN
F 3 "" H 1500 1550 50 0000 C CNN
1 1500 1550
1 0 0 -1
$EndComp
$Comp
L USB_OTG-RESCUE-hw1 P10
U 1 1 58CF10AD
P 3650 1250
F 0 "P10" H 3975 1125 50 0000 C CNN
F 1 "CONTROL" H 3650 1450 50 0000 C CNN
F 2 "Connectors:USB_Micro-B" V 3600 1150 50 0001 C CNN
F 3 "" V 3600 1150 50 0000 C CNN
1 3650 1250
1 0 0 -1
$EndComp
$Comp
L GND #PWR08
U 1 1 58CF1156
P 3850 1650
F 0 "#PWR08" H 3850 1400 50 0001 C CNN
F 1 "GND" H 3850 1500 50 0000 C CNN
F 2 "" H 3850 1650 50 0000 C CNN
F 3 "" H 3850 1650 50 0000 C CNN
1 3850 1650
1 0 0 -1
$EndComp
Text Label 8300 5350 0 60 ~ 0
USB_DM
Text Label 8300 5450 0 60 ~ 0
USB_DP
Text Label 3550 1900 1 60 ~ 0
USB_DM
Text Label 3650 1900 1 60 ~ 0
USB_DP
Text Label 8450 4650 0 60 ~ 0
DAC1
Text Label 8450 4750 0 60 ~ 0
DAC2
Text Label 550 5050 0 60 ~ 0
I2C_SCL
Text Label 550 5150 0 60 ~ 0
I2C_SDA
Text Notes 3850 750 0 60 ~ 0
TBD: debug via via 6pin/10x1.27/20x2.54? (leaning toward 6pin _and_ 10x127 smd)
Text Label 8900 3000 0 60 ~ 0
I2C_SCL
Text Notes 8500 3000 0 60 ~ 0
A5 (SCL)
Text Notes 8500 2900 0 60 ~ 0
A4 (SDA)
Text Notes 8500 2500 0 60 ~ 0
A0
Text Notes 8500 2600 0 60 ~ 0
A1
Text Notes 10950 1300 0 60 ~ 0
A5 (SCL)\nA4 (SDA)
Text Notes 11150 1900 0 60 ~ 0
13(SCK)\n12(MISO)\n11(**/MOSI)\n10(**/SS)
Text Notes 11100 3000 0 60 ~ 0
TX\nRX
Wire Notes Line
8525 825 9925 825
Wire Notes Line
9925 825 9925 475
Wire Wire Line
9300 1450 9300 1700
Wire Wire Line
9300 1700 9400 1700
Wire Wire Line
9400 1900 9150 1900
Wire Wire Line
9400 2000 9050 2000
Wire Wire Line
9400 2300 8950 2300
Wire Wire Line
9400 2100 9300 2100
Wire Wire Line
9400 2200 9300 2200
Connection ~ 9300 2200
Wire Wire Line
8950 2300 8950 1450
Wire Wire Line
9050 2000 9050 1450
Wire Wire Line
9150 1900 9150 1450
Wire Wire Line
9400 2500 8900 2500
Wire Wire Line
9400 2600 8900 2600
Wire Wire Line
9400 2700 8900 2700
Wire Wire Line
9400 2800 8900 2800
Wire Wire Line
9400 2900 8900 2900
Wire Wire Line
9400 3000 8900 3000
Wire Wire Line
10200 2100 10550 2100
Wire Wire Line
10200 2000 10550 2000
Wire Wire Line
10200 1900 10550 1900
Wire Wire Line
10200 1800 10550 1800
Wire Wire Line
10200 1700 10550 1700
Wire Wire Line
10200 1600 10550 1600
Wire Wire Line
10200 1400 10550 1400
Wire Wire Line
10200 1300 10550 1300
Wire Wire Line
10200 1200 10550 1200
Wire Wire Line
10200 3000 10550 3000
Wire Wire Line
10200 2900 10550 2900
Wire Wire Line
10200 2800 10550 2800
Wire Wire Line
10200 2700 10550 2700
Wire Wire Line
10200 2600 10550 2600
Wire Wire Line
10200 2500 10550 2500
Wire Wire Line
10200 2400 10550 2400
Wire Wire Line
10200 2300 10550 2300
Wire Wire Line
10200 1500 10300 1500
Wire Wire Line
10300 1500 10300 3150
Wire Wire Line
9300 2100 9300 3150
Wire Notes Line
8500 500 8500 3450
Wire Notes Line
8500 3450 11200 3450
Wire Wire Line
9400 1800 8650 1800
Wire Notes Line
11200 1000 10700 1000
Wire Notes Line
10700 1000 10700 500
Wire Wire Line
4500 2450 4500 2350
Wire Wire Line
4350 2450 4650 2450
Wire Wire Line
4350 2450 4350 2550
Wire Wire Line
4450 2550 4450 2450
Connection ~ 4450 2450
Wire Wire Line
4550 2450 4550 2550
Connection ~ 4500 2450
Wire Wire Line
4650 2450 4650 2550
Connection ~ 4550 2450
Wire Wire Line
4350 6150 4350 6250
Wire Wire Line
4350 6250 4650 6250
Wire Wire Line
4450 6150 4450 6300
Connection ~ 4450 6250
Wire Wire Line
4550 6250 4550 6150
Wire Wire Line
4650 6250 4650 6150
Connection ~ 4550 6250
Wire Wire Line
1400 1450 1500 1450
Wire Wire Line
1500 1450 1500 1550
Wire Wire Line
3850 1550 3850 1650
Wire Wire Line
8150 5350 8450 5350
Wire Wire Line
8150 5450 8450 5450
Wire Wire Line
3550 1550 3550 1900
Wire Wire Line
3650 1550 3650 1900
Wire Wire Line
8150 4650 8700 4650
Wire Wire Line
8150 4750 8700 4750
Wire Wire Line
550 5150 950 5150
Wire Wire Line
950 5050 550 5050
Wire Wire Line
1400 1050 2000 1050
Wire Wire Line
1400 1150 2000 1150
Wire Wire Line
1400 1250 2000 1250
Wire Wire Line
1400 1350 2000 1350
Wire Wire Line
900 1050 500 1050
Wire Wire Line
900 1150 500 1150
Wire Wire Line
900 1250 500 1250
Wire Wire Line
900 1350 500 1350
Text Label 500 1050 0 60 ~ 0
I2C_SCL
Text Label 1500 1050 0 60 ~ 0
I2C_SDA
Text Label 500 1150 0 60 ~ 0
SPI_SCK
Text Label 500 1250 0 60 ~ 0
SPI_MOSI
Text Label 1500 1150 0 60 ~ 0
SPI_MISO
Text Label 1500 1250 0 60 ~ 0
SPI_CS
Text Label 500 1350 0 60 ~ 0
UART_RX
Text Label 1500 1350 0 60 ~ 0
UART_TX
Text Notes 450 2100 0 60 Italic 0
NOTE: this can be freely routed to do whatever's possible!\nPotentially:\nJumpers to select what you're connecting here?\n(but non-ideal)
$Comp
L C C2
U 1 1 58CF43FF
P 1500 7000
F 0 "C2" H 1525 7100 50 0000 L CNN
F 1 "100n" H 1525 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1538 6850 50 0000 C CNN
F 3 "" H 1500 7000 50 0000 C CNN
1 1500 7000
1 0 0 -1
$EndComp
$Comp
L GND #PWR09
U 1 1 58CF46A1
P 2050 7350
F 0 "#PWR09" H 2050 7100 50 0001 C CNN
F 1 "GND" H 2050 7200 50 0000 C CNN
F 2 "" H 2050 7350 50 0000 C CNN
F 3 "" H 2050 7350 50 0000 C CNN
1 2050 7350
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR010
U 1 1 58CF46D6
P 2050 6650
F 0 "#PWR010" H 2050 6500 50 0001 C CNN
F 1 "+3V3" H 2050 6790 50 0000 C CNN
F 2 "" H 2050 6650 50 0000 C CNN
F 3 "" H 2050 6650 50 0000 C CNN
1 2050 6650
1 0 0 -1
$EndComp
Wire Wire Line
2050 6850 2050 6650
Wire Wire Line
1500 6850 2600 6850
Connection ~ 1850 6850
Connection ~ 2050 6850
Connection ~ 2250 6850
Wire Wire Line
1500 7150 2600 7150
Connection ~ 2250 7150
Connection ~ 1850 7150
Wire Wire Line
2050 7350 2050 7150
Connection ~ 2050 7150
$Comp
L C C1
U 1 1 58CF4B65
P 600 3100
F 0 "C1" H 625 3200 50 0000 L CNN
F 1 "100n" H 625 3000 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 638 2950 50 0000 C CNN
F 3 "" H 600 3100 50 0000 C CNN
1 600 3100
1 0 0 -1
$EndComp
$Comp
L GND #PWR011
U 1 1 58CF4BEA
P 600 3350
F 0 "#PWR011" H 600 3100 50 0001 C CNN
F 1 "GND" H 600 3200 50 0000 C CNN
F 2 "" H 600 3350 50 0000 C CNN
F 3 "" H 600 3350 50 0000 C CNN
1 600 3350
1 0 0 -1
$EndComp
Wire Wire Line
950 2950 600 2950
Wire Wire Line
600 3250 600 3350
NoConn ~ 950 4250
NoConn ~ 950 4350
NoConn ~ 950 4050
NoConn ~ 950 3950
NoConn ~ 950 3850
NoConn ~ 950 4650
Wire Wire Line
950 4550 550 4550
Text Label 550 4550 0 60 Italic 0
SWO
Wire Wire Line
8150 5550 8450 5550
Wire Wire Line
8150 5650 8450 5650
Text Label 8300 5550 0 60 Italic 0
SWDIO
Text Label 8300 5650 0 60 Italic 0
SWCLK
Text Label 650 2950 0 60 Italic 0
NRST
$Comp
L PWR_FLAG #FLG012
U 1 1 58CF5CCA
P 3650 7100
F 0 "#FLG012" H 3650 7195 50 0001 C CNN
F 1 "PWR_FLAG" H 3650 7280 50 0000 C CNN
F 2 "" H 3650 7100 50 0000 C CNN
F 3 "" H 3650 7100 50 0000 C CNN
1 3650 7100
-1 0 0 1
$EndComp
$Comp
L PWR_FLAG #FLG013
U 1 1 58CF5E41
P 4100 7000
F 0 "#FLG013" H 4100 7095 50 0001 C CNN
F 1 "PWR_FLAG" H 4100 7180 50 0000 C CNN
F 2 "" H 4100 7000 50 0000 C CNN
F 3 "" H 4100 7000 50 0000 C CNN
1 4100 7000
1 0 0 -1
$EndComp
$Comp
L GND #PWR014
U 1 1 58CF5E8B
P 4100 7100
F 0 "#PWR014" H 4100 6850 50 0001 C CNN
F 1 "GND" H 4100 6950 50 0000 C CNN
F 2 "" H 4100 7100 50 0000 C CNN
F 3 "" H 4100 7100 50 0000 C CNN
1 4100 7100
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR015
U 1 1 58CF5ED5
P 3650 7000
F 0 "#PWR015" H 3650 6850 50 0001 C CNN
F 1 "+3V3" H 3650 7140 50 0000 C CNN
F 2 "" H 3650 7000 50 0000 C CNN
F 3 "" H 3650 7000 50 0000 C CNN
1 3650 7000
1 0 0 -1
$EndComp
Wire Wire Line
3650 7000 3650 7100
Wire Wire Line
4100 7000 4100 7100
Text Notes 4600 7150 0 60 Italic 12
TODO: VBUS to 3v3 plz!
Text Notes 5200 1500 0 60 Italic 12
ONLY GROUND BETWEEN BOARDS\nBoth will be powered by their own USB.\n(We're not interested in bootloading the target....\nyet...?)
$Comp
L C C3
U 1 1 58CF69A9
P 1850 7000
F 0 "C3" H 1875 7100 50 0000 L CNN
F 1 "100n" H 1875 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1888 6850 50 0000 C CNN
F 3 "" H 1850 7000 50 0000 C CNN
1 1850 7000
1 0 0 -1
$EndComp
$Comp
L C C4
U 1 1 58CF69F1
P 2250 7000
F 0 "C4" H 2275 7100 50 0000 L CNN
F 1 "100n" H 2275 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2288 6850 50 0000 C CNN
F 3 "" H 2250 7000 50 0000 C CNN
1 2250 7000
1 0 0 -1
$EndComp
$Comp
L C C5
U 1 1 58CF6A3A
P 2600 7000
F 0 "C5" H 2625 7100 50 0000 L CNN
F 1 "100n" H 2625 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2638 6850 50 0000 C CNN
F 3 "" H 2600 7000 50 0000 C CNN
1 2600 7000
1 0 0 -1
$EndComp
NoConn ~ 900 1450
Text Notes 650 1450 0 60 ~ 0
CLK
$EndSCHEMATC

59
hw1/hw1.cmp Normal file
View file

@ -0,0 +1,59 @@
Cmp-Mod V01 Created by Cvpcb (2015-03-25 BZR 5536)-product date = mer. 08 avril 2015 09:59:14 UTC
BeginCmp
TimeStamp = /5517C2C1;
Reference = P1;
ValeurCmp = Power;
IdModule = Socket_Arduino_Uno:Socket_Strip_Arduino_1x08;
EndCmp
BeginCmp
TimeStamp = /5517C323;
Reference = P2;
ValeurCmp = Analog;
IdModule = Socket_Arduino_Uno:Socket_Strip_Arduino_1x06;
EndCmp
BeginCmp
TimeStamp = /5517C46C;
Reference = P3;
ValeurCmp = Digital;
IdModule = Socket_Arduino_Uno:Socket_Strip_Arduino_1x10;
EndCmp
BeginCmp
TimeStamp = /5517C366;
Reference = P4;
ValeurCmp = Digital;
IdModule = Socket_Arduino_Uno:Socket_Strip_Arduino_1x08;
EndCmp
BeginCmp
TimeStamp = /551BBC06;
Reference = P5;
ValeurCmp = CONN_1;
IdModule = Socket_Arduino_Uno:Arduino_1pin;
EndCmp
BeginCmp
TimeStamp = /551BBD10;
Reference = P6;
ValeurCmp = CONN_1;
IdModule = Socket_Arduino_Uno:Arduino_1pin;
EndCmp
BeginCmp
TimeStamp = /551BBD30;
Reference = P7;
ValeurCmp = CONN_1;
IdModule = Socket_Arduino_Uno:Arduino_1pin;
EndCmp
BeginCmp
TimeStamp = /551BBD52;
Reference = P8;
ValeurCmp = CONN_1;
IdModule = Socket_Arduino_Uno:Arduino_1pin;
EndCmp
EndListe

17
hw1/hw1.csv Normal file
View file

@ -0,0 +1,17 @@
Reference, Value, Footprint, Datasheet
"P1","Power","Socket_Arduino_Uno:Socket_Strip_Arduino_1x08",""
"P2","Analog","Socket_Arduino_Uno:Socket_Strip_Arduino_1x06",""
"P5","CONN_01X01","Socket_Arduino_Uno:Arduino_1pin",""
"P6","CONN_01X01","Socket_Arduino_Uno:Arduino_1pin",""
"P7","CONN_01X01","Socket_Arduino_Uno:Arduino_1pin",""
"P8","CONN_01X01","Socket_Arduino_Uno:Arduino_1pin",""
"P4","Digital","Socket_Arduino_Uno:Socket_Strip_Arduino_1x08",""
"P3","Digital","Socket_Arduino_Uno:Socket_Strip_Arduino_1x10",""
"U1","STM32L151C6TxA","LQFP48",""
"P9","FX2LA","Connectors:IDC_Header_Straight_10pins",""
"P10","CONTROL","",""
"C2","100n","Capacitors_SMD:C_0603_HandSoldering",""
"C1","100n","Capacitors_SMD:C_0603_HandSoldering",""
"C3","100n","Capacitors_SMD:C_0603_HandSoldering",""
"C4","100n","Capacitors_SMD:C_0603_HandSoldering",""
"C5","100n","Capacitors_SMD:C_0603_HandSoldering",""
1 Reference Value Footprint Datasheet
2 P1 Power Socket_Arduino_Uno:Socket_Strip_Arduino_1x08
3 P2 Analog Socket_Arduino_Uno:Socket_Strip_Arduino_1x06
4 P5 CONN_01X01 Socket_Arduino_Uno:Arduino_1pin
5 P6 CONN_01X01 Socket_Arduino_Uno:Arduino_1pin
6 P7 CONN_01X01 Socket_Arduino_Uno:Arduino_1pin
7 P8 CONN_01X01 Socket_Arduino_Uno:Arduino_1pin
8 P4 Digital Socket_Arduino_Uno:Socket_Strip_Arduino_1x08
9 P3 Digital Socket_Arduino_Uno:Socket_Strip_Arduino_1x10
10 U1 STM32L151C6TxA LQFP48
11 P9 FX2LA Connectors:IDC_Header_Straight_10pins
12 P10 CONTROL
13 C2 100n Capacitors_SMD:C_0603_HandSoldering
14 C1 100n Capacitors_SMD:C_0603_HandSoldering
15 C3 100n Capacitors_SMD:C_0603_HandSoldering
16 C4 100n Capacitors_SMD:C_0603_HandSoldering
17 C5 100n Capacitors_SMD:C_0603_HandSoldering

447
hw1/hw1.kicad_pcb Normal file
View file

@ -0,0 +1,447 @@
(kicad_pcb (version 4) (host pcbnew 4.0.2-4+6225~38~ubuntu14.04.1-stable)
(general
(links 4)
(no_connects 4)
(area 104.572999 71.392 182.146334 127.594)
(thickness 1.6)
(drawings 27)
(tracks 0)
(zones 0)
(modules 8)
(nets 33)
)
(page A4)
(title_block
(date "lun. 30 mars 2015")
)
(layers
(0 F.Cu signal)
(31 B.Cu signal)
(32 B.Adhes user)
(33 F.Adhes user)
(34 B.Paste user)
(35 F.Paste user)
(36 B.SilkS user)
(37 F.SilkS user)
(38 B.Mask user)
(39 F.Mask user)
(40 Dwgs.User user)
(41 Cmts.User user)
(42 Eco1.User user)
(43 Eco2.User user)
(44 Edge.Cuts user)
(45 Margin user)
(46 B.CrtYd user)
(47 F.CrtYd user)
(48 B.Fab user)
(49 F.Fab user)
)
(setup
(last_trace_width 0.25)
(trace_clearance 0.2)
(zone_clearance 0.508)
(zone_45_only no)
(trace_min 0.2)
(segment_width 0.15)
(edge_width 0.15)
(via_size 0.6)
(via_drill 0.4)
(via_min_size 0.4)
(via_min_drill 0.3)
(uvia_size 0.3)
(uvia_drill 0.1)
(uvias_allowed no)
(uvia_min_size 0.2)
(uvia_min_drill 0.1)
(pcb_text_width 0.3)
(pcb_text_size 1.5 1.5)
(mod_edge_width 0.15)
(mod_text_size 1 1)
(mod_text_width 0.15)
(pad_size 4.064 4.064)
(pad_drill 3.048)
(pad_to_mask_clearance 0)
(aux_axis_origin 110.998 126.365)
(grid_origin 110.998 126.365)
(visible_elements FFFFFF7F)
(pcbplotparams
(layerselection 0x00030_80000001)
(usegerberextensions false)
(excludeedgelayer true)
(linewidth 0.100000)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15)
(hpglpenoverlay 2)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(padsonsilk false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory ""))
)
(net 0 "")
(net 1 /IOREF)
(net 2 /Reset)
(net 3 +5V)
(net 4 GND)
(net 5 /Vin)
(net 6 /A0)
(net 7 /A1)
(net 8 /A2)
(net 9 /A3)
(net 10 /AREF)
(net 11 "/A4(SDA)")
(net 12 "/A5(SCL)")
(net 13 "/9(**)")
(net 14 /8)
(net 15 /7)
(net 16 "/6(**)")
(net 17 "/5(**)")
(net 18 /4)
(net 19 "/3(**)")
(net 20 /2)
(net 21 "/1(Tx)")
(net 22 "/0(Rx)")
(net 23 "Net-(P5-Pad1)")
(net 24 "Net-(P6-Pad1)")
(net 25 "Net-(P7-Pad1)")
(net 26 "Net-(P8-Pad1)")
(net 27 "/13(SCK)")
(net 28 "/10(**/SS)")
(net 29 "Net-(P1-Pad1)")
(net 30 +3V3)
(net 31 "/12(MISO)")
(net 32 "/11(**/MOSI)")
(net_class Default "This is the default net class."
(clearance 0.2)
(trace_width 0.25)
(via_dia 0.6)
(via_drill 0.4)
(uvia_dia 0.3)
(uvia_drill 0.1)
(add_net +3V3)
(add_net +5V)
(add_net "/0(Rx)")
(add_net "/1(Tx)")
(add_net "/10(**/SS)")
(add_net "/11(**/MOSI)")
(add_net "/12(MISO)")
(add_net "/13(SCK)")
(add_net /2)
(add_net "/3(**)")
(add_net /4)
(add_net "/5(**)")
(add_net "/6(**)")
(add_net /7)
(add_net /8)
(add_net "/9(**)")
(add_net /A0)
(add_net /A1)
(add_net /A2)
(add_net /A3)
(add_net "/A4(SDA)")
(add_net "/A5(SCL)")
(add_net /AREF)
(add_net /IOREF)
(add_net /Reset)
(add_net /Vin)
(add_net GND)
(add_net "Net-(P1-Pad1)")
(add_net "Net-(P5-Pad1)")
(add_net "Net-(P6-Pad1)")
(add_net "Net-(P7-Pad1)")
(add_net "Net-(P8-Pad1)")
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 locked (layer F.Cu) (tedit 552168D2) (tstamp 551AF9EA)
(at 138.938 123.825)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D70129)
(fp_text reference P1 (at 8.89 -2.54) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Power (at 8.89 -4.064) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 29 "Net-(P1-Pad1)"))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 1 /IOREF))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 2 /Reset))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 30 +3V3))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 3 +5V))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 5 /Vin))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x06 locked (layer F.Cu) (tedit 552168D6) (tstamp 551AF9FF)
(at 161.798 123.825)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D70DD8)
(fp_text reference P2 (at 6.604 -2.54) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Analog (at 6.604 -4.064) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 14.45 -1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 14.45 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 14.45 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 13.97 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 1.27) (end 13.97 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 13.97 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 6 /A0))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 7 /A1))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 8 /A2))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 9 /A3))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 11 "/A4(SDA)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 12 "/A5(SCL)"))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x06.wrl
(at (xyz 0.25 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x10 locked (layer F.Cu) (tedit 552168BF) (tstamp 551AFA18)
(at 129.794 75.565)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D721E0)
(fp_text reference P3 (at 11.43 2.794) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Digital (at 11.43 4.318) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 24.65 -1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 24.65 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 24.65 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 24.13 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 1.27) (end 24.13 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 24.13 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 12 "/A5(SCL)"))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 11 "/A4(SDA)"))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 10 /AREF))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 4 GND))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 27 "/13(SCK)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 31 "/12(MISO)"))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 32 "/11(**/MOSI)"))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 28 "/10(**/SS)"))
(pad 9 thru_hole oval (at 20.32 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 13 "/9(**)"))
(pad 10 thru_hole oval (at 22.86 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 14 /8))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x10.wrl
(at (xyz 0.45 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Socket_Strip_Arduino_1x08 locked (layer F.Cu) (tedit 552168C7) (tstamp 551AFA2F)
(at 156.718 75.565)
(descr "Through hole socket strip")
(tags "socket strip")
(path /56D7164F)
(fp_text reference P4 (at 8.89 2.794) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value Digital (at 8.89 4.318) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_line (start -1.75 -1.75) (end -1.75 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 19.55 -1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 -1.75) (end 19.55 -1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start -1.75 1.75) (end 19.55 1.75) (layer F.CrtYd) (width 0.05))
(fp_line (start 1.27 1.27) (end 19.05 1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 1.27) (end 19.05 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 19.05 -1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 1.55) (end 0 1.55) (layer F.SilkS) (width 0.15))
(fp_line (start 1.27 1.27) (end 1.27 -1.27) (layer F.SilkS) (width 0.15))
(fp_line (start 0 -1.55) (end -1.55 -1.55) (layer F.SilkS) (width 0.15))
(fp_line (start -1.55 -1.55) (end -1.55 1.55) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole oval (at 0 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 15 /7))
(pad 2 thru_hole oval (at 2.54 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 16 "/6(**)"))
(pad 3 thru_hole oval (at 5.08 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 17 "/5(**)"))
(pad 4 thru_hole oval (at 7.62 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 18 /4))
(pad 5 thru_hole oval (at 10.16 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 19 "/3(**)"))
(pad 6 thru_hole oval (at 12.7 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 20 /2))
(pad 7 thru_hole oval (at 15.24 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 21 "/1(Tx)"))
(pad 8 thru_hole oval (at 17.78 0) (size 1.7272 2.032) (drill 1.016) (layers *.Cu *.Mask F.SilkS)
(net 22 "/0(Rx)"))
(model ${KIPRJMOD}/Socket_Arduino_Uno.3dshapes/Socket_header_Arduino_1x08.wrl
(at (xyz 0.35 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 180))
)
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC39) (tstamp 5524FC3F)
(at 124.968 123.825)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D71177)
(fp_text reference P5 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 23 "Net-(P5-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC4A) (tstamp 5524FC44)
(at 177.038 118.745)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D71274)
(fp_text reference P6 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 24 "Net-(P6-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC2F) (tstamp 5524FC49)
(at 126.238 75.565)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D712A8)
(fp_text reference P7 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 25 "Net-(P7-Pad1)"))
)
(module Socket_Arduino_Uno:Arduino_1pin locked (layer F.Cu) (tedit 5524FC41) (tstamp 5524FC4E)
(at 177.038 90.805)
(descr "module 1 pin (ou trou mecanique de percage)")
(tags DEV)
(path /56D712DB)
(fp_text reference P8 (at 0 -3.048) (layer F.SilkS) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value CONN_01X01 (at 0 2.794) (layer F.Fab) hide
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 -2.286) (layer F.SilkS) (width 0.15))
(pad 1 thru_hole circle (at 0 0) (size 4.064 4.064) (drill 3.048) (layers *.Cu *.Mask F.SilkS)
(net 26 "Net-(P8-Pad1)"))
)
(gr_text 1 (at 138.938 121.285 90) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(gr_circle (center 117.348 76.962) (end 118.618 76.962) (layer Dwgs.User) (width 0.15))
(gr_line (start 114.427 78.994) (end 114.427 74.93) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.269 78.994) (end 114.427 78.994) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.269 74.93) (end 120.269 78.994) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 114.427 74.93) (end 120.269 74.93) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.523 93.98) (end 104.648 93.98) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 177.038 74.549) (end 175.514 73.025) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 85.979) (end 177.038 74.549) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 179.578 88.519) (end 177.038 85.979) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 179.578 121.285) (end 179.578 88.519) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 123.825) (end 179.578 121.285) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 177.038 126.365) (end 177.038 123.825) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 110.998 126.365) (end 177.038 126.365) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 110.998 73.025) (end 110.998 126.365) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 175.514 73.025) (end 110.998 73.025) (angle 90) (layer Edge.Cuts) (width 0.15))
(gr_line (start 173.355 102.235) (end 173.355 94.615) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 178.435 102.235) (end 173.355 102.235) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 178.435 94.615) (end 178.435 102.235) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 173.355 94.615) (end 178.435 94.615) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 109.093 123.19) (end 109.093 114.3) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 122.428 123.19) (end 109.093 123.19) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 122.428 114.3) (end 122.428 123.19) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 109.093 114.3) (end 122.428 114.3) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 104.648 93.98) (end 104.648 82.55) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 120.523 82.55) (end 120.523 93.98) (angle 90) (layer Dwgs.User) (width 0.15))
(gr_line (start 104.648 82.55) (end 120.523 82.55) (angle 90) (layer Dwgs.User) (width 0.15))
)

480
hw1/hw1.net Normal file
View file

@ -0,0 +1,480 @@
(export (version D)
(design
(source /home/karlp/src/libopencm3-tests/hw1/hw1.sch)
(date "Sun 19 Mar 2017 11:19:05 PM GMT")
(tool "Eeschema 4.0.5")
(sheet (number 1) (name /) (tstamps /)
(title_block
(title)
(company)
(rev)
(date "lun. 30 mars 2015")
(source hw1.sch)
(comment (number 1) (value ""))
(comment (number 2) (value ""))
(comment (number 3) (value ""))
(comment (number 4) (value "")))))
(components
(comp (ref P1)
(value Power)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x08)
(libsource (lib conn) (part CONN_01X08))
(sheetpath (names /) (tstamps /))
(tstamp 56D70129))
(comp (ref P2)
(value Analog)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x06)
(libsource (lib conn) (part CONN_01X06))
(sheetpath (names /) (tstamps /))
(tstamp 56D70DD8))
(comp (ref P5)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D71177))
(comp (ref P6)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D71274))
(comp (ref P7)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D712A8))
(comp (ref P8)
(value CONN_01X01)
(footprint Socket_Arduino_Uno:Arduino_1pin)
(libsource (lib conn) (part CONN_01X01))
(sheetpath (names /) (tstamps /))
(tstamp 56D712DB))
(comp (ref P4)
(value Digital)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x08)
(libsource (lib conn) (part CONN_01X08))
(sheetpath (names /) (tstamps /))
(tstamp 56D7164F))
(comp (ref P3)
(value Digital)
(footprint Socket_Arduino_Uno:Socket_Strip_Arduino_1x10)
(libsource (lib conn) (part CONN_01X10))
(sheetpath (names /) (tstamps /))
(tstamp 56D721E0))
(comp (ref U1)
(value STM32L151C6TxA)
(footprint LQFP48)
(libsource (lib stm32) (part STM32L151C6TxA))
(sheetpath (names /) (tstamps /))
(tstamp 58CEFE92))
(comp (ref P9)
(value FX2LA)
(footprint Connectors:IDC_Header_Straight_10pins)
(libsource (lib conn) (part CONN_02X05))
(sheetpath (names /) (tstamps /))
(tstamp 58CF048F))
(comp (ref P10)
(value CONTROL)
(libsource (lib conn) (part USB_OTG))
(sheetpath (names /) (tstamps /))
(tstamp 58CF10AD))
(comp (ref C2)
(value 100n)
(footprint Capacitors_SMD:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 58CF43FF))
(comp (ref C1)
(value 100n)
(footprint Capacitors_SMD:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 58CF4B65))
(comp (ref C3)
(value 100n)
(footprint Capacitors_SMD:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 58CF69A9))
(comp (ref C4)
(value 100n)
(footprint Capacitors_SMD:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 58CF69F1))
(comp (ref C5)
(value 100n)
(footprint Capacitors_SMD:C_0603_HandSoldering)
(libsource (lib device) (part C))
(sheetpath (names /) (tstamps /))
(tstamp 58CF6A3A)))
(libparts
(libpart (lib device) (part C)
(description "Unpolarized capacitor")
(footprints
(fp C?)
(fp C_????_*)
(fp C_????)
(fp SMD*_c)
(fp Capacitor*))
(fields
(field (name Reference) C)
(field (name Value) C))
(pins
(pin (num 1) (name ~) (type passive))
(pin (num 2) (name ~) (type passive))))
(libpart (lib conn) (part CONN_01X01)
(description "Connector, single row, 01x01")
(footprints
(fp Pin_Header_Straight_1X01)
(fp Pin_Header_Angled_1X01)
(fp Socket_Strip_Straight_1X01)
(fp Socket_Strip_Angled_1X01))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X01))
(pins
(pin (num 1) (name P1) (type passive))))
(libpart (lib conn) (part CONN_01X06)
(description "Connector, single row, 01x06")
(footprints
(fp Pin_Header_Straight_1X06)
(fp Pin_Header_Angled_1X06)
(fp Socket_Strip_Straight_1X06)
(fp Socket_Strip_Angled_1X06))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X06))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))))
(libpart (lib conn) (part CONN_01X08)
(description "Connector, single row, 01x08")
(footprints
(fp Pin_Header_Straight_1X08)
(fp Pin_Header_Angled_1X08)
(fp Socket_Strip_Straight_1X08)
(fp Socket_Strip_Angled_1X08))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X08))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))))
(libpart (lib conn) (part CONN_01X10)
(description "Connector, single row, 01x10")
(footprints
(fp Pin_Header_Straight_1X10)
(fp Pin_Header_Angled_1X10)
(fp Socket_Strip_Straight_1X10)
(fp Socket_Strip_Angled_1X10))
(fields
(field (name Reference) P)
(field (name Value) CONN_01X10))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))
(pin (num 9) (name P9) (type passive))
(pin (num 10) (name P10) (type passive))))
(libpart (lib conn) (part CONN_02X05)
(description "Connector, double row, 02x05")
(footprints
(fp Pin_Header_Straight_2X05)
(fp Pin_Header_Angled_2X05)
(fp Socket_Strip_Straight_2X05)
(fp Socket_Strip_Angled_2X05))
(fields
(field (name Reference) P)
(field (name Value) CONN_02X05))
(pins
(pin (num 1) (name P1) (type passive))
(pin (num 2) (name P2) (type passive))
(pin (num 3) (name P3) (type passive))
(pin (num 4) (name P4) (type passive))
(pin (num 5) (name P5) (type passive))
(pin (num 6) (name P6) (type passive))
(pin (num 7) (name P7) (type passive))
(pin (num 8) (name P8) (type passive))
(pin (num 9) (name P9) (type passive))
(pin (num 10) (name P10) (type passive))))
(libpart (lib stm32) (part STM32L151C6TxA)
(aliases
(alias STM32L151C8TxA)
(alias STM32L151CBTxA))
(description "Core: ARM Cortex-M3 Package: LQFP48 Flash: 32KB Ram: 16KB Frequency: 32MHz Voltage: 1.65..3.6V IO-pins: 37")
(docs http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00277537.pdf)
(fields
(field (name Reference) U)
(field (name Value) STM32L151C6TxA)
(field (name Footprint) LQFP48))
(pins
(pin (num 1) (name VLCD) (type power_in))
(pin (num 2) (name PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2/TIMX_IC2) (type BiDi))
(pin (num 3) (name PC14/RCC_OSC32_IN/TIMX_IC3) (type BiDi))
(pin (num 4) (name PC15/ADC_EXTI15/RCC_OSC32_OUT/TIMX_IC4) (type BiDi))
(pin (num 5) (name PH0/RCC_OSC_IN) (type input))
(pin (num 6) (name PH1/RCC_OSC_OUT) (type input))
(pin (num 7) (name NRST) (type input))
(pin (num 8) (name VSSA) (type power_in))
(pin (num 9) (name VDDA) (type power_in))
(pin (num 10) (name ADC_IN0/COMP1_INP/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TIMX_IC1/TS_G1_IO1/USART2_CTS/PA0) (type BiDi))
(pin (num 11) (name ADC_IN1/COMP1_INP/TIM2_CH2/TIMX_IC2/TS_G1_IO2/USART2_RTS/PA1) (type BiDi))
(pin (num 12) (name ADC_IN2/COMP1_INP/TIM2_CH3/TIM9_CH1/TIMX_IC3/TS_G1_IO3/USART2_TX/PA2) (type BiDi))
(pin (num 13) (name ADC_IN3/COMP1_INP/TIM2_CH4/TIM9_CH2/TIMX_IC4/TS_G1_IO4/USART2_RX/PA3) (type BiDi))
(pin (num 14) (name ADC_IN4/COMP1_INP/DAC_OUT1/SPI1_NSS/TIMX_IC1/USART2_CK/PA4) (type BiDi))
(pin (num 15) (name ADC_IN5/COMP1_INP/DAC_OUT2/SPI1_SCK/TIM2_CH1/TIM2_ETR/TIMX_IC2/PA5) (type BiDi))
(pin (num 16) (name ADC_IN6/COMP1_INP/SPI1_MISO/TIM10_CH1/TIM3_CH1/TIMX_IC3/TS_G2_IO1/PA6) (type BiDi))
(pin (num 17) (name ADC_IN7/COMP1_INP/SPI1_MOSI/TIM11_CH1/TIM3_CH2/TIMX_IC4/TS_G2_IO2/PA7) (type BiDi))
(pin (num 18) (name PB0/ADC_IN8/COMP1_INP/SYS_V_REF_OUT/TIM3_CH3/TS_G3_IO1) (type BiDi))
(pin (num 19) (name PB1/ADC_IN9/COMP1_INP/SYS_V_REF_OUT/TIM3_CH4/TS_G3_IO2) (type BiDi))
(pin (num 20) (name PB2/BOOT1/COMP1_INP/TS_G3_IO3) (type BiDi))
(pin (num 21) (name PB10/I2C2_SCL/TIM2_CH3/USART3_TX) (type BiDi))
(pin (num 22) (name PB11/ADC_EXTI11/I2C2_SDA/TIM2_CH4/USART3_RX) (type BiDi))
(pin (num 23) (name VSS) (type power_in))
(pin (num 24) (name VDD) (type power_in))
(pin (num 25) (name PB12/ADC_IN18/COMP1_INP/I2C2_SMBA/SPI2_NSS/TIM10_CH1/TS_G7_IO1/USART3_CK) (type BiDi))
(pin (num 26) (name PB13/ADC_IN19/COMP1_INP/SPI2_SCK/TIM9_CH1/TS_G7_IO2/USART3_CTS) (type BiDi))
(pin (num 27) (name PB14/ADC_IN20/COMP1_INP/SPI2_MISO/TIM9_CH2/TS_G7_IO3/USART3_RTS) (type BiDi))
(pin (num 28) (name PB15/ADC_EXTI15/ADC_IN21/COMP1_INP/RTC_REFIN/SPI2_MOSI/TIM11_CH1/TS_G7_IO4) (type BiDi))
(pin (num 29) (name RCC_MCO/TIMX_IC1/TS_G4_IO1/USART1_CK/PA8) (type BiDi))
(pin (num 30) (name DAC_EXTI9/TIMX_IC2/TS_G4_IO2/USART1_TX/PA9) (type BiDi))
(pin (num 31) (name TIMX_IC3/TS_G4_IO3/USART1_RX/PA10) (type BiDi))
(pin (num 32) (name ADC_EXTI11/SPI1_MISO/TIMX_IC4/USART1_CTS/USB_DM/PA11) (type BiDi))
(pin (num 33) (name SPI1_MOSI/TIMX_IC1/USART1_RTS/USB_DP/PA12) (type BiDi))
(pin (num 34) (name SYS_JTMS-SWDIO/TIMX_IC2/TS_G5_IO1/PA13) (type BiDi))
(pin (num 35) (name VSS) (type power_in))
(pin (num 36) (name VDD) (type power_in))
(pin (num 37) (name SYS_JTCK-SWCLK/TIMX_IC3/TS_G5_IO2/PA14) (type BiDi))
(pin (num 38) (name ADC_EXTI15/SPI1_NSS/SYS_JTDI/TIM2_CH1/TIM2_ETR/TIMX_IC4/TS_G5_IO3/PA15) (type BiDi))
(pin (num 39) (name PB3/COMP2_INM/SPI1_SCK/SYS_JTDO-TRACESWO/TIM2_CH2) (type BiDi))
(pin (num 40) (name PB4/COMP2_INP/SPI1_MISO/SYS_JTRST/TIM3_CH1/TS_G6_IO1) (type BiDi))
(pin (num 41) (name PB5/COMP2_INP/I2C1_SMBA/SPI1_MOSI/TIM3_CH2/TS_G6_IO2) (type BiDi))
(pin (num 42) (name PB6/I2C1_SCL/TIM4_CH1/TS_G6_IO3/USART1_TX) (type BiDi))
(pin (num 43) (name PB7/I2C1_SDA/SYS_PVD_IN/TIM4_CH2/TS_G6_IO4/USART1_RX) (type BiDi))
(pin (num 44) (name BOOT0) (type input))
(pin (num 45) (name PB8/I2C1_SCL/TIM10_CH1/TIM4_CH3) (type BiDi))
(pin (num 46) (name PB9/DAC_EXTI9/I2C1_SDA/TIM11_CH1/TIM4_CH4) (type BiDi))
(pin (num 47) (name VSS) (type power_in))
(pin (num 48) (name VDD) (type power_in))))
(libpart (lib conn) (part USB_OTG)
(description "USB micro/mini connector")
(footprints
(fp USB*))
(fields
(field (name Reference) P)
(field (name Value) USB_OTG))
(pins
(pin (num 1) (name VBUS) (type power_out))
(pin (num 2) (name D-) (type passive))
(pin (num 3) (name D+) (type passive))
(pin (num 4) (name ID) (type power_in))
(pin (num 5) (name GND) (type power_in))
(pin (num 6) (name shield) (type passive)))))
(libraries
(library (logical stm32)
(uri /usr/share/kicad/library/stm32.lib))
(library (logical conn)
(uri /usr/share/kicad/library/conn.lib))
(library (logical device)
(uri /usr/share/kicad/library/device.lib)))
(nets
(net (code 1) (name /7)
(node (ref P4) (pin 1)))
(net (code 2) (name /Reset)
(node (ref P1) (pin 3)))
(net (code 3) (name "/6(**)")
(node (ref P4) (pin 2)))
(net (code 4) (name "/5(**)")
(node (ref P4) (pin 3)))
(net (code 5) (name /4)
(node (ref P4) (pin 4)))
(net (code 6) (name "/3(**)")
(node (ref P4) (pin 5)))
(net (code 7) (name /2)
(node (ref P4) (pin 6)))
(net (code 8) (name /USB_DM)
(node (ref P10) (pin 2))
(node (ref U1) (pin 32)))
(net (code 9) (name GND)
(node (ref C3) (pin 2))
(node (ref C4) (pin 2))
(node (ref P9) (pin 10))
(node (ref C5) (pin 2))
(node (ref C1) (pin 2))
(node (ref U1) (pin 8))
(node (ref P1) (pin 6))
(node (ref P3) (pin 4))
(node (ref C2) (pin 2))
(node (ref P1) (pin 7))
(node (ref P10) (pin 5))
(node (ref U1) (pin 47))
(node (ref U1) (pin 35))
(node (ref U1) (pin 23)))
(net (code 10) (name /I2C_SCL)
(node (ref P9) (pin 1))
(node (ref P2) (pin 6))
(node (ref P3) (pin 1))
(node (ref U1) (pin 45)))
(net (code 11) (name /Vin)
(node (ref P1) (pin 8)))
(net (code 12) (name +5V)
(node (ref P1) (pin 5)))
(net (code 13) (name /IOREF)
(node (ref P1) (pin 2)))
(net (code 14) (name /I2C_SDA)
(node (ref P2) (pin 5))
(node (ref P3) (pin 2))
(node (ref P9) (pin 2))
(node (ref U1) (pin 46)))
(net (code 15) (name /DAC2)
(node (ref U1) (pin 15))
(node (ref P2) (pin 2)))
(net (code 16) (name /DAC1)
(node (ref U1) (pin 14))
(node (ref P2) (pin 1)))
(net (code 17) (name /USB_DP)
(node (ref U1) (pin 33))
(node (ref P10) (pin 3)))
(net (code 18) (name /AREF)
(node (ref P3) (pin 3)))
(net (code 19) (name "/9(**)")
(node (ref P3) (pin 9)))
(net (code 20) (name /8)
(node (ref P3) (pin 10)))
(net (code 21) (name /A3)
(node (ref P2) (pin 4)))
(net (code 22) (name /A2)
(node (ref P2) (pin 3)))
(net (code 23) (name "Net-(U1-Pad19)")
(node (ref U1) (pin 19)))
(net (code 24) (name /SWO)
(node (ref U1) (pin 39)))
(net (code 25) (name "Net-(U1-Pad40)")
(node (ref U1) (pin 40)))
(net (code 26) (name "Net-(U1-Pad2)")
(node (ref U1) (pin 2)))
(net (code 27) (name "Net-(U1-Pad3)")
(node (ref U1) (pin 3)))
(net (code 28) (name "Net-(U1-Pad4)")
(node (ref U1) (pin 4)))
(net (code 29) (name /SWDIO)
(node (ref U1) (pin 34)))
(net (code 30) (name "Net-(U1-Pad18)")
(node (ref U1) (pin 18)))
(net (code 31) (name +3V3)
(node (ref U1) (pin 24))
(node (ref U1) (pin 9))
(node (ref U1) (pin 48))
(node (ref U1) (pin 36))
(node (ref P1) (pin 4))
(node (ref C2) (pin 1))
(node (ref C5) (pin 1))
(node (ref C4) (pin 1))
(node (ref C3) (pin 1)))
(net (code 32) (name "Net-(P9-Pad9)")
(node (ref P9) (pin 9)))
(net (code 33) (name /NRST)
(node (ref C1) (pin 1))
(node (ref U1) (pin 7)))
(net (code 34) (name /SWCLK)
(node (ref U1) (pin 37)))
(net (code 35) (name /SPI_MISO)
(node (ref P9) (pin 4))
(node (ref P3) (pin 6)))
(net (code 36) (name /SPI_MOSI)
(node (ref P9) (pin 5))
(node (ref P3) (pin 7)))
(net (code 37) (name /SPI_SCK)
(node (ref P3) (pin 5))
(node (ref P9) (pin 3)))
(net (code 38) (name /UART_RX)
(node (ref P9) (pin 7))
(node (ref P4) (pin 8)))
(net (code 39) (name /SPI_CS)
(node (ref P3) (pin 8))
(node (ref P9) (pin 6)))
(net (code 40) (name "Net-(P10-Pad6)")
(node (ref P10) (pin 6)))
(net (code 41) (name /UART_TX)
(node (ref P9) (pin 8))
(node (ref P4) (pin 7)))
(net (code 42) (name "Net-(P6-Pad1)")
(node (ref P6) (pin 1)))
(net (code 43) (name "Net-(P5-Pad1)")
(node (ref P5) (pin 1)))
(net (code 44) (name "Net-(P8-Pad1)")
(node (ref P8) (pin 1)))
(net (code 45) (name "Net-(P7-Pad1)")
(node (ref P7) (pin 1)))
(net (code 46) (name "Net-(P1-Pad1)")
(node (ref P1) (pin 1)))
(net (code 47) (name "Net-(U1-Pad28)")
(node (ref U1) (pin 28)))
(net (code 48) (name "Net-(U1-Pad29)")
(node (ref U1) (pin 29)))
(net (code 49) (name "Net-(U1-Pad38)")
(node (ref U1) (pin 38)))
(net (code 50) (name "Net-(U1-Pad27)")
(node (ref U1) (pin 27)))
(net (code 51) (name "Net-(U1-Pad17)")
(node (ref U1) (pin 17)))
(net (code 52) (name "Net-(U1-Pad26)")
(node (ref U1) (pin 26)))
(net (code 53) (name "Net-(P10-Pad4)")
(node (ref P10) (pin 4)))
(net (code 54) (name "Net-(P10-Pad1)")
(node (ref P10) (pin 1)))
(net (code 55) (name "Net-(U1-Pad16)")
(node (ref U1) (pin 16)))
(net (code 56) (name "Net-(U1-Pad31)")
(node (ref U1) (pin 31)))
(net (code 57) (name "Net-(U1-Pad21)")
(node (ref U1) (pin 21)))
(net (code 58) (name "Net-(U1-Pad11)")
(node (ref U1) (pin 11)))
(net (code 59) (name "Net-(U1-Pad30)")
(node (ref U1) (pin 30)))
(net (code 60) (name "Net-(U1-Pad20)")
(node (ref U1) (pin 20)))
(net (code 61) (name "Net-(U1-Pad10)")
(node (ref U1) (pin 10)))
(net (code 62) (name "Net-(U1-Pad41)")
(node (ref U1) (pin 41)))
(net (code 63) (name "Net-(U1-Pad6)")
(node (ref U1) (pin 6)))
(net (code 64) (name "Net-(U1-Pad5)")
(node (ref U1) (pin 5)))
(net (code 65) (name "Net-(U1-Pad1)")
(node (ref U1) (pin 1)))
(net (code 66) (name "Net-(U1-Pad43)")
(node (ref U1) (pin 43)))
(net (code 67) (name "Net-(U1-Pad25)")
(node (ref U1) (pin 25)))
(net (code 68) (name "Net-(U1-Pad44)")
(node (ref U1) (pin 44)))
(net (code 69) (name "Net-(U1-Pad13)")
(node (ref U1) (pin 13)))
(net (code 70) (name "Net-(U1-Pad42)")
(node (ref U1) (pin 42)))
(net (code 71) (name "Net-(U1-Pad22)")
(node (ref U1) (pin 22)))
(net (code 72) (name "Net-(U1-Pad12)")
(node (ref U1) (pin 12)))))

BIN
hw1/hw1.pdf Normal file

Binary file not shown.

30446
hw1/hw1.plt Normal file

File diff suppressed because it is too large Load diff

62
hw1/hw1.pro Normal file
View file

@ -0,0 +1,62 @@
update=Thu 28 Sep 2017 08:28:19 PM GMT
version=1
last_client=kicad
[pcbnew]
version=1
LastNetListRead=
UseCmpFile=1
PadDrill=0.600000000000
PadDrillOvalY=0.600000000000
PadSizeH=1.500000000000
PadSizeV=1.500000000000
PcbTextSizeV=1.500000000000
PcbTextSizeH=1.500000000000
PcbTextThickness=0.300000000000
ModuleTextSizeV=1.000000000000
ModuleTextSizeH=1.000000000000
ModuleTextSizeThickness=0.150000000000
SolderMaskClearance=0.000000000000
SolderMaskMinWidth=0.000000000000
DrawSegmentWidth=0.200000000000
BoardOutlineThickness=0.100000000000
ModuleOutlineThickness=0.150000000000
[cvpcb]
version=1
NetIExt=net
[general]
version=1
[eeschema]
version=1
LibDir=
[eeschema/libraries]
LibName1=hw1-rescue
LibName2=power
LibName3=device
LibName4=transistors
LibName5=conn
LibName6=linear
LibName7=regul
LibName8=74xx
LibName9=cmos4000
LibName10=adc-dac
LibName11=memory
LibName12=xilinx
LibName13=microcontrollers
LibName14=dsp
LibName15=microchip
LibName16=analog_switches
LibName17=motorola
LibName18=texas
LibName19=intel
LibName20=audio
LibName21=interface
LibName22=digital-audio
LibName23=philips
LibName24=display
LibName25=cypress
LibName26=siliconi
LibName27=opto
LibName28=atmel
LibName29=contrib
LibName30=valves
LibName31=stm32

737
hw1/hw1.sch Normal file
View file

@ -0,0 +1,737 @@
EESchema Schematic File Version 2
LIBS:hw1-rescue
LIBS:power
LIBS:device
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:valves
LIBS:stm32
LIBS:hw1-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date "lun. 30 mars 2015"
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text Label 8950 1450 1 60 ~ 0
Vin
Text Label 9300 1450 1 60 ~ 0
IOREF
Text Label 8900 2500 0 60 ~ 0
DAC1
Text Label 8900 2600 0 60 ~ 0
DAC2
Text Label 8900 2700 0 60 ~ 0
ADC_IN1
Text Label 8900 2800 0 60 ~ 0
A3
Text Label 8900 2900 0 60 ~ 0
I2C_SDA
Text Label 10550 3000 0 60 ~ 0
UART_TX
Text Label 10550 2800 0 60 ~ 0
2
Text Label 10550 2900 0 60 ~ 0
UART_RX
Text Label 10550 2700 0 60 ~ 0
3(**)
Text Label 10550 2600 0 60 ~ 0
4
Text Label 10550 2500 0 60 ~ 0
5(**)
Text Label 10550 2400 0 60 ~ 0
6(**)
Text Label 10550 2300 0 60 ~ 0
7
Text Label 10550 2100 0 60 ~ 0
8
Text Label 10550 2000 0 60 ~ 0
9(**)
Text Label 10550 1900 0 60 ~ 0
SPI_CS
Text Label 10550 1800 0 60 ~ 0
SPI_MOSI
Text Label 10550 1700 0 60 ~ 0
SPI_MISO
Text Label 10550 1600 0 60 ~ 0
SPI_SCK
Text Label 10550 1400 0 60 ~ 0
AREF
NoConn ~ 9400 1600
Text Label 10550 1300 0 60 ~ 0
I2C_SDA
Text Label 10550 1200 0 60 ~ 0
I2C_SCL
Text Notes 10850 1000 0 60 ~ 0
Holes
Text Notes 8550 750 0 60 ~ 0
Arduino UNOr3 pins\nAs used on Nucleo64 boards\n
$Comp
L CONN_01X08 P1
U 1 1 56D70129
P 9600 1950
F 0 "P1" H 9600 2400 50 0000 C CNN
F 1 "Power" V 9700 1950 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 9600 1950 50 0001 C CNN
F 3 "" H 9600 1950 50 0000 C CNN
1 9600 1950
1 0 0 -1
$EndComp
Text Label 8650 1800 0 60 ~ 0
Reset
$Comp
L +3.3V #PWR01
U 1 1 56D70538
P 9150 1450
F 0 "#PWR01" H 9150 1300 50 0001 C CNN
F 1 "+3.3V" H 9150 1590 30 0000 C CNN
F 2 "" H 9150 1450 50 0000 C CNN
F 3 "" H 9150 1450 50 0000 C CNN
1 9150 1450
1 0 0 -1
$EndComp
$Comp
L +5V #PWR02
U 1 1 56D707BB
P 9050 1450
F 0 "#PWR02" H 9050 1300 50 0001 C CNN
F 1 "+5V" H 9050 1590 30 0000 C CNN
F 2 "" H 9050 1450 50 0000 C CNN
F 3 "" H 9050 1450 50 0000 C CNN
1 9050 1450
1 0 0 -1
$EndComp
$Comp
L GND #PWR03
U 1 1 56D70CC2
P 9300 3150
F 0 "#PWR03" H 9300 2900 50 0001 C CNN
F 1 "GND" H 9300 3000 50 0000 C CNN
F 2 "" H 9300 3150 50 0000 C CNN
F 3 "" H 9300 3150 50 0000 C CNN
1 9300 3150
1 0 0 -1
$EndComp
$Comp
L GND #PWR04
U 1 1 56D70CFF
P 10300 3150
F 0 "#PWR04" H 10300 2900 50 0001 C CNN
F 1 "GND" H 10300 3000 50 0000 C CNN
F 2 "" H 10300 3150 50 0000 C CNN
F 3 "" H 10300 3150 50 0000 C CNN
1 10300 3150
1 0 0 -1
$EndComp
$Comp
L CONN_01X06 P2
U 1 1 56D70DD8
P 9600 2750
F 0 "P2" H 9600 3100 50 0000 C CNN
F 1 "Analog" V 9700 2750 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x06" H 9600 2750 50 0001 C CNN
F 3 "" H 9600 2750 50 0000 C CNN
1 9600 2750
1 0 0 -1
$EndComp
$Comp
L CONN_01X01 P5
U 1 1 56D71177
P 10800 650
F 0 "P5" V 10900 650 50 0000 C CNN
F 1 "CONN_01X01" V 10900 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10800 650 50 0001 C CNN
F 3 "" H 10800 650 50 0000 C CNN
1 10800 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P6
U 1 1 56D71274
P 10900 650
F 0 "P6" V 11000 650 50 0000 C CNN
F 1 "CONN_01X01" V 11000 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 10900 650 50 0001 C CNN
F 3 "" H 10900 650 50 0000 C CNN
1 10900 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P7
U 1 1 56D712A8
P 11000 650
F 0 "P7" V 11100 650 50 0000 C CNN
F 1 "CONN_01X01" V 11100 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11000 650 50 0001 C CNN
F 3 "" H 11000 650 50 0000 C CNN
1 11000 650
0 -1 -1 0
$EndComp
$Comp
L CONN_01X01 P8
U 1 1 56D712DB
P 11100 650
F 0 "P8" V 11200 650 50 0000 C CNN
F 1 "CONN_01X01" V 11200 650 50 0001 C CNN
F 2 "Socket_Arduino_Uno:Arduino_1pin" H 11100 650 50 0001 C CNN
F 3 "" H 11100 650 50 0000 C CNN
1 11100 650
0 -1 -1 0
$EndComp
NoConn ~ 10800 850
NoConn ~ 10900 850
NoConn ~ 11000 850
NoConn ~ 11100 850
$Comp
L CONN_01X08 P4
U 1 1 56D7164F
P 10000 2650
F 0 "P4" H 10000 3100 50 0000 C CNN
F 1 "Digital" V 10100 2650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x08" H 10000 2650 50 0001 C CNN
F 3 "" H 10000 2650 50 0000 C CNN
1 10000 2650
-1 0 0 1
$EndComp
$Comp
L CONN_01X10 P3
U 1 1 56D721E0
P 10000 1650
F 0 "P3" H 10000 2200 50 0000 C CNN
F 1 "Digital" V 10100 1650 50 0000 C CNN
F 2 "Socket_Arduino_Uno:Socket_Strip_Arduino_1x10" H 10000 1650 50 0001 C CNN
F 3 "" H 10000 1650 50 0000 C CNN
1 10000 1650
-1 0 0 1
$EndComp
Text Notes 9700 1600 0 60 ~ 0
1
$Comp
L STM32L151C6TxA U1
U 1 1 58CEFE92
P 4550 4350
F 0 "U1" H 1050 6075 50 0000 L BNN
F 1 "STM32L151C6TxA" H 8050 6075 50 0000 R BNN
F 2 "LQFP48" H 8050 6025 50 0000 R TNN
F 3 "" H 4550 4350 50 0000 C CNN
1 4550 4350
1 0 0 -1
$EndComp
$Comp
L CONN_02X05 P9
U 1 1 58CF048F
P 1150 1250
F 0 "P9" H 1150 1550 50 0000 C CNN
F 1 "FX2LA" H 1150 950 50 0000 C CNN
F 2 "Connectors:IDC_Header_Straight_10pins" H 1150 50 50 0001 C CNN
F 3 "" H 1150 50 50 0000 C CNN
1 1150 1250
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR05
U 1 1 58CF063D
P 4500 2350
F 0 "#PWR05" H 4500 2200 50 0001 C CNN
F 1 "+3V3" H 4500 2490 50 0000 C CNN
F 2 "" H 4500 2350 50 0000 C CNN
F 3 "" H 4500 2350 50 0000 C CNN
1 4500 2350
1 0 0 -1
$EndComp
$Comp
L GND #PWR06
U 1 1 58CF077D
P 4450 6300
F 0 "#PWR06" H 4450 6050 50 0001 C CNN
F 1 "GND" H 4450 6150 50 0000 C CNN
F 2 "" H 4450 6300 50 0000 C CNN
F 3 "" H 4450 6300 50 0000 C CNN
1 4450 6300
1 0 0 -1
$EndComp
$Comp
L GND #PWR07
U 1 1 58CF0E5B
P 1500 1550
F 0 "#PWR07" H 1500 1300 50 0001 C CNN
F 1 "GND" H 1500 1400 50 0000 C CNN
F 2 "" H 1500 1550 50 0000 C CNN
F 3 "" H 1500 1550 50 0000 C CNN
1 1500 1550
1 0 0 -1
$EndComp
$Comp
L USB_OTG-RESCUE-hw1 P10
U 1 1 58CF10AD
P 3650 1250
F 0 "P10" H 3975 1125 50 0000 C CNN
F 1 "CONTROL" H 3650 1450 50 0000 C CNN
F 2 "Connectors:USB_Micro-B" V 3600 1150 50 0001 C CNN
F 3 "" V 3600 1150 50 0000 C CNN
1 3650 1250
1 0 0 -1
$EndComp
$Comp
L GND #PWR08
U 1 1 58CF1156
P 3850 1650
F 0 "#PWR08" H 3850 1400 50 0001 C CNN
F 1 "GND" H 3850 1500 50 0000 C CNN
F 2 "" H 3850 1650 50 0000 C CNN
F 3 "" H 3850 1650 50 0000 C CNN
1 3850 1650
1 0 0 -1
$EndComp
Text Label 8300 5350 0 60 ~ 0
USB_DM
Text Label 8300 5450 0 60 ~ 0
USB_DP
Text Label 3550 1900 1 60 ~ 0
USB_DM
Text Label 3650 1900 1 60 ~ 0
USB_DP
Text Label 8450 4650 0 60 ~ 0
DAC1
Text Label 8450 4750 0 60 ~ 0
DAC2
Text Label 550 5050 0 60 ~ 0
I2C_SCL
Text Label 550 5150 0 60 ~ 0
I2C_SDA
Text Notes 3850 750 0 60 ~ 0
TBD: debug via via 6pin/10x1.27/20x2.54? (leaning toward 6pin _and_ 10x127 smd)
Text Label 8900 3000 0 60 ~ 0
I2C_SCL
Text Notes 8500 3000 0 60 ~ 0
A5 (SCL)
Text Notes 8500 2900 0 60 ~ 0
A4 (SDA)
Text Notes 8500 2500 0 60 ~ 0
A0
Text Notes 8500 2600 0 60 ~ 0
A1
Text Notes 10950 1300 0 60 ~ 0
D15 (SCL)\nD14 (SDA)
Text Notes 11150 1900 0 60 ~ 0
13(SCK) (DACOUT2)\n12(MISO)\n11(**/MOSI)\n10(**/SS)
Text Notes 11100 3000 0 60 ~ 0
Target TX\nTarget RX
Wire Notes Line
8525 825 9925 825
Wire Notes Line
9925 825 9925 475
Wire Wire Line
9300 1450 9300 1700
Wire Wire Line
9300 1700 9400 1700
Wire Wire Line
9400 1900 9150 1900
Wire Wire Line
9400 2000 9050 2000
Wire Wire Line
9400 2300 8950 2300
Wire Wire Line
9400 2100 9300 2100
Wire Wire Line
9400 2200 9300 2200
Connection ~ 9300 2200
Wire Wire Line
8950 2300 8950 1450
Wire Wire Line
9050 2000 9050 1450
Wire Wire Line
9150 1900 9150 1450
Wire Wire Line
9400 2500 8900 2500
Wire Wire Line
9400 2600 8900 2600
Wire Wire Line
9400 2700 8900 2700
Wire Wire Line
9400 2800 8900 2800
Wire Wire Line
9400 2900 8900 2900
Wire Wire Line
9400 3000 8900 3000
Wire Wire Line
10200 2100 10550 2100
Wire Wire Line
10200 2000 10550 2000
Wire Wire Line
10200 1900 10550 1900
Wire Wire Line
10200 1800 10550 1800
Wire Wire Line
10200 1700 10550 1700
Wire Wire Line
10200 1600 10550 1600
Wire Wire Line
10200 1400 10550 1400
Wire Wire Line
10200 1300 10550 1300
Wire Wire Line
10200 1200 10550 1200
Wire Wire Line
10200 3000 10550 3000
Wire Wire Line
10200 2900 10550 2900
Wire Wire Line
10200 2800 10550 2800
Wire Wire Line
10200 2700 10550 2700
Wire Wire Line
10200 2600 10550 2600
Wire Wire Line
10200 2500 10550 2500
Wire Wire Line
10200 2400 10550 2400
Wire Wire Line
10200 2300 10550 2300
Wire Wire Line
10200 1500 10300 1500
Wire Wire Line
10300 1500 10300 3150
Wire Wire Line
9300 2100 9300 3150
Wire Notes Line
8500 500 8500 3450
Wire Notes Line
8500 3450 11200 3450
Wire Wire Line
9400 1800 8650 1800
Wire Notes Line
11200 1000 10700 1000
Wire Notes Line
10700 1000 10700 500
Wire Wire Line
4500 2450 4500 2350
Wire Wire Line
4350 2450 4650 2450
Wire Wire Line
4350 2450 4350 2550
Wire Wire Line
4450 2550 4450 2450
Connection ~ 4450 2450
Wire Wire Line
4550 2450 4550 2550
Connection ~ 4500 2450
Wire Wire Line
4650 2450 4650 2550
Connection ~ 4550 2450
Wire Wire Line
4350 6150 4350 6250
Wire Wire Line
4350 6250 4650 6250
Wire Wire Line
4450 6150 4450 6300
Connection ~ 4450 6250
Wire Wire Line
4550 6250 4550 6150
Wire Wire Line
4650 6250 4650 6150
Connection ~ 4550 6250
Wire Wire Line
1400 1450 1500 1450
Wire Wire Line
1500 1450 1500 1550
Wire Wire Line
3850 1550 3850 1650
Wire Wire Line
8150 5350 8450 5350
Wire Wire Line
8150 5450 8450 5450
Wire Wire Line
3550 1550 3550 1900
Wire Wire Line
3650 1550 3650 1900
Wire Wire Line
8150 4650 8700 4650
Wire Wire Line
8150 4750 8700 4750
Wire Wire Line
550 5150 950 5150
Wire Wire Line
950 5050 550 5050
Wire Wire Line
1400 1050 2000 1050
Wire Wire Line
1400 1150 2000 1150
Wire Wire Line
1400 1250 2000 1250
Wire Wire Line
1400 1350 2000 1350
Wire Wire Line
900 1050 500 1050
Wire Wire Line
900 1150 500 1150
Wire Wire Line
900 1250 500 1250
Wire Wire Line
900 1350 500 1350
Text Label 500 1050 0 60 ~ 0
I2C_SCL
Text Label 1500 1050 0 60 ~ 0
I2C_SDA
Text Label 500 1150 0 60 ~ 0
SPI_SCK
Text Label 500 1250 0 60 ~ 0
SPI_MOSI
Text Label 1500 1150 0 60 ~ 0
SPI_MISO
Text Label 1500 1250 0 60 ~ 0
SPI_CS
Text Label 500 1350 0 60 ~ 0
UART_RX
Text Label 1500 1350 0 60 ~ 0
UART_TX
Text Notes 450 2100 0 60 Italic 0
NOTE: this can be freely routed to do whatever's possible!\nPotentially:\nJumpers to select what you're connecting here?\n(but non-ideal)
$Comp
L C C2
U 1 1 58CF43FF
P 1500 7000
F 0 "C2" H 1525 7100 50 0000 L CNN
F 1 "100n" H 1525 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1538 6850 50 0000 C CNN
F 3 "" H 1500 7000 50 0000 C CNN
1 1500 7000
1 0 0 -1
$EndComp
$Comp
L GND #PWR09
U 1 1 58CF46A1
P 2050 7350
F 0 "#PWR09" H 2050 7100 50 0001 C CNN
F 1 "GND" H 2050 7200 50 0000 C CNN
F 2 "" H 2050 7350 50 0000 C CNN
F 3 "" H 2050 7350 50 0000 C CNN
1 2050 7350
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR010
U 1 1 58CF46D6
P 2050 6650
F 0 "#PWR010" H 2050 6500 50 0001 C CNN
F 1 "+3V3" H 2050 6790 50 0000 C CNN
F 2 "" H 2050 6650 50 0000 C CNN
F 3 "" H 2050 6650 50 0000 C CNN
1 2050 6650
1 0 0 -1
$EndComp
Wire Wire Line
2050 6850 2050 6650
Wire Wire Line
1500 6850 2600 6850
Connection ~ 1850 6850
Connection ~ 2050 6850
Connection ~ 2250 6850
Wire Wire Line
1500 7150 2600 7150
Connection ~ 2250 7150
Connection ~ 1850 7150
Wire Wire Line
2050 7350 2050 7150
Connection ~ 2050 7150
$Comp
L C C1
U 1 1 58CF4B65
P 600 3100
F 0 "C1" H 625 3200 50 0000 L CNN
F 1 "100n" H 625 3000 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 638 2950 50 0000 C CNN
F 3 "" H 600 3100 50 0000 C CNN
1 600 3100
1 0 0 -1
$EndComp
$Comp
L GND #PWR011
U 1 1 58CF4BEA
P 600 3350
F 0 "#PWR011" H 600 3100 50 0001 C CNN
F 1 "GND" H 600 3200 50 0000 C CNN
F 2 "" H 600 3350 50 0000 C CNN
F 3 "" H 600 3350 50 0000 C CNN
1 600 3350
1 0 0 -1
$EndComp
Wire Wire Line
950 2950 600 2950
Wire Wire Line
600 3250 600 3350
NoConn ~ 950 4250
NoConn ~ 950 4350
NoConn ~ 950 4050
NoConn ~ 950 3950
NoConn ~ 950 3850
NoConn ~ 950 4650
Wire Wire Line
950 4550 550 4550
Text Label 550 4550 0 60 Italic 0
SWO
Wire Wire Line
8150 5550 8450 5550
Wire Wire Line
8150 5650 8450 5650
Text Label 8300 5550 0 60 Italic 0
SWDIO
Text Label 8300 5650 0 60 Italic 0
SWCLK
Text Label 650 2950 0 60 Italic 0
NRST
$Comp
L PWR_FLAG #FLG012
U 1 1 58CF5CCA
P 3650 7100
F 0 "#FLG012" H 3650 7195 50 0001 C CNN
F 1 "PWR_FLAG" H 3650 7280 50 0000 C CNN
F 2 "" H 3650 7100 50 0000 C CNN
F 3 "" H 3650 7100 50 0000 C CNN
1 3650 7100
-1 0 0 1
$EndComp
$Comp
L PWR_FLAG #FLG013
U 1 1 58CF5E41
P 4100 7000
F 0 "#FLG013" H 4100 7095 50 0001 C CNN
F 1 "PWR_FLAG" H 4100 7180 50 0000 C CNN
F 2 "" H 4100 7000 50 0000 C CNN
F 3 "" H 4100 7000 50 0000 C CNN
1 4100 7000
1 0 0 -1
$EndComp
$Comp
L GND #PWR014
U 1 1 58CF5E8B
P 4100 7100
F 0 "#PWR014" H 4100 6850 50 0001 C CNN
F 1 "GND" H 4100 6950 50 0000 C CNN
F 2 "" H 4100 7100 50 0000 C CNN
F 3 "" H 4100 7100 50 0000 C CNN
1 4100 7100
1 0 0 -1
$EndComp
$Comp
L +3V3 #PWR015
U 1 1 58CF5ED5
P 3650 7000
F 0 "#PWR015" H 3650 6850 50 0001 C CNN
F 1 "+3V3" H 3650 7140 50 0000 C CNN
F 2 "" H 3650 7000 50 0000 C CNN
F 3 "" H 3650 7000 50 0000 C CNN
1 3650 7000
1 0 0 -1
$EndComp
Wire Wire Line
3650 7000 3650 7100
Wire Wire Line
4100 7000 4100 7100
Text Notes 4600 7150 0 60 Italic 12
TODO: VBUS to 3v3 plz!
Text Notes 5200 1500 0 60 Italic 12
ONLY GROUND BETWEEN BOARDS\nBoth will be powered by their own USB.\n(We're not interested in bootloading the target....\nyet...?)
$Comp
L C C3
U 1 1 58CF69A9
P 1850 7000
F 0 "C3" H 1875 7100 50 0000 L CNN
F 1 "100n" H 1875 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 1888 6850 50 0000 C CNN
F 3 "" H 1850 7000 50 0000 C CNN
1 1850 7000
1 0 0 -1
$EndComp
$Comp
L C C4
U 1 1 58CF69F1
P 2250 7000
F 0 "C4" H 2275 7100 50 0000 L CNN
F 1 "100n" H 2275 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2288 6850 50 0000 C CNN
F 3 "" H 2250 7000 50 0000 C CNN
1 2250 7000
1 0 0 -1
$EndComp
$Comp
L C C5
U 1 1 58CF6A3A
P 2600 7000
F 0 "C5" H 2625 7100 50 0000 L CNN
F 1 "100n" H 2625 6900 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603_HandSoldering" H 2638 6850 50 0000 C CNN
F 3 "" H 2600 7000 50 0000 C CNN
1 2600 7000
1 0 0 -1
$EndComp
NoConn ~ 900 1450
Text Notes 650 1450 0 60 ~ 0
CLK
Wire Wire Line
8150 4450 8700 4450
Wire Wire Line
8150 4550 8700 4550
Text Label 8450 4450 0 60 ~ 0
UART_TX
Text Label 8450 4550 0 60 ~ 0
UART_RX
Wire Wire Line
950 5450 600 5450
Wire Wire Line
950 5550 600 5550
Wire Wire Line
950 5650 600 5650
Wire Wire Line
950 5750 600 5750
Text Label 550 5450 0 60 ~ 0
SPI_CS
Text Label 550 5550 0 60 ~ 0
SPI_CSK
Text Label 550 5650 0 60 ~ 0
SPI_MISO
Text Label 550 5750 0 60 ~ 0
SPI_MOSI
Wire Wire Line
8150 4850 8700 4850
Wire Wire Line
8150 4950 8700 4950
Text Label 8450 4850 0 60 ~ 0
ADC_IN1
Text Label 8450 4950 0 60 ~ 0
ADC_IN2
Text Notes 8500 2700 0 60 ~ 0
PA4(DAC1)
$EndSCHEMATC

612
hw1/hw1.xml Normal file
View file

@ -0,0 +1,612 @@
<?xml version="1.0" encoding="UTF-8"?>
<export version="D">
<design>
<source>/home/karlp/src/libopencm3-tests/hw1/hw1.sch</source>
<date>Sun 19 Mar 2017 11:24:55 PM GMT</date>
<tool>Eeschema 4.0.5</tool>
<sheet number="1" name="/" tstamps="/">
<title_block>
<title/>
<company/>
<rev/>
<date>lun. 30 mars 2015</date>
<source>hw1.sch</source>
<comment number="1" value=""/>
<comment number="2" value=""/>
<comment number="3" value=""/>
<comment number="4" value=""/>
</title_block>
</sheet>
</design>
<components>
<comp ref="P1">
<value>Power</value>
<footprint>Socket_Arduino_Uno:Socket_Strip_Arduino_1x08</footprint>
<libsource lib="conn" part="CONN_01X08"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D70129</tstamp>
</comp>
<comp ref="P2">
<value>Analog</value>
<footprint>Socket_Arduino_Uno:Socket_Strip_Arduino_1x06</footprint>
<libsource lib="conn" part="CONN_01X06"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D70DD8</tstamp>
</comp>
<comp ref="P5">
<value>CONN_01X01</value>
<footprint>Socket_Arduino_Uno:Arduino_1pin</footprint>
<libsource lib="conn" part="CONN_01X01"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D71177</tstamp>
</comp>
<comp ref="P6">
<value>CONN_01X01</value>
<footprint>Socket_Arduino_Uno:Arduino_1pin</footprint>
<libsource lib="conn" part="CONN_01X01"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D71274</tstamp>
</comp>
<comp ref="P7">
<value>CONN_01X01</value>
<footprint>Socket_Arduino_Uno:Arduino_1pin</footprint>
<libsource lib="conn" part="CONN_01X01"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D712A8</tstamp>
</comp>
<comp ref="P8">
<value>CONN_01X01</value>
<footprint>Socket_Arduino_Uno:Arduino_1pin</footprint>
<libsource lib="conn" part="CONN_01X01"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D712DB</tstamp>
</comp>
<comp ref="P4">
<value>Digital</value>
<footprint>Socket_Arduino_Uno:Socket_Strip_Arduino_1x08</footprint>
<libsource lib="conn" part="CONN_01X08"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D7164F</tstamp>
</comp>
<comp ref="P3">
<value>Digital</value>
<footprint>Socket_Arduino_Uno:Socket_Strip_Arduino_1x10</footprint>
<libsource lib="conn" part="CONN_01X10"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>56D721E0</tstamp>
</comp>
<comp ref="U1">
<value>STM32L151C6TxA</value>
<footprint>LQFP48</footprint>
<libsource lib="stm32" part="STM32L151C6TxA"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CEFE92</tstamp>
</comp>
<comp ref="P9">
<value>FX2LA</value>
<footprint>Connectors:IDC_Header_Straight_10pins</footprint>
<libsource lib="conn" part="CONN_02X05"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF048F</tstamp>
</comp>
<comp ref="P10">
<value>CONTROL</value>
<libsource lib="conn" part="USB_OTG"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF10AD</tstamp>
</comp>
<comp ref="C2">
<value>100n</value>
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
<libsource lib="device" part="C"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF43FF</tstamp>
</comp>
<comp ref="C1">
<value>100n</value>
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
<libsource lib="device" part="C"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF4B65</tstamp>
</comp>
<comp ref="C3">
<value>100n</value>
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
<libsource lib="device" part="C"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF69A9</tstamp>
</comp>
<comp ref="C4">
<value>100n</value>
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
<libsource lib="device" part="C"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF69F1</tstamp>
</comp>
<comp ref="C5">
<value>100n</value>
<footprint>Capacitors_SMD:C_0603_HandSoldering</footprint>
<libsource lib="device" part="C"/>
<sheetpath names="/" tstamps="/"/>
<tstamp>58CF6A3A</tstamp>
</comp>
</components>
<libparts>
<libpart lib="device" part="C">
<description>Unpolarized capacitor</description>
<footprints>
<fp>C?</fp>
<fp>C_????_*</fp>
<fp>C_????</fp>
<fp>SMD*_c</fp>
<fp>Capacitor*</fp>
</footprints>
<fields>
<field name="Reference">C</field>
<field name="Value">C</field>
</fields>
<pins>
<pin num="1" name="~" type="passive"/>
<pin num="2" name="~" type="passive"/>
</pins>
</libpart>
<libpart lib="conn" part="CONN_01X01">
<description>Connector, single row, 01x01</description>
<footprints>
<fp>Pin_Header_Straight_1X01</fp>
<fp>Pin_Header_Angled_1X01</fp>
<fp>Socket_Strip_Straight_1X01</fp>
<fp>Socket_Strip_Angled_1X01</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">CONN_01X01</field>
</fields>
<pins>
<pin num="1" name="P1" type="passive"/>
</pins>
</libpart>
<libpart lib="conn" part="CONN_01X06">
<description>Connector, single row, 01x06</description>
<footprints>
<fp>Pin_Header_Straight_1X06</fp>
<fp>Pin_Header_Angled_1X06</fp>
<fp>Socket_Strip_Straight_1X06</fp>
<fp>Socket_Strip_Angled_1X06</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">CONN_01X06</field>
</fields>
<pins>
<pin num="1" name="P1" type="passive"/>
<pin num="2" name="P2" type="passive"/>
<pin num="3" name="P3" type="passive"/>
<pin num="4" name="P4" type="passive"/>
<pin num="5" name="P5" type="passive"/>
<pin num="6" name="P6" type="passive"/>
</pins>
</libpart>
<libpart lib="conn" part="CONN_01X08">
<description>Connector, single row, 01x08</description>
<footprints>
<fp>Pin_Header_Straight_1X08</fp>
<fp>Pin_Header_Angled_1X08</fp>
<fp>Socket_Strip_Straight_1X08</fp>
<fp>Socket_Strip_Angled_1X08</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">CONN_01X08</field>
</fields>
<pins>
<pin num="1" name="P1" type="passive"/>
<pin num="2" name="P2" type="passive"/>
<pin num="3" name="P3" type="passive"/>
<pin num="4" name="P4" type="passive"/>
<pin num="5" name="P5" type="passive"/>
<pin num="6" name="P6" type="passive"/>
<pin num="7" name="P7" type="passive"/>
<pin num="8" name="P8" type="passive"/>
</pins>
</libpart>
<libpart lib="conn" part="CONN_01X10">
<description>Connector, single row, 01x10</description>
<footprints>
<fp>Pin_Header_Straight_1X10</fp>
<fp>Pin_Header_Angled_1X10</fp>
<fp>Socket_Strip_Straight_1X10</fp>
<fp>Socket_Strip_Angled_1X10</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">CONN_01X10</field>
</fields>
<pins>
<pin num="1" name="P1" type="passive"/>
<pin num="2" name="P2" type="passive"/>
<pin num="3" name="P3" type="passive"/>
<pin num="4" name="P4" type="passive"/>
<pin num="5" name="P5" type="passive"/>
<pin num="6" name="P6" type="passive"/>
<pin num="7" name="P7" type="passive"/>
<pin num="8" name="P8" type="passive"/>
<pin num="9" name="P9" type="passive"/>
<pin num="10" name="P10" type="passive"/>
</pins>
</libpart>
<libpart lib="conn" part="CONN_02X05">
<description>Connector, double row, 02x05</description>
<footprints>
<fp>Pin_Header_Straight_2X05</fp>
<fp>Pin_Header_Angled_2X05</fp>
<fp>Socket_Strip_Straight_2X05</fp>
<fp>Socket_Strip_Angled_2X05</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">CONN_02X05</field>
</fields>
<pins>
<pin num="1" name="P1" type="passive"/>
<pin num="2" name="P2" type="passive"/>
<pin num="3" name="P3" type="passive"/>
<pin num="4" name="P4" type="passive"/>
<pin num="5" name="P5" type="passive"/>
<pin num="6" name="P6" type="passive"/>
<pin num="7" name="P7" type="passive"/>
<pin num="8" name="P8" type="passive"/>
<pin num="9" name="P9" type="passive"/>
<pin num="10" name="P10" type="passive"/>
</pins>
</libpart>
<libpart lib="stm32" part="STM32L151C6TxA">
<aliases>
<alias>STM32L151C8TxA</alias>
<alias>STM32L151CBTxA</alias>
</aliases>
<description>Core: ARM Cortex-M3 Package: LQFP48 Flash: 32KB Ram: 16KB Frequency: 32MHz Voltage: 1.65..3.6V IO-pins: 37</description>
<docs>http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00277537.pdf</docs>
<fields>
<field name="Reference">U</field>
<field name="Value">STM32L151C6TxA</field>
<field name="Footprint">LQFP48</field>
</fields>
<pins>
<pin num="1" name="VLCD" type="power_in"/>
<pin num="2" name="PC13/RTC_OUT_ALARM/RTC_OUT_CALIB/RTC_TAMP1/RTC_TS/SYS_WKUP2/TIMX_IC2" type="BiDi"/>
<pin num="3" name="PC14/RCC_OSC32_IN/TIMX_IC3" type="BiDi"/>
<pin num="4" name="PC15/ADC_EXTI15/RCC_OSC32_OUT/TIMX_IC4" type="BiDi"/>
<pin num="5" name="PH0/RCC_OSC_IN" type="input"/>
<pin num="6" name="PH1/RCC_OSC_OUT" type="input"/>
<pin num="7" name="NRST" type="input"/>
<pin num="8" name="VSSA" type="power_in"/>
<pin num="9" name="VDDA" type="power_in"/>
<pin num="10" name="ADC_IN0/COMP1_INP/RTC_TAMP2/SYS_WKUP1/TIM2_CH1/TIM2_ETR/TIMX_IC1/TS_G1_IO1/USART2_CTS/PA0" type="BiDi"/>
<pin num="11" name="ADC_IN1/COMP1_INP/TIM2_CH2/TIMX_IC2/TS_G1_IO2/USART2_RTS/PA1" type="BiDi"/>
<pin num="12" name="ADC_IN2/COMP1_INP/TIM2_CH3/TIM9_CH1/TIMX_IC3/TS_G1_IO3/USART2_TX/PA2" type="BiDi"/>
<pin num="13" name="ADC_IN3/COMP1_INP/TIM2_CH4/TIM9_CH2/TIMX_IC4/TS_G1_IO4/USART2_RX/PA3" type="BiDi"/>
<pin num="14" name="ADC_IN4/COMP1_INP/DAC_OUT1/SPI1_NSS/TIMX_IC1/USART2_CK/PA4" type="BiDi"/>
<pin num="15" name="ADC_IN5/COMP1_INP/DAC_OUT2/SPI1_SCK/TIM2_CH1/TIM2_ETR/TIMX_IC2/PA5" type="BiDi"/>
<pin num="16" name="ADC_IN6/COMP1_INP/SPI1_MISO/TIM10_CH1/TIM3_CH1/TIMX_IC3/TS_G2_IO1/PA6" type="BiDi"/>
<pin num="17" name="ADC_IN7/COMP1_INP/SPI1_MOSI/TIM11_CH1/TIM3_CH2/TIMX_IC4/TS_G2_IO2/PA7" type="BiDi"/>
<pin num="18" name="PB0/ADC_IN8/COMP1_INP/SYS_V_REF_OUT/TIM3_CH3/TS_G3_IO1" type="BiDi"/>
<pin num="19" name="PB1/ADC_IN9/COMP1_INP/SYS_V_REF_OUT/TIM3_CH4/TS_G3_IO2" type="BiDi"/>
<pin num="20" name="PB2/BOOT1/COMP1_INP/TS_G3_IO3" type="BiDi"/>
<pin num="21" name="PB10/I2C2_SCL/TIM2_CH3/USART3_TX" type="BiDi"/>
<pin num="22" name="PB11/ADC_EXTI11/I2C2_SDA/TIM2_CH4/USART3_RX" type="BiDi"/>
<pin num="23" name="VSS" type="power_in"/>
<pin num="24" name="VDD" type="power_in"/>
<pin num="25" name="PB12/ADC_IN18/COMP1_INP/I2C2_SMBA/SPI2_NSS/TIM10_CH1/TS_G7_IO1/USART3_CK" type="BiDi"/>
<pin num="26" name="PB13/ADC_IN19/COMP1_INP/SPI2_SCK/TIM9_CH1/TS_G7_IO2/USART3_CTS" type="BiDi"/>
<pin num="27" name="PB14/ADC_IN20/COMP1_INP/SPI2_MISO/TIM9_CH2/TS_G7_IO3/USART3_RTS" type="BiDi"/>
<pin num="28" name="PB15/ADC_EXTI15/ADC_IN21/COMP1_INP/RTC_REFIN/SPI2_MOSI/TIM11_CH1/TS_G7_IO4" type="BiDi"/>
<pin num="29" name="RCC_MCO/TIMX_IC1/TS_G4_IO1/USART1_CK/PA8" type="BiDi"/>
<pin num="30" name="DAC_EXTI9/TIMX_IC2/TS_G4_IO2/USART1_TX/PA9" type="BiDi"/>
<pin num="31" name="TIMX_IC3/TS_G4_IO3/USART1_RX/PA10" type="BiDi"/>
<pin num="32" name="ADC_EXTI11/SPI1_MISO/TIMX_IC4/USART1_CTS/USB_DM/PA11" type="BiDi"/>
<pin num="33" name="SPI1_MOSI/TIMX_IC1/USART1_RTS/USB_DP/PA12" type="BiDi"/>
<pin num="34" name="SYS_JTMS-SWDIO/TIMX_IC2/TS_G5_IO1/PA13" type="BiDi"/>
<pin num="35" name="VSS" type="power_in"/>
<pin num="36" name="VDD" type="power_in"/>
<pin num="37" name="SYS_JTCK-SWCLK/TIMX_IC3/TS_G5_IO2/PA14" type="BiDi"/>
<pin num="38" name="ADC_EXTI15/SPI1_NSS/SYS_JTDI/TIM2_CH1/TIM2_ETR/TIMX_IC4/TS_G5_IO3/PA15" type="BiDi"/>
<pin num="39" name="PB3/COMP2_INM/SPI1_SCK/SYS_JTDO-TRACESWO/TIM2_CH2" type="BiDi"/>
<pin num="40" name="PB4/COMP2_INP/SPI1_MISO/SYS_JTRST/TIM3_CH1/TS_G6_IO1" type="BiDi"/>
<pin num="41" name="PB5/COMP2_INP/I2C1_SMBA/SPI1_MOSI/TIM3_CH2/TS_G6_IO2" type="BiDi"/>
<pin num="42" name="PB6/I2C1_SCL/TIM4_CH1/TS_G6_IO3/USART1_TX" type="BiDi"/>
<pin num="43" name="PB7/I2C1_SDA/SYS_PVD_IN/TIM4_CH2/TS_G6_IO4/USART1_RX" type="BiDi"/>
<pin num="44" name="BOOT0" type="input"/>
<pin num="45" name="PB8/I2C1_SCL/TIM10_CH1/TIM4_CH3" type="BiDi"/>
<pin num="46" name="PB9/DAC_EXTI9/I2C1_SDA/TIM11_CH1/TIM4_CH4" type="BiDi"/>
<pin num="47" name="VSS" type="power_in"/>
<pin num="48" name="VDD" type="power_in"/>
</pins>
</libpart>
<libpart lib="conn" part="USB_OTG">
<description>USB micro/mini connector</description>
<footprints>
<fp>USB*</fp>
</footprints>
<fields>
<field name="Reference">P</field>
<field name="Value">USB_OTG</field>
</fields>
<pins>
<pin num="1" name="VBUS" type="power_out"/>
<pin num="2" name="D-" type="passive"/>
<pin num="3" name="D+" type="passive"/>
<pin num="4" name="ID" type="power_in"/>
<pin num="5" name="GND" type="power_in"/>
<pin num="6" name="shield" type="passive"/>
</pins>
</libpart>
</libparts>
<libraries>
<library logical="stm32">
<uri>/usr/share/kicad/library/stm32.lib</uri>
</library>
<library logical="conn">
<uri>/usr/share/kicad/library/conn.lib</uri>
</library>
<library logical="device">
<uri>/usr/share/kicad/library/device.lib</uri>
</library>
</libraries>
<nets>
<net code="1" name="/7">
<node ref="P4" pin="1"/>
</net>
<net code="2" name="/Reset">
<node ref="P1" pin="3"/>
</net>
<net code="3" name="/6(**)">
<node ref="P4" pin="2"/>
</net>
<net code="4" name="/5(**)">
<node ref="P4" pin="3"/>
</net>
<net code="5" name="/4">
<node ref="P4" pin="4"/>
</net>
<net code="6" name="/3(**)">
<node ref="P4" pin="5"/>
</net>
<net code="7" name="/2">
<node ref="P4" pin="6"/>
</net>
<net code="8" name="/USB_DM">
<node ref="P10" pin="2"/>
<node ref="U1" pin="32"/>
</net>
<net code="9" name="GND">
<node ref="C3" pin="2"/>
<node ref="C4" pin="2"/>
<node ref="P9" pin="10"/>
<node ref="C5" pin="2"/>
<node ref="C1" pin="2"/>
<node ref="U1" pin="8"/>
<node ref="P1" pin="6"/>
<node ref="P3" pin="4"/>
<node ref="C2" pin="2"/>
<node ref="P1" pin="7"/>
<node ref="P10" pin="5"/>
<node ref="U1" pin="47"/>
<node ref="U1" pin="35"/>
<node ref="U1" pin="23"/>
</net>
<net code="10" name="/I2C_SCL">
<node ref="P9" pin="1"/>
<node ref="P2" pin="6"/>
<node ref="P3" pin="1"/>
<node ref="U1" pin="45"/>
</net>
<net code="11" name="/Vin">
<node ref="P1" pin="8"/>
</net>
<net code="12" name="+5V">
<node ref="P1" pin="5"/>
</net>
<net code="13" name="/IOREF">
<node ref="P1" pin="2"/>
</net>
<net code="14" name="/I2C_SDA">
<node ref="P2" pin="5"/>
<node ref="P3" pin="2"/>
<node ref="P9" pin="2"/>
<node ref="U1" pin="46"/>
</net>
<net code="15" name="/DAC2">
<node ref="U1" pin="15"/>
<node ref="P2" pin="2"/>
</net>
<net code="16" name="/DAC1">
<node ref="U1" pin="14"/>
<node ref="P2" pin="1"/>
</net>
<net code="17" name="/USB_DP">
<node ref="U1" pin="33"/>
<node ref="P10" pin="3"/>
</net>
<net code="18" name="/AREF">
<node ref="P3" pin="3"/>
</net>
<net code="19" name="/9(**)">
<node ref="P3" pin="9"/>
</net>
<net code="20" name="/8">
<node ref="P3" pin="10"/>
</net>
<net code="21" name="/A3">
<node ref="P2" pin="4"/>
</net>
<net code="22" name="/A2">
<node ref="P2" pin="3"/>
</net>
<net code="23" name="Net-(U1-Pad19)">
<node ref="U1" pin="19"/>
</net>
<net code="24" name="/SWO">
<node ref="U1" pin="39"/>
</net>
<net code="25" name="Net-(U1-Pad40)">
<node ref="U1" pin="40"/>
</net>
<net code="26" name="Net-(U1-Pad2)">
<node ref="U1" pin="2"/>
</net>
<net code="27" name="Net-(U1-Pad3)">
<node ref="U1" pin="3"/>
</net>
<net code="28" name="Net-(U1-Pad4)">
<node ref="U1" pin="4"/>
</net>
<net code="29" name="/SWDIO">
<node ref="U1" pin="34"/>
</net>
<net code="30" name="Net-(U1-Pad18)">
<node ref="U1" pin="18"/>
</net>
<net code="31" name="+3V3">
<node ref="U1" pin="24"/>
<node ref="U1" pin="9"/>
<node ref="U1" pin="48"/>
<node ref="U1" pin="36"/>
<node ref="P1" pin="4"/>
<node ref="C2" pin="1"/>
<node ref="C5" pin="1"/>
<node ref="C4" pin="1"/>
<node ref="C3" pin="1"/>
</net>
<net code="32" name="Net-(P9-Pad9)">
<node ref="P9" pin="9"/>
</net>
<net code="33" name="/NRST">
<node ref="C1" pin="1"/>
<node ref="U1" pin="7"/>
</net>
<net code="34" name="/SWCLK">
<node ref="U1" pin="37"/>
</net>
<net code="35" name="/SPI_MISO">
<node ref="P9" pin="4"/>
<node ref="P3" pin="6"/>
</net>
<net code="36" name="/SPI_MOSI">
<node ref="P9" pin="5"/>
<node ref="P3" pin="7"/>
</net>
<net code="37" name="/SPI_SCK">
<node ref="P3" pin="5"/>
<node ref="P9" pin="3"/>
</net>
<net code="38" name="/UART_RX">
<node ref="P9" pin="7"/>
<node ref="P4" pin="8"/>
</net>
<net code="39" name="/SPI_CS">
<node ref="P3" pin="8"/>
<node ref="P9" pin="6"/>
</net>
<net code="40" name="Net-(P10-Pad6)">
<node ref="P10" pin="6"/>
</net>
<net code="41" name="/UART_TX">
<node ref="P9" pin="8"/>
<node ref="P4" pin="7"/>
</net>
<net code="42" name="Net-(P6-Pad1)">
<node ref="P6" pin="1"/>
</net>
<net code="43" name="Net-(P5-Pad1)">
<node ref="P5" pin="1"/>
</net>
<net code="44" name="Net-(P8-Pad1)">
<node ref="P8" pin="1"/>
</net>
<net code="45" name="Net-(P7-Pad1)">
<node ref="P7" pin="1"/>
</net>
<net code="46" name="Net-(P1-Pad1)">
<node ref="P1" pin="1"/>
</net>
<net code="47" name="Net-(U1-Pad28)">
<node ref="U1" pin="28"/>
</net>
<net code="48" name="Net-(U1-Pad29)">
<node ref="U1" pin="29"/>
</net>
<net code="49" name="Net-(U1-Pad38)">
<node ref="U1" pin="38"/>
</net>
<net code="50" name="Net-(U1-Pad27)">
<node ref="U1" pin="27"/>
</net>
<net code="51" name="Net-(U1-Pad17)">
<node ref="U1" pin="17"/>
</net>
<net code="52" name="Net-(U1-Pad26)">
<node ref="U1" pin="26"/>
</net>
<net code="53" name="Net-(P10-Pad4)">
<node ref="P10" pin="4"/>
</net>
<net code="54" name="Net-(P10-Pad1)">
<node ref="P10" pin="1"/>
</net>
<net code="55" name="Net-(U1-Pad16)">
<node ref="U1" pin="16"/>
</net>
<net code="56" name="Net-(U1-Pad31)">
<node ref="U1" pin="31"/>
</net>
<net code="57" name="Net-(U1-Pad21)">
<node ref="U1" pin="21"/>
</net>
<net code="58" name="Net-(U1-Pad11)">
<node ref="U1" pin="11"/>
</net>
<net code="59" name="Net-(U1-Pad30)">
<node ref="U1" pin="30"/>
</net>
<net code="60" name="Net-(U1-Pad20)">
<node ref="U1" pin="20"/>
</net>
<net code="61" name="Net-(U1-Pad10)">
<node ref="U1" pin="10"/>
</net>
<net code="62" name="Net-(U1-Pad41)">
<node ref="U1" pin="41"/>
</net>
<net code="63" name="Net-(U1-Pad6)">
<node ref="U1" pin="6"/>
</net>
<net code="64" name="Net-(U1-Pad5)">
<node ref="U1" pin="5"/>
</net>
<net code="65" name="Net-(U1-Pad1)">
<node ref="U1" pin="1"/>
</net>
<net code="66" name="Net-(U1-Pad43)">
<node ref="U1" pin="43"/>
</net>
<net code="67" name="Net-(U1-Pad25)">
<node ref="U1" pin="25"/>
</net>
<net code="68" name="Net-(U1-Pad44)">
<node ref="U1" pin="44"/>
</net>
<net code="69" name="Net-(U1-Pad13)">
<node ref="U1" pin="13"/>
</net>
<net code="70" name="Net-(U1-Pad42)">
<node ref="U1" pin="42"/>
</net>
<net code="71" name="Net-(U1-Pad22)">
<node ref="U1" pin="22"/>
</net>
<net code="72" name="Net-(U1-Pad12)">
<node ref="U1" pin="12"/>
</net>
</nets>
</export>