Ignore:
Timestamp:
Dec 3, 2024, 8:26:26 AM (6 weeks ago)
Author:
Zed
Message:

Added SPI module for Display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ctrl/firmware/Main/CubeMX/charger.ioc

    r39 r45  
    77CORTEX_M7.IPParameters=default_mode_Activation,CPU_ICache,CPU_DCache
    88CORTEX_M7.default_mode_Activation=1
     9Dma.Request0=SPI4_TX
     10Dma.RequestsNb=1
     11Dma.SPI4_TX.0.Direction=DMA_MEMORY_TO_PERIPH
     12Dma.SPI4_TX.0.EventEnable=DISABLE
     13Dma.SPI4_TX.0.FIFOMode=DMA_FIFOMODE_DISABLE
     14Dma.SPI4_TX.0.Instance=DMA1_Stream0
     15Dma.SPI4_TX.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD
     16Dma.SPI4_TX.0.MemInc=DMA_MINC_ENABLE
     17Dma.SPI4_TX.0.Mode=DMA_NORMAL
     18Dma.SPI4_TX.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD
     19Dma.SPI4_TX.0.PeriphInc=DMA_PINC_DISABLE
     20Dma.SPI4_TX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING
     21Dma.SPI4_TX.0.Priority=DMA_PRIORITY_LOW
     22Dma.SPI4_TX.0.RequestNumber=1
     23Dma.SPI4_TX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,FIFOMode,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber
     24Dma.SPI4_TX.0.SignalID=NONE
     25Dma.SPI4_TX.0.SyncEnable=DISABLE
     26Dma.SPI4_TX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT
     27Dma.SPI4_TX.0.SyncRequestNumber=1
     28Dma.SPI4_TX.0.SyncSignalID=NONE
    929File.Version=6
    1030GPIO.groupedBy=
     
    1535Mcu.Family=STM32H7
    1636Mcu.IP0=CORTEX_M7
    17 Mcu.IP1=MEMORYMAP
    18 Mcu.IP2=NVIC
    19 Mcu.IP3=RCC
    20 Mcu.IP4=RTC
    21 Mcu.IP5=SYS
    22 Mcu.IPNb=6
     37Mcu.IP1=DMA
     38Mcu.IP2=MEMORYMAP
     39Mcu.IP3=NVIC
     40Mcu.IP4=RCC
     41Mcu.IP5=RTC
     42Mcu.IP6=SPI4
     43Mcu.IP7=SYS
     44Mcu.IPNb=8
    2345Mcu.Name=STM32H723ZETx
    2446Mcu.Package=LQFP144
     
    2749Mcu.Pin2=PH0-OSC_IN
    2850Mcu.Pin3=PH1-OSC_OUT
    29 Mcu.Pin4=VP_RTC_VS_RTC_Activate
    30 Mcu.Pin5=VP_SYS_VS_Systick
    31 Mcu.Pin6=VP_MEMORYMAP_VS_MEMORYMAP
    32 Mcu.PinsNb=7
     51Mcu.Pin4=PE11
     52Mcu.Pin5=PE12
     53Mcu.Pin6=PE14
     54Mcu.Pin7=VP_RTC_VS_RTC_Activate
     55Mcu.Pin8=VP_SYS_VS_Systick
     56Mcu.Pin9=VP_MEMORYMAP_VS_MEMORYMAP
     57Mcu.PinsNb=10
    3358Mcu.ThirdPartyNb=0
    3459Mcu.UserConstants=
     
    3762MxDb.Version=DB.6.0.130
    3863NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
     64NVIC.DMA1_Stream0_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
    3965NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
    4066NVIC.ForceEnableDMAVector=true
     
    4470NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
    4571NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
     72NVIC.SPI4_IRQn=true\:0\:0\:false\:false\:true\:false\:true\:true
    4673NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
    4774NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false
     
    5178PC15-OSC32_OUT.Mode=LSE-External-Oscillator
    5279PC15-OSC32_OUT.Signal=RCC_OSC32_OUT
     80PE11.GPIOParameters=GPIO_Label
     81PE11.GPIO_Label=SPI4_NSS_DISPLAY
     82PE11.Locked=true
     83PE11.Mode=NSS_Signal_Hard_Output
     84PE11.Signal=SPI4_NSS
     85PE12.GPIOParameters=GPIO_Label
     86PE12.GPIO_Label=SPI4_SCK_DISPLAY
     87PE12.Locked=true
     88PE12.Mode=Simplex_Bidirectional_Master
     89PE12.Signal=SPI4_SCK
     90PE14.GPIOParameters=GPIO_Label
     91PE14.GPIO_Label=SPI4_MOSI_DISPLAY
     92PE14.Locked=true
     93PE14.Mode=Simplex_Bidirectional_Master
     94PE14.Signal=SPI4_MOSI
    5395PH0-OSC_IN.Mode=HSE-External-Oscillator
    5496PH0-OSC_IN.Signal=RCC_OSC_IN
     
    86128ProjectManager.UAScriptBeforePath=
    87129ProjectManager.UnderRoot=false
    88 ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
    89 RCC.ADCFreq_Value=100000000
     130ProjectManager.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_RTC_Init-RTC-false-HAL-true,5-MX_SPI4_Init-SPI4-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
     131RCC.ADCFreq_Value=166666666.66666666
    90132RCC.AHB12Freq_Value=100000000
    91133RCC.AHB4Freq_Value=100000000
     
    102144RCC.DFSDMACLkFreq_Value=100000000
    103145RCC.DFSDMFreq_Value=100000000
    104 RCC.DIVM1=25
    105 RCC.DIVM2=25
     146RCC.DIVM1=5
     147RCC.DIVM2=3
    106148RCC.DIVM3=25
    107 RCC.DIVN1=200
    108 RCC.DIVN2=200
     149RCC.DIVN1=40
     150RCC.DIVN2=40
    109151RCC.DIVN3=200
    110152RCC.DIVP1Freq_Value=100000000
    111 RCC.DIVP2Freq_Value=100000000
     153RCC.DIVP2Freq_Value=166666666.66666666
    112154RCC.DIVP3Freq_Value=100000000
    113155RCC.DIVQ1Freq_Value=100000000
    114 RCC.DIVQ2Freq_Value=100000000
     156RCC.DIVQ2=11
     157RCC.DIVQ2Freq_Value=30303030.3030303
    115158RCC.DIVQ3Freq_Value=100000000
    116159RCC.DIVR1Freq_Value=100000000
    117 RCC.DIVR2Freq_Value=100000000
     160RCC.DIVR2Freq_Value=166666666.66666666
    118161RCC.DIVR3Freq_Value=100000000
    119162RCC.FDCANFreq_Value=100000000
     
    124167RCC.I2C123Freq_Value=100000000
    125168RCC.I2C4Freq_Value=100000000
    126 RCC.IPParameters=ADCFreq_Value,AHB12Freq_Value,AHB4Freq_Value,APB1Freq_Value,APB2Freq_Value,APB3Freq_Value,APB4Freq_Value,AXIClockFreq_Value,CECFreq_Value,CKPERFreq_Value,CortexFreq_Value,CpuClockFreq_Value,D1CPREFreq_Value,DFSDMACLkFreq_Value,DFSDMFreq_Value,DIVM1,DIVM2,DIVM3,DIVN1,DIVN2,DIVN3,DIVP1Freq_Value,DIVP2Freq_Value,DIVP3Freq_Value,DIVQ1Freq_Value,DIVQ2Freq_Value,DIVQ3Freq_Value,DIVR1Freq_Value,DIVR2Freq_Value,DIVR3Freq_Value,FDCANFreq_Value,FMCFreq_Value,FamilyName,HCLK3ClockFreq_Value,HCLKFreq_Value,I2C123Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM345Freq_Value,LPUART1Freq_Value,LTDCFreq_Value,MCO1PinFreq_Value,MCO2PinFreq_Value,PLLSourceVirtual,QSPIFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SAI4AFreq_Value,SAI4BFreq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SPI123Freq_Value,SPI45Freq_Value,SPI6Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,Tim1OutputFreq_Value,Tim2OutputFreq_Value,TraceFreq_Value,USART16Freq_Value,USART234578Freq_Value,USBFreq_Value,VCO1OutputFreq_Value,VCO2OutputFreq_Value,VCO3OutputFreq_Value,VCOInput1Freq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value
     169RCC.IPParameters=ADCFreq_Value,AHB12Freq_Value,AHB4Freq_Value,APB1Freq_Value,APB2Freq_Value,APB3Freq_Value,APB4Freq_Value,AXIClockFreq_Value,CECFreq_Value,CKPERFreq_Value,CortexFreq_Value,CpuClockFreq_Value,D1CPREFreq_Value,DFSDMACLkFreq_Value,DFSDMFreq_Value,DIVM1,DIVM2,DIVM3,DIVN1,DIVN2,DIVN3,DIVP1Freq_Value,DIVP2Freq_Value,DIVP3Freq_Value,DIVQ1Freq_Value,DIVQ2,DIVQ2Freq_Value,DIVQ3Freq_Value,DIVR1Freq_Value,DIVR2Freq_Value,DIVR3Freq_Value,FDCANFreq_Value,FMCFreq_Value,FamilyName,HCLK3ClockFreq_Value,HCLKFreq_Value,I2C123Freq_Value,I2C4Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPTIM345Freq_Value,LPUART1Freq_Value,LTDCFreq_Value,MCO1PinFreq_Value,MCO2PinFreq_Value,PLL2FRACN,PLLFRACN,PLLSourceVirtual,QSPIFreq_Value,RNGFreq_Value,RTCClockSelection,RTCFreq_Value,SAI1Freq_Value,SAI4AFreq_Value,SAI4BFreq_Value,SDMMCFreq_Value,SPDIFRXFreq_Value,SPI123Freq_Value,SPI45Freq_Value,SPI6Freq_Value,SWPMI1Freq_Value,SYSCLKFreq_VALUE,SYSCLKSource,Spi45ClockSelection,Tim1OutputFreq_Value,Tim2OutputFreq_Value,TraceFreq_Value,USART16Freq_Value,USART234578Freq_Value,USBFreq_Value,VCO1OutputFreq_Value,VCO2OutputFreq_Value,VCO3OutputFreq_Value,VCOInput1Freq_Value,VCOInput2Freq_Value,VCOInput3Freq_Value
    127170RCC.LPTIM1Freq_Value=100000000
    128171RCC.LPTIM2Freq_Value=100000000
     
    132175RCC.MCO1PinFreq_Value=64000000
    133176RCC.MCO2PinFreq_Value=100000000
     177RCC.PLL2FRACN=0
     178RCC.PLLFRACN=0
    134179RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
    135180RCC.QSPIFreq_Value=100000000
     
    143188RCC.SPDIFRXFreq_Value=100000000
    144189RCC.SPI123Freq_Value=100000000
    145 RCC.SPI45Freq_Value=100000000
     190RCC.SPI45Freq_Value=30303030.3030303
    146191RCC.SPI6Freq_Value=100000000
    147192RCC.SWPMI1Freq_Value=100000000
    148193RCC.SYSCLKFreq_VALUE=100000000
    149194RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
     195RCC.Spi45ClockSelection=RCC_SPI45CLKSOURCE_PLL2
    150196RCC.Tim1OutputFreq_Value=100000000
    151197RCC.Tim2OutputFreq_Value=100000000
     
    155201RCC.USBFreq_Value=100000000
    156202RCC.VCO1OutputFreq_Value=200000000
    157 RCC.VCO2OutputFreq_Value=200000000
     203RCC.VCO2OutputFreq_Value=333333333.3333333
    158204RCC.VCO3OutputFreq_Value=200000000
    159 RCC.VCOInput1Freq_Value=1000000
    160 RCC.VCOInput2Freq_Value=1000000
     205RCC.VCOInput1Freq_Value=5000000
     206RCC.VCOInput2Freq_Value=8333333.333333333
    161207RCC.VCOInput3Freq_Value=1000000
     208SPI4.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_2
     209SPI4.CalculateBaudRate=15.151515 MBits/s
     210SPI4.DataSize=SPI_DATASIZE_9BIT
     211SPI4.Direction=SPI_DIRECTION_1LINE
     212SPI4.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,VirtualNSS,DataSize,BaudRatePrescaler
     213SPI4.Mode=SPI_MODE_MASTER
     214SPI4.VirtualNSS=VM_NSSHARD
     215SPI4.VirtualType=VM_MASTER
    162216VP_MEMORYMAP_VS_MEMORYMAP.Mode=CurAppReg
    163217VP_MEMORYMAP_VS_MEMORYMAP.Signal=MEMORYMAP_VS_MEMORYMAP
Note: See TracChangeset for help on using the changeset viewer.