STMicroelectronics / STM32_open_pin_data

This repo provides all the information required for the pin and board configuration of products based on STM32 MCU.
BSD 3-Clause "New" or "Revised" License
54 stars 10 forks source link

GPIO-STM32F051 AF correction #8

Closed Bytegrity closed 5 months ago

Bytegrity commented 1 year ago

Hi there,

While performing some file generation operations on a repo reliant on this one. I noticed differences caused by a changed alternate function index. I managed to trace down the source causing the unexpected output to https://github.com/STMicroelectronics/STM32_open_pin_data/blob/6f7f7a0a4d6ef31b94a63b85932db17118499ea0/mcu/IP/GPIO-STM32F051_gpio_v1_0_Modes.xml#L2251

I verified a couple of related MCU datasheets and I believe the change below may be required:

--- a/mcu/IP/GPIO-STM32F051_gpio_v1_0_Modes.xml
+++ b/mcu/IP/GPIO-STM32F051_gpio_v1_0_Modes.xml
@@ -2248,7 +2248,7 @@
         </SpecificParameter>
         <PinSignal Name="TIM3_CH3">
             <SpecificParameter Name="GPIO_AF">
-                <PossibleValue>GPIO_AF1_TIM3</PossibleValue>
+                <PossibleValue>GPIO_AF0_TIM3</PossibleValue>
             </SpecificParameter>
         </PinSignal>
     </GPIO_Pin>

After this change and running the generator in the other repo, the output line up.

CMOSTM commented 1 year ago

Hi

I reported the issue internally. We will have a look. Thanks

CMO

Bytegrity commented 1 year ago

Hi,

Any updates on the internal discussion?

CMOSTM commented 1 year ago

A ticket has been raised internally to do the analysis I will inform you about the progress of this ticket.

BR

CMO

paaspaas00 commented 7 months ago

@CMOSTM any news?

CMOSTM commented 7 months ago

Hi It should be fixed in the next release I hope CMO

CMOSTM commented 5 months ago

Fixed with the new 2024 delivery MX 6.11

CMOSTM commented 5 months ago

Fixed with the new 2024 delivery MX 6.11