Skip to content

Wrong pinmux definition on STM32F1 family MCU xml files #14

Open

Description

@kbidani

I am currently working on generating pinctrl.dtsi files for each STM32 family to support HAL/LL integration within the Zephyr OS ecosystem.

During this process, I identified several issues in the files for the F1 family. Specifically, there is an incorrect definition for the PB5 remapping pin: the label "TIM3_REMAP1" should actually be "TIM3_REMAP2".

The issue stems from configuring the pinmux with TIM3_REMAP1, which is not a valid value for partial remapping on PB5.

According to the STM32F103 reference manual, the partial remap that enables TIM3_CH2 output on PB5 corresponds to the value 10 (TIM3_REMAP2). The value 01 (TIM3_REMAP1) is not used and does not enable mapping to PB5.

Expected changes :

Rename "TIM3_REMAP1" on the pin "PB5" to "TIM3_REMAP2" of the following GPIO-STM32F103xx_gpio_v1_0_Modes.xml files: https://github.com/STMicroelectronics/STM32_open_pin_data/tree/master/mcu/IP

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions