Page 1 of 1

STM32L433 GPIOH pins disabled

Posted: Sat Apr 10, 2021 12:13 pm
by Xelus
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

Code: Select all

/os/hal/ports/STM32/STM32L4xx/stm32_registry.h
to enable GPIOH pins for STM32L433.

Thanks,
Xelus

Re: STM32L433 GPIOH pins disabled

Posted: Sun Apr 11, 2021 8:30 am
by Xelus
Should STM32L433 and STM32L432 potentially be split?

L433 has one extra i2c and also one extra spi peripheral compared to L432.

Re: STM32L433 GPIOH pins disabled

Posted: Sun Apr 11, 2021 10:57 am
by Giovanni
Xelus wrote:Should STM32L433 and STM32L432 potentially be split?

L433 has one extra i2c and also one extra spi peripheral compared to L432.


Probably yes.

Giovanni

Re: STM32L433 GPIOH pins disabled

Posted: Tue Apr 13, 2021 1:09 pm
by Xelus
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

Code: Select all

#if defined(STM32L432xx) || defined(STM32L433xx) || defined(__DOXYGEN__)


should be moved to line 300

Code: Select all

#if defined(STM32L443xx) || defined(__DOXYGEN__)

to be changed to

Code: Select all

#if defined(STM32L443xx) || defined(STM32L433xx) || defined(__DOXYGEN__)

Re: STM32L433 GPIOH pins disabled

Posted: Thu Apr 15, 2021 6:21 pm
by Xelus
D and E ports should also be enabled for the larger pin variants (64 and 100 pins)

Re: STM32L433 GPIOH pins disabled

Posted: Sat Apr 24, 2021 6:34 am
by Giovanni
Hi,

Fixed as bug #1154.

Could you please verify that it is as expected? the registry changed a bit in the meanwhile.

Giovanni

Re: STM32L433 GPIOH pins disabled

Posted: Fri Apr 30, 2021 1:37 pm
by Xelus
Hi Giovanni,

Thanks, just tested. Works now.

Thanks,
Xelus