Compare commits

..

2 Commits

Author SHA1 Message Date
1f03bd24b0 ECAD: 4-bit MicroSD schematic with pullups 2025-09-01 12:54:08 -07:00
47c22c90f5 SW: created basic CubeMX pinout config 2025-09-01 11:49:31 -07:00
10 changed files with 2796 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -416,6 +416,10 @@
[ [
"3f625fbe-0d7d-4f9d-a789-e3d398a1e499", "3f625fbe-0d7d-4f9d-a789-e3d398a1e499",
"MCU" "MCU"
],
[
"136ef680-bc35-4392-97fd-ce1945133a1d",
"MicroSD"
] ]
], ],
"text_variables": {} "text_variables": {}

View File

@@ -5,9 +5,153 @@
(uuid "0389eb62-6503-47dc-9bba-f194441b9f54") (uuid "0389eb62-6503-47dc-9bba-f194441b9f54")
(paper "A4") (paper "A4")
(lib_symbols) (lib_symbols)
(no_connect
(at 186.69 86.36)
(uuid "b6b5ff0d-226f-49d4-993d-dbff79fec3f3")
)
(no_connect
(at 186.69 88.9)
(uuid "e1671bff-1dd2-484c-8643-eeceb582d90c")
)
(no_connect
(at 186.69 91.44)
(uuid "f8484cc8-0281-4fc7-b4c7-c2576f1dfb5f")
)
(wire
(pts
(xy 160.02 91.44) (xy 162.56 91.44)
)
(stroke
(width 0)
(type default)
)
(uuid "1d5ca280-d732-4152-b611-9283c2528502")
)
(wire
(pts
(xy 160.02 86.36) (xy 162.56 86.36)
)
(stroke
(width 0)
(type default)
)
(uuid "9523e522-9010-4467-a131-813267a6d16c")
)
(wire
(pts
(xy 160.02 88.9) (xy 162.56 88.9)
)
(stroke
(width 0)
(type default)
)
(uuid "ced2ca2f-2df7-4a80-8059-5beb7ad56c6b")
)
(sheet (sheet
(at 86.36 111.76) (at 162.56 83.82)
(size 31.75 15.24) (size 24.13 10.16)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(stroke
(width 0.1524)
(type solid)
)
(fill
(color 0 0 0 0.0000)
)
(uuid "136ef680-bc35-4392-97fd-ce1945133a1d")
(property "Sheetname" "MicroSD"
(at 162.56 83.1084 0)
(effects
(font
(size 1.27 1.27)
)
(justify left bottom)
)
)
(property "Sheetfile" "MicroSD Card.kicad_sch"
(at 162.56 94.5646 0)
(effects
(font
(size 1.27 1.27)
)
(justify left top)
)
)
(pin "SD_CLK" input
(at 162.56 86.36 180)
(uuid "d54b7a9f-1f82-4db9-b191-fe4639e55f88")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SD_CMD" input
(at 162.56 88.9 180)
(uuid "d8887405-ddbd-45bc-b179-cbfb6eba6168")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SD_DAT0" bidirectional
(at 162.56 91.44 180)
(uuid "c5f8f5d8-da1c-48ba-8d4f-908954b26aa1")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SD_DAT1" bidirectional
(at 186.69 86.36 0)
(uuid "8bab773b-6e95-4fa1-b8d6-323ec447ef68")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SD_DAT2" bidirectional
(at 186.69 88.9 0)
(uuid "019a165f-ab3a-4843-ba4a-a54673045dad")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SD_DAT3" bidirectional
(at 186.69 91.44 0)
(uuid "ca320f86-db89-4186-8c7a-a52376002392")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(instances
(project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54"
(page "3")
)
)
)
)
(sheet
(at 128.27 83.82)
(size 31.75 22.86)
(exclude_from_sim no) (exclude_from_sim no)
(in_bom yes) (in_bom yes)
(on_board yes) (on_board yes)
@@ -22,7 +166,7 @@
) )
(uuid "3f625fbe-0d7d-4f9d-a789-e3d398a1e499") (uuid "3f625fbe-0d7d-4f9d-a789-e3d398a1e499")
(property "Sheetname" "MCU" (property "Sheetname" "MCU"
(at 86.36 111.0484 0) (at 128.27 83.1084 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -31,7 +175,7 @@
) )
) )
(property "Sheetfile" "STM32U545CETxQ.kicad_sch" (property "Sheetfile" "STM32U545CETxQ.kicad_sch"
(at 86.36 127.5846 0) (at 128.27 107.2646 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
@@ -40,13 +184,113 @@
) )
) )
(property "Field2" "" (property "Field2" ""
(at 86.36 111.76 0) (at 128.27 83.82 0)
(effects (effects
(font (font
(size 1.27 1.27) (size 1.27 1.27)
) )
) )
) )
(pin "PRES_MISO" input
(at 128.27 91.44 180)
(uuid "92ed5742-1743-40ad-ba8e-e4f5d1c8b734")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SWDIO" bidirectional
(at 128.27 104.14 180)
(uuid "0feea751-f9ac-4374-8117-3f209007fed6")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SWCLK" bidirectional
(at 128.27 101.6 180)
(uuid "fa9704ce-079f-4b7b-a7a1-a5316216c88a")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "USB_DN" bidirectional
(at 160.02 101.6 0)
(uuid "f1d2f58d-cace-4b18-a6d7-8f1bbe41105c")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SD_CMD" output
(at 160.02 88.9 0)
(uuid "1574b356-6c12-45c1-a387-16f778670a12")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "PRES_MOSI" output
(at 128.27 88.9 180)
(uuid "5a4a0b02-d8fa-4f1a-bc58-d8d604c25b23")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "SD_D0" bidirectional
(at 160.02 91.44 0)
(uuid "dc2170fd-3476-46ec-a0e0-3af566e28b95")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "PRES_SCK" output
(at 128.27 86.36 180)
(uuid "faa10fd8-ce9f-4ddc-945f-2f172bcefedd")
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(pin "USB_DP" bidirectional
(at 160.02 104.14 0)
(uuid "028448b8-c438-43eb-98f7-ee0231ce14d0")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(pin "SD_CK" output
(at 160.02 86.36 0)
(uuid "b4572deb-ec12-4528-ba4d-a5b35c9d3452")
(effects
(font
(size 1.27 1.27)
)
(justify right)
)
)
(instances (instances
(project "dyna-micro" (project "dyna-micro"
(path "/0389eb62-6503-47dc-9bba-f194441b9f54" (path "/0389eb62-6503-47dc-9bba-f194441b9f54"

167
sw/sw.ioc Normal file
View File

@@ -0,0 +1,167 @@
#MicroXplorer Configuration settings - do not modify
CAD.formats=
CAD.pinconfig=
CAD.provider=
File.Version=6
GPIO.groupedBy=
KeepUserPlacement=false
Mcu.CPN=STM32L4Q5CGT6
Mcu.Family=STM32L4
Mcu.IP0=FATFS
Mcu.IP1=NVIC
Mcu.IP2=RCC
Mcu.IP3=SDMMC2
Mcu.IP4=SPI1
Mcu.IP5=SYS
Mcu.IP6=USB_OTG_FS
Mcu.IPNb=7
Mcu.Name=STM32L4Q5CGTx
Mcu.Package=LQFP48
Mcu.Pin0=PA1
Mcu.Pin1=PA5
Mcu.Pin2=PA6
Mcu.Pin3=PA7
Mcu.Pin4=PB12
Mcu.Pin5=PB14
Mcu.Pin6=PA11
Mcu.Pin7=PA12
Mcu.Pin8=VP_FATFS_VS_SDIO
Mcu.Pin9=VP_SYS_VS_Systick
Mcu.PinsNb=10
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32L4Q5CGTx
MxCube.Version=6.15.0
MxDb.Version=DB.6.0.150
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.ForceEnableDMAVector=true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
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
PA1.Mode=SD_1_bit
PA1.Signal=SDMMC2_CMD
PA11.Mode=Device_Only
PA11.Signal=USB_OTG_FS_DM
PA12.Mode=Device_Only
PA12.Signal=USB_OTG_FS_DP
PA5.Mode=Full_Duplex_Master
PA5.Signal=SPI1_SCK
PA6.Mode=Full_Duplex_Master
PA6.Signal=SPI1_MISO
PA7.Mode=Full_Duplex_Master
PA7.Signal=SPI1_MOSI
PB12.Mode=SD_1_bit
PB12.Signal=SDMMC2_CK
PB14.Mode=SD_1_bit
PB14.Signal=SDMMC2_D0
PinOutPanel.RotationAngle=0
ProjectManager.AskForMigrate=true
ProjectManager.BackupPrevious=false
ProjectManager.CompilerLinker=GCC
ProjectManager.CompilerOptimize=6
ProjectManager.ComputerToolchain=false
ProjectManager.CoupleFile=false
ProjectManager.CustomerFirmwarePackage=
ProjectManager.DefaultFWLocation=true
ProjectManager.DeletePrevious=true
ProjectManager.DeviceId=STM32L4Q5CGTx
ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.18.1
ProjectManager.FreePins=false
ProjectManager.HalAssertFull=false
ProjectManager.HeapSize=0x200
ProjectManager.KeepUserCode=true
ProjectManager.LastFirmware=true
ProjectManager.LibraryCopy=0
ProjectManager.MainLocation=Core/Src
ProjectManager.NoMain=false
ProjectManager.PreviousToolchain=
ProjectManager.ProjectBuild=false
ProjectManager.ProjectFileName=sw.ioc
ProjectManager.ProjectName=sw
ProjectManager.ProjectStructure=
ProjectManager.RegisterCallBack=
ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=EWARM V8.32
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_SDMMC2_SD_Init-SDMMC2-false-HAL-true,4-MX_SPI1_Init-SPI1-false-HAL-true,5-MX_FATFS_Init-FATFS-false-HAL-false,6-MX_USB_OTG_FS_PCD_Init-USB_OTG_FS-false-HAL-true
RCC.ADCFreq_Value=48000000
RCC.AHBFreq_Value=120000000
RCC.APB1Freq_Value=120000000
RCC.APB1TimFreq_Value=120000000
RCC.APB2Freq_Value=120000000
RCC.APB2TimFreq_Value=120000000
RCC.CRSFreq_Value=48000000
RCC.CortexFreq_Value=120000000
RCC.DFSDMFreq_Value=120000000
RCC.FCLKCortexFreq_Value=120000000
RCC.FamilyName=M
RCC.HCLKFreq_Value=120000000
RCC.HSE_VALUE=8000000
RCC.HSI48_VALUE=48000000
RCC.HSI_VALUE=16000000
RCC.I2C1Freq_Value=120000000
RCC.I2C2Freq_Value=120000000
RCC.I2C3Freq_Value=120000000
RCC.I2C4Freq_Value=120000000
RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CRSFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,I2C4Freq_Value,LCDTFTFreq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,OCTOSPIMFreq_Value,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PLLSAI1N,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2QoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value
RCC.LCDTFTFreq_Value=8000000
RCC.LPTIM1Freq_Value=120000000
RCC.LPTIM2Freq_Value=120000000
RCC.LPUART1Freq_Value=120000000
RCC.LSCOPinFreq_Value=32000
RCC.LSE_VALUE=32768
RCC.LSI_VALUE=32000
RCC.MCO1PinFreq_Value=120000000
RCC.MSI_VALUE=4000000
RCC.OCTOSPIMFreq_Value=120000000
RCC.PLLN=60
RCC.PLLPoutputFreq_Value=120000000
RCC.PLLQoutputFreq_Value=120000000
RCC.PLLRCLKFreq_Value=120000000
RCC.PLLSAI1N=24
RCC.PLLSAI1PoutputFreq_Value=48000000
RCC.PLLSAI1QoutputFreq_Value=48000000
RCC.PLLSAI1RoutputFreq_Value=48000000
RCC.PLLSAI2PoutputFreq_Value=16000000
RCC.PLLSAI2QoutputFreq_Value=16000000
RCC.PLLSAI2RoutputFreq_Value=16000000
RCC.PWRFreq_Value=120000000
RCC.RNGFreq_Value=48000000
RCC.SAI1Freq_Value=48000000
RCC.SAI2Freq_Value=48000000
RCC.SDMMCFreq_Value=120000000
RCC.SYSCLKFreq_VALUE=120000000
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
RCC.UART4Freq_Value=120000000
RCC.UART5Freq_Value=120000000
RCC.USART1Freq_Value=120000000
RCC.USART2Freq_Value=120000000
RCC.USART3Freq_Value=120000000
RCC.USBFreq_Value=48000000
RCC.VCOInput2Freq_Value=4000000
RCC.VCOInput3Freq_Value=4000000
RCC.VCOInputFreq_Value=4000000
RCC.VCOOutputFreq_Value=240000000
RCC.VCOSAI1OutputFreq_Value=96000000
RCC.VCOSAI2OutputFreq_Value=32000000
SPI1.CalculateBaudRate=60.0 MBits/s
SPI1.Direction=SPI_DIRECTION_2LINES
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate
SPI1.Mode=SPI_MODE_MASTER
SPI1.VirtualType=VM_MASTER
USB_OTG_FS.IPParameters=VirtualMode
USB_OTG_FS.VirtualMode=Device_Only
VP_FATFS_VS_SDIO.Mode=SDIO
VP_FATFS_VS_SDIO.Signal=FATFS_VS_SDIO
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
board=custom