STM32L422 GPIOH GPIOD enable mask Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Xelus
Posts: 6
Joined: Sat Apr 10, 2021 12:06 pm
Has thanked: 1 time
Been thanked: 4 times

STM32L422 GPIOH GPIOD enable mask  Topic is solved

Postby Xelus » Wed Jul 27, 2022 3:23 pm

It seems the GPIOH and GPIOD enable mask are not set for STM32L422.

As seen here in the github mirror:
https://github.com/ChibiOS/ChibiOS/blob ... #L430-L432

Please enable them :D

Code to fix the issue below:

Code: Select all

#define STM32_GPIO_EN_MASK                  (RCC_AHB2ENR_GPIOAEN |          \
                                             RCC_AHB2ENR_GPIOBEN |          \
                                             RCC_AHB2ENR_GPIOCEN |          \
                                             RCC_AHB2ENR_GPIODEN |          \
                                             RCC_AHB2ENR_GPIOHEN)

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: STM32L422 GPIOH GPIOD enable mask

Postby Giovanni » Wed Jul 27, 2022 3:25 pm

Thanks for finding, will go in next release.

Giovanni

User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: STM32L422 GPIOH GPIOD enable mask

Postby Giovanni » Sun Sep 18, 2022 11:02 am

Hi,

Fixed as bug #1237.

There was also a similar error on STM32L496/4A6.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 12 guests