diff options
Diffstat (limited to 'microphone.ioc')
-rw-r--r-- | microphone.ioc | 247 |
1 files changed, 97 insertions, 150 deletions
diff --git a/microphone.ioc b/microphone.ioc index 3385881..b4f0243 100644 --- a/microphone.ioc +++ b/microphone.ioc @@ -6,134 +6,83 @@ Dma.Request0=SPI1_RX Dma.Request1=SPI1_TX Dma.RequestsNb=2 Dma.SPI1_RX.0.Direction=DMA_PERIPH_TO_MEMORY -Dma.SPI1_RX.0.EventEnable=DISABLE -Dma.SPI1_RX.0.Instance=DMA1_Channel1 +Dma.SPI1_RX.0.Instance=DMA1_Channel2 Dma.SPI1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.SPI1_RX.0.MemInc=DMA_MINC_ENABLE Dma.SPI1_RX.0.Mode=DMA_CIRCULAR Dma.SPI1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.SPI1_RX.0.PeriphInc=DMA_PINC_DISABLE -Dma.SPI1_RX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.SPI1_RX.0.Priority=DMA_PRIORITY_MEDIUM -Dma.SPI1_RX.0.RequestNumber=1 -Dma.SPI1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber -Dma.SPI1_RX.0.SignalID=NONE -Dma.SPI1_RX.0.SyncEnable=DISABLE -Dma.SPI1_RX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT -Dma.SPI1_RX.0.SyncRequestNumber=1 -Dma.SPI1_RX.0.SyncSignalID=NONE +Dma.SPI1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.SPI1_TX.1.Direction=DMA_MEMORY_TO_PERIPH -Dma.SPI1_TX.1.EventEnable=DISABLE -Dma.SPI1_TX.1.Instance=DMA1_Channel2 +Dma.SPI1_TX.1.Instance=DMA1_Channel3 Dma.SPI1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.SPI1_TX.1.MemInc=DMA_MINC_ENABLE Dma.SPI1_TX.1.Mode=DMA_CIRCULAR Dma.SPI1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.SPI1_TX.1.PeriphInc=DMA_PINC_DISABLE -Dma.SPI1_TX.1.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.SPI1_TX.1.Priority=DMA_PRIORITY_MEDIUM -Dma.SPI1_TX.1.RequestNumber=1 -Dma.SPI1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber -Dma.SPI1_TX.1.SignalID=NONE -Dma.SPI1_TX.1.SyncEnable=DISABLE -Dma.SPI1_TX.1.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT -Dma.SPI1_TX.1.SyncRequestNumber=1 -Dma.SPI1_TX.1.SyncSignalID=NONE +Dma.SPI1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority File.Version=6 GPIO.groupedBy=Group By Peripherals KeepUserPlacement=false -Mcu.CPN=STM32U083MCT6 -Mcu.Family=STM32U0 -Mcu.IP0=CORTEX_M0+ -Mcu.IP1=DEBUG -Mcu.IP2=DMA -Mcu.IP3=NVIC -Mcu.IP4=PWR -Mcu.IP5=RCC -Mcu.IP6=SPI1 -Mcu.IP7=SYS -Mcu.IP8=USART2 -Mcu.IPNb=9 -Mcu.Name=STM32U083MCTx -Mcu.Package=LQFP80 -Mcu.Pin0=PC13 -Mcu.Pin1=PC2 -Mcu.Pin10=PA13 (SWDIO) -Mcu.Pin11=PA14 (SWCLK) -Mcu.Pin12=VP_PWR_VS_SECSignals -Mcu.Pin13=VP_PWR_VS_LPOM -Mcu.Pin14=VP_SYS_VS_Systick -Mcu.Pin2=PA1 -Mcu.Pin3=PA2 -Mcu.Pin4=PA3 -Mcu.Pin5=PA5 -Mcu.Pin6=PA6 -Mcu.Pin7=PA7 -Mcu.Pin8=PB2 -Mcu.Pin9=PD9 -Mcu.PinsNb=15 +Mcu.CPN=STM32L476RGT3 +Mcu.Family=STM32L4 +Mcu.IP0=DMA +Mcu.IP1=NVIC +Mcu.IP2=RCC +Mcu.IP3=SPI1 +Mcu.IP4=SYS +Mcu.IP5=USART2 +Mcu.IPNb=6 +Mcu.Name=STM32L476R(C-E-G)Tx +Mcu.Package=LQFP64 +Mcu.Pin0=PA2 +Mcu.Pin1=PA3 +Mcu.Pin2=PA13 (JTMS-SWDIO) +Mcu.Pin3=PA14 (JTCK-SWCLK) +Mcu.Pin4=PB3 (JTDO-TRACESWO) +Mcu.Pin5=PB4 (NJTRST) +Mcu.Pin6=PB5 +Mcu.Pin7=VP_SYS_VS_Systick +Mcu.PinsNb=8 Mcu.ThirdPartyNb=0 Mcu.UserConstants= -Mcu.UserName=STM32U083MCTx +Mcu.UserName=STM32L476RGTx MxCube.Version=6.13.0 MxDb.Version=DB.6.0.130 -NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true -NVIC.DMA1_Channel2_3_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true +NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false +NVIC.DMA1_Channel2_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true +NVIC.DMA1_Channel3_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true +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_2 +NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false -NVIC.SysTick_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:false -PA1.Mode=Full_Duplex_Master -PA1.Signal=SPI1_SCK -PA13\ (SWDIO).GPIOParameters=GPIO_Label -PA13\ (SWDIO).GPIO_Label=SWDIO -PA13\ (SWDIO).Locked=true -PA13\ (SWDIO).Mode=Serial_Wire -PA13\ (SWDIO).Signal=DEBUG_JTMS-SWDIO -PA14\ (SWCLK).GPIOParameters=GPIO_Label -PA14\ (SWCLK).GPIO_Label=SWCLK -PA14\ (SWCLK).Locked=true -PA14\ (SWCLK).Mode=Serial_Wire -PA14\ (SWCLK).Signal=DEBUG_JTCK-SWCLK -PA2.GPIOParameters=GPIO_Label -PA2.GPIO_Label=VCP_TX -PA2.Locked=true +NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false +NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false +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 PA2.Mode=Asynchronous PA2.Signal=USART2_TX -PA3.GPIOParameters=GPIO_Label -PA3.GPIO_Label=VCP_RX -PA3.Locked=true PA3.Mode=Asynchronous PA3.Signal=USART2_RX -PA5.GPIOParameters=GPIO_Label -PA5.GPIO_Label=LED_BLUE -PA5.Locked=true -PA5.Signal=GPIO_Output -PA6.Mode=Full_Duplex_Master -PA6.Signal=SPI1_MISO -PA7.Mode=Full_Duplex_Master -PA7.Signal=SPI1_MOSI -PB2.GPIOParameters=GPIO_Label -PB2.GPIO_Label=LED_RED -PB2.Locked=true -PB2.Signal=GPIO_Output -PC13.GPIOParameters=GPIO_Label -PC13.GPIO_Label=LED_GREEN -PC13.Locked=true -PC13.Signal=GPIO_Output -PC2.GPIOParameters=GPIO_Label -PC2.GPIO_Label=Joystick -PC2.Locked=true -PC2.Signal=ADC1_IN2 -PD9.GPIOParameters=GPIO_Speed,PinState,GPIO_Label -PD9.GPIO_Label=IDLE -PD9.GPIO_Speed=GPIO_SPEED_FREQ_MEDIUM -PD9.Locked=true -PD9.PinState=GPIO_PIN_SET -PD9.Signal=GPIO_Output +PB3\ (JTDO-TRACESWO).Locked=true +PB3\ (JTDO-TRACESWO).Mode=Full_Duplex_Master +PB3\ (JTDO-TRACESWO).Signal=SPI1_SCK +PB4\ (NJTRST).Locked=true +PB4\ (NJTRST).Mode=Full_Duplex_Master +PB4\ (NJTRST).Signal=SPI1_MISO +PB5.Locked=true +PB5.Mode=Full_Duplex_Master +PB5.Signal=SPI1_MOSI PinOutPanel.RotationAngle=0 ProjectManager.AskForMigrate=true ProjectManager.BackupPrevious=false @@ -143,14 +92,14 @@ ProjectManager.CoupleFile=false ProjectManager.CustomerFirmwarePackage= ProjectManager.DefaultFWLocation=true ProjectManager.DeletePrevious=true -ProjectManager.DeviceId=STM32U083MCTx -ProjectManager.FirmwarePackage=STM32Cube FW_U0 V1.2.0 -ProjectManager.FreePins=false +ProjectManager.DeviceId=STM32L476RGTx +ProjectManager.FirmwarePackage=STM32Cube FW_L4 V1.18.1 +ProjectManager.FreePins=true ProjectManager.HalAssertFull=false ProjectManager.HeapSize=0x200 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true -ProjectManager.LibraryCopy=0 +ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Core/Src ProjectManager.NoMain=false ProjectManager.PreviousToolchain= @@ -165,72 +114,70 @@ 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_DMA_Init-DMA-false-HAL-true,4-MX_SPI1_Init-SPI1-false-HAL-true,5-MX_USART2_UART_Init-USART2-false-HAL-true,0-MX_CORTEX_M0+_Init-CORTEX_M0+-false-HAL-true,0-MX_PWR_Init-PWR-false-HAL-true -RCC.ADCFreq_Value=24000000 -RCC.AHBFreq_Value=24000000 -RCC.APB1CLKDivider=RCC_HCLK_DIV4 -RCC.APBFreq_Value=6000000 -RCC.APBTimFreq_Value=12000000 -RCC.CortexFreq_Value=3000000 -RCC.Cortex_Div=SYSTICK_CLKSOURCE_HCLK_DIV8 -RCC.DATA_CACHE_ENABLE=1 -RCC.FCLKCortexFreq_Value=24000000 +ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_DMA_Init-DMA-false-HAL-true,4-MX_SPI1_Init-SPI1-false-HAL-true,5-MX_USART2_UART_Init-USART2-false-HAL-true +RCC.ADCFreq_Value=16000000 +RCC.AHBFreq_Value=6000000 +RCC.APB1Freq_Value=6000000 +RCC.APB1TimFreq_Value=6000000 +RCC.APB2Freq_Value=6000000 +RCC.APB2TimFreq_Value=6000000 +RCC.CortexFreq_Value=6000000 +RCC.DFSDMFreq_Value=6000000 +RCC.FCLKCortexFreq_Value=6000000 RCC.FamilyName=M -RCC.HCLKFreq_Value=24000000 -RCC.HSE_VALUE=4000000 -RCC.HSI48_VALUE=48000000 +RCC.HCLKFreq_Value=6000000 +RCC.HSE_VALUE=8000000 RCC.HSI_VALUE=16000000 RCC.I2C1Freq_Value=6000000 +RCC.I2C2Freq_Value=6000000 RCC.I2C3Freq_Value=6000000 -RCC.INSTRUCTION_CACHE_ENABLE=1 -RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1CLKDivider,APBFreq_Value,APBTimFreq_Value,CortexFreq_Value,Cortex_Div,DATA_CACHE_ENABLE,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C3Freq_Value,INSTRUCTION_CACHE_ENABLE,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM3Freq_Value,LPUART1Freq_Value,LPUART2Freq_Value,LPUART3Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MCO2PinFreq_Value,MSIClockRangeVal,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLR,PLLRCLKFreq_Value,PLLSourceVirtual,PWRFreq_Value,RNGFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIM15Freq_Value,TIM1Freq_Value,USART1Freq_Value,USART2Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VDD_VALUE +RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,DFSDMFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2C3Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MSI_VALUE,PLLN,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLR,PLLRCLKFreq_Value,PLLSAI1PoutputFreq_Value,PLLSAI1QoutputFreq_Value,PLLSAI1RoutputFreq_Value,PLLSAI2PoutputFreq_Value,PLLSAI2RoutputFreq_Value,PWRFreq_Value,PWR_Regulator_Voltage_Scale,RNGFreq_Value,SAI1Freq_Value,SAI2Freq_Value,SDMMCFreq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,UART4Freq_Value,UART5Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VCOSAI1OutputFreq_Value,VCOSAI2OutputFreq_Value RCC.LPTIM1Freq_Value=6000000 RCC.LPTIM2Freq_Value=6000000 -RCC.LPTIM3Freq_Value=6000000 RCC.LPUART1Freq_Value=6000000 -RCC.LPUART2Freq_Value=6000000 -RCC.LPUART3Freq_Value=6000000 RCC.LSCOPinFreq_Value=32000 RCC.LSE_VALUE=32768 RCC.LSI_VALUE=32000 -RCC.MCO1PinFreq_Value=24000000 -RCC.MCO2PinFreq_Value=24000000 -RCC.MSIClockRangeVal=RCC_MSIRANGE_9 -RCC.MSI_VALUE=24000000 -RCC.PLLN=24 -RCC.PLLPoutputFreq_Value=288000000 -RCC.PLLQoutputFreq_Value=288000000 +RCC.MCO1PinFreq_Value=6000000 +RCC.MSI_VALUE=4000000 +RCC.PLLN=12 +RCC.PLLPoutputFreq_Value=6857142.857142857 +RCC.PLLQoutputFreq_Value=24000000 RCC.PLLR=RCC_PLLR_DIV8 -RCC.PLLRCLKFreq_Value=72000000 -RCC.PLLSourceVirtual=RCC_PLLSOURCE_MSI -RCC.PWRFreq_Value=24000000 -RCC.RNGFreq_Value=24000000 -RCC.SYSCLKFreq_VALUE=24000000 -RCC.SYSCLKSource=RCC_SYSCLKSOURCE_MSI -RCC.TIM15Freq_Value=12000000 -RCC.TIM1Freq_Value=12000000 +RCC.PLLRCLKFreq_Value=6000000 +RCC.PLLSAI1PoutputFreq_Value=4571428.571428572 +RCC.PLLSAI1QoutputFreq_Value=16000000 +RCC.PLLSAI1RoutputFreq_Value=16000000 +RCC.PLLSAI2PoutputFreq_Value=4571428.571428572 +RCC.PLLSAI2RoutputFreq_Value=16000000 +RCC.PWRFreq_Value=6000000 +RCC.PWR_Regulator_Voltage_Scale=PWR_REGULATOR_VOLTAGE_SCALE2 +RCC.RNGFreq_Value=16000000 +RCC.SAI1Freq_Value=4571428.571428572 +RCC.SAI2Freq_Value=4571428.571428572 +RCC.SDMMCFreq_Value=16000000 +RCC.SWPMI1Freq_Value=6000000 +RCC.SYSCLKFreq_VALUE=6000000 +RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK +RCC.UART4Freq_Value=6000000 +RCC.UART5Freq_Value=6000000 RCC.USART1Freq_Value=6000000 RCC.USART2Freq_Value=6000000 -RCC.USBFreq_Value=24000000 -RCC.VCOInputFreq_Value=24000000 -RCC.VCOOutputFreq_Value=576000000 -RCC.VDD_VALUE=1.71 -SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_2 +RCC.USART3Freq_Value=6000000 +RCC.USBFreq_Value=16000000 +RCC.VCOInputFreq_Value=4000000 +RCC.VCOOutputFreq_Value=48000000 +RCC.VCOSAI1OutputFreq_Value=32000000 +RCC.VCOSAI2OutputFreq_Value=32000000 SPI1.CalculateBaudRate=3.0 MBits/s SPI1.DataSize=SPI_DATASIZE_8BIT SPI1.Direction=SPI_DIRECTION_2LINES -SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,DataSize,BaudRatePrescaler,NSSPMode +SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,NSSPMode,DataSize SPI1.Mode=SPI_MODE_MASTER SPI1.NSSPMode=SPI_NSS_PULSE_DISABLE SPI1.VirtualType=VM_MASTER -USART2.IPParameters=VirtualMode-Asynchronous,OverSampling -USART2.OverSampling=UART_OVERSAMPLING_8 +USART2.IPParameters=VirtualMode-Asynchronous USART2.VirtualMode-Asynchronous=VM_ASYNC -VP_PWR_VS_LPOM.Mode=PowerOptimisation -VP_PWR_VS_LPOM.Signal=PWR_VS_LPOM -VP_PWR_VS_SECSignals.Mode=Security/Privilege -VP_PWR_VS_SECSignals.Signal=PWR_VS_SECSignals VP_SYS_VS_Systick.Mode=SysTick VP_SYS_VS_Systick.Signal=SYS_VS_Systick -board=STM32U083C-DK -boardIOC=true +board=custom |