It seems the GPIOH and GPIOD enable mask are not set for STM32L422.
As seen here in the github mirror:
m
Please enable them
Code to fix the issue below:
#define STM32_GPIO_EN_MASK (RCC_AHB2ENR_GPIOAEN | \
RCC_AHB2ENR_GPIOBEN | \
RCC_AHB2ENR_GPIOCEN | \
RCC_AHB2ENR_GPIODEN | \
RCC_AHB2ENR ...
Search found 6 matches
- Wed Jul 27, 2022 3:23 pm
- Forum: Bug Reports
- Topic: STM32L422 GPIOH GPIOD enable mask
- Replies: 2
- Views: 3768
- Fri Apr 30, 2021 1:37 pm
- Forum: Bug Reports
- Topic: STM32L433 GPIOH pins disabled
- Replies: 6
- Views: 5613
Re: STM32L433 GPIOH pins disabled
Hi Giovanni,
Thanks, just tested. Works now.
Thanks,
Xelus
Thanks, just tested. Works now.
Thanks,
Xelus
- Thu Apr 15, 2021 6:21 pm
- Forum: Bug Reports
- Topic: STM32L433 GPIOH pins disabled
- Replies: 6
- Views: 5613
Re: STM32L433 GPIOH pins disabled
D and E ports should also be enabled for the larger pin variants (64 and 100 pins)
- Tue Apr 13, 2021 1:09 pm
- Forum: Bug Reports
- Topic: STM32L433 GPIOH pins disabled
- Replies: 6
- Views: 5613
Re: STM32L433 GPIOH pins disabled
Upon further inspection, the L433 and L443 have the exact same set of peripherals. The only difference being that L443 has the hash/crypto function.
This was found in RM03943 Rev 4, page 61 of 1600.
Therefore the define for STM32L433xx on line 79
#if defined(STM32L432xx) || defined(STM32L433xx ...
This was found in RM03943 Rev 4, page 61 of 1600.
Therefore the define for STM32L433xx on line 79
#if defined(STM32L432xx) || defined(STM32L433xx ...
- Sun Apr 11, 2021 8:30 am
- Forum: Bug Reports
- Topic: STM32L433 GPIOH pins disabled
- Replies: 6
- Views: 5613
Re: STM32L433 GPIOH pins disabled
Should STM32L433 and STM32L432 potentially be split?
L433 has one extra i2c and also one extra spi peripheral compared to L432.
L433 has one extra i2c and also one extra spi peripheral compared to L432.
- Sat Apr 10, 2021 12:13 pm
- Forum: Bug Reports
- Topic: STM32L433 GPIOH pins disabled
- Replies: 6
- Views: 5613
STM32L433 GPIOH pins disabled
The STM32L433 has GPIOH pins included and are disabled as this chip is defined together with STM32L432 which doesn't have GPIOH pins
This can be fixed with a #define check in to enable GPIOH pins for STM32L433.
Thanks,
Xelus
This can be fixed with a #define check in
Code: Select all
/os/hal/ports/STM32/STM32L4xx/stm32_registry.hThanks,
Xelus