Compare commits

..

15 Commits

30 changed files with 11332 additions and 1280 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -430,7 +430,7 @@
"no_connect_dangling": "warning",
"pin_not_connected": "error",
"pin_not_driven": "error",
"pin_to_pin": "warning",
"pin_to_pin": "error",
"power_pin_not_driven": "error",
"same_local_global_label": "warning",
"similar_label_and_power": "warning",
@@ -618,10 +618,6 @@
"3f625fbe-0d7d-4f9d-a789-e3d398a1e499",
"MCU"
],
[
"cb777b82-025b-46bf-a35c-23d9be73404c",
"Flash"
],
[
"3b69b8b5-74b9-4ef8-b089-9f6703a47935",
"Pressure Sensor"
@@ -629,6 +625,18 @@
[
"1545cd58-ec56-43ca-991f-528eab9b04ea",
"USB"
],
[
"be3c13b5-9ed7-48d7-9628-fcde8ceb3f83",
"Battery"
],
[
"a8171546-98b4-47a7-9095-ce46e093fe39",
"DIP Switch Options"
],
[
"e94fe28b-7032-4620-a8c2-7db10727010e",
"MicroSD Card"
]
],
"text_variables": {}

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,10 @@
(generator_version "9.0")
(uuid "e8aa36a8-cba0-46a0-bed7-97c2a473d3b7")
(paper "A4")
(title_block
(title "Flash")
(company "Dynamite Rocketry")
)
(lib_symbols
(symbol "Device:C"
(pin_numbers
@@ -655,7 +659,7 @@
)
(uuid "03797530-9748-49a5-81b0-cc6093ba624f")
)
(hierarchical_label "~WP"
(hierarchical_label "~{WP}"
(shape input)
(at 134.62 93.98 180)
(effects
@@ -666,7 +670,7 @@
)
(uuid "0e331980-54ff-4c38-aaf2-7bd835b70277")
)
(hierarchical_label "~CS"
(hierarchical_label "~{CS}"
(shape input)
(at 134.62 83.82 180)
(effects
@@ -699,7 +703,7 @@
)
(uuid "bd845fcd-8c6a-4a18-b005-a3d735ad5f1a")
)
(hierarchical_label "~RST"
(hierarchical_label "~{RST}"
(shape input)
(at 134.62 96.52 180)
(effects

File diff suppressed because it is too large Load Diff

View File

@@ -4,6 +4,10 @@
(generator_version "9.0")
(uuid "16a61737-b805-4ce5-9c5a-d2a43629898b")
(paper "A4")
(title_block
(title "Pressure Sensor")
(company "Dynamite Rocketry")
)
(lib_symbols
(symbol "Device:C"
(pin_numbers
@@ -496,7 +500,7 @@
)
(embedded_fonts no)
)
(symbol "power:GNDD"
(symbol "power:GND"
(power)
(pin_numbers
(hide yes)
@@ -517,8 +521,8 @@
(hide yes)
)
)
(property "Value" "GNDD"
(at 0 -3.175 0)
(property "Value" "GND"
(at 0 -3.81 0)
(effects
(font
(size 1.27 1.27)
@@ -543,7 +547,7 @@
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GNDD\" , digital ground"
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 0 0 0)
(effects
(font
@@ -561,21 +565,10 @@
(hide yes)
)
)
(symbol "GNDD_0_1"
(rectangle
(start -1.27 -1.524)
(end 1.27 -2.032)
(stroke
(width 0.254)
(type default)
)
(fill
(type outline)
)
)
(symbol "GND_0_1"
(polyline
(pts
(xy 0 0) (xy 0 -1.524)
(xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27)
)
(stroke
(width 0)
@@ -586,7 +579,7 @@
)
)
)
(symbol "GNDD_1_1"
(symbol "GND_1_1"
(pin power_in line
(at 0 0 270)
(length 0)
@@ -609,7 +602,7 @@
(embedded_fonts no)
)
)
(text_box "Each power supply should be decoupled using a ceramic capacitor. The decoupling capacitors must be placed as close as possible to appropriate pins to ensure good functionality."
(text_box "Each power supply pin should be decoupled using a ceramic capacitor. The decoupling capacitors must be placed as close as possible to appropriate pins to ensure good functionality."
(exclude_from_sim no)
(at 180.34 93.98 0)
(size 30.48 15.24)
@@ -629,7 +622,7 @@
)
(uuid "b37f3708-fa97-45fb-9ed9-974f3faf91cb")
)
(hierarchical_label "~CS"
(hierarchical_label "~{CS}"
(shape input)
(at 130.81 106.68 180)
(effects
@@ -673,72 +666,6 @@
)
(uuid "c081cd57-735b-4ef2-bc13-b6176df3c4e5")
)
(symbol
(lib_id "power:GNDD")
(at 167.64 105.41 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "0b3a8d68-8b24-41d8-9c3a-444752c6181a")
(property "Reference" "#PWR017"
(at 167.64 111.76 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GNDD"
(at 167.64 109.22 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GNDD\" , digital ground"
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "1cdb78e1-b178-4bd3-81f1-55da4c57b4e8")
)
(instances
(project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54/3b69b8b5-74b9-4ef8-b089-9f6703a47935"
(reference "#PWR017")
(unit 1)
)
)
)
)
(symbol
(lib_id "Sensor_Pressure:MS5607-02BA")
(at 140.97 101.6 0)
@@ -819,7 +746,7 @@
(uuid "870e77f0-68c2-4cc6-abbb-fb24bd35860b")
)
(instances
(project ""
(project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54/3b69b8b5-74b9-4ef8-b089-9f6703a47935"
(reference "U3")
(unit 1)
@@ -894,7 +821,73 @@
)
)
(symbol
(lib_id "power:GNDD")
(lib_id "power:GND")
(at 167.64 105.41 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "28d93019-bb10-4144-97d9-1d29f28d9f9b")
(property "Reference" "#PWR019"
(at 167.64 111.76 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Value" "GND"
(at 167.64 110.49 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 167.64 105.41 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "3e64716a-17b1-4c1a-b3f1-cd385dd2be37")
)
(instances
(project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54/3b69b8b5-74b9-4ef8-b089-9f6703a47935"
(reference "#PWR019")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GND")
(at 130.81 96.52 270)
(unit 1)
(exclude_from_sim no)
@@ -902,8 +895,8 @@
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "b473996f-4dd4-4880-b7ec-93379358b95b")
(property "Reference" "#PWR020"
(uuid "5178e8f8-451c-4e79-890e-3c0e45f64bb5")
(property "Reference" "#PWR012"
(at 124.46 96.52 0)
(effects
(font
@@ -912,7 +905,7 @@
(hide yes)
)
)
(property "Value" "GNDD"
(property "Value" "GND"
(at 127 96.5199 90)
(effects
(font
@@ -939,7 +932,7 @@
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GNDD\" , digital ground"
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 130.81 96.52 0)
(effects
(font
@@ -949,19 +942,19 @@
)
)
(pin "1"
(uuid "6ddf8e50-ef7e-4b4f-9fbc-59055a26c76e")
(uuid "0d812d71-7160-4cdc-b545-4e57130d29ba")
)
(instances
(project "dyna-micro"
(project ""
(path "/0389eb62-6503-47dc-9bba-f194441b9f54/3b69b8b5-74b9-4ef8-b089-9f6703a47935"
(reference "#PWR020")
(reference "#PWR012")
(unit 1)
)
)
)
)
(symbol
(lib_id "power:GNDD")
(lib_id "power:GND")
(at 140.97 111.76 0)
(unit 1)
(exclude_from_sim no)
@@ -969,8 +962,8 @@
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "ec4d0b28-706b-45d1-99d4-d45f2435bc4c")
(property "Reference" "#PWR019"
(uuid "9bad9010-0bbc-4289-bd88-3022b4ee001a")
(property "Reference" "#PWR017"
(at 140.97 118.11 0)
(effects
(font
@@ -979,8 +972,8 @@
(hide yes)
)
)
(property "Value" "GNDD"
(at 140.97 115.57 0)
(property "Value" "GND"
(at 140.97 116.84 0)
(effects
(font
(size 1.27 1.27)
@@ -1005,7 +998,7 @@
(hide yes)
)
)
(property "Description" "Power symbol creates a global label with name \"GNDD\" , digital ground"
(property "Description" "Power symbol creates a global label with name \"GND\" , ground"
(at 140.97 111.76 0)
(effects
(font
@@ -1015,12 +1008,12 @@
)
)
(pin "1"
(uuid "954df6c0-3f71-41f2-8c05-169b6771ebbb")
(uuid "cbaff595-d260-445e-ab4c-fd9ca0b01a33")
)
(instances
(project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54/3b69b8b5-74b9-4ef8-b089-9f6703a47935"
(reference "#PWR019")
(reference "#PWR017")
(unit 1)
)
)

File diff suppressed because it is too large Load Diff

105
sw/sw.ioc
View File

@@ -9,29 +9,36 @@ Mcu.CPN=STM32L4Q5CGT6
Mcu.Family=STM32L4
Mcu.IP0=NVIC
Mcu.IP1=RCC
Mcu.IP2=SPI1
Mcu.IP3=SPI3
Mcu.IP2=SDMMC2
Mcu.IP3=SPI1
Mcu.IP4=SYS
Mcu.IP5=USB_OTG_FS
Mcu.IPNb=6
Mcu.IP5=USART1
Mcu.IP6=USB_OTG_FS
Mcu.IPNb=7
Mcu.Name=STM32L4Q5CGTx
Mcu.Package=LQFP48
Mcu.Pin0=PA5
Mcu.Pin1=PA6
Mcu.Pin10=PB4 (NJTRST)
Mcu.Pin11=PB5
Mcu.Pin12=PB6
Mcu.Pin13=PB7
Mcu.Pin14=VP_SYS_VS_Systick
Mcu.Pin2=PA7
Mcu.Pin3=PB0
Mcu.Pin4=PA11
Mcu.Pin5=PA12
Mcu.Pin6=PA13 (JTMS/SWDIO)
Mcu.Pin7=PA14 (JTCK/SWCLK)
Mcu.Pin8=PA15 (JTDI)
Mcu.Pin9=PB3 (JTDO/TRACESWO)
Mcu.PinsNb=15
Mcu.Pin0=PA0
Mcu.Pin1=PA1
Mcu.Pin10=PA9
Mcu.Pin11=PA10
Mcu.Pin12=PA11
Mcu.Pin13=PA12
Mcu.Pin14=PA13 (JTMS/SWDIO)
Mcu.Pin15=PA14 (JTCK/SWCLK)
Mcu.Pin16=PB3 (JTDO/TRACESWO)
Mcu.Pin17=PB4 (NJTRST)
Mcu.Pin18=PB7
Mcu.Pin19=PH3-BOOT0
Mcu.Pin2=PA2
Mcu.Pin20=VP_SYS_VS_Systick
Mcu.Pin3=PA5
Mcu.Pin4=PA6
Mcu.Pin5=PA7
Mcu.Pin6=PB0
Mcu.Pin7=PB12
Mcu.Pin8=PB14
Mcu.Pin9=PB15
Mcu.PinsNb=21
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32L4Q5CGTx
@@ -48,18 +55,28 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
PA0.GPIOParameters=GPIO_Label
PA0.GPIO_Label=SD_EJECT
PA0.Locked=true
PA0.Signal=GPIO_Input
PA1.Mode=SD_4_bits_Wide_bus
PA1.Signal=SDMMC2_CMD
PA10.Mode=Asynchronous
PA10.Signal=USART1_RX
PA11.Mode=Device_Only
PA11.Signal=USB_OTG_FS_DM
PA12.Mode=Device_Only
PA12.Signal=USB_OTG_FS_DP
PA13\ (JTMS/SWDIO).Locked=true
PA13\ (JTMS/SWDIO).Mode=Serial_Wire
PA13\ (JTMS/SWDIO).Signal=SYS_JTMS-SWDIO
PA14\ (JTCK/SWCLK).Locked=true
PA14\ (JTCK/SWCLK).Mode=Serial_Wire
PA14\ (JTCK/SWCLK).Signal=SYS_JTCK-SWCLK
PA15\ (JTDI).GPIOParameters=GPIO_Label
PA15\ (JTDI).GPIO_Label=FLASH_CS
PA15\ (JTDI).Locked=true
PA15\ (JTDI).Signal=GPIO_Output
PA2.GPIOParameters=GPIO_Label
PA2.GPIO_Label=USR_SW
PA2.Locked=true
PA2.Signal=GPIO_Input
PA5.GPIOParameters=GPIO_Label
PA5.GPIO_Label=PRES_SCK
PA5.Mode=Full_Duplex_Master
@@ -72,30 +89,27 @@ PA7.GPIOParameters=GPIO_Label
PA7.GPIO_Label=PRES_MOSI
PA7.Mode=Full_Duplex_Master
PA7.Signal=SPI1_MOSI
PA9.Mode=Asynchronous
PA9.Signal=USART1_TX
PB0.GPIOParameters=GPIO_Label
PB0.GPIO_Label=PRES_CS
PB0.Locked=true
PB0.Signal=GPIO_Output
PB3\ (JTDO/TRACESWO).GPIOParameters=GPIO_Label
PB3\ (JTDO/TRACESWO).GPIO_Label=FLASH_SCK
PB3\ (JTDO/TRACESWO).Mode=Full_Duplex_Master
PB3\ (JTDO/TRACESWO).Signal=SPI3_SCK
PB4\ (NJTRST).GPIOParameters=GPIO_Label
PB4\ (NJTRST).GPIO_Label=FLASH_MISO
PB4\ (NJTRST).Mode=Full_Duplex_Master
PB4\ (NJTRST).Signal=SPI3_MISO
PB5.GPIOParameters=GPIO_Label
PB5.GPIO_Label=FLASH_MOSI
PB5.Mode=Full_Duplex_Master
PB5.Signal=SPI3_MOSI
PB6.GPIOParameters=GPIO_Label
PB6.GPIO_Label=FLASH_RST
PB6.Locked=true
PB6.Signal=GPIO_Output
PB12.Mode=SD_4_bits_Wide_bus
PB12.Signal=SDMMC2_CK
PB14.Mode=SD_4_bits_Wide_bus
PB14.Signal=SDMMC2_D0
PB15.Mode=SD_4_bits_Wide_bus
PB15.Signal=SDMMC2_D1
PB3\ (JTDO/TRACESWO).Mode=SD_4_bits_Wide_bus
PB3\ (JTDO/TRACESWO).Signal=SDMMC2_D2
PB4\ (NJTRST).Mode=SD_4_bits_Wide_bus
PB4\ (NJTRST).Signal=SDMMC2_D3
PB7.GPIOParameters=GPIO_Label
PB7.GPIO_Label=FLASH_WP
PB7.GPIO_Label=DEBUG_LED
PB7.Locked=true
PB7.Signal=GPIO_Output
PH3-BOOT0.Locked=true
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
@@ -128,7 +142,7 @@ ProjectManager.ToolChainLocation=
ProjectManager.UAScriptAfterPath=
ProjectManager.UAScriptBeforePath=
ProjectManager.UnderRoot=false
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_SPI1_Init-SPI1-false-HAL-true,4-MX_USB_OTG_FS_PCD_Init-USB_OTG_FS-false-HAL-true,5-MX_SPI3_Init-SPI3-false-HAL-true
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_SPI1_Init-SPI1-false-HAL-true,4-MX_USB_OTG_FS_PCD_Init-USB_OTG_FS-false-HAL-true,5-MX_USART1_UART_Init-USART1-false-HAL-true,6-MX_SDMMC2_SD_Init-SDMMC2-false-HAL-true
RCC.ADCFreq_Value=48000000
RCC.AHBFreq_Value=120000000
RCC.APB1Freq_Value=120000000
@@ -194,11 +208,8 @@ SPI1.Direction=SPI_DIRECTION_2LINES
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
SPI1.Mode=SPI_MODE_MASTER
SPI1.VirtualType=VM_MASTER
SPI3.CalculateBaudRate=60.0 MBits/s
SPI3.Direction=SPI_DIRECTION_2LINES
SPI3.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
SPI3.Mode=SPI_MODE_MASTER
SPI3.VirtualType=VM_MASTER
USART1.IPParameters=VirtualMode-Asynchronous
USART1.VirtualMode-Asynchronous=VM_ASYNC
USB_OTG_FS.IPParameters=VirtualMode
USB_OTG_FS.VirtualMode=Device_Only
VP_SYS_VS_Systick.Mode=SysTick