Possible bug in stm32_registry.h Topic is solved

Report here problems in any of ChibiOS components. This forum is NOT for support.
Ceco
Posts: 40
Joined: Tue Nov 27, 2012 12:16 pm
Been thanked: 3 times

Possible bug in stm32_registry.h  Topic is solved

Postby Ceco » Mon Sep 14, 2020 3:56 pm

Hello.

I found a possible mistake in os/hal/ports/STM32/STM32F4xx/stm32_registry.h and especially for STM32F446 core.

The STM32_SPI1_SUPPORTS_I2S is set to FALSE, which makes the usage of I2S on SPI1 impossible.

Is there a reason to block it? Normally F446 supports I2S on SPI1.

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

Re: Possible bug in stm32_registry.h

Postby Giovanni » Mon Sep 14, 2020 5:31 pm

Hi,

Thanks, I will fix it, there are some devices where SPI1 is no I2S-able.

Giovanni

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

Re: Possible bug in stm32_registry.h

Postby Giovanni » Sun Sep 20, 2020 10:38 am

Hi,

Fixed as bug #1124.

There were several other instances of the same problem, I think it is fine now.

Giovanni


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 5 guests