STM32L433 GPIOH pins disabled 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

STM32L433 GPIOH pins disabled  Topic is solved

Postby Xelus » Sat Apr 10, 2021 12:13 pm

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

Xelus
Posts: 6
Joined: Sat Apr 10, 2021 12:06 pm
Has thanked: 1 time
Been thanked: 4 times

Re: STM32L433 GPIOH pins disabled

Postby Xelus » Sun Apr 11, 2021 8:30 am

Should STM32L433 and STM32L432 potentially be split?

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

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: STM32L433 GPIOH pins disabled

Postby Giovanni » Sun Apr 11, 2021 10:57 am

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

Xelus
Posts: 6
Joined: Sat Apr 10, 2021 12:06 pm
Has thanked: 1 time
Been thanked: 4 times

Re: STM32L433 GPIOH pins disabled

Postby Xelus » Tue Apr 13, 2021 1:09 pm

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__)

Xelus
Posts: 6
Joined: Sat Apr 10, 2021 12:06 pm
Has thanked: 1 time
Been thanked: 4 times

Re: STM32L433 GPIOH pins disabled

Postby Xelus » Thu Apr 15, 2021 6:21 pm

D and E ports should also be enabled for the larger pin variants (64 and 100 pins)

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: STM32L433 GPIOH pins disabled

Postby Giovanni » Sat Apr 24, 2021 6:34 am

Hi,

Fixed as bug #1154.

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

Giovanni

Xelus
Posts: 6
Joined: Sat Apr 10, 2021 12:06 pm
Has thanked: 1 time
Been thanked: 4 times

Re: STM32L433 GPIOH pins disabled

Postby Xelus » Fri Apr 30, 2021 1:37 pm

Hi Giovanni,

Thanks, just tested. Works now.

Thanks,
Xelus


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 26 guests