Skip to content

STM32WB0 support #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
949 changes: 949 additions & 0 deletions cubedb/mcu/IP/ADC-WL33_aditf5_v1_0_Cube_Modes.xml

Large diffs are not rendered by default.

301 changes: 120 additions & 181 deletions cubedb/mcu/IP/ADC-aditf4_v3_0_Cube_Modes.xml

Large diffs are not rendered by default.

3,281 changes: 3,281 additions & 0 deletions cubedb/mcu/IP/ADC-aditf4_v3_0_G0_Cube_Modes.xml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions cubedb/mcu/IP/ADC-aditf4_v3_U0_Cube_Modes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
<Parameter Name="EnableAnalogWatchDog1"/>
<Parameter Name="AWD1WatchdogNumber"/>
<Parameter Name="WatchdogMode"/>
<Parameter Name="WatchdogChannel"/>
<Parameter Name="AnalogWatchdogChannel"/>
<Parameter Name="AWD1HighThreshold"/>
<Parameter Name="AWD1LowThreshold"/>
<Parameter Name="AWD1ITMode"/>
Expand Down Expand Up @@ -2153,13 +2153,13 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
</RefParameter>

<!-- Possible value of WatchdogChannel parameter -->
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="WatchdogChannel" Type="list" Visible="false">
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="AnalogWatchdogChannel" Type="list" Visible="false">
<Condition Diagnostic="" Expression="EnableAnalogWatchDog1=false"/>
</RefParameter>
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="WatchdogChannel" Type="list" Visible="false">
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="AnalogWatchdogChannel" Type="list" Visible="false">
<Condition Diagnostic="" Expression="AllRegular"/>
</RefParameter>
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="" Group="ADCChannel" Name="WatchdogChannel" Type="list">
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="" Group="ADCChannel" Name="AnalogWatchdogChannel" Type="list">
<PossibleValue Comment="Channel 0" Value="ADC_CHANNEL_0" Condition="!SHANNEL0ISSELECTED" Diagnostic=" " Action="Disable" />
<PossibleValue Comment="Channel 1" Value="ADC_CHANNEL_1" Condition="!SHANNEL1ISSELECTED" Diagnostic="" Action="Disable" />
<PossibleValue Comment="Channel 2" Value="ADC_CHANNEL_2" Condition="!SHANNEL2ISSELECTED" Diagnostic="" Action="Disable" />
Expand Down
50 changes: 48 additions & 2 deletions cubedb/mcu/IP/ADC-aditf4_v4_U5_Cube_Modes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5026,29 +5026,52 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_

<Parameter Name="NbrOfChannel_WDG2CONV1"/>
<Parameter Name="WDG2MonitoredBy"/>
<Parameter Name="WDGCONV1Channel1"/>
<Parameter Name="WDGCONV1Channel1"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH2</ConfigForMode>
<Parameter Name="WDGCONV1Channel2"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH3</ConfigForMode>
<Parameter Name="WDGCONV1Channel3"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH4</ConfigForMode>
<Parameter Name="WDGCONV1Channel4"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH5</ConfigForMode>
<Parameter Name="WDGCONV1Channel5"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH6</ConfigForMode>
<Parameter Name="WDGCONV1Channel6"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH7</ConfigForMode>
<Parameter Name="WDGCONV1Channel7"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH8</ConfigForMode>
<Parameter Name="WDGCONV1Channel8"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH9</ConfigForMode>
<Parameter Name="WDGCONV1Channel9"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH10</ConfigForMode>
<Parameter Name="WDGCONV1Channel10"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH11</ConfigForMode>
<Parameter Name="WDGCONV1Channel11"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH12</ConfigForMode>
<Parameter Name="WDGCONV1Channel12"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH13</ConfigForMode>
<Parameter Name="WDGCONV1Channel13"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH14</ConfigForMode>
<Parameter Name="WDGCONV1Channel14"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH15</ConfigForMode>
<Parameter Name="WDGCONV1Channel15"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH16</ConfigForMode>
<Parameter Name="WDGCONV1Channel16"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH17</ConfigForMode>
<Parameter Name="WDGCONV1Channel17"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH18</ConfigForMode>
<Parameter Name="WDGCONV1Channel18"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH19</ConfigForMode>
<Parameter Name="WDGCONV1Channel19"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH20</ConfigForMode>
<Parameter Name="WDGCONV1Channel20"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH21</ConfigForMode>
<Parameter Name="WDGCONV1Channel21"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH22</ConfigForMode>
<Parameter Name="WDGCONV1Channel22"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH23</ConfigForMode>
<Parameter Name="WDGCONV1Channel23"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD2CH24</ConfigForMode>
<Parameter Name="WDGCONV1Channel24"/>


Expand All @@ -5068,29 +5091,52 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_

<Parameter Name="NbrOfChannel_WDG3CONV1V1"/>
<Parameter Name="WDG3MonitoredBy"/>
<Parameter Name="WDG3CONV1Channel1"/>
<Parameter Name="WDG3CONV1Channel1"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH2</ConfigForMode>
<Parameter Name="WDG3CONV1Channel2"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH3</ConfigForMode>
<Parameter Name="WDG3CONV1Channel3"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH4</ConfigForMode>
<Parameter Name="WDG3CONV1Channel4"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH5</ConfigForMode>
<Parameter Name="WDG3CONV1Channel5"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH6</ConfigForMode>
<Parameter Name="WDG3CONV1Channel6"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH7</ConfigForMode>
<Parameter Name="WDG3CONV1Channel7"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH8</ConfigForMode>
<Parameter Name="WDG3CONV1Channel8"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH9</ConfigForMode>
<Parameter Name="WDG3CONV1Channel9"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH10</ConfigForMode>
<Parameter Name="WDG3CONV1Channel10"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH11</ConfigForMode>
<Parameter Name="WDG3CONV1Channel11"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH12</ConfigForMode>
<Parameter Name="WDG3CONV1Channel12"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH13</ConfigForMode>
<Parameter Name="WDG3CONV1Channel13"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH14</ConfigForMode>
<Parameter Name="WDG3CONV1Channel14"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH15</ConfigForMode>
<Parameter Name="WDG3CONV1Channel15"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH16</ConfigForMode>
<Parameter Name="WDG3CONV1Channel16"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH17</ConfigForMode>
<Parameter Name="WDG3CONV1Channel17"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH18</ConfigForMode>
<Parameter Name="WDG3CONV1Channel18"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH19</ConfigForMode>
<Parameter Name="WDG3CONV1Channel19"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH20</ConfigForMode>
<Parameter Name="WDG3CONV1Channel20"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH21</ConfigForMode>
<Parameter Name="WDG3CONV1Channel21"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH22</ConfigForMode>
<Parameter Name="WDG3CONV1Channel22"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH23</ConfigForMode>
<Parameter Name="WDG3CONV1Channel23"/>
<ConfigForMode>ADC_AnalogWDGConfigForAWD3CH24</ConfigForMode>
<Parameter Name="WDG3CONV1Channel24"/>


Expand Down
31 changes: 22 additions & 9 deletions cubedb/mcu/IP/ADC-aditf4_v4_WBA_Cube_Modes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,19 @@

</RefParameter>

<RefParameter Comment="SamplingTime Common 1" DefaultValue="ADC_SAMPLETIME_814CYCLES_5" Group="ADCgroup" Name="SamplingTimeCommon1" Type="list" >
<Condition Diagnostic="" Expression="S_USE_TEMPERATURE_BASED_RADIO_CALIBRATION"/>
<PossibleValue Comment="1.5 Cycles" Value="ADC_SAMPLETIME_1CYCLE_5"/>
<PossibleValue Comment="3.5 Cycles" Value="ADC_SAMPLETIME_3CYCLES_5"/>
<PossibleValue Comment="7.5 Cycles" Value="ADC_SAMPLETIME_7CYCLES_5"/>
<PossibleValue Comment="12.5 Cycles" Value="ADC_SAMPLETIME_12CYCLES_5"/>
<PossibleValue Comment="19.5 Cycles" Value="ADC_SAMPLETIME_19CYCLES_5"/>
<PossibleValue Comment="39.5 Cycles" Value="ADC_SAMPLETIME_39CYCLES_5"/>
<PossibleValue Comment="79.5 Cycles" Value="ADC_SAMPLETIME_79CYCLES_5"/>
<PossibleValue Comment="814.5 Cycles" Value="ADC_SAMPLETIME_814CYCLES_5"/>
<Description>Set sampling time common to a group of channels.</Description>
</RefParameter>

<RefParameter Comment="SamplingTime Common 1" DefaultValue="ADC_SAMPLETIME_1CYCLE_5" Group="ADCgroup" Name="SamplingTimeCommon1" Type="list" >
<PossibleValue Comment="1.5 Cycles" Value="ADC_SAMPLETIME_1CYCLE_5"/>
<PossibleValue Comment="3.5 Cycles" Value="ADC_SAMPLETIME_3CYCLES_5"/>
Expand Down Expand Up @@ -1779,7 +1792,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
<ConfigForMode>ADC_AnalogWDGConfig</ConfigForMode>
<Parameter Name="EnableAnalogWatchDog"/>
<Parameter Name="WatchdogMode"/>
<Parameter Name="WatchdogChannel"/>
<Parameter Name="AnalogwatchdogChannel"/>
<Parameter Name="HighThreshold"/>
<Parameter Name="LowThreshold"/>
<Parameter Name="ITMode"/>
Expand All @@ -1790,7 +1803,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
<Parameter Name="EnableAnalogWatchDog1"/>
<Parameter Name="AWD1WatchdogNumber"/>
<Parameter Name="WatchdogMode"/>
<Parameter Name="WatchdogChannel"/>
<Parameter Name="AnalogwatchdogChannel"/>
<Parameter Name="AWD1HighThreshold"/>
<Parameter Name="AWD1LowThreshold"/>
<Parameter Name="AWD1ITMode"/>
Expand Down Expand Up @@ -1898,15 +1911,15 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_

<!-- ADC selected channels through mode list -->
<RefParameter Comment="ADC selected channels through mode list" DefaultValue="null" Group="ADCgroup" Name="SelectedChannel" Type="String"/>
<!-- Possible value of WatchdogChannel parameter -->
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="WatchdogChannel" Type="list" Visible="false">
<!-- Possible value of AnalogwatchdogChannel parameter -->
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="AnalogwatchdogChannel" Type="list" Visible="false">
<Condition Diagnostic="" Expression="EnableAnalogWatchDog1=false"/>
</RefParameter>
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="WatchdogChannel" Type="list" Visible="false">
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="null" Group="ADCChannel" Name="AnalogwatchdogChannel" Type="list" Visible="false">
<Condition Diagnostic="" Expression="AllRegular"/>
</RefParameter>

<RefParameter Comment="Analog WatchDog Channel" DefaultValue="" Group="ADCChannel" Name="WatchdogChannel" Type="list">
<RefParameter Comment="Analog WatchDog Channel" DefaultValue="" Group="ADCChannel" Name="AnalogwatchdogChannel" Type="list">
<PossibleValue Comment="Channel 0" Value="ADC_CHANNEL_0" Condition="!SHANNEL0ISSELECTED" Diagnostic=" " Action="Disable" />
<PossibleValue Comment="Channel 1" Value="ADC_CHANNEL_1" Condition="!SHANNEL1ISSELECTED" Diagnostic="" Action="Disable" />
<PossibleValue Comment="Channel 2" Value="ADC_CHANNEL_2" Condition="!SHANNEL2ISSELECTED" Diagnostic="" Action="Disable" />
Expand All @@ -1932,7 +1945,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_

<Description>ADC channel for the analog watchdog</Description>
</RefParameter>
<RefParameter Comment="Analog WatchDog Channel" Visible="false" DefaultValue="" Group="ADCChannel" Name="WatchdogChannel" Type="list"/>
<RefParameter Comment="Analog WatchDog Channel" Visible="false" DefaultValue="" Group="ADCChannel" Name="AnalogwatchdogChannel" Type="list"/>


<!-- Possible value of HighThreshold parameter -->
Expand Down Expand Up @@ -2487,7 +2500,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
<Semaphore>SHANNEL4ISSELECTED</Semaphore>

</Mode>
<Mode Name="IN5" RemoveCondition="(!UFBGA59)">
<Mode Name="IN5" RemoveCondition="((!UFBGA59) &amp; (!DIE4B0))">
<ModeLogicOperator Name="OR">
<Mode Name="IN5">
<SignalLogicalOp Name="AND">
Expand All @@ -2499,7 +2512,7 @@ Sem_WDG3_22channel|Sem_WDG3_23channel|Sem_WDG3_24channel|Sem_WDG3_25channel|Sem_
<Semaphore>SHANNEL5ISSELECTED</Semaphore>

</Mode>
<Mode Name="IN6" RemoveCondition="(!UFBGA59 ) &amp; (!UFQFPN48)">
<Mode Name="IN6" RemoveCondition="((!UFBGA59 ) &amp; (!UFQFPN48) &amp; (!DIE4B0))">
<ModeLogicOperator Name="OR">
<Mode Name="IN6">
<SignalLogicalOp Name="AND">
Expand Down
Loading