-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi @CMOSTM
The STM32L152RETx.xml
defined the GPIO configFile version as: STM32L162xE_gpio_v1_0
STM32_open_pin_data/mcu/STM32L152RETx.xml
Line 54 in d1b8025
<IP ConfigFile="GPIO-STM32L1xx" InstanceName="GPIO" Name="GPIO" Version="STM32L162xE_gpio_v1_0"/> |
In GPIO-STM32L162xE_gpio_v1_0_Modes.xml
, PA11
(USB DM) and PA12
(USB DP) define an GPIO_AF10_USB
as possible value:
STM32_open_pin_data/mcu/IP/GPIO-STM32L162xE_gpio_v1_0_Modes.xml
Lines 773 to 777 in d1b8025
<PinSignal Name="USB_DM"> | |
<SpecificParameter Name="GPIO_AF"> | |
<PossibleValue>GPIO_AF10_USB</PossibleValue> | |
</SpecificParameter> | |
</PinSignal> |
STM32_open_pin_data/mcu/IP/GPIO-STM32L162xE_gpio_v1_0_Modes.xml
Lines 798 to 802 in d1b8025
<PinSignal Name="USB_DP"> | |
<SpecificParameter Name="GPIO_AF"> | |
<PossibleValue>GPIO_AF10_USB</PossibleValue> | |
</SpecificParameter> | |
</PinSignal> |
Datasheet of the STM32L152RETx
does not references them. Moreover GPIO_AF10_USB
does not exist in STM32L1xx Cube Fw only in STM32L5 and STM32WB.
https://www.st.com/resource/en/datasheet/stm32l152re.pdf
So all STM32L1 GPIO IP files should not contain it:
GPIO-STM32L152x8_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L152x8_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L152xC_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L152xC_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L15xxA_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L15xxA_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L162xD_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L162xD_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L162xE_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>
GPIO-STM32L162xE_gpio_v1_0_Modes.xml: <PossibleValue>GPIO_AF10_USB</PossibleValue>